module Stratosphere.Bedrock.Guardrail.ContentFilterConfigProperty (
        ContentFilterConfigProperty(..), mkContentFilterConfigProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ContentFilterConfigProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-contentfilterconfig.html>
    ContentFilterConfigProperty {ContentFilterConfigProperty -> ()
haddock_workaround_ :: (),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-contentfilterconfig.html#cfn-bedrock-guardrail-contentfilterconfig-inputaction>
                                 ContentFilterConfigProperty -> Maybe (Value Text)
inputAction :: (Prelude.Maybe (Value Prelude.Text)),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-contentfilterconfig.html#cfn-bedrock-guardrail-contentfilterconfig-inputenabled>
                                 ContentFilterConfigProperty -> Maybe (Value Bool)
inputEnabled :: (Prelude.Maybe (Value Prelude.Bool)),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-contentfilterconfig.html#cfn-bedrock-guardrail-contentfilterconfig-inputmodalities>
                                 ContentFilterConfigProperty -> Maybe (ValueList Text)
inputModalities :: (Prelude.Maybe (ValueList Prelude.Text)),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-contentfilterconfig.html#cfn-bedrock-guardrail-contentfilterconfig-inputstrength>
                                 ContentFilterConfigProperty -> Value Text
inputStrength :: (Value Prelude.Text),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-contentfilterconfig.html#cfn-bedrock-guardrail-contentfilterconfig-outputaction>
                                 ContentFilterConfigProperty -> Maybe (Value Text)
outputAction :: (Prelude.Maybe (Value Prelude.Text)),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-contentfilterconfig.html#cfn-bedrock-guardrail-contentfilterconfig-outputenabled>
                                 ContentFilterConfigProperty -> Maybe (Value Bool)
outputEnabled :: (Prelude.Maybe (Value Prelude.Bool)),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-contentfilterconfig.html#cfn-bedrock-guardrail-contentfilterconfig-outputmodalities>
                                 ContentFilterConfigProperty -> Maybe (ValueList Text)
outputModalities :: (Prelude.Maybe (ValueList Prelude.Text)),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-contentfilterconfig.html#cfn-bedrock-guardrail-contentfilterconfig-outputstrength>
                                 ContentFilterConfigProperty -> Value Text
outputStrength :: (Value Prelude.Text),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-contentfilterconfig.html#cfn-bedrock-guardrail-contentfilterconfig-type>
                                 ContentFilterConfigProperty -> Value Text
type' :: (Value Prelude.Text)}
  deriving stock (ContentFilterConfigProperty -> ContentFilterConfigProperty -> Bool
(ContentFilterConfigProperty
 -> ContentFilterConfigProperty -> Bool)
-> (ContentFilterConfigProperty
    -> ContentFilterConfigProperty -> Bool)
-> Eq ContentFilterConfigProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ContentFilterConfigProperty -> ContentFilterConfigProperty -> Bool
== :: ContentFilterConfigProperty -> ContentFilterConfigProperty -> Bool
$c/= :: ContentFilterConfigProperty -> ContentFilterConfigProperty -> Bool
/= :: ContentFilterConfigProperty -> ContentFilterConfigProperty -> Bool
Prelude.Eq, Int -> ContentFilterConfigProperty -> ShowS
[ContentFilterConfigProperty] -> ShowS
ContentFilterConfigProperty -> String
(Int -> ContentFilterConfigProperty -> ShowS)
-> (ContentFilterConfigProperty -> String)
-> ([ContentFilterConfigProperty] -> ShowS)
-> Show ContentFilterConfigProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ContentFilterConfigProperty -> ShowS
showsPrec :: Int -> ContentFilterConfigProperty -> ShowS
$cshow :: ContentFilterConfigProperty -> String
show :: ContentFilterConfigProperty -> String
$cshowList :: [ContentFilterConfigProperty] -> ShowS
showList :: [ContentFilterConfigProperty] -> ShowS
Prelude.Show)
mkContentFilterConfigProperty ::
  Value Prelude.Text
  -> Value Prelude.Text
     -> Value Prelude.Text -> ContentFilterConfigProperty
mkContentFilterConfigProperty :: Value Text
-> Value Text -> Value Text -> ContentFilterConfigProperty
mkContentFilterConfigProperty Value Text
inputStrength Value Text
outputStrength Value Text
type'
  = ContentFilterConfigProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), inputStrength :: Value Text
inputStrength = Value Text
inputStrength,
       outputStrength :: Value Text
outputStrength = Value Text
outputStrength, type' :: Value Text
type' = Value Text
type',
       inputAction :: Maybe (Value Text)
inputAction = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, inputEnabled :: Maybe (Value Bool)
inputEnabled = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       inputModalities :: Maybe (ValueList Text)
inputModalities = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing, outputAction :: Maybe (Value Text)
outputAction = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       outputEnabled :: Maybe (Value Bool)
outputEnabled = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       outputModalities :: Maybe (ValueList Text)
outputModalities = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties ContentFilterConfigProperty where
  toResourceProperties :: ContentFilterConfigProperty -> ResourceProperties
toResourceProperties ContentFilterConfigProperty {Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ContentFilterConfigProperty -> ()
inputAction :: ContentFilterConfigProperty -> Maybe (Value Text)
inputEnabled :: ContentFilterConfigProperty -> Maybe (Value Bool)
inputModalities :: ContentFilterConfigProperty -> Maybe (ValueList Text)
inputStrength :: ContentFilterConfigProperty -> Value Text
outputAction :: ContentFilterConfigProperty -> Maybe (Value Text)
outputEnabled :: ContentFilterConfigProperty -> Maybe (Value Bool)
outputModalities :: ContentFilterConfigProperty -> Maybe (ValueList Text)
outputStrength :: ContentFilterConfigProperty -> Value Text
type' :: ContentFilterConfigProperty -> Value Text
haddock_workaround_ :: ()
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
inputModalities :: Maybe (ValueList Text)
inputStrength :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
outputModalities :: Maybe (ValueList Text)
outputStrength :: Value Text
type' :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Bedrock::Guardrail.ContentFilterConfig",
         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
"InputStrength" 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
inputStrength,
                            Key
"OutputStrength" 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
outputStrength, Key
"Type" 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
type']
                           ([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
"InputAction" (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)
inputAction,
                               Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"InputEnabled" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
inputEnabled,
                               Key -> ValueList 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
"InputModalities" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
inputModalities,
                               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
"OutputAction" (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)
outputAction,
                               Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"OutputEnabled" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
outputEnabled,
                               Key -> ValueList 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
"OutputModalities" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
outputModalities]))}
instance JSON.ToJSON ContentFilterConfigProperty where
  toJSON :: ContentFilterConfigProperty -> Value
toJSON ContentFilterConfigProperty {Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ContentFilterConfigProperty -> ()
inputAction :: ContentFilterConfigProperty -> Maybe (Value Text)
inputEnabled :: ContentFilterConfigProperty -> Maybe (Value Bool)
inputModalities :: ContentFilterConfigProperty -> Maybe (ValueList Text)
inputStrength :: ContentFilterConfigProperty -> Value Text
outputAction :: ContentFilterConfigProperty -> Maybe (Value Text)
outputEnabled :: ContentFilterConfigProperty -> Maybe (Value Bool)
outputModalities :: ContentFilterConfigProperty -> Maybe (ValueList Text)
outputStrength :: ContentFilterConfigProperty -> Value Text
type' :: ContentFilterConfigProperty -> Value Text
haddock_workaround_ :: ()
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
inputModalities :: Maybe (ValueList Text)
inputStrength :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
outputModalities :: Maybe (ValueList Text)
outputStrength :: Value Text
type' :: Value Text
..}
    = [(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
"InputStrength" 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
inputStrength,
               Key
"OutputStrength" 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
outputStrength, Key
"Type" 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
type']
              ([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
"InputAction" (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)
inputAction,
                  Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"InputEnabled" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
inputEnabled,
                  Key -> ValueList 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
"InputModalities" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
inputModalities,
                  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
"OutputAction" (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)
outputAction,
                  Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"OutputEnabled" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
outputEnabled,
                  Key -> ValueList 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
"OutputModalities" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
outputModalities])))
instance Property "InputAction" ContentFilterConfigProperty where
  type PropertyType "InputAction" ContentFilterConfigProperty = Value Prelude.Text
  set :: PropertyType "InputAction" ContentFilterConfigProperty
-> ContentFilterConfigProperty -> ContentFilterConfigProperty
set PropertyType "InputAction" ContentFilterConfigProperty
newValue ContentFilterConfigProperty {Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ContentFilterConfigProperty -> ()
inputAction :: ContentFilterConfigProperty -> Maybe (Value Text)
inputEnabled :: ContentFilterConfigProperty -> Maybe (Value Bool)
inputModalities :: ContentFilterConfigProperty -> Maybe (ValueList Text)
inputStrength :: ContentFilterConfigProperty -> Value Text
outputAction :: ContentFilterConfigProperty -> Maybe (Value Text)
outputEnabled :: ContentFilterConfigProperty -> Maybe (Value Bool)
outputModalities :: ContentFilterConfigProperty -> Maybe (ValueList Text)
outputStrength :: ContentFilterConfigProperty -> Value Text
type' :: ContentFilterConfigProperty -> Value Text
haddock_workaround_ :: ()
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
inputModalities :: Maybe (ValueList Text)
inputStrength :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
outputModalities :: Maybe (ValueList Text)
outputStrength :: Value Text
type' :: Value Text
..}
    = ContentFilterConfigProperty
        {inputAction :: Maybe (Value Text)
inputAction = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "InputAction" ContentFilterConfigProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
inputEnabled :: Maybe (Value Bool)
inputModalities :: Maybe (ValueList Text)
inputStrength :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
outputModalities :: Maybe (ValueList Text)
outputStrength :: Value Text
type' :: Value Text
haddock_workaround_ :: ()
inputEnabled :: Maybe (Value Bool)
inputModalities :: Maybe (ValueList Text)
inputStrength :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
outputModalities :: Maybe (ValueList Text)
outputStrength :: Value Text
type' :: Value Text
..}
instance Property "InputEnabled" ContentFilterConfigProperty where
  type PropertyType "InputEnabled" ContentFilterConfigProperty = Value Prelude.Bool
  set :: PropertyType "InputEnabled" ContentFilterConfigProperty
-> ContentFilterConfigProperty -> ContentFilterConfigProperty
set PropertyType "InputEnabled" ContentFilterConfigProperty
newValue ContentFilterConfigProperty {Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ContentFilterConfigProperty -> ()
inputAction :: ContentFilterConfigProperty -> Maybe (Value Text)
inputEnabled :: ContentFilterConfigProperty -> Maybe (Value Bool)
inputModalities :: ContentFilterConfigProperty -> Maybe (ValueList Text)
inputStrength :: ContentFilterConfigProperty -> Value Text
outputAction :: ContentFilterConfigProperty -> Maybe (Value Text)
outputEnabled :: ContentFilterConfigProperty -> Maybe (Value Bool)
outputModalities :: ContentFilterConfigProperty -> Maybe (ValueList Text)
outputStrength :: ContentFilterConfigProperty -> Value Text
type' :: ContentFilterConfigProperty -> Value Text
haddock_workaround_ :: ()
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
inputModalities :: Maybe (ValueList Text)
inputStrength :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
outputModalities :: Maybe (ValueList Text)
outputStrength :: Value Text
type' :: Value Text
..}
    = ContentFilterConfigProperty
        {inputEnabled :: Maybe (Value Bool)
inputEnabled = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "InputEnabled" ContentFilterConfigProperty
Value Bool
newValue, Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
inputAction :: Maybe (Value Text)
inputModalities :: Maybe (ValueList Text)
inputStrength :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
outputModalities :: Maybe (ValueList Text)
outputStrength :: Value Text
type' :: Value Text
haddock_workaround_ :: ()
inputAction :: Maybe (Value Text)
inputModalities :: Maybe (ValueList Text)
inputStrength :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
outputModalities :: Maybe (ValueList Text)
outputStrength :: Value Text
type' :: Value Text
..}
instance Property "InputModalities" ContentFilterConfigProperty where
  type PropertyType "InputModalities" ContentFilterConfigProperty = ValueList Prelude.Text
  set :: PropertyType "InputModalities" ContentFilterConfigProperty
-> ContentFilterConfigProperty -> ContentFilterConfigProperty
set PropertyType "InputModalities" ContentFilterConfigProperty
newValue ContentFilterConfigProperty {Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ContentFilterConfigProperty -> ()
inputAction :: ContentFilterConfigProperty -> Maybe (Value Text)
inputEnabled :: ContentFilterConfigProperty -> Maybe (Value Bool)
inputModalities :: ContentFilterConfigProperty -> Maybe (ValueList Text)
inputStrength :: ContentFilterConfigProperty -> Value Text
outputAction :: ContentFilterConfigProperty -> Maybe (Value Text)
outputEnabled :: ContentFilterConfigProperty -> Maybe (Value Bool)
outputModalities :: ContentFilterConfigProperty -> Maybe (ValueList Text)
outputStrength :: ContentFilterConfigProperty -> Value Text
type' :: ContentFilterConfigProperty -> Value Text
haddock_workaround_ :: ()
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
inputModalities :: Maybe (ValueList Text)
inputStrength :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
outputModalities :: Maybe (ValueList Text)
outputStrength :: Value Text
type' :: Value Text
..}
    = ContentFilterConfigProperty
        {inputModalities :: Maybe (ValueList Text)
inputModalities = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "InputModalities" ContentFilterConfigProperty
ValueList Text
newValue, Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
inputStrength :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
outputModalities :: Maybe (ValueList Text)
outputStrength :: Value Text
type' :: Value Text
haddock_workaround_ :: ()
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
inputStrength :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
outputModalities :: Maybe (ValueList Text)
outputStrength :: Value Text
type' :: Value Text
..}
instance Property "InputStrength" ContentFilterConfigProperty where
  type PropertyType "InputStrength" ContentFilterConfigProperty = Value Prelude.Text
  set :: PropertyType "InputStrength" ContentFilterConfigProperty
-> ContentFilterConfigProperty -> ContentFilterConfigProperty
set PropertyType "InputStrength" ContentFilterConfigProperty
newValue ContentFilterConfigProperty {Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ContentFilterConfigProperty -> ()
inputAction :: ContentFilterConfigProperty -> Maybe (Value Text)
inputEnabled :: ContentFilterConfigProperty -> Maybe (Value Bool)
inputModalities :: ContentFilterConfigProperty -> Maybe (ValueList Text)
inputStrength :: ContentFilterConfigProperty -> Value Text
outputAction :: ContentFilterConfigProperty -> Maybe (Value Text)
outputEnabled :: ContentFilterConfigProperty -> Maybe (Value Bool)
outputModalities :: ContentFilterConfigProperty -> Maybe (ValueList Text)
outputStrength :: ContentFilterConfigProperty -> Value Text
type' :: ContentFilterConfigProperty -> Value Text
haddock_workaround_ :: ()
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
inputModalities :: Maybe (ValueList Text)
inputStrength :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
outputModalities :: Maybe (ValueList Text)
outputStrength :: Value Text
type' :: Value Text
..}
    = ContentFilterConfigProperty {inputStrength :: Value Text
inputStrength = PropertyType "InputStrength" ContentFilterConfigProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
inputModalities :: Maybe (ValueList Text)
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
outputModalities :: Maybe (ValueList Text)
outputStrength :: Value Text
type' :: Value Text
haddock_workaround_ :: ()
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
inputModalities :: Maybe (ValueList Text)
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
outputModalities :: Maybe (ValueList Text)
outputStrength :: Value Text
type' :: Value Text
..}
instance Property "OutputAction" ContentFilterConfigProperty where
  type PropertyType "OutputAction" ContentFilterConfigProperty = Value Prelude.Text
  set :: PropertyType "OutputAction" ContentFilterConfigProperty
-> ContentFilterConfigProperty -> ContentFilterConfigProperty
set PropertyType "OutputAction" ContentFilterConfigProperty
newValue ContentFilterConfigProperty {Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ContentFilterConfigProperty -> ()
inputAction :: ContentFilterConfigProperty -> Maybe (Value Text)
inputEnabled :: ContentFilterConfigProperty -> Maybe (Value Bool)
inputModalities :: ContentFilterConfigProperty -> Maybe (ValueList Text)
inputStrength :: ContentFilterConfigProperty -> Value Text
outputAction :: ContentFilterConfigProperty -> Maybe (Value Text)
outputEnabled :: ContentFilterConfigProperty -> Maybe (Value Bool)
outputModalities :: ContentFilterConfigProperty -> Maybe (ValueList Text)
outputStrength :: ContentFilterConfigProperty -> Value Text
type' :: ContentFilterConfigProperty -> Value Text
haddock_workaround_ :: ()
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
inputModalities :: Maybe (ValueList Text)
inputStrength :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
outputModalities :: Maybe (ValueList Text)
outputStrength :: Value Text
type' :: Value Text
..}
    = ContentFilterConfigProperty
        {outputAction :: Maybe (Value Text)
outputAction = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "OutputAction" ContentFilterConfigProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
inputModalities :: Maybe (ValueList Text)
inputStrength :: Value Text
outputEnabled :: Maybe (Value Bool)
outputModalities :: Maybe (ValueList Text)
outputStrength :: Value Text
type' :: Value Text
haddock_workaround_ :: ()
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
inputModalities :: Maybe (ValueList Text)
inputStrength :: Value Text
outputEnabled :: Maybe (Value Bool)
outputModalities :: Maybe (ValueList Text)
outputStrength :: Value Text
type' :: Value Text
..}
instance Property "OutputEnabled" ContentFilterConfigProperty where
  type PropertyType "OutputEnabled" ContentFilterConfigProperty = Value Prelude.Bool
  set :: PropertyType "OutputEnabled" ContentFilterConfigProperty
-> ContentFilterConfigProperty -> ContentFilterConfigProperty
set PropertyType "OutputEnabled" ContentFilterConfigProperty
newValue ContentFilterConfigProperty {Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ContentFilterConfigProperty -> ()
inputAction :: ContentFilterConfigProperty -> Maybe (Value Text)
inputEnabled :: ContentFilterConfigProperty -> Maybe (Value Bool)
inputModalities :: ContentFilterConfigProperty -> Maybe (ValueList Text)
inputStrength :: ContentFilterConfigProperty -> Value Text
outputAction :: ContentFilterConfigProperty -> Maybe (Value Text)
outputEnabled :: ContentFilterConfigProperty -> Maybe (Value Bool)
outputModalities :: ContentFilterConfigProperty -> Maybe (ValueList Text)
outputStrength :: ContentFilterConfigProperty -> Value Text
type' :: ContentFilterConfigProperty -> Value Text
haddock_workaround_ :: ()
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
inputModalities :: Maybe (ValueList Text)
inputStrength :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
outputModalities :: Maybe (ValueList Text)
outputStrength :: Value Text
type' :: Value Text
..}
    = ContentFilterConfigProperty
        {outputEnabled :: Maybe (Value Bool)
outputEnabled = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "OutputEnabled" ContentFilterConfigProperty
Value Bool
newValue, Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
inputModalities :: Maybe (ValueList Text)
inputStrength :: Value Text
outputAction :: Maybe (Value Text)
outputModalities :: Maybe (ValueList Text)
outputStrength :: Value Text
type' :: Value Text
haddock_workaround_ :: ()
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
inputModalities :: Maybe (ValueList Text)
inputStrength :: Value Text
outputAction :: Maybe (Value Text)
outputModalities :: Maybe (ValueList Text)
outputStrength :: Value Text
type' :: Value Text
..}
instance Property "OutputModalities" ContentFilterConfigProperty where
  type PropertyType "OutputModalities" ContentFilterConfigProperty = ValueList Prelude.Text
  set :: PropertyType "OutputModalities" ContentFilterConfigProperty
-> ContentFilterConfigProperty -> ContentFilterConfigProperty
set PropertyType "OutputModalities" ContentFilterConfigProperty
newValue ContentFilterConfigProperty {Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ContentFilterConfigProperty -> ()
inputAction :: ContentFilterConfigProperty -> Maybe (Value Text)
inputEnabled :: ContentFilterConfigProperty -> Maybe (Value Bool)
inputModalities :: ContentFilterConfigProperty -> Maybe (ValueList Text)
inputStrength :: ContentFilterConfigProperty -> Value Text
outputAction :: ContentFilterConfigProperty -> Maybe (Value Text)
outputEnabled :: ContentFilterConfigProperty -> Maybe (Value Bool)
outputModalities :: ContentFilterConfigProperty -> Maybe (ValueList Text)
outputStrength :: ContentFilterConfigProperty -> Value Text
type' :: ContentFilterConfigProperty -> Value Text
haddock_workaround_ :: ()
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
inputModalities :: Maybe (ValueList Text)
inputStrength :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
outputModalities :: Maybe (ValueList Text)
outputStrength :: Value Text
type' :: Value Text
..}
    = ContentFilterConfigProperty
        {outputModalities :: Maybe (ValueList Text)
outputModalities = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "OutputModalities" ContentFilterConfigProperty
ValueList Text
newValue, Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
inputModalities :: Maybe (ValueList Text)
inputStrength :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
outputStrength :: Value Text
type' :: Value Text
haddock_workaround_ :: ()
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
inputModalities :: Maybe (ValueList Text)
inputStrength :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
outputStrength :: Value Text
type' :: Value Text
..}
instance Property "OutputStrength" ContentFilterConfigProperty where
  type PropertyType "OutputStrength" ContentFilterConfigProperty = Value Prelude.Text
  set :: PropertyType "OutputStrength" ContentFilterConfigProperty
-> ContentFilterConfigProperty -> ContentFilterConfigProperty
set PropertyType "OutputStrength" ContentFilterConfigProperty
newValue ContentFilterConfigProperty {Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ContentFilterConfigProperty -> ()
inputAction :: ContentFilterConfigProperty -> Maybe (Value Text)
inputEnabled :: ContentFilterConfigProperty -> Maybe (Value Bool)
inputModalities :: ContentFilterConfigProperty -> Maybe (ValueList Text)
inputStrength :: ContentFilterConfigProperty -> Value Text
outputAction :: ContentFilterConfigProperty -> Maybe (Value Text)
outputEnabled :: ContentFilterConfigProperty -> Maybe (Value Bool)
outputModalities :: ContentFilterConfigProperty -> Maybe (ValueList Text)
outputStrength :: ContentFilterConfigProperty -> Value Text
type' :: ContentFilterConfigProperty -> Value Text
haddock_workaround_ :: ()
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
inputModalities :: Maybe (ValueList Text)
inputStrength :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
outputModalities :: Maybe (ValueList Text)
outputStrength :: Value Text
type' :: Value Text
..}
    = ContentFilterConfigProperty {outputStrength :: Value Text
outputStrength = PropertyType "OutputStrength" ContentFilterConfigProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
inputModalities :: Maybe (ValueList Text)
inputStrength :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
outputModalities :: Maybe (ValueList Text)
type' :: Value Text
haddock_workaround_ :: ()
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
inputModalities :: Maybe (ValueList Text)
inputStrength :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
outputModalities :: Maybe (ValueList Text)
type' :: Value Text
..}
instance Property "Type" ContentFilterConfigProperty where
  type PropertyType "Type" ContentFilterConfigProperty = Value Prelude.Text
  set :: PropertyType "Type" ContentFilterConfigProperty
-> ContentFilterConfigProperty -> ContentFilterConfigProperty
set PropertyType "Type" ContentFilterConfigProperty
newValue ContentFilterConfigProperty {Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ContentFilterConfigProperty -> ()
inputAction :: ContentFilterConfigProperty -> Maybe (Value Text)
inputEnabled :: ContentFilterConfigProperty -> Maybe (Value Bool)
inputModalities :: ContentFilterConfigProperty -> Maybe (ValueList Text)
inputStrength :: ContentFilterConfigProperty -> Value Text
outputAction :: ContentFilterConfigProperty -> Maybe (Value Text)
outputEnabled :: ContentFilterConfigProperty -> Maybe (Value Bool)
outputModalities :: ContentFilterConfigProperty -> Maybe (ValueList Text)
outputStrength :: ContentFilterConfigProperty -> Value Text
type' :: ContentFilterConfigProperty -> Value Text
haddock_workaround_ :: ()
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
inputModalities :: Maybe (ValueList Text)
inputStrength :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
outputModalities :: Maybe (ValueList Text)
outputStrength :: Value Text
type' :: Value Text
..}
    = ContentFilterConfigProperty {type' :: Value Text
type' = PropertyType "Type" ContentFilterConfigProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
inputModalities :: Maybe (ValueList Text)
inputStrength :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
outputModalities :: Maybe (ValueList Text)
outputStrength :: Value Text
haddock_workaround_ :: ()
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
inputModalities :: Maybe (ValueList Text)
inputStrength :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
outputModalities :: Maybe (ValueList Text)
outputStrength :: Value Text
..}