module Stratosphere.Lex.Bot.SlotProperty (
        module Exports, SlotProperty(..), mkSlotProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Lex.Bot.MultipleValuesSettingProperty as Exports
import {-# SOURCE #-} Stratosphere.Lex.Bot.ObfuscationSettingProperty as Exports
import {-# SOURCE #-} Stratosphere.Lex.Bot.SlotValueElicitationSettingProperty as Exports
import {-# SOURCE #-} Stratosphere.Lex.Bot.SubSlotSettingProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data SlotProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slot.html>
    SlotProperty {SlotProperty -> ()
haddock_workaround_ :: (),
                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slot.html#cfn-lex-bot-slot-description>
                  SlotProperty -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slot.html#cfn-lex-bot-slot-multiplevaluessetting>
                  SlotProperty -> Maybe MultipleValuesSettingProperty
multipleValuesSetting :: (Prelude.Maybe MultipleValuesSettingProperty),
                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slot.html#cfn-lex-bot-slot-name>
                  SlotProperty -> Value Text
name :: (Value Prelude.Text),
                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slot.html#cfn-lex-bot-slot-obfuscationsetting>
                  SlotProperty -> Maybe ObfuscationSettingProperty
obfuscationSetting :: (Prelude.Maybe ObfuscationSettingProperty),
                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slot.html#cfn-lex-bot-slot-slottypename>
                  SlotProperty -> Value Text
slotTypeName :: (Value Prelude.Text),
                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slot.html#cfn-lex-bot-slot-subslotsetting>
                  SlotProperty -> Maybe SubSlotSettingProperty
subSlotSetting :: (Prelude.Maybe SubSlotSettingProperty),
                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slot.html#cfn-lex-bot-slot-valueelicitationsetting>
                  SlotProperty -> SlotValueElicitationSettingProperty
valueElicitationSetting :: SlotValueElicitationSettingProperty}
  deriving stock (SlotProperty -> SlotProperty -> Bool
(SlotProperty -> SlotProperty -> Bool)
-> (SlotProperty -> SlotProperty -> Bool) -> Eq SlotProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SlotProperty -> SlotProperty -> Bool
== :: SlotProperty -> SlotProperty -> Bool
$c/= :: SlotProperty -> SlotProperty -> Bool
/= :: SlotProperty -> SlotProperty -> Bool
Prelude.Eq, Int -> SlotProperty -> ShowS
[SlotProperty] -> ShowS
SlotProperty -> String
(Int -> SlotProperty -> ShowS)
-> (SlotProperty -> String)
-> ([SlotProperty] -> ShowS)
-> Show SlotProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SlotProperty -> ShowS
showsPrec :: Int -> SlotProperty -> ShowS
$cshow :: SlotProperty -> String
show :: SlotProperty -> String
$cshowList :: [SlotProperty] -> ShowS
showList :: [SlotProperty] -> ShowS
Prelude.Show)
mkSlotProperty ::
  Value Prelude.Text
  -> Value Prelude.Text
     -> SlotValueElicitationSettingProperty -> SlotProperty
mkSlotProperty :: Value Text
-> Value Text
-> SlotValueElicitationSettingProperty
-> SlotProperty
mkSlotProperty Value Text
name Value Text
slotTypeName SlotValueElicitationSettingProperty
valueElicitationSetting
  = SlotProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), name :: Value Text
name = Value Text
name,
       slotTypeName :: Value Text
slotTypeName = Value Text
slotTypeName,
       valueElicitationSetting :: SlotValueElicitationSettingProperty
valueElicitationSetting = SlotValueElicitationSettingProperty
valueElicitationSetting,
       description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       multipleValuesSetting :: Maybe MultipleValuesSettingProperty
multipleValuesSetting = Maybe MultipleValuesSettingProperty
forall a. Maybe a
Prelude.Nothing,
       obfuscationSetting :: Maybe ObfuscationSettingProperty
obfuscationSetting = Maybe ObfuscationSettingProperty
forall a. Maybe a
Prelude.Nothing,
       subSlotSetting :: Maybe SubSlotSettingProperty
subSlotSetting = Maybe SubSlotSettingProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties SlotProperty where
  toResourceProperties :: SlotProperty -> ResourceProperties
toResourceProperties SlotProperty {Maybe (Value Text)
Maybe MultipleValuesSettingProperty
Maybe ObfuscationSettingProperty
Maybe SubSlotSettingProperty
()
Value Text
SlotValueElicitationSettingProperty
haddock_workaround_ :: SlotProperty -> ()
description :: SlotProperty -> Maybe (Value Text)
multipleValuesSetting :: SlotProperty -> Maybe MultipleValuesSettingProperty
name :: SlotProperty -> Value Text
obfuscationSetting :: SlotProperty -> Maybe ObfuscationSettingProperty
slotTypeName :: SlotProperty -> Value Text
subSlotSetting :: SlotProperty -> Maybe SubSlotSettingProperty
valueElicitationSetting :: SlotProperty -> SlotValueElicitationSettingProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
multipleValuesSetting :: Maybe MultipleValuesSettingProperty
name :: Value Text
obfuscationSetting :: Maybe ObfuscationSettingProperty
slotTypeName :: Value Text
subSlotSetting :: Maybe SubSlotSettingProperty
valueElicitationSetting :: SlotValueElicitationSettingProperty
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Lex::Bot.Slot", 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, Key
"SlotTypeName" 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
slotTypeName,
                            Key
"ValueElicitationSetting" Key -> SlotValueElicitationSettingProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= SlotValueElicitationSettingProperty
valueElicitationSetting]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [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 -> MultipleValuesSettingProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MultipleValuesSetting"
                                 (MultipleValuesSettingProperty -> (Key, Value))
-> Maybe MultipleValuesSettingProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe MultipleValuesSettingProperty
multipleValuesSetting,
                               Key -> ObfuscationSettingProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ObfuscationSetting" (ObfuscationSettingProperty -> (Key, Value))
-> Maybe ObfuscationSettingProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ObfuscationSettingProperty
obfuscationSetting,
                               Key -> SubSlotSettingProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SubSlotSetting" (SubSlotSettingProperty -> (Key, Value))
-> Maybe SubSlotSettingProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SubSlotSettingProperty
subSlotSetting]))}
instance JSON.ToJSON SlotProperty where
  toJSON :: SlotProperty -> Value
toJSON SlotProperty {Maybe (Value Text)
Maybe MultipleValuesSettingProperty
Maybe ObfuscationSettingProperty
Maybe SubSlotSettingProperty
()
Value Text
SlotValueElicitationSettingProperty
haddock_workaround_ :: SlotProperty -> ()
description :: SlotProperty -> Maybe (Value Text)
multipleValuesSetting :: SlotProperty -> Maybe MultipleValuesSettingProperty
name :: SlotProperty -> Value Text
obfuscationSetting :: SlotProperty -> Maybe ObfuscationSettingProperty
slotTypeName :: SlotProperty -> Value Text
subSlotSetting :: SlotProperty -> Maybe SubSlotSettingProperty
valueElicitationSetting :: SlotProperty -> SlotValueElicitationSettingProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
multipleValuesSetting :: Maybe MultipleValuesSettingProperty
name :: Value Text
obfuscationSetting :: Maybe ObfuscationSettingProperty
slotTypeName :: Value Text
subSlotSetting :: Maybe SubSlotSettingProperty
valueElicitationSetting :: SlotValueElicitationSettingProperty
..}
    = [(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, Key
"SlotTypeName" 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
slotTypeName,
               Key
"ValueElicitationSetting" Key -> SlotValueElicitationSettingProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= SlotValueElicitationSettingProperty
valueElicitationSetting]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [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 -> MultipleValuesSettingProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MultipleValuesSetting"
                    (MultipleValuesSettingProperty -> (Key, Value))
-> Maybe MultipleValuesSettingProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe MultipleValuesSettingProperty
multipleValuesSetting,
                  Key -> ObfuscationSettingProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ObfuscationSetting" (ObfuscationSettingProperty -> (Key, Value))
-> Maybe ObfuscationSettingProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ObfuscationSettingProperty
obfuscationSetting,
                  Key -> SubSlotSettingProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SubSlotSetting" (SubSlotSettingProperty -> (Key, Value))
-> Maybe SubSlotSettingProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SubSlotSettingProperty
subSlotSetting])))
instance Property "Description" SlotProperty where
  type PropertyType "Description" SlotProperty = Value Prelude.Text
  set :: PropertyType "Description" SlotProperty
-> SlotProperty -> SlotProperty
set PropertyType "Description" SlotProperty
newValue SlotProperty {Maybe (Value Text)
Maybe MultipleValuesSettingProperty
Maybe ObfuscationSettingProperty
Maybe SubSlotSettingProperty
()
Value Text
SlotValueElicitationSettingProperty
haddock_workaround_ :: SlotProperty -> ()
description :: SlotProperty -> Maybe (Value Text)
multipleValuesSetting :: SlotProperty -> Maybe MultipleValuesSettingProperty
name :: SlotProperty -> Value Text
obfuscationSetting :: SlotProperty -> Maybe ObfuscationSettingProperty
slotTypeName :: SlotProperty -> Value Text
subSlotSetting :: SlotProperty -> Maybe SubSlotSettingProperty
valueElicitationSetting :: SlotProperty -> SlotValueElicitationSettingProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
multipleValuesSetting :: Maybe MultipleValuesSettingProperty
name :: Value Text
obfuscationSetting :: Maybe ObfuscationSettingProperty
slotTypeName :: Value Text
subSlotSetting :: Maybe SubSlotSettingProperty
valueElicitationSetting :: SlotValueElicitationSettingProperty
..}
    = SlotProperty {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" SlotProperty
Value Text
newValue, Maybe MultipleValuesSettingProperty
Maybe ObfuscationSettingProperty
Maybe SubSlotSettingProperty
()
Value Text
SlotValueElicitationSettingProperty
haddock_workaround_ :: ()
multipleValuesSetting :: Maybe MultipleValuesSettingProperty
name :: Value Text
obfuscationSetting :: Maybe ObfuscationSettingProperty
slotTypeName :: Value Text
subSlotSetting :: Maybe SubSlotSettingProperty
valueElicitationSetting :: SlotValueElicitationSettingProperty
haddock_workaround_ :: ()
multipleValuesSetting :: Maybe MultipleValuesSettingProperty
name :: Value Text
obfuscationSetting :: Maybe ObfuscationSettingProperty
slotTypeName :: Value Text
subSlotSetting :: Maybe SubSlotSettingProperty
valueElicitationSetting :: SlotValueElicitationSettingProperty
..}
instance Property "MultipleValuesSetting" SlotProperty where
  type PropertyType "MultipleValuesSetting" SlotProperty = MultipleValuesSettingProperty
  set :: PropertyType "MultipleValuesSetting" SlotProperty
-> SlotProperty -> SlotProperty
set PropertyType "MultipleValuesSetting" SlotProperty
newValue SlotProperty {Maybe (Value Text)
Maybe MultipleValuesSettingProperty
Maybe ObfuscationSettingProperty
Maybe SubSlotSettingProperty
()
Value Text
SlotValueElicitationSettingProperty
haddock_workaround_ :: SlotProperty -> ()
description :: SlotProperty -> Maybe (Value Text)
multipleValuesSetting :: SlotProperty -> Maybe MultipleValuesSettingProperty
name :: SlotProperty -> Value Text
obfuscationSetting :: SlotProperty -> Maybe ObfuscationSettingProperty
slotTypeName :: SlotProperty -> Value Text
subSlotSetting :: SlotProperty -> Maybe SubSlotSettingProperty
valueElicitationSetting :: SlotProperty -> SlotValueElicitationSettingProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
multipleValuesSetting :: Maybe MultipleValuesSettingProperty
name :: Value Text
obfuscationSetting :: Maybe ObfuscationSettingProperty
slotTypeName :: Value Text
subSlotSetting :: Maybe SubSlotSettingProperty
valueElicitationSetting :: SlotValueElicitationSettingProperty
..}
    = SlotProperty {multipleValuesSetting :: Maybe MultipleValuesSettingProperty
multipleValuesSetting = MultipleValuesSettingProperty
-> Maybe MultipleValuesSettingProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "MultipleValuesSetting" SlotProperty
MultipleValuesSettingProperty
newValue, Maybe (Value Text)
Maybe ObfuscationSettingProperty
Maybe SubSlotSettingProperty
()
Value Text
SlotValueElicitationSettingProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
name :: Value Text
obfuscationSetting :: Maybe ObfuscationSettingProperty
slotTypeName :: Value Text
subSlotSetting :: Maybe SubSlotSettingProperty
valueElicitationSetting :: SlotValueElicitationSettingProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
name :: Value Text
obfuscationSetting :: Maybe ObfuscationSettingProperty
slotTypeName :: Value Text
subSlotSetting :: Maybe SubSlotSettingProperty
valueElicitationSetting :: SlotValueElicitationSettingProperty
..}
instance Property "Name" SlotProperty where
  type PropertyType "Name" SlotProperty = Value Prelude.Text
  set :: PropertyType "Name" SlotProperty -> SlotProperty -> SlotProperty
set PropertyType "Name" SlotProperty
newValue SlotProperty {Maybe (Value Text)
Maybe MultipleValuesSettingProperty
Maybe ObfuscationSettingProperty
Maybe SubSlotSettingProperty
()
Value Text
SlotValueElicitationSettingProperty
haddock_workaround_ :: SlotProperty -> ()
description :: SlotProperty -> Maybe (Value Text)
multipleValuesSetting :: SlotProperty -> Maybe MultipleValuesSettingProperty
name :: SlotProperty -> Value Text
obfuscationSetting :: SlotProperty -> Maybe ObfuscationSettingProperty
slotTypeName :: SlotProperty -> Value Text
subSlotSetting :: SlotProperty -> Maybe SubSlotSettingProperty
valueElicitationSetting :: SlotProperty -> SlotValueElicitationSettingProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
multipleValuesSetting :: Maybe MultipleValuesSettingProperty
name :: Value Text
obfuscationSetting :: Maybe ObfuscationSettingProperty
slotTypeName :: Value Text
subSlotSetting :: Maybe SubSlotSettingProperty
valueElicitationSetting :: SlotValueElicitationSettingProperty
..} = SlotProperty {name :: Value Text
name = PropertyType "Name" SlotProperty
Value Text
newValue, Maybe (Value Text)
Maybe MultipleValuesSettingProperty
Maybe ObfuscationSettingProperty
Maybe SubSlotSettingProperty
()
Value Text
SlotValueElicitationSettingProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
multipleValuesSetting :: Maybe MultipleValuesSettingProperty
obfuscationSetting :: Maybe ObfuscationSettingProperty
slotTypeName :: Value Text
subSlotSetting :: Maybe SubSlotSettingProperty
valueElicitationSetting :: SlotValueElicitationSettingProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
multipleValuesSetting :: Maybe MultipleValuesSettingProperty
obfuscationSetting :: Maybe ObfuscationSettingProperty
slotTypeName :: Value Text
subSlotSetting :: Maybe SubSlotSettingProperty
valueElicitationSetting :: SlotValueElicitationSettingProperty
..}
instance Property "ObfuscationSetting" SlotProperty where
  type PropertyType "ObfuscationSetting" SlotProperty = ObfuscationSettingProperty
  set :: PropertyType "ObfuscationSetting" SlotProperty
-> SlotProperty -> SlotProperty
set PropertyType "ObfuscationSetting" SlotProperty
newValue SlotProperty {Maybe (Value Text)
Maybe MultipleValuesSettingProperty
Maybe ObfuscationSettingProperty
Maybe SubSlotSettingProperty
()
Value Text
SlotValueElicitationSettingProperty
haddock_workaround_ :: SlotProperty -> ()
description :: SlotProperty -> Maybe (Value Text)
multipleValuesSetting :: SlotProperty -> Maybe MultipleValuesSettingProperty
name :: SlotProperty -> Value Text
obfuscationSetting :: SlotProperty -> Maybe ObfuscationSettingProperty
slotTypeName :: SlotProperty -> Value Text
subSlotSetting :: SlotProperty -> Maybe SubSlotSettingProperty
valueElicitationSetting :: SlotProperty -> SlotValueElicitationSettingProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
multipleValuesSetting :: Maybe MultipleValuesSettingProperty
name :: Value Text
obfuscationSetting :: Maybe ObfuscationSettingProperty
slotTypeName :: Value Text
subSlotSetting :: Maybe SubSlotSettingProperty
valueElicitationSetting :: SlotValueElicitationSettingProperty
..}
    = SlotProperty {obfuscationSetting :: Maybe ObfuscationSettingProperty
obfuscationSetting = ObfuscationSettingProperty -> Maybe ObfuscationSettingProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ObfuscationSetting" SlotProperty
ObfuscationSettingProperty
newValue, Maybe (Value Text)
Maybe MultipleValuesSettingProperty
Maybe SubSlotSettingProperty
()
Value Text
SlotValueElicitationSettingProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
multipleValuesSetting :: Maybe MultipleValuesSettingProperty
name :: Value Text
slotTypeName :: Value Text
subSlotSetting :: Maybe SubSlotSettingProperty
valueElicitationSetting :: SlotValueElicitationSettingProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
multipleValuesSetting :: Maybe MultipleValuesSettingProperty
name :: Value Text
slotTypeName :: Value Text
subSlotSetting :: Maybe SubSlotSettingProperty
valueElicitationSetting :: SlotValueElicitationSettingProperty
..}
instance Property "SlotTypeName" SlotProperty where
  type PropertyType "SlotTypeName" SlotProperty = Value Prelude.Text
  set :: PropertyType "SlotTypeName" SlotProperty
-> SlotProperty -> SlotProperty
set PropertyType "SlotTypeName" SlotProperty
newValue SlotProperty {Maybe (Value Text)
Maybe MultipleValuesSettingProperty
Maybe ObfuscationSettingProperty
Maybe SubSlotSettingProperty
()
Value Text
SlotValueElicitationSettingProperty
haddock_workaround_ :: SlotProperty -> ()
description :: SlotProperty -> Maybe (Value Text)
multipleValuesSetting :: SlotProperty -> Maybe MultipleValuesSettingProperty
name :: SlotProperty -> Value Text
obfuscationSetting :: SlotProperty -> Maybe ObfuscationSettingProperty
slotTypeName :: SlotProperty -> Value Text
subSlotSetting :: SlotProperty -> Maybe SubSlotSettingProperty
valueElicitationSetting :: SlotProperty -> SlotValueElicitationSettingProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
multipleValuesSetting :: Maybe MultipleValuesSettingProperty
name :: Value Text
obfuscationSetting :: Maybe ObfuscationSettingProperty
slotTypeName :: Value Text
subSlotSetting :: Maybe SubSlotSettingProperty
valueElicitationSetting :: SlotValueElicitationSettingProperty
..}
    = SlotProperty {slotTypeName :: Value Text
slotTypeName = PropertyType "SlotTypeName" SlotProperty
Value Text
newValue, Maybe (Value Text)
Maybe MultipleValuesSettingProperty
Maybe ObfuscationSettingProperty
Maybe SubSlotSettingProperty
()
Value Text
SlotValueElicitationSettingProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
multipleValuesSetting :: Maybe MultipleValuesSettingProperty
name :: Value Text
obfuscationSetting :: Maybe ObfuscationSettingProperty
subSlotSetting :: Maybe SubSlotSettingProperty
valueElicitationSetting :: SlotValueElicitationSettingProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
multipleValuesSetting :: Maybe MultipleValuesSettingProperty
name :: Value Text
obfuscationSetting :: Maybe ObfuscationSettingProperty
subSlotSetting :: Maybe SubSlotSettingProperty
valueElicitationSetting :: SlotValueElicitationSettingProperty
..}
instance Property "SubSlotSetting" SlotProperty where
  type PropertyType "SubSlotSetting" SlotProperty = SubSlotSettingProperty
  set :: PropertyType "SubSlotSetting" SlotProperty
-> SlotProperty -> SlotProperty
set PropertyType "SubSlotSetting" SlotProperty
newValue SlotProperty {Maybe (Value Text)
Maybe MultipleValuesSettingProperty
Maybe ObfuscationSettingProperty
Maybe SubSlotSettingProperty
()
Value Text
SlotValueElicitationSettingProperty
haddock_workaround_ :: SlotProperty -> ()
description :: SlotProperty -> Maybe (Value Text)
multipleValuesSetting :: SlotProperty -> Maybe MultipleValuesSettingProperty
name :: SlotProperty -> Value Text
obfuscationSetting :: SlotProperty -> Maybe ObfuscationSettingProperty
slotTypeName :: SlotProperty -> Value Text
subSlotSetting :: SlotProperty -> Maybe SubSlotSettingProperty
valueElicitationSetting :: SlotProperty -> SlotValueElicitationSettingProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
multipleValuesSetting :: Maybe MultipleValuesSettingProperty
name :: Value Text
obfuscationSetting :: Maybe ObfuscationSettingProperty
slotTypeName :: Value Text
subSlotSetting :: Maybe SubSlotSettingProperty
valueElicitationSetting :: SlotValueElicitationSettingProperty
..}
    = SlotProperty {subSlotSetting :: Maybe SubSlotSettingProperty
subSlotSetting = SubSlotSettingProperty -> Maybe SubSlotSettingProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SubSlotSetting" SlotProperty
SubSlotSettingProperty
newValue, Maybe (Value Text)
Maybe MultipleValuesSettingProperty
Maybe ObfuscationSettingProperty
()
Value Text
SlotValueElicitationSettingProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
multipleValuesSetting :: Maybe MultipleValuesSettingProperty
name :: Value Text
obfuscationSetting :: Maybe ObfuscationSettingProperty
slotTypeName :: Value Text
valueElicitationSetting :: SlotValueElicitationSettingProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
multipleValuesSetting :: Maybe MultipleValuesSettingProperty
name :: Value Text
obfuscationSetting :: Maybe ObfuscationSettingProperty
slotTypeName :: Value Text
valueElicitationSetting :: SlotValueElicitationSettingProperty
..}
instance Property "ValueElicitationSetting" SlotProperty where
  type PropertyType "ValueElicitationSetting" SlotProperty = SlotValueElicitationSettingProperty
  set :: PropertyType "ValueElicitationSetting" SlotProperty
-> SlotProperty -> SlotProperty
set PropertyType "ValueElicitationSetting" SlotProperty
newValue SlotProperty {Maybe (Value Text)
Maybe MultipleValuesSettingProperty
Maybe ObfuscationSettingProperty
Maybe SubSlotSettingProperty
()
Value Text
SlotValueElicitationSettingProperty
haddock_workaround_ :: SlotProperty -> ()
description :: SlotProperty -> Maybe (Value Text)
multipleValuesSetting :: SlotProperty -> Maybe MultipleValuesSettingProperty
name :: SlotProperty -> Value Text
obfuscationSetting :: SlotProperty -> Maybe ObfuscationSettingProperty
slotTypeName :: SlotProperty -> Value Text
subSlotSetting :: SlotProperty -> Maybe SubSlotSettingProperty
valueElicitationSetting :: SlotProperty -> SlotValueElicitationSettingProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
multipleValuesSetting :: Maybe MultipleValuesSettingProperty
name :: Value Text
obfuscationSetting :: Maybe ObfuscationSettingProperty
slotTypeName :: Value Text
subSlotSetting :: Maybe SubSlotSettingProperty
valueElicitationSetting :: SlotValueElicitationSettingProperty
..}
    = SlotProperty {valueElicitationSetting :: SlotValueElicitationSettingProperty
valueElicitationSetting = PropertyType "ValueElicitationSetting" SlotProperty
SlotValueElicitationSettingProperty
newValue, Maybe (Value Text)
Maybe MultipleValuesSettingProperty
Maybe ObfuscationSettingProperty
Maybe SubSlotSettingProperty
()
Value Text
haddock_workaround_ :: ()
description :: Maybe (Value Text)
multipleValuesSetting :: Maybe MultipleValuesSettingProperty
name :: Value Text
obfuscationSetting :: Maybe ObfuscationSettingProperty
slotTypeName :: Value Text
subSlotSetting :: Maybe SubSlotSettingProperty
haddock_workaround_ :: ()
description :: Maybe (Value Text)
multipleValuesSetting :: Maybe MultipleValuesSettingProperty
name :: Value Text
obfuscationSetting :: Maybe ObfuscationSettingProperty
slotTypeName :: Value Text
subSlotSetting :: Maybe SubSlotSettingProperty
..}