Class: Aws::Context::Types::AnyValue

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-context/lib/aws-sdk-context/types.rb

Overview

Note:

AnyValue is a union - when making an API calls you must set exactly one of the members.

Note:

AnyValue is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of AnyValue corresponding to the set member.

The value of a property on a node or an edge in an agent context. Exactly one member is set, and the member that is set determines the value's type.

Defined Under Namespace

Classes: BoolListValue, BoolValue, DoubleListValue, DoubleValue, FloatListValue, FloatValue, IntListValue, IntValue, LongListValue, LongValue, StringListValue, StringValue, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bool_list_value ⇒ Array<Boolean>

A list of up to 1,000 Boolean values.

Returns:

  • (Array<Boolean>)


785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 785

class AnyValue < Struct.new(
  :string_value,
  :int_value,
  :long_value,
  :bool_value,
  :float_value,
  :double_value,
  :string_list_value,
  :int_list_value,
  :long_list_value,
  :float_list_value,
  :double_list_value,
  :bool_list_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class StringValue < AnyValue; end
  class IntValue < AnyValue; end
  class LongValue < AnyValue; end
  class BoolValue < AnyValue; end
  class FloatValue < AnyValue; end
  class DoubleValue < AnyValue; end
  class StringListValue < AnyValue; end
  class IntListValue < AnyValue; end
  class LongListValue < AnyValue; end
  class FloatListValue < AnyValue; end
  class DoubleListValue < AnyValue; end
  class BoolListValue < AnyValue; end
  class Unknown < AnyValue; end
end

#bool_value ⇒ Boolean

A Boolean value.

Returns:

  • (Boolean)


785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 785

class AnyValue < Struct.new(
  :string_value,
  :int_value,
  :long_value,
  :bool_value,
  :float_value,
  :double_value,
  :string_list_value,
  :int_list_value,
  :long_list_value,
  :float_list_value,
  :double_list_value,
  :bool_list_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class StringValue < AnyValue; end
  class IntValue < AnyValue; end
  class LongValue < AnyValue; end
  class BoolValue < AnyValue; end
  class FloatValue < AnyValue; end
  class DoubleValue < AnyValue; end
  class StringListValue < AnyValue; end
  class IntListValue < AnyValue; end
  class LongListValue < AnyValue; end
  class FloatListValue < AnyValue; end
  class DoubleListValue < AnyValue; end
  class BoolListValue < AnyValue; end
  class Unknown < AnyValue; end
end

#double_list_value ⇒ Array<Float>

A list of up to 1,000 double-precision (64-bit) floating-point values.

Returns:

  • (Array<Float>)


785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 785

class AnyValue < Struct.new(
  :string_value,
  :int_value,
  :long_value,
  :bool_value,
  :float_value,
  :double_value,
  :string_list_value,
  :int_list_value,
  :long_list_value,
  :float_list_value,
  :double_list_value,
  :bool_list_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class StringValue < AnyValue; end
  class IntValue < AnyValue; end
  class LongValue < AnyValue; end
  class BoolValue < AnyValue; end
  class FloatValue < AnyValue; end
  class DoubleValue < AnyValue; end
  class StringListValue < AnyValue; end
  class IntListValue < AnyValue; end
  class LongListValue < AnyValue; end
  class FloatListValue < AnyValue; end
  class DoubleListValue < AnyValue; end
  class BoolListValue < AnyValue; end
  class Unknown < AnyValue; end
end

#double_value ⇒ Float

A double-precision (64-bit) floating-point value.

Returns:

  • (Float)


785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 785

class AnyValue < Struct.new(
  :string_value,
  :int_value,
  :long_value,
  :bool_value,
  :float_value,
  :double_value,
  :string_list_value,
  :int_list_value,
  :long_list_value,
  :float_list_value,
  :double_list_value,
  :bool_list_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class StringValue < AnyValue; end
  class IntValue < AnyValue; end
  class LongValue < AnyValue; end
  class BoolValue < AnyValue; end
  class FloatValue < AnyValue; end
  class DoubleValue < AnyValue; end
  class StringListValue < AnyValue; end
  class IntListValue < AnyValue; end
  class LongListValue < AnyValue; end
  class FloatListValue < AnyValue; end
  class DoubleListValue < AnyValue; end
  class BoolListValue < AnyValue; end
  class Unknown < AnyValue; end
end

#float_list_value ⇒ Array<Float>

A list of up to 1,000 single-precision (32-bit) floating-point values.

Returns:

  • (Array<Float>)


785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 785

class AnyValue < Struct.new(
  :string_value,
  :int_value,
  :long_value,
  :bool_value,
  :float_value,
  :double_value,
  :string_list_value,
  :int_list_value,
  :long_list_value,
  :float_list_value,
  :double_list_value,
  :bool_list_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class StringValue < AnyValue; end
  class IntValue < AnyValue; end
  class LongValue < AnyValue; end
  class BoolValue < AnyValue; end
  class FloatValue < AnyValue; end
  class DoubleValue < AnyValue; end
  class StringListValue < AnyValue; end
  class IntListValue < AnyValue; end
  class LongListValue < AnyValue; end
  class FloatListValue < AnyValue; end
  class DoubleListValue < AnyValue; end
  class BoolListValue < AnyValue; end
  class Unknown < AnyValue; end
end

#float_value ⇒ Float

A single-precision (32-bit) floating-point value.

Returns:

  • (Float)


785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 785

class AnyValue < Struct.new(
  :string_value,
  :int_value,
  :long_value,
  :bool_value,
  :float_value,
  :double_value,
  :string_list_value,
  :int_list_value,
  :long_list_value,
  :float_list_value,
  :double_list_value,
  :bool_list_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class StringValue < AnyValue; end
  class IntValue < AnyValue; end
  class LongValue < AnyValue; end
  class BoolValue < AnyValue; end
  class FloatValue < AnyValue; end
  class DoubleValue < AnyValue; end
  class StringListValue < AnyValue; end
  class IntListValue < AnyValue; end
  class LongListValue < AnyValue; end
  class FloatListValue < AnyValue; end
  class DoubleListValue < AnyValue; end
  class BoolListValue < AnyValue; end
  class Unknown < AnyValue; end
end

#int_list_value ⇒ Array<Integer>

A list of up to 1,000 32-bit signed integer values.

Returns:

  • (Array<Integer>)


785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 785

class AnyValue < Struct.new(
  :string_value,
  :int_value,
  :long_value,
  :bool_value,
  :float_value,
  :double_value,
  :string_list_value,
  :int_list_value,
  :long_list_value,
  :float_list_value,
  :double_list_value,
  :bool_list_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class StringValue < AnyValue; end
  class IntValue < AnyValue; end
  class LongValue < AnyValue; end
  class BoolValue < AnyValue; end
  class FloatValue < AnyValue; end
  class DoubleValue < AnyValue; end
  class StringListValue < AnyValue; end
  class IntListValue < AnyValue; end
  class LongListValue < AnyValue; end
  class FloatListValue < AnyValue; end
  class DoubleListValue < AnyValue; end
  class BoolListValue < AnyValue; end
  class Unknown < AnyValue; end
end

#int_value ⇒ Integer

A 32-bit signed integer value.

Returns:

  • (Integer)


785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 785

class AnyValue < Struct.new(
  :string_value,
  :int_value,
  :long_value,
  :bool_value,
  :float_value,
  :double_value,
  :string_list_value,
  :int_list_value,
  :long_list_value,
  :float_list_value,
  :double_list_value,
  :bool_list_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class StringValue < AnyValue; end
  class IntValue < AnyValue; end
  class LongValue < AnyValue; end
  class BoolValue < AnyValue; end
  class FloatValue < AnyValue; end
  class DoubleValue < AnyValue; end
  class StringListValue < AnyValue; end
  class IntListValue < AnyValue; end
  class LongListValue < AnyValue; end
  class FloatListValue < AnyValue; end
  class DoubleListValue < AnyValue; end
  class BoolListValue < AnyValue; end
  class Unknown < AnyValue; end
end

#long_list_value ⇒ Array<Integer>

A list of up to 1,000 64-bit signed integer values.

Returns:

  • (Array<Integer>)


785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 785

class AnyValue < Struct.new(
  :string_value,
  :int_value,
  :long_value,
  :bool_value,
  :float_value,
  :double_value,
  :string_list_value,
  :int_list_value,
  :long_list_value,
  :float_list_value,
  :double_list_value,
  :bool_list_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class StringValue < AnyValue; end
  class IntValue < AnyValue; end
  class LongValue < AnyValue; end
  class BoolValue < AnyValue; end
  class FloatValue < AnyValue; end
  class DoubleValue < AnyValue; end
  class StringListValue < AnyValue; end
  class IntListValue < AnyValue; end
  class LongListValue < AnyValue; end
  class FloatListValue < AnyValue; end
  class DoubleListValue < AnyValue; end
  class BoolListValue < AnyValue; end
  class Unknown < AnyValue; end
end

#long_value ⇒ Integer

A 64-bit signed integer value.

Returns:

  • (Integer)


785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 785

class AnyValue < Struct.new(
  :string_value,
  :int_value,
  :long_value,
  :bool_value,
  :float_value,
  :double_value,
  :string_list_value,
  :int_list_value,
  :long_list_value,
  :float_list_value,
  :double_list_value,
  :bool_list_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class StringValue < AnyValue; end
  class IntValue < AnyValue; end
  class LongValue < AnyValue; end
  class BoolValue < AnyValue; end
  class FloatValue < AnyValue; end
  class DoubleValue < AnyValue; end
  class StringListValue < AnyValue; end
  class IntListValue < AnyValue; end
  class LongListValue < AnyValue; end
  class FloatListValue < AnyValue; end
  class DoubleListValue < AnyValue; end
  class BoolListValue < AnyValue; end
  class Unknown < AnyValue; end
end

#string_list_value ⇒ Array<String>

A list of up to 1,000 string values, each up to 2,048 characters.

Returns:

  • (Array<String>)


785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 785

class AnyValue < Struct.new(
  :string_value,
  :int_value,
  :long_value,
  :bool_value,
  :float_value,
  :double_value,
  :string_list_value,
  :int_list_value,
  :long_list_value,
  :float_list_value,
  :double_list_value,
  :bool_list_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class StringValue < AnyValue; end
  class IntValue < AnyValue; end
  class LongValue < AnyValue; end
  class BoolValue < AnyValue; end
  class FloatValue < AnyValue; end
  class DoubleValue < AnyValue; end
  class StringListValue < AnyValue; end
  class IntListValue < AnyValue; end
  class LongListValue < AnyValue; end
  class FloatListValue < AnyValue; end
  class DoubleListValue < AnyValue; end
  class BoolListValue < AnyValue; end
  class Unknown < AnyValue; end
end

#string_value ⇒ String

A string value, up to 2,048 characters.

Returns:

  • (String)


785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 785

class AnyValue < Struct.new(
  :string_value,
  :int_value,
  :long_value,
  :bool_value,
  :float_value,
  :double_value,
  :string_list_value,
  :int_list_value,
  :long_list_value,
  :float_list_value,
  :double_list_value,
  :bool_list_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class StringValue < AnyValue; end
  class IntValue < AnyValue; end
  class LongValue < AnyValue; end
  class BoolValue < AnyValue; end
  class FloatValue < AnyValue; end
  class DoubleValue < AnyValue; end
  class StringListValue < AnyValue; end
  class IntListValue < AnyValue; end
  class LongListValue < AnyValue; end
  class FloatListValue < AnyValue; end
  class DoubleListValue < AnyValue; end
  class BoolListValue < AnyValue; end
  class Unknown < AnyValue; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



785
786
787
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 785

def unknown
  @unknown
end