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 |
Documentation
data AnnotationValue Source #
Value of a segment annotation. Has one of three value types: Number, Boolean, or String.
See: newAnnotationValue
smart constructor.
AnnotationValue' | |
|
Instances
newAnnotationValue :: AnnotationValue Source #
Create a value of AnnotationValue
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:numberValue:AnnotationValue'
, annotationValue_numberValue
- Value for a Number annotation.
$sel:stringValue:AnnotationValue'
, annotationValue_stringValue
- Value for a String annotation.
$sel:booleanValue:AnnotationValue'
, annotationValue_booleanValue
- Value for a Boolean annotation.
annotationValue_numberValue :: Lens' AnnotationValue (Maybe Double) Source #
Value for a Number annotation.
annotationValue_stringValue :: Lens' AnnotationValue (Maybe Text) Source #
Value for a String annotation.
annotationValue_booleanValue :: Lens' AnnotationValue (Maybe Bool) Source #
Value for a Boolean annotation.