Class: Aws::CloudWatchEvidently::Types::VariableValue
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchEvidently::Types::VariableValue
- Includes:
- Structure, Structure::Union
- Defined in:
- lib/aws-sdk-cloudwatchevidently/types.rb
Overview
VariableValue is a union - when making an API calls you must set exactly one of the members.
VariableValue is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of VariableValue corresponding to the set member.
The value assigned to a feature variation. This structure must contain exactly one field. It can be ‘boolValue`, `doubleValue`, `longValue`, or `stringValue`.
Direct Known Subclasses
Defined Under Namespace
Classes: BoolValue, DoubleValue, LongValue, StringValue, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#bool_value ⇒ Boolean
If this feature uses the Boolean variation type, this field contains the Boolean value of this variation.
-
#double_value ⇒ Float
If this feature uses the double integer variation type, this field contains the double integer value of this variation.
-
#long_value ⇒ Integer
If this feature uses the long variation type, this field contains the long value of this variation.
-
#string_value ⇒ String
If this feature uses the string variation type, this field contains the string value of this variation.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#bool_value ⇒ Boolean
If this feature uses the Boolean variation type, this field contains the Boolean value of this variation.
3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 |
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 3591 class VariableValue < Struct.new( :bool_value, :double_value, :long_value, :string_value, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class BoolValue < VariableValue; end class DoubleValue < VariableValue; end class LongValue < VariableValue; end class StringValue < VariableValue; end class Unknown < VariableValue; end end |
#double_value ⇒ Float
If this feature uses the double integer variation type, this field contains the double integer value of this variation.
3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 |
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 3591 class VariableValue < Struct.new( :bool_value, :double_value, :long_value, :string_value, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class BoolValue < VariableValue; end class DoubleValue < VariableValue; end class LongValue < VariableValue; end class StringValue < VariableValue; end class Unknown < VariableValue; end end |
#long_value ⇒ Integer
If this feature uses the long variation type, this field contains the long value of this variation.
3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 |
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 3591 class VariableValue < Struct.new( :bool_value, :double_value, :long_value, :string_value, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class BoolValue < VariableValue; end class DoubleValue < VariableValue; end class LongValue < VariableValue; end class StringValue < VariableValue; end class Unknown < VariableValue; end end |
#string_value ⇒ String
If this feature uses the string variation type, this field contains the string value of this variation.
3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 |
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 3591 class VariableValue < Struct.new( :bool_value, :double_value, :long_value, :string_value, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class BoolValue < VariableValue; end class DoubleValue < VariableValue; end class LongValue < VariableValue; end class StringValue < VariableValue; end class Unknown < VariableValue; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
3591 3592 3593 |
# File 'lib/aws-sdk-cloudwatchevidently/types.rb', line 3591 def unknown @unknown end |