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 |
Amazonka.IoTSiteWise.Types.Variant
Description
Synopsis
- data Variant = Variant' {}
- newVariant :: Variant
- variant_integerValue :: Lens' Variant (Maybe Int)
- variant_doubleValue :: Lens' Variant (Maybe Double)
- variant_stringValue :: Lens' Variant (Maybe Text)
- variant_booleanValue :: Lens' Variant (Maybe Bool)
Documentation
Contains an asset property value (of a single type only).
See: newVariant
smart constructor.
Constructors
Variant' | |
Fields
|
Instances
newVariant :: Variant Source #
Create a value of Variant
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:Variant'
, variant_integerValue
- Asset property data of type integer (whole number).
$sel:doubleValue:Variant'
, variant_doubleValue
- Asset property data of type double (floating point number).
$sel:stringValue:Variant'
, variant_stringValue
- Asset property data of type string (sequence of characters).
$sel:booleanValue:Variant'
, variant_booleanValue
- Asset property data of type Boolean (true or false).
variant_integerValue :: Lens' Variant (Maybe Int) Source #
Asset property data of type integer (whole number).
variant_doubleValue :: Lens' Variant (Maybe Double) Source #
Asset property data of type double (floating point number).