amazonka-marketplace-entitlement-2.0: Amazon Marketplace Entitlement Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MarketplaceEntitlement.Types.EntitlementValue

Description

 
Synopsis

Documentation

data EntitlementValue Source #

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

See: newEntitlementValue smart constructor.

Constructors

EntitlementValue' 

Fields

  • booleanValue :: Maybe Bool

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

  • doubleValue :: Maybe Double

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

  • integerValue :: Maybe Int

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

  • stringValue :: Maybe Text

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

Instances

Instances details
FromJSON EntitlementValue Source # 
Instance details

Defined in Amazonka.MarketplaceEntitlement.Types.EntitlementValue

Generic EntitlementValue Source # 
Instance details

Defined in Amazonka.MarketplaceEntitlement.Types.EntitlementValue

Associated Types

type Rep EntitlementValue :: Type -> Type #

Read EntitlementValue Source # 
Instance details

Defined in Amazonka.MarketplaceEntitlement.Types.EntitlementValue

Show EntitlementValue Source # 
Instance details

Defined in Amazonka.MarketplaceEntitlement.Types.EntitlementValue

NFData EntitlementValue Source # 
Instance details

Defined in Amazonka.MarketplaceEntitlement.Types.EntitlementValue

Methods

rnf :: EntitlementValue -> () #

Eq EntitlementValue Source # 
Instance details

Defined in Amazonka.MarketplaceEntitlement.Types.EntitlementValue

Hashable EntitlementValue Source # 
Instance details

Defined in Amazonka.MarketplaceEntitlement.Types.EntitlementValue

type Rep EntitlementValue Source # 
Instance details

Defined in Amazonka.MarketplaceEntitlement.Types.EntitlementValue

type Rep EntitlementValue = D1 ('MetaData "EntitlementValue" "Amazonka.MarketplaceEntitlement.Types.EntitlementValue" "amazonka-marketplace-entitlement-2.0-KGpdCcitMPM9yhrIGqywn9" 'False) (C1 ('MetaCons "EntitlementValue'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "booleanValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "doubleValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))) :*: (S1 ('MetaSel ('Just "integerValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "stringValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newEntitlementValue :: EntitlementValue Source #

Create a value of EntitlementValue with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:booleanValue:EntitlementValue', entitlementValue_booleanValue - The BooleanValue field will be populated with a boolean value when the entitlement is a boolean type. Otherwise, the field will not be set.

$sel:doubleValue:EntitlementValue', entitlementValue_doubleValue - The DoubleValue field will be populated with a double value when the entitlement is a double type. Otherwise, the field will not be set.

$sel:integerValue:EntitlementValue', entitlementValue_integerValue - The IntegerValue field will be populated with an integer value when the entitlement is an integer type. Otherwise, the field will not be set.

$sel:stringValue:EntitlementValue', entitlementValue_stringValue - The StringValue field will be populated with a string value when the entitlement is a string type. Otherwise, the field will not be set.

entitlementValue_booleanValue :: Lens' EntitlementValue (Maybe Bool) Source #

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

entitlementValue_doubleValue :: Lens' EntitlementValue (Maybe Double) Source #

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

entitlementValue_integerValue :: Lens' EntitlementValue (Maybe Int) Source #

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

entitlementValue_stringValue :: Lens' EntitlementValue (Maybe Text) Source #

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