module Stratosphere.AmplifyUIBuilder.Component.ComponentConditionPropertyProperty (
        module Exports, ComponentConditionPropertyProperty(..),
        mkComponentConditionPropertyProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.AmplifyUIBuilder.Component.ComponentPropertyProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ComponentConditionPropertyProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentconditionproperty.html>
    ComponentConditionPropertyProperty {ComponentConditionPropertyProperty -> ()
haddock_workaround_ :: (),
                                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentconditionproperty.html#cfn-amplifyuibuilder-component-componentconditionproperty-else>
                                        ComponentConditionPropertyProperty
-> Maybe ComponentPropertyProperty
else' :: (Prelude.Maybe ComponentPropertyProperty),
                                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentconditionproperty.html#cfn-amplifyuibuilder-component-componentconditionproperty-field>
                                        ComponentConditionPropertyProperty -> Maybe (Value Text)
field :: (Prelude.Maybe (Value Prelude.Text)),
                                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentconditionproperty.html#cfn-amplifyuibuilder-component-componentconditionproperty-operand>
                                        ComponentConditionPropertyProperty -> Maybe (Value Text)
operand :: (Prelude.Maybe (Value Prelude.Text)),
                                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentconditionproperty.html#cfn-amplifyuibuilder-component-componentconditionproperty-operandtype>
                                        ComponentConditionPropertyProperty -> Maybe (Value Text)
operandType :: (Prelude.Maybe (Value Prelude.Text)),
                                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentconditionproperty.html#cfn-amplifyuibuilder-component-componentconditionproperty-operator>
                                        ComponentConditionPropertyProperty -> Maybe (Value Text)
operator :: (Prelude.Maybe (Value Prelude.Text)),
                                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentconditionproperty.html#cfn-amplifyuibuilder-component-componentconditionproperty-property>
                                        ComponentConditionPropertyProperty -> Maybe (Value Text)
property :: (Prelude.Maybe (Value Prelude.Text)),
                                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentconditionproperty.html#cfn-amplifyuibuilder-component-componentconditionproperty-then>
                                        ComponentConditionPropertyProperty
-> Maybe ComponentPropertyProperty
then' :: (Prelude.Maybe ComponentPropertyProperty)}
  deriving stock (ComponentConditionPropertyProperty
-> ComponentConditionPropertyProperty -> Bool
(ComponentConditionPropertyProperty
 -> ComponentConditionPropertyProperty -> Bool)
-> (ComponentConditionPropertyProperty
    -> ComponentConditionPropertyProperty -> Bool)
-> Eq ComponentConditionPropertyProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ComponentConditionPropertyProperty
-> ComponentConditionPropertyProperty -> Bool
== :: ComponentConditionPropertyProperty
-> ComponentConditionPropertyProperty -> Bool
$c/= :: ComponentConditionPropertyProperty
-> ComponentConditionPropertyProperty -> Bool
/= :: ComponentConditionPropertyProperty
-> ComponentConditionPropertyProperty -> Bool
Prelude.Eq, Int -> ComponentConditionPropertyProperty -> ShowS
[ComponentConditionPropertyProperty] -> ShowS
ComponentConditionPropertyProperty -> String
(Int -> ComponentConditionPropertyProperty -> ShowS)
-> (ComponentConditionPropertyProperty -> String)
-> ([ComponentConditionPropertyProperty] -> ShowS)
-> Show ComponentConditionPropertyProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ComponentConditionPropertyProperty -> ShowS
showsPrec :: Int -> ComponentConditionPropertyProperty -> ShowS
$cshow :: ComponentConditionPropertyProperty -> String
show :: ComponentConditionPropertyProperty -> String
$cshowList :: [ComponentConditionPropertyProperty] -> ShowS
showList :: [ComponentConditionPropertyProperty] -> ShowS
Prelude.Show)
mkComponentConditionPropertyProperty ::
  ComponentConditionPropertyProperty
mkComponentConditionPropertyProperty :: ComponentConditionPropertyProperty
mkComponentConditionPropertyProperty
  = ComponentConditionPropertyProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), else' :: Maybe ComponentPropertyProperty
else' = Maybe ComponentPropertyProperty
forall a. Maybe a
Prelude.Nothing,
       field :: Maybe (Value Text)
field = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, operand :: Maybe (Value Text)
operand = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       operandType :: Maybe (Value Text)
operandType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, operator :: Maybe (Value Text)
operator = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       property :: Maybe (Value Text)
property = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, then' :: Maybe ComponentPropertyProperty
then' = Maybe ComponentPropertyProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties ComponentConditionPropertyProperty where
  toResourceProperties :: ComponentConditionPropertyProperty -> ResourceProperties
toResourceProperties ComponentConditionPropertyProperty {Maybe (Value Text)
Maybe ComponentPropertyProperty
()
haddock_workaround_ :: ComponentConditionPropertyProperty -> ()
else' :: ComponentConditionPropertyProperty
-> Maybe ComponentPropertyProperty
field :: ComponentConditionPropertyProperty -> Maybe (Value Text)
operand :: ComponentConditionPropertyProperty -> Maybe (Value Text)
operandType :: ComponentConditionPropertyProperty -> Maybe (Value Text)
operator :: ComponentConditionPropertyProperty -> Maybe (Value Text)
property :: ComponentConditionPropertyProperty -> Maybe (Value Text)
then' :: ComponentConditionPropertyProperty
-> Maybe ComponentPropertyProperty
haddock_workaround_ :: ()
else' :: Maybe ComponentPropertyProperty
field :: Maybe (Value Text)
operand :: Maybe (Value Text)
operandType :: Maybe (Value Text)
operator :: Maybe (Value Text)
property :: Maybe (Value Text)
then' :: Maybe ComponentPropertyProperty
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::AmplifyUIBuilder::Component.ComponentConditionProperty",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                           [Key -> ComponentPropertyProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Else" (ComponentPropertyProperty -> (Key, Value))
-> Maybe ComponentPropertyProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ComponentPropertyProperty
else',
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Field" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
field,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Operand" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
operand,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"OperandType" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
operandType,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Operator" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
operator,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Property" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
property,
                            Key -> ComponentPropertyProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Then" (ComponentPropertyProperty -> (Key, Value))
-> Maybe ComponentPropertyProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ComponentPropertyProperty
then'])}
instance JSON.ToJSON ComponentConditionPropertyProperty where
  toJSON :: ComponentConditionPropertyProperty -> Value
toJSON ComponentConditionPropertyProperty {Maybe (Value Text)
Maybe ComponentPropertyProperty
()
haddock_workaround_ :: ComponentConditionPropertyProperty -> ()
else' :: ComponentConditionPropertyProperty
-> Maybe ComponentPropertyProperty
field :: ComponentConditionPropertyProperty -> Maybe (Value Text)
operand :: ComponentConditionPropertyProperty -> Maybe (Value Text)
operandType :: ComponentConditionPropertyProperty -> Maybe (Value Text)
operator :: ComponentConditionPropertyProperty -> Maybe (Value Text)
property :: ComponentConditionPropertyProperty -> Maybe (Value Text)
then' :: ComponentConditionPropertyProperty
-> Maybe ComponentPropertyProperty
haddock_workaround_ :: ()
else' :: Maybe ComponentPropertyProperty
field :: Maybe (Value Text)
operand :: Maybe (Value Text)
operandType :: Maybe (Value Text)
operator :: Maybe (Value Text)
property :: Maybe (Value Text)
then' :: Maybe ComponentPropertyProperty
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
              [Key -> ComponentPropertyProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Else" (ComponentPropertyProperty -> (Key, Value))
-> Maybe ComponentPropertyProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ComponentPropertyProperty
else',
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Field" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
field,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Operand" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
operand,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"OperandType" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
operandType,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Operator" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
operator,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Property" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
property,
               Key -> ComponentPropertyProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Then" (ComponentPropertyProperty -> (Key, Value))
-> Maybe ComponentPropertyProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ComponentPropertyProperty
then']))
instance Property "Else" ComponentConditionPropertyProperty where
  type PropertyType "Else" ComponentConditionPropertyProperty = ComponentPropertyProperty
  set :: PropertyType "Else" ComponentConditionPropertyProperty
-> ComponentConditionPropertyProperty
-> ComponentConditionPropertyProperty
set PropertyType "Else" ComponentConditionPropertyProperty
newValue ComponentConditionPropertyProperty {Maybe (Value Text)
Maybe ComponentPropertyProperty
()
haddock_workaround_ :: ComponentConditionPropertyProperty -> ()
else' :: ComponentConditionPropertyProperty
-> Maybe ComponentPropertyProperty
field :: ComponentConditionPropertyProperty -> Maybe (Value Text)
operand :: ComponentConditionPropertyProperty -> Maybe (Value Text)
operandType :: ComponentConditionPropertyProperty -> Maybe (Value Text)
operator :: ComponentConditionPropertyProperty -> Maybe (Value Text)
property :: ComponentConditionPropertyProperty -> Maybe (Value Text)
then' :: ComponentConditionPropertyProperty
-> Maybe ComponentPropertyProperty
haddock_workaround_ :: ()
else' :: Maybe ComponentPropertyProperty
field :: Maybe (Value Text)
operand :: Maybe (Value Text)
operandType :: Maybe (Value Text)
operator :: Maybe (Value Text)
property :: Maybe (Value Text)
then' :: Maybe ComponentPropertyProperty
..}
    = ComponentConditionPropertyProperty
        {else' :: Maybe ComponentPropertyProperty
else' = ComponentPropertyProperty -> Maybe ComponentPropertyProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Else" ComponentConditionPropertyProperty
ComponentPropertyProperty
newValue, Maybe (Value Text)
Maybe ComponentPropertyProperty
()
haddock_workaround_ :: ()
field :: Maybe (Value Text)
operand :: Maybe (Value Text)
operandType :: Maybe (Value Text)
operator :: Maybe (Value Text)
property :: Maybe (Value Text)
then' :: Maybe ComponentPropertyProperty
haddock_workaround_ :: ()
field :: Maybe (Value Text)
operand :: Maybe (Value Text)
operandType :: Maybe (Value Text)
operator :: Maybe (Value Text)
property :: Maybe (Value Text)
then' :: Maybe ComponentPropertyProperty
..}
instance Property "Field" ComponentConditionPropertyProperty where
  type PropertyType "Field" ComponentConditionPropertyProperty = Value Prelude.Text
  set :: PropertyType "Field" ComponentConditionPropertyProperty
-> ComponentConditionPropertyProperty
-> ComponentConditionPropertyProperty
set PropertyType "Field" ComponentConditionPropertyProperty
newValue ComponentConditionPropertyProperty {Maybe (Value Text)
Maybe ComponentPropertyProperty
()
haddock_workaround_ :: ComponentConditionPropertyProperty -> ()
else' :: ComponentConditionPropertyProperty
-> Maybe ComponentPropertyProperty
field :: ComponentConditionPropertyProperty -> Maybe (Value Text)
operand :: ComponentConditionPropertyProperty -> Maybe (Value Text)
operandType :: ComponentConditionPropertyProperty -> Maybe (Value Text)
operator :: ComponentConditionPropertyProperty -> Maybe (Value Text)
property :: ComponentConditionPropertyProperty -> Maybe (Value Text)
then' :: ComponentConditionPropertyProperty
-> Maybe ComponentPropertyProperty
haddock_workaround_ :: ()
else' :: Maybe ComponentPropertyProperty
field :: Maybe (Value Text)
operand :: Maybe (Value Text)
operandType :: Maybe (Value Text)
operator :: Maybe (Value Text)
property :: Maybe (Value Text)
then' :: Maybe ComponentPropertyProperty
..}
    = ComponentConditionPropertyProperty
        {field :: Maybe (Value Text)
field = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Field" ComponentConditionPropertyProperty
Value Text
newValue, Maybe (Value Text)
Maybe ComponentPropertyProperty
()
haddock_workaround_ :: ()
else' :: Maybe ComponentPropertyProperty
operand :: Maybe (Value Text)
operandType :: Maybe (Value Text)
operator :: Maybe (Value Text)
property :: Maybe (Value Text)
then' :: Maybe ComponentPropertyProperty
haddock_workaround_ :: ()
else' :: Maybe ComponentPropertyProperty
operand :: Maybe (Value Text)
operandType :: Maybe (Value Text)
operator :: Maybe (Value Text)
property :: Maybe (Value Text)
then' :: Maybe ComponentPropertyProperty
..}
instance Property "Operand" ComponentConditionPropertyProperty where
  type PropertyType "Operand" ComponentConditionPropertyProperty = Value Prelude.Text
  set :: PropertyType "Operand" ComponentConditionPropertyProperty
-> ComponentConditionPropertyProperty
-> ComponentConditionPropertyProperty
set PropertyType "Operand" ComponentConditionPropertyProperty
newValue ComponentConditionPropertyProperty {Maybe (Value Text)
Maybe ComponentPropertyProperty
()
haddock_workaround_ :: ComponentConditionPropertyProperty -> ()
else' :: ComponentConditionPropertyProperty
-> Maybe ComponentPropertyProperty
field :: ComponentConditionPropertyProperty -> Maybe (Value Text)
operand :: ComponentConditionPropertyProperty -> Maybe (Value Text)
operandType :: ComponentConditionPropertyProperty -> Maybe (Value Text)
operator :: ComponentConditionPropertyProperty -> Maybe (Value Text)
property :: ComponentConditionPropertyProperty -> Maybe (Value Text)
then' :: ComponentConditionPropertyProperty
-> Maybe ComponentPropertyProperty
haddock_workaround_ :: ()
else' :: Maybe ComponentPropertyProperty
field :: Maybe (Value Text)
operand :: Maybe (Value Text)
operandType :: Maybe (Value Text)
operator :: Maybe (Value Text)
property :: Maybe (Value Text)
then' :: Maybe ComponentPropertyProperty
..}
    = ComponentConditionPropertyProperty
        {operand :: Maybe (Value Text)
operand = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Operand" ComponentConditionPropertyProperty
Value Text
newValue, Maybe (Value Text)
Maybe ComponentPropertyProperty
()
haddock_workaround_ :: ()
else' :: Maybe ComponentPropertyProperty
field :: Maybe (Value Text)
operandType :: Maybe (Value Text)
operator :: Maybe (Value Text)
property :: Maybe (Value Text)
then' :: Maybe ComponentPropertyProperty
haddock_workaround_ :: ()
else' :: Maybe ComponentPropertyProperty
field :: Maybe (Value Text)
operandType :: Maybe (Value Text)
operator :: Maybe (Value Text)
property :: Maybe (Value Text)
then' :: Maybe ComponentPropertyProperty
..}
instance Property "OperandType" ComponentConditionPropertyProperty where
  type PropertyType "OperandType" ComponentConditionPropertyProperty = Value Prelude.Text
  set :: PropertyType "OperandType" ComponentConditionPropertyProperty
-> ComponentConditionPropertyProperty
-> ComponentConditionPropertyProperty
set PropertyType "OperandType" ComponentConditionPropertyProperty
newValue ComponentConditionPropertyProperty {Maybe (Value Text)
Maybe ComponentPropertyProperty
()
haddock_workaround_ :: ComponentConditionPropertyProperty -> ()
else' :: ComponentConditionPropertyProperty
-> Maybe ComponentPropertyProperty
field :: ComponentConditionPropertyProperty -> Maybe (Value Text)
operand :: ComponentConditionPropertyProperty -> Maybe (Value Text)
operandType :: ComponentConditionPropertyProperty -> Maybe (Value Text)
operator :: ComponentConditionPropertyProperty -> Maybe (Value Text)
property :: ComponentConditionPropertyProperty -> Maybe (Value Text)
then' :: ComponentConditionPropertyProperty
-> Maybe ComponentPropertyProperty
haddock_workaround_ :: ()
else' :: Maybe ComponentPropertyProperty
field :: Maybe (Value Text)
operand :: Maybe (Value Text)
operandType :: Maybe (Value Text)
operator :: Maybe (Value Text)
property :: Maybe (Value Text)
then' :: Maybe ComponentPropertyProperty
..}
    = ComponentConditionPropertyProperty
        {operandType :: Maybe (Value Text)
operandType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "OperandType" ComponentConditionPropertyProperty
Value Text
newValue, Maybe (Value Text)
Maybe ComponentPropertyProperty
()
haddock_workaround_ :: ()
else' :: Maybe ComponentPropertyProperty
field :: Maybe (Value Text)
operand :: Maybe (Value Text)
operator :: Maybe (Value Text)
property :: Maybe (Value Text)
then' :: Maybe ComponentPropertyProperty
haddock_workaround_ :: ()
else' :: Maybe ComponentPropertyProperty
field :: Maybe (Value Text)
operand :: Maybe (Value Text)
operator :: Maybe (Value Text)
property :: Maybe (Value Text)
then' :: Maybe ComponentPropertyProperty
..}
instance Property "Operator" ComponentConditionPropertyProperty where
  type PropertyType "Operator" ComponentConditionPropertyProperty = Value Prelude.Text
  set :: PropertyType "Operator" ComponentConditionPropertyProperty
-> ComponentConditionPropertyProperty
-> ComponentConditionPropertyProperty
set PropertyType "Operator" ComponentConditionPropertyProperty
newValue ComponentConditionPropertyProperty {Maybe (Value Text)
Maybe ComponentPropertyProperty
()
haddock_workaround_ :: ComponentConditionPropertyProperty -> ()
else' :: ComponentConditionPropertyProperty
-> Maybe ComponentPropertyProperty
field :: ComponentConditionPropertyProperty -> Maybe (Value Text)
operand :: ComponentConditionPropertyProperty -> Maybe (Value Text)
operandType :: ComponentConditionPropertyProperty -> Maybe (Value Text)
operator :: ComponentConditionPropertyProperty -> Maybe (Value Text)
property :: ComponentConditionPropertyProperty -> Maybe (Value Text)
then' :: ComponentConditionPropertyProperty
-> Maybe ComponentPropertyProperty
haddock_workaround_ :: ()
else' :: Maybe ComponentPropertyProperty
field :: Maybe (Value Text)
operand :: Maybe (Value Text)
operandType :: Maybe (Value Text)
operator :: Maybe (Value Text)
property :: Maybe (Value Text)
then' :: Maybe ComponentPropertyProperty
..}
    = ComponentConditionPropertyProperty
        {operator :: Maybe (Value Text)
operator = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Operator" ComponentConditionPropertyProperty
Value Text
newValue, Maybe (Value Text)
Maybe ComponentPropertyProperty
()
haddock_workaround_ :: ()
else' :: Maybe ComponentPropertyProperty
field :: Maybe (Value Text)
operand :: Maybe (Value Text)
operandType :: Maybe (Value Text)
property :: Maybe (Value Text)
then' :: Maybe ComponentPropertyProperty
haddock_workaround_ :: ()
else' :: Maybe ComponentPropertyProperty
field :: Maybe (Value Text)
operand :: Maybe (Value Text)
operandType :: Maybe (Value Text)
property :: Maybe (Value Text)
then' :: Maybe ComponentPropertyProperty
..}
instance Property "Property" ComponentConditionPropertyProperty where
  type PropertyType "Property" ComponentConditionPropertyProperty = Value Prelude.Text
  set :: PropertyType "Property" ComponentConditionPropertyProperty
-> ComponentConditionPropertyProperty
-> ComponentConditionPropertyProperty
set PropertyType "Property" ComponentConditionPropertyProperty
newValue ComponentConditionPropertyProperty {Maybe (Value Text)
Maybe ComponentPropertyProperty
()
haddock_workaround_ :: ComponentConditionPropertyProperty -> ()
else' :: ComponentConditionPropertyProperty
-> Maybe ComponentPropertyProperty
field :: ComponentConditionPropertyProperty -> Maybe (Value Text)
operand :: ComponentConditionPropertyProperty -> Maybe (Value Text)
operandType :: ComponentConditionPropertyProperty -> Maybe (Value Text)
operator :: ComponentConditionPropertyProperty -> Maybe (Value Text)
property :: ComponentConditionPropertyProperty -> Maybe (Value Text)
then' :: ComponentConditionPropertyProperty
-> Maybe ComponentPropertyProperty
haddock_workaround_ :: ()
else' :: Maybe ComponentPropertyProperty
field :: Maybe (Value Text)
operand :: Maybe (Value Text)
operandType :: Maybe (Value Text)
operator :: Maybe (Value Text)
property :: Maybe (Value Text)
then' :: Maybe ComponentPropertyProperty
..}
    = ComponentConditionPropertyProperty
        {property :: Maybe (Value Text)
property = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Property" ComponentConditionPropertyProperty
Value Text
newValue, Maybe (Value Text)
Maybe ComponentPropertyProperty
()
haddock_workaround_ :: ()
else' :: Maybe ComponentPropertyProperty
field :: Maybe (Value Text)
operand :: Maybe (Value Text)
operandType :: Maybe (Value Text)
operator :: Maybe (Value Text)
then' :: Maybe ComponentPropertyProperty
haddock_workaround_ :: ()
else' :: Maybe ComponentPropertyProperty
field :: Maybe (Value Text)
operand :: Maybe (Value Text)
operandType :: Maybe (Value Text)
operator :: Maybe (Value Text)
then' :: Maybe ComponentPropertyProperty
..}
instance Property "Then" ComponentConditionPropertyProperty where
  type PropertyType "Then" ComponentConditionPropertyProperty = ComponentPropertyProperty
  set :: PropertyType "Then" ComponentConditionPropertyProperty
-> ComponentConditionPropertyProperty
-> ComponentConditionPropertyProperty
set PropertyType "Then" ComponentConditionPropertyProperty
newValue ComponentConditionPropertyProperty {Maybe (Value Text)
Maybe ComponentPropertyProperty
()
haddock_workaround_ :: ComponentConditionPropertyProperty -> ()
else' :: ComponentConditionPropertyProperty
-> Maybe ComponentPropertyProperty
field :: ComponentConditionPropertyProperty -> Maybe (Value Text)
operand :: ComponentConditionPropertyProperty -> Maybe (Value Text)
operandType :: ComponentConditionPropertyProperty -> Maybe (Value Text)
operator :: ComponentConditionPropertyProperty -> Maybe (Value Text)
property :: ComponentConditionPropertyProperty -> Maybe (Value Text)
then' :: ComponentConditionPropertyProperty
-> Maybe ComponentPropertyProperty
haddock_workaround_ :: ()
else' :: Maybe ComponentPropertyProperty
field :: Maybe (Value Text)
operand :: Maybe (Value Text)
operandType :: Maybe (Value Text)
operator :: Maybe (Value Text)
property :: Maybe (Value Text)
then' :: Maybe ComponentPropertyProperty
..}
    = ComponentConditionPropertyProperty
        {then' :: Maybe ComponentPropertyProperty
then' = ComponentPropertyProperty -> Maybe ComponentPropertyProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Then" ComponentConditionPropertyProperty
ComponentPropertyProperty
newValue, Maybe (Value Text)
Maybe ComponentPropertyProperty
()
haddock_workaround_ :: ()
else' :: Maybe ComponentPropertyProperty
field :: Maybe (Value Text)
operand :: Maybe (Value Text)
operandType :: Maybe (Value Text)
operator :: Maybe (Value Text)
property :: Maybe (Value Text)
haddock_workaround_ :: ()
else' :: Maybe ComponentPropertyProperty
field :: Maybe (Value Text)
operand :: Maybe (Value Text)
operandType :: Maybe (Value Text)
operator :: Maybe (Value Text)
property :: Maybe (Value Text)
..}