module Stratosphere.Lex.Bot.SlotTypeProperty (
        module Exports, SlotTypeProperty(..), mkSlotTypeProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Lex.Bot.CompositeSlotTypeSettingProperty as Exports
import {-# SOURCE #-} Stratosphere.Lex.Bot.ExternalSourceSettingProperty as Exports
import {-# SOURCE #-} Stratosphere.Lex.Bot.SlotTypeValueProperty as Exports
import {-# SOURCE #-} Stratosphere.Lex.Bot.SlotValueSelectionSettingProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data SlotTypeProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slottype.html>
    SlotTypeProperty {SlotTypeProperty -> ()
haddock_workaround_ :: (),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slottype.html#cfn-lex-bot-slottype-compositeslottypesetting>
                      SlotTypeProperty -> Maybe CompositeSlotTypeSettingProperty
compositeSlotTypeSetting :: (Prelude.Maybe CompositeSlotTypeSettingProperty),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slottype.html#cfn-lex-bot-slottype-description>
                      SlotTypeProperty -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slottype.html#cfn-lex-bot-slottype-externalsourcesetting>
                      SlotTypeProperty -> Maybe ExternalSourceSettingProperty
externalSourceSetting :: (Prelude.Maybe ExternalSourceSettingProperty),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slottype.html#cfn-lex-bot-slottype-name>
                      SlotTypeProperty -> Value Text
name :: (Value Prelude.Text),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slottype.html#cfn-lex-bot-slottype-parentslottypesignature>
                      SlotTypeProperty -> Maybe (Value Text)
parentSlotTypeSignature :: (Prelude.Maybe (Value Prelude.Text)),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slottype.html#cfn-lex-bot-slottype-slottypevalues>
                      SlotTypeProperty -> Maybe [SlotTypeValueProperty]
slotTypeValues :: (Prelude.Maybe [SlotTypeValueProperty]),
                      -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slottype.html#cfn-lex-bot-slottype-valueselectionsetting>
                      SlotTypeProperty -> Maybe SlotValueSelectionSettingProperty
valueSelectionSetting :: (Prelude.Maybe SlotValueSelectionSettingProperty)}
  deriving stock (SlotTypeProperty -> SlotTypeProperty -> Bool
(SlotTypeProperty -> SlotTypeProperty -> Bool)
-> (SlotTypeProperty -> SlotTypeProperty -> Bool)
-> Eq SlotTypeProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SlotTypeProperty -> SlotTypeProperty -> Bool
== :: SlotTypeProperty -> SlotTypeProperty -> Bool
$c/= :: SlotTypeProperty -> SlotTypeProperty -> Bool
/= :: SlotTypeProperty -> SlotTypeProperty -> Bool
Prelude.Eq, Int -> SlotTypeProperty -> ShowS
[SlotTypeProperty] -> ShowS
SlotTypeProperty -> String
(Int -> SlotTypeProperty -> ShowS)
-> (SlotTypeProperty -> String)
-> ([SlotTypeProperty] -> ShowS)
-> Show SlotTypeProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SlotTypeProperty -> ShowS
showsPrec :: Int -> SlotTypeProperty -> ShowS
$cshow :: SlotTypeProperty -> String
show :: SlotTypeProperty -> String
$cshowList :: [SlotTypeProperty] -> ShowS
showList :: [SlotTypeProperty] -> ShowS
Prelude.Show)
mkSlotTypeProperty :: Value Prelude.Text -> SlotTypeProperty
mkSlotTypeProperty :: Value Text -> SlotTypeProperty
mkSlotTypeProperty Value Text
name
  = SlotTypeProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), name :: Value Text
name = Value Text
name,
       compositeSlotTypeSetting :: Maybe CompositeSlotTypeSettingProperty
compositeSlotTypeSetting = Maybe CompositeSlotTypeSettingProperty
forall a. Maybe a
Prelude.Nothing,
       description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       externalSourceSetting :: Maybe ExternalSourceSettingProperty
externalSourceSetting = Maybe ExternalSourceSettingProperty
forall a. Maybe a
Prelude.Nothing,
       parentSlotTypeSignature :: Maybe (Value Text)
parentSlotTypeSignature = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       slotTypeValues :: Maybe [SlotTypeValueProperty]
slotTypeValues = Maybe [SlotTypeValueProperty]
forall a. Maybe a
Prelude.Nothing,
       valueSelectionSetting :: Maybe SlotValueSelectionSettingProperty
valueSelectionSetting = Maybe SlotValueSelectionSettingProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties SlotTypeProperty where
  toResourceProperties :: SlotTypeProperty -> ResourceProperties
toResourceProperties SlotTypeProperty {Maybe [SlotTypeValueProperty]
Maybe (Value Text)
Maybe ExternalSourceSettingProperty
Maybe SlotValueSelectionSettingProperty
Maybe CompositeSlotTypeSettingProperty
()
Value Text
haddock_workaround_ :: SlotTypeProperty -> ()
compositeSlotTypeSetting :: SlotTypeProperty -> Maybe CompositeSlotTypeSettingProperty
description :: SlotTypeProperty -> Maybe (Value Text)
externalSourceSetting :: SlotTypeProperty -> Maybe ExternalSourceSettingProperty
name :: SlotTypeProperty -> Value Text
parentSlotTypeSignature :: SlotTypeProperty -> Maybe (Value Text)
slotTypeValues :: SlotTypeProperty -> Maybe [SlotTypeValueProperty]
valueSelectionSetting :: SlotTypeProperty -> Maybe SlotValueSelectionSettingProperty
haddock_workaround_ :: ()
compositeSlotTypeSetting :: Maybe CompositeSlotTypeSettingProperty
description :: Maybe (Value Text)
externalSourceSetting :: Maybe ExternalSourceSettingProperty
name :: Value Text
parentSlotTypeSignature :: Maybe (Value Text)
slotTypeValues :: Maybe [SlotTypeValueProperty]
valueSelectionSetting :: Maybe SlotValueSelectionSettingProperty
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Lex::Bot.SlotType", supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
                           [Key
"Name" 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..= Value Text
name]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> CompositeSlotTypeSettingProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CompositeSlotTypeSetting"
                                 (CompositeSlotTypeSettingProperty -> (Key, Value))
-> Maybe CompositeSlotTypeSettingProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CompositeSlotTypeSettingProperty
compositeSlotTypeSetting,
                               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
"Description" (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)
description,
                               Key -> ExternalSourceSettingProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ExternalSourceSetting"
                                 (ExternalSourceSettingProperty -> (Key, Value))
-> Maybe ExternalSourceSettingProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ExternalSourceSettingProperty
externalSourceSetting,
                               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
"ParentSlotTypeSignature"
                                 (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)
parentSlotTypeSignature,
                               Key -> [SlotTypeValueProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SlotTypeValues" ([SlotTypeValueProperty] -> (Key, Value))
-> Maybe [SlotTypeValueProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [SlotTypeValueProperty]
slotTypeValues,
                               Key -> SlotValueSelectionSettingProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ValueSelectionSetting"
                                 (SlotValueSelectionSettingProperty -> (Key, Value))
-> Maybe SlotValueSelectionSettingProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SlotValueSelectionSettingProperty
valueSelectionSetting]))}
instance JSON.ToJSON SlotTypeProperty where
  toJSON :: SlotTypeProperty -> Value
toJSON SlotTypeProperty {Maybe [SlotTypeValueProperty]
Maybe (Value Text)
Maybe ExternalSourceSettingProperty
Maybe SlotValueSelectionSettingProperty
Maybe CompositeSlotTypeSettingProperty
()
Value Text
haddock_workaround_ :: SlotTypeProperty -> ()
compositeSlotTypeSetting :: SlotTypeProperty -> Maybe CompositeSlotTypeSettingProperty
description :: SlotTypeProperty -> Maybe (Value Text)
externalSourceSetting :: SlotTypeProperty -> Maybe ExternalSourceSettingProperty
name :: SlotTypeProperty -> Value Text
parentSlotTypeSignature :: SlotTypeProperty -> Maybe (Value Text)
slotTypeValues :: SlotTypeProperty -> Maybe [SlotTypeValueProperty]
valueSelectionSetting :: SlotTypeProperty -> Maybe SlotValueSelectionSettingProperty
haddock_workaround_ :: ()
compositeSlotTypeSetting :: Maybe CompositeSlotTypeSettingProperty
description :: Maybe (Value Text)
externalSourceSetting :: Maybe ExternalSourceSettingProperty
name :: Value Text
parentSlotTypeSignature :: Maybe (Value Text)
slotTypeValues :: Maybe [SlotTypeValueProperty]
valueSelectionSetting :: Maybe SlotValueSelectionSettingProperty
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
              [Key
"Name" 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..= Value Text
name]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> CompositeSlotTypeSettingProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CompositeSlotTypeSetting"
                    (CompositeSlotTypeSettingProperty -> (Key, Value))
-> Maybe CompositeSlotTypeSettingProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CompositeSlotTypeSettingProperty
compositeSlotTypeSetting,
                  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
"Description" (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)
description,
                  Key -> ExternalSourceSettingProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ExternalSourceSetting"
                    (ExternalSourceSettingProperty -> (Key, Value))
-> Maybe ExternalSourceSettingProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ExternalSourceSettingProperty
externalSourceSetting,
                  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
"ParentSlotTypeSignature"
                    (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)
parentSlotTypeSignature,
                  Key -> [SlotTypeValueProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SlotTypeValues" ([SlotTypeValueProperty] -> (Key, Value))
-> Maybe [SlotTypeValueProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [SlotTypeValueProperty]
slotTypeValues,
                  Key -> SlotValueSelectionSettingProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ValueSelectionSetting"
                    (SlotValueSelectionSettingProperty -> (Key, Value))
-> Maybe SlotValueSelectionSettingProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SlotValueSelectionSettingProperty
valueSelectionSetting])))
instance Property "CompositeSlotTypeSetting" SlotTypeProperty where
  type PropertyType "CompositeSlotTypeSetting" SlotTypeProperty = CompositeSlotTypeSettingProperty
  set :: PropertyType "CompositeSlotTypeSetting" SlotTypeProperty
-> SlotTypeProperty -> SlotTypeProperty
set PropertyType "CompositeSlotTypeSetting" SlotTypeProperty
newValue SlotTypeProperty {Maybe [SlotTypeValueProperty]
Maybe (Value Text)
Maybe ExternalSourceSettingProperty
Maybe SlotValueSelectionSettingProperty
Maybe CompositeSlotTypeSettingProperty
()
Value Text
haddock_workaround_ :: SlotTypeProperty -> ()
compositeSlotTypeSetting :: SlotTypeProperty -> Maybe CompositeSlotTypeSettingProperty
description :: SlotTypeProperty -> Maybe (Value Text)
externalSourceSetting :: SlotTypeProperty -> Maybe ExternalSourceSettingProperty
name :: SlotTypeProperty -> Value Text
parentSlotTypeSignature :: SlotTypeProperty -> Maybe (Value Text)
slotTypeValues :: SlotTypeProperty -> Maybe [SlotTypeValueProperty]
valueSelectionSetting :: SlotTypeProperty -> Maybe SlotValueSelectionSettingProperty
haddock_workaround_ :: ()
compositeSlotTypeSetting :: Maybe CompositeSlotTypeSettingProperty
description :: Maybe (Value Text)
externalSourceSetting :: Maybe ExternalSourceSettingProperty
name :: Value Text
parentSlotTypeSignature :: Maybe (Value Text)
slotTypeValues :: Maybe [SlotTypeValueProperty]
valueSelectionSetting :: Maybe SlotValueSelectionSettingProperty
..}
    = SlotTypeProperty
        {compositeSlotTypeSetting :: Maybe CompositeSlotTypeSettingProperty
compositeSlotTypeSetting = CompositeSlotTypeSettingProperty
-> Maybe CompositeSlotTypeSettingProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CompositeSlotTypeSetting" SlotTypeProperty
CompositeSlotTypeSettingProperty
newValue, Maybe [SlotTypeValueProperty]
Maybe (Value Text)
Maybe ExternalSourceSettingProperty
Maybe SlotValueSelectionSettingProperty
()
Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
externalSourceSetting :: Maybe ExternalSourceSettingProperty
name :: Value Text
parentSlotTypeSignature :: Maybe (Value Text)
slotTypeValues :: Maybe [SlotTypeValueProperty]
valueSelectionSetting :: Maybe SlotValueSelectionSettingProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
externalSourceSetting :: Maybe ExternalSourceSettingProperty
name :: Value Text
parentSlotTypeSignature :: Maybe (Value Text)
slotTypeValues :: Maybe [SlotTypeValueProperty]
valueSelectionSetting :: Maybe SlotValueSelectionSettingProperty
..}
instance Property "Description" SlotTypeProperty where
  type PropertyType "Description" SlotTypeProperty = Value Prelude.Text
  set :: PropertyType "Description" SlotTypeProperty
-> SlotTypeProperty -> SlotTypeProperty
set PropertyType "Description" SlotTypeProperty
newValue SlotTypeProperty {Maybe [SlotTypeValueProperty]
Maybe (Value Text)
Maybe ExternalSourceSettingProperty
Maybe SlotValueSelectionSettingProperty
Maybe CompositeSlotTypeSettingProperty
()
Value Text
haddock_workaround_ :: SlotTypeProperty -> ()
compositeSlotTypeSetting :: SlotTypeProperty -> Maybe CompositeSlotTypeSettingProperty
description :: SlotTypeProperty -> Maybe (Value Text)
externalSourceSetting :: SlotTypeProperty -> Maybe ExternalSourceSettingProperty
name :: SlotTypeProperty -> Value Text
parentSlotTypeSignature :: SlotTypeProperty -> Maybe (Value Text)
slotTypeValues :: SlotTypeProperty -> Maybe [SlotTypeValueProperty]
valueSelectionSetting :: SlotTypeProperty -> Maybe SlotValueSelectionSettingProperty
haddock_workaround_ :: ()
compositeSlotTypeSetting :: Maybe CompositeSlotTypeSettingProperty
description :: Maybe (Value Text)
externalSourceSetting :: Maybe ExternalSourceSettingProperty
name :: Value Text
parentSlotTypeSignature :: Maybe (Value Text)
slotTypeValues :: Maybe [SlotTypeValueProperty]
valueSelectionSetting :: Maybe SlotValueSelectionSettingProperty
..}
    = SlotTypeProperty {description :: Maybe (Value Text)
description = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Description" SlotTypeProperty
Value Text
newValue, Maybe [SlotTypeValueProperty]
Maybe (Value Text)
Maybe ExternalSourceSettingProperty
Maybe SlotValueSelectionSettingProperty
Maybe CompositeSlotTypeSettingProperty
()
Value Text
haddock_workaround_ :: ()
compositeSlotTypeSetting :: Maybe CompositeSlotTypeSettingProperty
externalSourceSetting :: Maybe ExternalSourceSettingProperty
name :: Value Text
parentSlotTypeSignature :: Maybe (Value Text)
slotTypeValues :: Maybe [SlotTypeValueProperty]
valueSelectionSetting :: Maybe SlotValueSelectionSettingProperty
haddock_workaround_ :: ()
compositeSlotTypeSetting :: Maybe CompositeSlotTypeSettingProperty
externalSourceSetting :: Maybe ExternalSourceSettingProperty
name :: Value Text
parentSlotTypeSignature :: Maybe (Value Text)
slotTypeValues :: Maybe [SlotTypeValueProperty]
valueSelectionSetting :: Maybe SlotValueSelectionSettingProperty
..}
instance Property "ExternalSourceSetting" SlotTypeProperty where
  type PropertyType "ExternalSourceSetting" SlotTypeProperty = ExternalSourceSettingProperty
  set :: PropertyType "ExternalSourceSetting" SlotTypeProperty
-> SlotTypeProperty -> SlotTypeProperty
set PropertyType "ExternalSourceSetting" SlotTypeProperty
newValue SlotTypeProperty {Maybe [SlotTypeValueProperty]
Maybe (Value Text)
Maybe ExternalSourceSettingProperty
Maybe SlotValueSelectionSettingProperty
Maybe CompositeSlotTypeSettingProperty
()
Value Text
haddock_workaround_ :: SlotTypeProperty -> ()
compositeSlotTypeSetting :: SlotTypeProperty -> Maybe CompositeSlotTypeSettingProperty
description :: SlotTypeProperty -> Maybe (Value Text)
externalSourceSetting :: SlotTypeProperty -> Maybe ExternalSourceSettingProperty
name :: SlotTypeProperty -> Value Text
parentSlotTypeSignature :: SlotTypeProperty -> Maybe (Value Text)
slotTypeValues :: SlotTypeProperty -> Maybe [SlotTypeValueProperty]
valueSelectionSetting :: SlotTypeProperty -> Maybe SlotValueSelectionSettingProperty
haddock_workaround_ :: ()
compositeSlotTypeSetting :: Maybe CompositeSlotTypeSettingProperty
description :: Maybe (Value Text)
externalSourceSetting :: Maybe ExternalSourceSettingProperty
name :: Value Text
parentSlotTypeSignature :: Maybe (Value Text)
slotTypeValues :: Maybe [SlotTypeValueProperty]
valueSelectionSetting :: Maybe SlotValueSelectionSettingProperty
..}
    = SlotTypeProperty
        {externalSourceSetting :: Maybe ExternalSourceSettingProperty
externalSourceSetting = ExternalSourceSettingProperty
-> Maybe ExternalSourceSettingProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ExternalSourceSetting" SlotTypeProperty
ExternalSourceSettingProperty
newValue, Maybe [SlotTypeValueProperty]
Maybe (Value Text)
Maybe SlotValueSelectionSettingProperty
Maybe CompositeSlotTypeSettingProperty
()
Value Text
haddock_workaround_ :: ()
compositeSlotTypeSetting :: Maybe CompositeSlotTypeSettingProperty
description :: Maybe (Value Text)
name :: Value Text
parentSlotTypeSignature :: Maybe (Value Text)
slotTypeValues :: Maybe [SlotTypeValueProperty]
valueSelectionSetting :: Maybe SlotValueSelectionSettingProperty
haddock_workaround_ :: ()
compositeSlotTypeSetting :: Maybe CompositeSlotTypeSettingProperty
description :: Maybe (Value Text)
name :: Value Text
parentSlotTypeSignature :: Maybe (Value Text)
slotTypeValues :: Maybe [SlotTypeValueProperty]
valueSelectionSetting :: Maybe SlotValueSelectionSettingProperty
..}
instance Property "Name" SlotTypeProperty where
  type PropertyType "Name" SlotTypeProperty = Value Prelude.Text
  set :: PropertyType "Name" SlotTypeProperty
-> SlotTypeProperty -> SlotTypeProperty
set PropertyType "Name" SlotTypeProperty
newValue SlotTypeProperty {Maybe [SlotTypeValueProperty]
Maybe (Value Text)
Maybe ExternalSourceSettingProperty
Maybe SlotValueSelectionSettingProperty
Maybe CompositeSlotTypeSettingProperty
()
Value Text
haddock_workaround_ :: SlotTypeProperty -> ()
compositeSlotTypeSetting :: SlotTypeProperty -> Maybe CompositeSlotTypeSettingProperty
description :: SlotTypeProperty -> Maybe (Value Text)
externalSourceSetting :: SlotTypeProperty -> Maybe ExternalSourceSettingProperty
name :: SlotTypeProperty -> Value Text
parentSlotTypeSignature :: SlotTypeProperty -> Maybe (Value Text)
slotTypeValues :: SlotTypeProperty -> Maybe [SlotTypeValueProperty]
valueSelectionSetting :: SlotTypeProperty -> Maybe SlotValueSelectionSettingProperty
haddock_workaround_ :: ()
compositeSlotTypeSetting :: Maybe CompositeSlotTypeSettingProperty
description :: Maybe (Value Text)
externalSourceSetting :: Maybe ExternalSourceSettingProperty
name :: Value Text
parentSlotTypeSignature :: Maybe (Value Text)
slotTypeValues :: Maybe [SlotTypeValueProperty]
valueSelectionSetting :: Maybe SlotValueSelectionSettingProperty
..}
    = SlotTypeProperty {name :: Value Text
name = PropertyType "Name" SlotTypeProperty
Value Text
newValue, Maybe [SlotTypeValueProperty]
Maybe (Value Text)
Maybe ExternalSourceSettingProperty
Maybe SlotValueSelectionSettingProperty
Maybe CompositeSlotTypeSettingProperty
()
haddock_workaround_ :: ()
compositeSlotTypeSetting :: Maybe CompositeSlotTypeSettingProperty
description :: Maybe (Value Text)
externalSourceSetting :: Maybe ExternalSourceSettingProperty
parentSlotTypeSignature :: Maybe (Value Text)
slotTypeValues :: Maybe [SlotTypeValueProperty]
valueSelectionSetting :: Maybe SlotValueSelectionSettingProperty
haddock_workaround_ :: ()
compositeSlotTypeSetting :: Maybe CompositeSlotTypeSettingProperty
description :: Maybe (Value Text)
externalSourceSetting :: Maybe ExternalSourceSettingProperty
parentSlotTypeSignature :: Maybe (Value Text)
slotTypeValues :: Maybe [SlotTypeValueProperty]
valueSelectionSetting :: Maybe SlotValueSelectionSettingProperty
..}
instance Property "ParentSlotTypeSignature" SlotTypeProperty where
  type PropertyType "ParentSlotTypeSignature" SlotTypeProperty = Value Prelude.Text
  set :: PropertyType "ParentSlotTypeSignature" SlotTypeProperty
-> SlotTypeProperty -> SlotTypeProperty
set PropertyType "ParentSlotTypeSignature" SlotTypeProperty
newValue SlotTypeProperty {Maybe [SlotTypeValueProperty]
Maybe (Value Text)
Maybe ExternalSourceSettingProperty
Maybe SlotValueSelectionSettingProperty
Maybe CompositeSlotTypeSettingProperty
()
Value Text
haddock_workaround_ :: SlotTypeProperty -> ()
compositeSlotTypeSetting :: SlotTypeProperty -> Maybe CompositeSlotTypeSettingProperty
description :: SlotTypeProperty -> Maybe (Value Text)
externalSourceSetting :: SlotTypeProperty -> Maybe ExternalSourceSettingProperty
name :: SlotTypeProperty -> Value Text
parentSlotTypeSignature :: SlotTypeProperty -> Maybe (Value Text)
slotTypeValues :: SlotTypeProperty -> Maybe [SlotTypeValueProperty]
valueSelectionSetting :: SlotTypeProperty -> Maybe SlotValueSelectionSettingProperty
haddock_workaround_ :: ()
compositeSlotTypeSetting :: Maybe CompositeSlotTypeSettingProperty
description :: Maybe (Value Text)
externalSourceSetting :: Maybe ExternalSourceSettingProperty
name :: Value Text
parentSlotTypeSignature :: Maybe (Value Text)
slotTypeValues :: Maybe [SlotTypeValueProperty]
valueSelectionSetting :: Maybe SlotValueSelectionSettingProperty
..}
    = SlotTypeProperty
        {parentSlotTypeSignature :: Maybe (Value Text)
parentSlotTypeSignature = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ParentSlotTypeSignature" SlotTypeProperty
Value Text
newValue, Maybe [SlotTypeValueProperty]
Maybe (Value Text)
Maybe ExternalSourceSettingProperty
Maybe SlotValueSelectionSettingProperty
Maybe CompositeSlotTypeSettingProperty
()
Value Text
haddock_workaround_ :: ()
compositeSlotTypeSetting :: Maybe CompositeSlotTypeSettingProperty
description :: Maybe (Value Text)
externalSourceSetting :: Maybe ExternalSourceSettingProperty
name :: Value Text
slotTypeValues :: Maybe [SlotTypeValueProperty]
valueSelectionSetting :: Maybe SlotValueSelectionSettingProperty
haddock_workaround_ :: ()
compositeSlotTypeSetting :: Maybe CompositeSlotTypeSettingProperty
description :: Maybe (Value Text)
externalSourceSetting :: Maybe ExternalSourceSettingProperty
name :: Value Text
slotTypeValues :: Maybe [SlotTypeValueProperty]
valueSelectionSetting :: Maybe SlotValueSelectionSettingProperty
..}
instance Property "SlotTypeValues" SlotTypeProperty where
  type PropertyType "SlotTypeValues" SlotTypeProperty = [SlotTypeValueProperty]
  set :: PropertyType "SlotTypeValues" SlotTypeProperty
-> SlotTypeProperty -> SlotTypeProperty
set PropertyType "SlotTypeValues" SlotTypeProperty
newValue SlotTypeProperty {Maybe [SlotTypeValueProperty]
Maybe (Value Text)
Maybe ExternalSourceSettingProperty
Maybe SlotValueSelectionSettingProperty
Maybe CompositeSlotTypeSettingProperty
()
Value Text
haddock_workaround_ :: SlotTypeProperty -> ()
compositeSlotTypeSetting :: SlotTypeProperty -> Maybe CompositeSlotTypeSettingProperty
description :: SlotTypeProperty -> Maybe (Value Text)
externalSourceSetting :: SlotTypeProperty -> Maybe ExternalSourceSettingProperty
name :: SlotTypeProperty -> Value Text
parentSlotTypeSignature :: SlotTypeProperty -> Maybe (Value Text)
slotTypeValues :: SlotTypeProperty -> Maybe [SlotTypeValueProperty]
valueSelectionSetting :: SlotTypeProperty -> Maybe SlotValueSelectionSettingProperty
haddock_workaround_ :: ()
compositeSlotTypeSetting :: Maybe CompositeSlotTypeSettingProperty
description :: Maybe (Value Text)
externalSourceSetting :: Maybe ExternalSourceSettingProperty
name :: Value Text
parentSlotTypeSignature :: Maybe (Value Text)
slotTypeValues :: Maybe [SlotTypeValueProperty]
valueSelectionSetting :: Maybe SlotValueSelectionSettingProperty
..}
    = SlotTypeProperty {slotTypeValues :: Maybe [SlotTypeValueProperty]
slotTypeValues = [SlotTypeValueProperty] -> Maybe [SlotTypeValueProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [SlotTypeValueProperty]
PropertyType "SlotTypeValues" SlotTypeProperty
newValue, Maybe (Value Text)
Maybe ExternalSourceSettingProperty
Maybe SlotValueSelectionSettingProperty
Maybe CompositeSlotTypeSettingProperty
()
Value Text
haddock_workaround_ :: ()
compositeSlotTypeSetting :: Maybe CompositeSlotTypeSettingProperty
description :: Maybe (Value Text)
externalSourceSetting :: Maybe ExternalSourceSettingProperty
name :: Value Text
parentSlotTypeSignature :: Maybe (Value Text)
valueSelectionSetting :: Maybe SlotValueSelectionSettingProperty
haddock_workaround_ :: ()
compositeSlotTypeSetting :: Maybe CompositeSlotTypeSettingProperty
description :: Maybe (Value Text)
externalSourceSetting :: Maybe ExternalSourceSettingProperty
name :: Value Text
parentSlotTypeSignature :: Maybe (Value Text)
valueSelectionSetting :: Maybe SlotValueSelectionSettingProperty
..}
instance Property "ValueSelectionSetting" SlotTypeProperty where
  type PropertyType "ValueSelectionSetting" SlotTypeProperty = SlotValueSelectionSettingProperty
  set :: PropertyType "ValueSelectionSetting" SlotTypeProperty
-> SlotTypeProperty -> SlotTypeProperty
set PropertyType "ValueSelectionSetting" SlotTypeProperty
newValue SlotTypeProperty {Maybe [SlotTypeValueProperty]
Maybe (Value Text)
Maybe ExternalSourceSettingProperty
Maybe SlotValueSelectionSettingProperty
Maybe CompositeSlotTypeSettingProperty
()
Value Text
haddock_workaround_ :: SlotTypeProperty -> ()
compositeSlotTypeSetting :: SlotTypeProperty -> Maybe CompositeSlotTypeSettingProperty
description :: SlotTypeProperty -> Maybe (Value Text)
externalSourceSetting :: SlotTypeProperty -> Maybe ExternalSourceSettingProperty
name :: SlotTypeProperty -> Value Text
parentSlotTypeSignature :: SlotTypeProperty -> Maybe (Value Text)
slotTypeValues :: SlotTypeProperty -> Maybe [SlotTypeValueProperty]
valueSelectionSetting :: SlotTypeProperty -> Maybe SlotValueSelectionSettingProperty
haddock_workaround_ :: ()
compositeSlotTypeSetting :: Maybe CompositeSlotTypeSettingProperty
description :: Maybe (Value Text)
externalSourceSetting :: Maybe ExternalSourceSettingProperty
name :: Value Text
parentSlotTypeSignature :: Maybe (Value Text)
slotTypeValues :: Maybe [SlotTypeValueProperty]
valueSelectionSetting :: Maybe SlotValueSelectionSettingProperty
..}
    = SlotTypeProperty
        {valueSelectionSetting :: Maybe SlotValueSelectionSettingProperty
valueSelectionSetting = SlotValueSelectionSettingProperty
-> Maybe SlotValueSelectionSettingProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ValueSelectionSetting" SlotTypeProperty
SlotValueSelectionSettingProperty
newValue, Maybe [SlotTypeValueProperty]
Maybe (Value Text)
Maybe ExternalSourceSettingProperty
Maybe CompositeSlotTypeSettingProperty
()
Value Text
haddock_workaround_ :: ()
compositeSlotTypeSetting :: Maybe CompositeSlotTypeSettingProperty
description :: Maybe (Value Text)
externalSourceSetting :: Maybe ExternalSourceSettingProperty
name :: Value Text
parentSlotTypeSignature :: Maybe (Value Text)
slotTypeValues :: Maybe [SlotTypeValueProperty]
haddock_workaround_ :: ()
compositeSlotTypeSetting :: Maybe CompositeSlotTypeSettingProperty
description :: Maybe (Value Text)
externalSourceSetting :: Maybe ExternalSourceSettingProperty
name :: Value Text
parentSlotTypeSignature :: Maybe (Value Text)
slotTypeValues :: Maybe [SlotTypeValueProperty]
..}