| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IotTwinMaker.Types.DataValue
Description
Synopsis
- data DataValue = DataValue' {}
- newDataValue :: DataValue
- dataValue_booleanValue :: Lens' DataValue (Maybe Bool)
- dataValue_doubleValue :: Lens' DataValue (Maybe Double)
- dataValue_expression :: Lens' DataValue (Maybe Text)
- dataValue_integerValue :: Lens' DataValue (Maybe Int)
- dataValue_listValue :: Lens' DataValue (Maybe [DataValue])
- dataValue_longValue :: Lens' DataValue (Maybe Integer)
- dataValue_mapValue :: Lens' DataValue (Maybe (HashMap Text DataValue))
- dataValue_relationshipValue :: Lens' DataValue (Maybe RelationshipValue)
- dataValue_stringValue :: Lens' DataValue (Maybe Text)
Documentation
An object that specifies a value for a property.
See: newDataValue smart constructor.
Constructors
| DataValue' | |
Fields
| |
Instances
newDataValue :: DataValue Source #
Create a value of DataValue 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:DataValue', dataValue_booleanValue - A Boolean value.
$sel:doubleValue:DataValue', dataValue_doubleValue - A double value.
$sel:expression:DataValue', dataValue_expression - An expression that produces the value.
$sel:integerValue:DataValue', dataValue_integerValue - An integer value.
$sel:listValue:DataValue', dataValue_listValue - A list of multiple values.
$sel:longValue:DataValue', dataValue_longValue - A long value.
$sel:mapValue:DataValue', dataValue_mapValue - An object that maps strings to multiple DataValue objects.
$sel:relationshipValue:DataValue', dataValue_relationshipValue - A value that relates a component to another component.
$sel:stringValue:DataValue', dataValue_stringValue - A string value.
dataValue_mapValue :: Lens' DataValue (Maybe (HashMap Text DataValue)) Source #
An object that maps strings to multiple DataValue objects.
dataValue_relationshipValue :: Lens' DataValue (Maybe RelationshipValue) Source #
A value that relates a component to another component.