Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data EntitlementValue = EntitlementValue' {}
- newEntitlementValue :: EntitlementValue
- entitlementValue_integerValue :: Lens' EntitlementValue (Maybe Int)
- entitlementValue_doubleValue :: Lens' EntitlementValue (Maybe Double)
- entitlementValue_stringValue :: Lens' EntitlementValue (Maybe Text)
- entitlementValue_booleanValue :: Lens' EntitlementValue (Maybe Bool)
Documentation
data EntitlementValue Source #
The EntitlementValue represents the amount of capacity that the customer is entitled to for the product.
See: newEntitlementValue
smart constructor.
EntitlementValue' | |
|
Instances
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.