| 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.Evidently.Types.VariableValue
Description
Synopsis
- data VariableValue = VariableValue' {}
- newVariableValue :: VariableValue
- variableValue_boolValue :: Lens' VariableValue (Maybe Bool)
- variableValue_doubleValue :: Lens' VariableValue (Maybe Double)
- variableValue_longValue :: Lens' VariableValue (Maybe Integer)
- variableValue_stringValue :: Lens' VariableValue (Maybe Text)
Documentation
data VariableValue Source #
The value assigned to a feature variation. This structure must contain
exactly one field. It can be boolValue, doubleValue, longValue, or
stringValue.
See: newVariableValue smart constructor.
Constructors
| VariableValue' | |
Fields
| |
Instances
newVariableValue :: VariableValue Source #
Create a value of VariableValue 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:boolValue:VariableValue', variableValue_boolValue - If this feature uses the Boolean variation type, this field contains the
Boolean value of this variation.
$sel:doubleValue:VariableValue', variableValue_doubleValue - If this feature uses the double integer variation type, this field
contains the double integer value of this variation.
$sel:longValue:VariableValue', variableValue_longValue - If this feature uses the long variation type, this field contains the
long value of this variation.
$sel:stringValue:VariableValue', variableValue_stringValue - If this feature uses the string variation type, this field contains the
string value of this variation.
variableValue_boolValue :: Lens' VariableValue (Maybe Bool) Source #
If this feature uses the Boolean variation type, this field contains the Boolean value of this variation.
variableValue_doubleValue :: Lens' VariableValue (Maybe Double) Source #
If this feature uses the double integer variation type, this field contains the double integer value of this variation.
variableValue_longValue :: Lens' VariableValue (Maybe Integer) Source #
If this feature uses the long variation type, this field contains the long value of this variation.
variableValue_stringValue :: Lens' VariableValue (Maybe Text) Source #
If this feature uses the string variation type, this field contains the string value of this variation.