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