| 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.AmplifyUiBuilder.Types.ComponentConditionProperty
Description
Synopsis
- data ComponentConditionProperty = ComponentConditionProperty' {}
- newComponentConditionProperty :: ComponentConditionProperty
- componentConditionProperty_else :: Lens' ComponentConditionProperty (Maybe ComponentProperty)
- componentConditionProperty_field :: Lens' ComponentConditionProperty (Maybe Text)
- componentConditionProperty_operand :: Lens' ComponentConditionProperty (Maybe Text)
- componentConditionProperty_operandType :: Lens' ComponentConditionProperty (Maybe Text)
- componentConditionProperty_operator :: Lens' ComponentConditionProperty (Maybe Text)
- componentConditionProperty_property :: Lens' ComponentConditionProperty (Maybe Text)
- componentConditionProperty_then :: Lens' ComponentConditionProperty (Maybe ComponentProperty)
Documentation
data ComponentConditionProperty Source #
Represents a conditional expression to set a component property. Use
ComponentConditionProperty to set a property to different values
conditionally, based on the value of another property.
See: newComponentConditionProperty smart constructor.
Constructors
| ComponentConditionProperty' | |
Fields
| |
Instances
newComponentConditionProperty :: ComponentConditionProperty Source #
Create a value of ComponentConditionProperty 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:else':ComponentConditionProperty', componentConditionProperty_else - The value to assign to the property if the condition is not met.
$sel:field:ComponentConditionProperty', componentConditionProperty_field - The name of a field. Specify this when the property is a data model.
$sel:operand:ComponentConditionProperty', componentConditionProperty_operand - The value of the property to evaluate.
$sel:operandType:ComponentConditionProperty', componentConditionProperty_operandType - The type of the property to evaluate.
$sel:operator:ComponentConditionProperty', componentConditionProperty_operator - The operator to use to perform the evaluation, such as eq to represent
equals.
$sel:property:ComponentConditionProperty', componentConditionProperty_property - The name of the conditional property.
$sel:then':ComponentConditionProperty', componentConditionProperty_then - The value to assign to the property if the condition is met.
componentConditionProperty_else :: Lens' ComponentConditionProperty (Maybe ComponentProperty) Source #
The value to assign to the property if the condition is not met.
componentConditionProperty_field :: Lens' ComponentConditionProperty (Maybe Text) Source #
The name of a field. Specify this when the property is a data model.
componentConditionProperty_operand :: Lens' ComponentConditionProperty (Maybe Text) Source #
The value of the property to evaluate.
componentConditionProperty_operandType :: Lens' ComponentConditionProperty (Maybe Text) Source #
The type of the property to evaluate.
componentConditionProperty_operator :: Lens' ComponentConditionProperty (Maybe Text) Source #
The operator to use to perform the evaluation, such as eq to represent
equals.
componentConditionProperty_property :: Lens' ComponentConditionProperty (Maybe Text) Source #
The name of the conditional property.
componentConditionProperty_then :: Lens' ComponentConditionProperty (Maybe ComponentProperty) Source #
The value to assign to the property if the condition is met.