You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CloudDirectory::Types::TypedAttributeValue

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

Overview

Note:

When making an API call, you may pass TypedAttributeValue data as a hash:

{
  string_value: "StringAttributeValue",
  binary_value: "data",
  boolean_value: false,
  number_value: "NumberAttributeValue",
  datetime_value: Time.now,
}

Represents the data for a typed attribute. You can set one, and only one, of the elements. Each attribute in an item is a name-value pair. Attributes have a single value.

Instance Attribute Summary collapse

Instance Attribute Details

#binary_valueString

A binary data value.

Returns:

  • (String)


6113
6114
6115
6116
6117
6118
6119
6120
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 6113

class TypedAttributeValue < Struct.new(
  :string_value,
  :binary_value,
  :boolean_value,
  :number_value,
  :datetime_value)
  include Aws::Structure
end

#boolean_valueBoolean

A Boolean data value.

Returns:

  • (Boolean)


6113
6114
6115
6116
6117
6118
6119
6120
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 6113

class TypedAttributeValue < Struct.new(
  :string_value,
  :binary_value,
  :boolean_value,
  :number_value,
  :datetime_value)
  include Aws::Structure
end

#datetime_valueTime

A date and time value.

Returns:

  • (Time)


6113
6114
6115
6116
6117
6118
6119
6120
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 6113

class TypedAttributeValue < Struct.new(
  :string_value,
  :binary_value,
  :boolean_value,
  :number_value,
  :datetime_value)
  include Aws::Structure
end

#number_valueString

A number data value.

Returns:

  • (String)


6113
6114
6115
6116
6117
6118
6119
6120
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 6113

class TypedAttributeValue < Struct.new(
  :string_value,
  :binary_value,
  :boolean_value,
  :number_value,
  :datetime_value)
  include Aws::Structure
end

#string_valueString

A string data value.

Returns:

  • (String)


6113
6114
6115
6116
6117
6118
6119
6120
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 6113

class TypedAttributeValue < Struct.new(
  :string_value,
  :binary_value,
  :boolean_value,
  :number_value,
  :datetime_value)
  include Aws::Structure
end