module Stratosphere.Bedrock.Flow.FlowNodeOutputProperty (
        FlowNodeOutputProperty(..), mkFlowNodeOutputProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data FlowNodeOutputProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-flownodeoutput.html>
    FlowNodeOutputProperty {FlowNodeOutputProperty -> ()
haddock_workaround_ :: (),
                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-flownodeoutput.html#cfn-bedrock-flow-flownodeoutput-name>
                            FlowNodeOutputProperty -> Value Text
name :: (Value Prelude.Text),
                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flow-flownodeoutput.html#cfn-bedrock-flow-flownodeoutput-type>
                            FlowNodeOutputProperty -> Value Text
type' :: (Value Prelude.Text)}
  deriving stock (FlowNodeOutputProperty -> FlowNodeOutputProperty -> Bool
(FlowNodeOutputProperty -> FlowNodeOutputProperty -> Bool)
-> (FlowNodeOutputProperty -> FlowNodeOutputProperty -> Bool)
-> Eq FlowNodeOutputProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: FlowNodeOutputProperty -> FlowNodeOutputProperty -> Bool
== :: FlowNodeOutputProperty -> FlowNodeOutputProperty -> Bool
$c/= :: FlowNodeOutputProperty -> FlowNodeOutputProperty -> Bool
/= :: FlowNodeOutputProperty -> FlowNodeOutputProperty -> Bool
Prelude.Eq, Int -> FlowNodeOutputProperty -> ShowS
[FlowNodeOutputProperty] -> ShowS
FlowNodeOutputProperty -> String
(Int -> FlowNodeOutputProperty -> ShowS)
-> (FlowNodeOutputProperty -> String)
-> ([FlowNodeOutputProperty] -> ShowS)
-> Show FlowNodeOutputProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> FlowNodeOutputProperty -> ShowS
showsPrec :: Int -> FlowNodeOutputProperty -> ShowS
$cshow :: FlowNodeOutputProperty -> String
show :: FlowNodeOutputProperty -> String
$cshowList :: [FlowNodeOutputProperty] -> ShowS
showList :: [FlowNodeOutputProperty] -> ShowS
Prelude.Show)
mkFlowNodeOutputProperty ::
  Value Prelude.Text -> Value Prelude.Text -> FlowNodeOutputProperty
mkFlowNodeOutputProperty :: Value Text -> Value Text -> FlowNodeOutputProperty
mkFlowNodeOutputProperty Value Text
name Value Text
type'
  = FlowNodeOutputProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), name :: Value Text
name = Value Text
name, type' :: Value Text
type' = Value Text
type'}
instance ToResourceProperties FlowNodeOutputProperty where
  toResourceProperties :: FlowNodeOutputProperty -> ResourceProperties
toResourceProperties FlowNodeOutputProperty {()
Value Text
haddock_workaround_ :: FlowNodeOutputProperty -> ()
name :: FlowNodeOutputProperty -> Value Text
type' :: FlowNodeOutputProperty -> Value Text
haddock_workaround_ :: ()
name :: Value Text
type' :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Bedrock::Flow.FlowNodeOutput",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [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']}
instance JSON.ToJSON FlowNodeOutputProperty where
  toJSON :: FlowNodeOutputProperty -> Value
toJSON FlowNodeOutputProperty {()
Value Text
haddock_workaround_ :: FlowNodeOutputProperty -> ()
name :: FlowNodeOutputProperty -> Value Text
type' :: FlowNodeOutputProperty -> Value Text
haddock_workaround_ :: ()
name :: Value Text
type' :: Value Text
..}
    = [(Key, Value)] -> Value
JSON.object [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']
instance Property "Name" FlowNodeOutputProperty where
  type PropertyType "Name" FlowNodeOutputProperty = Value Prelude.Text
  set :: PropertyType "Name" FlowNodeOutputProperty
-> FlowNodeOutputProperty -> FlowNodeOutputProperty
set PropertyType "Name" FlowNodeOutputProperty
newValue FlowNodeOutputProperty {()
Value Text
haddock_workaround_ :: FlowNodeOutputProperty -> ()
name :: FlowNodeOutputProperty -> Value Text
type' :: FlowNodeOutputProperty -> Value Text
haddock_workaround_ :: ()
name :: Value Text
type' :: Value Text
..}
    = FlowNodeOutputProperty {name :: Value Text
name = PropertyType "Name" FlowNodeOutputProperty
Value Text
newValue, ()
Value Text
haddock_workaround_ :: ()
type' :: Value Text
haddock_workaround_ :: ()
type' :: Value Text
..}
instance Property "Type" FlowNodeOutputProperty where
  type PropertyType "Type" FlowNodeOutputProperty = Value Prelude.Text
  set :: PropertyType "Type" FlowNodeOutputProperty
-> FlowNodeOutputProperty -> FlowNodeOutputProperty
set PropertyType "Type" FlowNodeOutputProperty
newValue FlowNodeOutputProperty {()
Value Text
haddock_workaround_ :: FlowNodeOutputProperty -> ()
name :: FlowNodeOutputProperty -> Value Text
type' :: FlowNodeOutputProperty -> Value Text
haddock_workaround_ :: ()
name :: Value Text
type' :: Value Text
..}
    = FlowNodeOutputProperty {type' :: Value Text
type' = PropertyType "Type" FlowNodeOutputProperty
Value Text
newValue, ()
Value Text
haddock_workaround_ :: ()
name :: Value Text
haddock_workaround_ :: ()
name :: Value Text
..}