module Stratosphere.Bedrock.Guardrail.TopicConfigProperty (
        TopicConfigProperty(..), mkTopicConfigProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data TopicConfigProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-topicconfig.html>
    TopicConfigProperty {TopicConfigProperty -> ()
haddock_workaround_ :: (),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-topicconfig.html#cfn-bedrock-guardrail-topicconfig-definition>
                         TopicConfigProperty -> Value Text
definition :: (Value Prelude.Text),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-topicconfig.html#cfn-bedrock-guardrail-topicconfig-examples>
                         TopicConfigProperty -> Maybe (ValueList Text)
examples :: (Prelude.Maybe (ValueList Prelude.Text)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-topicconfig.html#cfn-bedrock-guardrail-topicconfig-inputaction>
                         TopicConfigProperty -> Maybe (Value Text)
inputAction :: (Prelude.Maybe (Value Prelude.Text)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-topicconfig.html#cfn-bedrock-guardrail-topicconfig-inputenabled>
                         TopicConfigProperty -> Maybe (Value Bool)
inputEnabled :: (Prelude.Maybe (Value Prelude.Bool)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-topicconfig.html#cfn-bedrock-guardrail-topicconfig-name>
                         TopicConfigProperty -> Value Text
name :: (Value Prelude.Text),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-topicconfig.html#cfn-bedrock-guardrail-topicconfig-outputaction>
                         TopicConfigProperty -> Maybe (Value Text)
outputAction :: (Prelude.Maybe (Value Prelude.Text)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-topicconfig.html#cfn-bedrock-guardrail-topicconfig-outputenabled>
                         TopicConfigProperty -> Maybe (Value Bool)
outputEnabled :: (Prelude.Maybe (Value Prelude.Bool)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-topicconfig.html#cfn-bedrock-guardrail-topicconfig-type>
                         TopicConfigProperty -> Value Text
type' :: (Value Prelude.Text)}
  deriving stock (TopicConfigProperty -> TopicConfigProperty -> Bool
(TopicConfigProperty -> TopicConfigProperty -> Bool)
-> (TopicConfigProperty -> TopicConfigProperty -> Bool)
-> Eq TopicConfigProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: TopicConfigProperty -> TopicConfigProperty -> Bool
== :: TopicConfigProperty -> TopicConfigProperty -> Bool
$c/= :: TopicConfigProperty -> TopicConfigProperty -> Bool
/= :: TopicConfigProperty -> TopicConfigProperty -> Bool
Prelude.Eq, Int -> TopicConfigProperty -> ShowS
[TopicConfigProperty] -> ShowS
TopicConfigProperty -> String
(Int -> TopicConfigProperty -> ShowS)
-> (TopicConfigProperty -> String)
-> ([TopicConfigProperty] -> ShowS)
-> Show TopicConfigProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> TopicConfigProperty -> ShowS
showsPrec :: Int -> TopicConfigProperty -> ShowS
$cshow :: TopicConfigProperty -> String
show :: TopicConfigProperty -> String
$cshowList :: [TopicConfigProperty] -> ShowS
showList :: [TopicConfigProperty] -> ShowS
Prelude.Show)
mkTopicConfigProperty ::
  Value Prelude.Text
  -> Value Prelude.Text -> Value Prelude.Text -> TopicConfigProperty
mkTopicConfigProperty :: Value Text -> Value Text -> Value Text -> TopicConfigProperty
mkTopicConfigProperty Value Text
definition Value Text
name Value Text
type'
  = TopicConfigProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), definition :: Value Text
definition = Value Text
definition, name :: Value Text
name = Value Text
name,
       type' :: Value Text
type' = Value Text
type', examples :: Maybe (ValueList Text)
examples = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
       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,
       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}
instance ToResourceProperties TopicConfigProperty where
  toResourceProperties :: TopicConfigProperty -> ResourceProperties
toResourceProperties TopicConfigProperty {Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: TopicConfigProperty -> ()
definition :: TopicConfigProperty -> Value Text
examples :: TopicConfigProperty -> Maybe (ValueList Text)
inputAction :: TopicConfigProperty -> Maybe (Value Text)
inputEnabled :: TopicConfigProperty -> Maybe (Value Bool)
name :: TopicConfigProperty -> Value Text
outputAction :: TopicConfigProperty -> Maybe (Value Text)
outputEnabled :: TopicConfigProperty -> Maybe (Value Bool)
type' :: TopicConfigProperty -> Value Text
haddock_workaround_ :: ()
definition :: Value Text
examples :: Maybe (ValueList Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
type' :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Bedrock::Guardrail.TopicConfig",
         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
"Definition" 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
definition, 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
"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 -> 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
"Examples" (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)
examples,
                               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 -> 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]))}
instance JSON.ToJSON TopicConfigProperty where
  toJSON :: TopicConfigProperty -> Value
toJSON TopicConfigProperty {Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: TopicConfigProperty -> ()
definition :: TopicConfigProperty -> Value Text
examples :: TopicConfigProperty -> Maybe (ValueList Text)
inputAction :: TopicConfigProperty -> Maybe (Value Text)
inputEnabled :: TopicConfigProperty -> Maybe (Value Bool)
name :: TopicConfigProperty -> Value Text
outputAction :: TopicConfigProperty -> Maybe (Value Text)
outputEnabled :: TopicConfigProperty -> Maybe (Value Bool)
type' :: TopicConfigProperty -> Value Text
haddock_workaround_ :: ()
definition :: Value Text
examples :: Maybe (ValueList Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
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
"Definition" 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
definition, 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
"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 -> 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
"Examples" (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)
examples,
                  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 -> 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])))
instance Property "Definition" TopicConfigProperty where
  type PropertyType "Definition" TopicConfigProperty = Value Prelude.Text
  set :: PropertyType "Definition" TopicConfigProperty
-> TopicConfigProperty -> TopicConfigProperty
set PropertyType "Definition" TopicConfigProperty
newValue TopicConfigProperty {Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: TopicConfigProperty -> ()
definition :: TopicConfigProperty -> Value Text
examples :: TopicConfigProperty -> Maybe (ValueList Text)
inputAction :: TopicConfigProperty -> Maybe (Value Text)
inputEnabled :: TopicConfigProperty -> Maybe (Value Bool)
name :: TopicConfigProperty -> Value Text
outputAction :: TopicConfigProperty -> Maybe (Value Text)
outputEnabled :: TopicConfigProperty -> Maybe (Value Bool)
type' :: TopicConfigProperty -> Value Text
haddock_workaround_ :: ()
definition :: Value Text
examples :: Maybe (ValueList Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
type' :: Value Text
..}
    = TopicConfigProperty {definition :: Value Text
definition = PropertyType "Definition" TopicConfigProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
examples :: Maybe (ValueList Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
type' :: Value Text
haddock_workaround_ :: ()
examples :: Maybe (ValueList Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
type' :: Value Text
..}
instance Property "Examples" TopicConfigProperty where
  type PropertyType "Examples" TopicConfigProperty = ValueList Prelude.Text
  set :: PropertyType "Examples" TopicConfigProperty
-> TopicConfigProperty -> TopicConfigProperty
set PropertyType "Examples" TopicConfigProperty
newValue TopicConfigProperty {Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: TopicConfigProperty -> ()
definition :: TopicConfigProperty -> Value Text
examples :: TopicConfigProperty -> Maybe (ValueList Text)
inputAction :: TopicConfigProperty -> Maybe (Value Text)
inputEnabled :: TopicConfigProperty -> Maybe (Value Bool)
name :: TopicConfigProperty -> Value Text
outputAction :: TopicConfigProperty -> Maybe (Value Text)
outputEnabled :: TopicConfigProperty -> Maybe (Value Bool)
type' :: TopicConfigProperty -> Value Text
haddock_workaround_ :: ()
definition :: Value Text
examples :: Maybe (ValueList Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
type' :: Value Text
..}
    = TopicConfigProperty {examples :: Maybe (ValueList Text)
examples = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Examples" TopicConfigProperty
ValueList Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
definition :: Value Text
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
type' :: Value Text
haddock_workaround_ :: ()
definition :: Value Text
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
type' :: Value Text
..}
instance Property "InputAction" TopicConfigProperty where
  type PropertyType "InputAction" TopicConfigProperty = Value Prelude.Text
  set :: PropertyType "InputAction" TopicConfigProperty
-> TopicConfigProperty -> TopicConfigProperty
set PropertyType "InputAction" TopicConfigProperty
newValue TopicConfigProperty {Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: TopicConfigProperty -> ()
definition :: TopicConfigProperty -> Value Text
examples :: TopicConfigProperty -> Maybe (ValueList Text)
inputAction :: TopicConfigProperty -> Maybe (Value Text)
inputEnabled :: TopicConfigProperty -> Maybe (Value Bool)
name :: TopicConfigProperty -> Value Text
outputAction :: TopicConfigProperty -> Maybe (Value Text)
outputEnabled :: TopicConfigProperty -> Maybe (Value Bool)
type' :: TopicConfigProperty -> Value Text
haddock_workaround_ :: ()
definition :: Value Text
examples :: Maybe (ValueList Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
type' :: Value Text
..}
    = TopicConfigProperty {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" TopicConfigProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
definition :: Value Text
examples :: Maybe (ValueList Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
type' :: Value Text
haddock_workaround_ :: ()
definition :: Value Text
examples :: Maybe (ValueList Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
type' :: Value Text
..}
instance Property "InputEnabled" TopicConfigProperty where
  type PropertyType "InputEnabled" TopicConfigProperty = Value Prelude.Bool
  set :: PropertyType "InputEnabled" TopicConfigProperty
-> TopicConfigProperty -> TopicConfigProperty
set PropertyType "InputEnabled" TopicConfigProperty
newValue TopicConfigProperty {Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: TopicConfigProperty -> ()
definition :: TopicConfigProperty -> Value Text
examples :: TopicConfigProperty -> Maybe (ValueList Text)
inputAction :: TopicConfigProperty -> Maybe (Value Text)
inputEnabled :: TopicConfigProperty -> Maybe (Value Bool)
name :: TopicConfigProperty -> Value Text
outputAction :: TopicConfigProperty -> Maybe (Value Text)
outputEnabled :: TopicConfigProperty -> Maybe (Value Bool)
type' :: TopicConfigProperty -> Value Text
haddock_workaround_ :: ()
definition :: Value Text
examples :: Maybe (ValueList Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
type' :: Value Text
..}
    = TopicConfigProperty {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" TopicConfigProperty
Value Bool
newValue, Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
definition :: Value Text
examples :: Maybe (ValueList Text)
inputAction :: Maybe (Value Text)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
type' :: Value Text
haddock_workaround_ :: ()
definition :: Value Text
examples :: Maybe (ValueList Text)
inputAction :: Maybe (Value Text)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
type' :: Value Text
..}
instance Property "Name" TopicConfigProperty where
  type PropertyType "Name" TopicConfigProperty = Value Prelude.Text
  set :: PropertyType "Name" TopicConfigProperty
-> TopicConfigProperty -> TopicConfigProperty
set PropertyType "Name" TopicConfigProperty
newValue TopicConfigProperty {Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: TopicConfigProperty -> ()
definition :: TopicConfigProperty -> Value Text
examples :: TopicConfigProperty -> Maybe (ValueList Text)
inputAction :: TopicConfigProperty -> Maybe (Value Text)
inputEnabled :: TopicConfigProperty -> Maybe (Value Bool)
name :: TopicConfigProperty -> Value Text
outputAction :: TopicConfigProperty -> Maybe (Value Text)
outputEnabled :: TopicConfigProperty -> Maybe (Value Bool)
type' :: TopicConfigProperty -> Value Text
haddock_workaround_ :: ()
definition :: Value Text
examples :: Maybe (ValueList Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
type' :: Value Text
..}
    = TopicConfigProperty {name :: Value Text
name = PropertyType "Name" TopicConfigProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
definition :: Value Text
examples :: Maybe (ValueList Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
type' :: Value Text
haddock_workaround_ :: ()
definition :: Value Text
examples :: Maybe (ValueList Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
type' :: Value Text
..}
instance Property "OutputAction" TopicConfigProperty where
  type PropertyType "OutputAction" TopicConfigProperty = Value Prelude.Text
  set :: PropertyType "OutputAction" TopicConfigProperty
-> TopicConfigProperty -> TopicConfigProperty
set PropertyType "OutputAction" TopicConfigProperty
newValue TopicConfigProperty {Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: TopicConfigProperty -> ()
definition :: TopicConfigProperty -> Value Text
examples :: TopicConfigProperty -> Maybe (ValueList Text)
inputAction :: TopicConfigProperty -> Maybe (Value Text)
inputEnabled :: TopicConfigProperty -> Maybe (Value Bool)
name :: TopicConfigProperty -> Value Text
outputAction :: TopicConfigProperty -> Maybe (Value Text)
outputEnabled :: TopicConfigProperty -> Maybe (Value Bool)
type' :: TopicConfigProperty -> Value Text
haddock_workaround_ :: ()
definition :: Value Text
examples :: Maybe (ValueList Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
type' :: Value Text
..}
    = TopicConfigProperty {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" TopicConfigProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
definition :: Value Text
examples :: Maybe (ValueList Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputEnabled :: Maybe (Value Bool)
type' :: Value Text
haddock_workaround_ :: ()
definition :: Value Text
examples :: Maybe (ValueList Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputEnabled :: Maybe (Value Bool)
type' :: Value Text
..}
instance Property "OutputEnabled" TopicConfigProperty where
  type PropertyType "OutputEnabled" TopicConfigProperty = Value Prelude.Bool
  set :: PropertyType "OutputEnabled" TopicConfigProperty
-> TopicConfigProperty -> TopicConfigProperty
set PropertyType "OutputEnabled" TopicConfigProperty
newValue TopicConfigProperty {Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: TopicConfigProperty -> ()
definition :: TopicConfigProperty -> Value Text
examples :: TopicConfigProperty -> Maybe (ValueList Text)
inputAction :: TopicConfigProperty -> Maybe (Value Text)
inputEnabled :: TopicConfigProperty -> Maybe (Value Bool)
name :: TopicConfigProperty -> Value Text
outputAction :: TopicConfigProperty -> Maybe (Value Text)
outputEnabled :: TopicConfigProperty -> Maybe (Value Bool)
type' :: TopicConfigProperty -> Value Text
haddock_workaround_ :: ()
definition :: Value Text
examples :: Maybe (ValueList Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
type' :: Value Text
..}
    = TopicConfigProperty {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" TopicConfigProperty
Value Bool
newValue, Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
definition :: Value Text
examples :: Maybe (ValueList Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
type' :: Value Text
haddock_workaround_ :: ()
definition :: Value Text
examples :: Maybe (ValueList Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
type' :: Value Text
..}
instance Property "Type" TopicConfigProperty where
  type PropertyType "Type" TopicConfigProperty = Value Prelude.Text
  set :: PropertyType "Type" TopicConfigProperty
-> TopicConfigProperty -> TopicConfigProperty
set PropertyType "Type" TopicConfigProperty
newValue TopicConfigProperty {Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: TopicConfigProperty -> ()
definition :: TopicConfigProperty -> Value Text
examples :: TopicConfigProperty -> Maybe (ValueList Text)
inputAction :: TopicConfigProperty -> Maybe (Value Text)
inputEnabled :: TopicConfigProperty -> Maybe (Value Bool)
name :: TopicConfigProperty -> Value Text
outputAction :: TopicConfigProperty -> Maybe (Value Text)
outputEnabled :: TopicConfigProperty -> Maybe (Value Bool)
type' :: TopicConfigProperty -> Value Text
haddock_workaround_ :: ()
definition :: Value Text
examples :: Maybe (ValueList Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
type' :: Value Text
..}
    = TopicConfigProperty {type' :: Value Text
type' = PropertyType "Type" TopicConfigProperty
Value Text
newValue, Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
definition :: Value Text
examples :: Maybe (ValueList Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
haddock_workaround_ :: ()
definition :: Value Text
examples :: Maybe (ValueList Text)
inputAction :: Maybe (Value Text)
inputEnabled :: Maybe (Value Bool)
name :: Value Text
outputAction :: Maybe (Value Text)
outputEnabled :: Maybe (Value Bool)
..}