libZSservicesZSamazonka-iotZSamazonka-iot
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.IoT.Types.AssetPropertyVariant

Description

 
Synopsis

Documentation

data AssetPropertyVariant Source #

Contains an asset property value (of a single type).

See: newAssetPropertyVariant smart constructor.

Constructors

AssetPropertyVariant' 

Fields

  • integerValue :: Maybe Text

    Optional. A string that contains the integer value of the value entry. Accepts substitution templates.

  • doubleValue :: Maybe Text

    Optional. A string that contains the double value of the value entry. Accepts substitution templates.

  • stringValue :: Maybe Text

    Optional. The string value of the value entry. Accepts substitution templates.

  • booleanValue :: Maybe Text

    Optional. A string that contains the boolean value (true or false) of the value entry. Accepts substitution templates.

Instances

Instances details
Eq AssetPropertyVariant Source # 
Instance details

Defined in Amazonka.IoT.Types.AssetPropertyVariant

Read AssetPropertyVariant Source # 
Instance details

Defined in Amazonka.IoT.Types.AssetPropertyVariant

Show AssetPropertyVariant Source # 
Instance details

Defined in Amazonka.IoT.Types.AssetPropertyVariant

Generic AssetPropertyVariant Source # 
Instance details

Defined in Amazonka.IoT.Types.AssetPropertyVariant

Associated Types

type Rep AssetPropertyVariant :: Type -> Type #

NFData AssetPropertyVariant Source # 
Instance details

Defined in Amazonka.IoT.Types.AssetPropertyVariant

Methods

rnf :: AssetPropertyVariant -> () #

Hashable AssetPropertyVariant Source # 
Instance details

Defined in Amazonka.IoT.Types.AssetPropertyVariant

ToJSON AssetPropertyVariant Source # 
Instance details

Defined in Amazonka.IoT.Types.AssetPropertyVariant

FromJSON AssetPropertyVariant Source # 
Instance details

Defined in Amazonka.IoT.Types.AssetPropertyVariant

type Rep AssetPropertyVariant Source # 
Instance details

Defined in Amazonka.IoT.Types.AssetPropertyVariant

type Rep AssetPropertyVariant = D1 ('MetaData "AssetPropertyVariant" "Amazonka.IoT.Types.AssetPropertyVariant" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "AssetPropertyVariant'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "integerValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "doubleValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "stringValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "booleanValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newAssetPropertyVariant :: AssetPropertyVariant Source #

Create a value of AssetPropertyVariant 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:AssetPropertyVariant', assetPropertyVariant_integerValue - Optional. A string that contains the integer value of the value entry. Accepts substitution templates.

$sel:doubleValue:AssetPropertyVariant', assetPropertyVariant_doubleValue - Optional. A string that contains the double value of the value entry. Accepts substitution templates.

$sel:stringValue:AssetPropertyVariant', assetPropertyVariant_stringValue - Optional. The string value of the value entry. Accepts substitution templates.

$sel:booleanValue:AssetPropertyVariant', assetPropertyVariant_booleanValue - Optional. A string that contains the boolean value (true or false) of the value entry. Accepts substitution templates.

assetPropertyVariant_integerValue :: Lens' AssetPropertyVariant (Maybe Text) Source #

Optional. A string that contains the integer value of the value entry. Accepts substitution templates.

assetPropertyVariant_doubleValue :: Lens' AssetPropertyVariant (Maybe Text) Source #

Optional. A string that contains the double value of the value entry. Accepts substitution templates.

assetPropertyVariant_stringValue :: Lens' AssetPropertyVariant (Maybe Text) Source #

Optional. The string value of the value entry. Accepts substitution templates.

assetPropertyVariant_booleanValue :: Lens' AssetPropertyVariant (Maybe Text) Source #

Optional. A string that contains the boolean value (true or false) of the value entry. Accepts substitution templates.