libZSservicesZSamazonka-marketplace-entitlementZSamazonka-marketplace-entitlement
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

  • 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.

  • 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.

  • 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.

  • 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.

Instances

Instances details
Eq EntitlementValue Source # 
Instance details

Defined in Amazonka.MarketplaceEntitlement.Types.EntitlementValue

Read EntitlementValue Source # 
Instance details

Defined in Amazonka.MarketplaceEntitlement.Types.EntitlementValue

Show 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 #

NFData EntitlementValue Source # 
Instance details

Defined in Amazonka.MarketplaceEntitlement.Types.EntitlementValue

Methods

rnf :: EntitlementValue -> () #

Hashable EntitlementValue Source # 
Instance details

Defined in Amazonka.MarketplaceEntitlement.Types.EntitlementValue

FromJSON 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" "libZSservicesZSamazonka-marketplace-entitlementZSamazonka-marketplace-entitlement" 'False) (C1 ('MetaCons "EntitlementValue'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "integerValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "doubleValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))) :*: (S1 ('MetaSel ('Just "stringValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "booleanValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

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: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: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: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.

$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.

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_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_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.

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.