Class: Aws::MarketplaceEntitlementService::Types::EntitlementValue

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

Overview

The EntitlementValue represents the amount of capacity that the customer is entitled to for the product.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#boolean_value ⇒ Boolean

The BooleanValue field will be populated with a boolean value when the entitlement is a boolean type. Otherwise, the field will not be set.

Returns:

  • (Boolean)


102
103
104
105
106
107
108
109
# File 'gems/aws-sdk-marketplaceentitlementservice/lib/aws-sdk-marketplaceentitlementservice/types.rb', line 102

class EntitlementValue < Struct.new(
  :integer_value,
  :double_value,
  :boolean_value,
  :string_value)
  SENSITIVE = []
  include Aws::Structure
end

#double_value ⇒ Float

The DoubleValue field will be populated with a double value when the entitlement is a double type. Otherwise, the field will not be set.

Returns:

  • (Float)


102
103
104
105
106
107
108
109
# File 'gems/aws-sdk-marketplaceentitlementservice/lib/aws-sdk-marketplaceentitlementservice/types.rb', line 102

class EntitlementValue < Struct.new(
  :integer_value,
  :double_value,
  :boolean_value,
  :string_value)
  SENSITIVE = []
  include Aws::Structure
end

#integer_value ⇒ Integer

The IntegerValue field will be populated with an integer value when the entitlement is an integer type. Otherwise, the field will not be set.

Returns:

  • (Integer)


102
103
104
105
106
107
108
109
# File 'gems/aws-sdk-marketplaceentitlementservice/lib/aws-sdk-marketplaceentitlementservice/types.rb', line 102

class EntitlementValue < Struct.new(
  :integer_value,
  :double_value,
  :boolean_value,
  :string_value)
  SENSITIVE = []
  include Aws::Structure
end

#string_value ⇒ String

The StringValue field will be populated with a string value when the entitlement is a string type. Otherwise, the field will not be set.

Returns:

  • (String)


102
103
104
105
106
107
108
109
# File 'gems/aws-sdk-marketplaceentitlementservice/lib/aws-sdk-marketplaceentitlementservice/types.rb', line 102

class EntitlementValue < Struct.new(
  :integer_value,
  :double_value,
  :boolean_value,
  :string_value)
  SENSITIVE = []
  include Aws::Structure
end