module Stratosphere.Bedrock.FlowVersion.StorageFlowNodeConfigurationProperty (
        module Exports, StorageFlowNodeConfigurationProperty(..),
        mkStorageFlowNodeConfigurationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Bedrock.FlowVersion.StorageFlowNodeServiceConfigurationProperty as Exports
import Stratosphere.ResourceProperties
data StorageFlowNodeConfigurationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-storageflownodeconfiguration.html>
    StorageFlowNodeConfigurationProperty {StorageFlowNodeConfigurationProperty -> ()
haddock_workaround_ :: (),
                                          -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-storageflownodeconfiguration.html#cfn-bedrock-flowversion-storageflownodeconfiguration-serviceconfiguration>
                                          StorageFlowNodeConfigurationProperty
-> StorageFlowNodeServiceConfigurationProperty
serviceConfiguration :: StorageFlowNodeServiceConfigurationProperty}
  deriving stock (StorageFlowNodeConfigurationProperty
-> StorageFlowNodeConfigurationProperty -> Bool
(StorageFlowNodeConfigurationProperty
 -> StorageFlowNodeConfigurationProperty -> Bool)
-> (StorageFlowNodeConfigurationProperty
    -> StorageFlowNodeConfigurationProperty -> Bool)
-> Eq StorageFlowNodeConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: StorageFlowNodeConfigurationProperty
-> StorageFlowNodeConfigurationProperty -> Bool
== :: StorageFlowNodeConfigurationProperty
-> StorageFlowNodeConfigurationProperty -> Bool
$c/= :: StorageFlowNodeConfigurationProperty
-> StorageFlowNodeConfigurationProperty -> Bool
/= :: StorageFlowNodeConfigurationProperty
-> StorageFlowNodeConfigurationProperty -> Bool
Prelude.Eq, Int -> StorageFlowNodeConfigurationProperty -> ShowS
[StorageFlowNodeConfigurationProperty] -> ShowS
StorageFlowNodeConfigurationProperty -> String
(Int -> StorageFlowNodeConfigurationProperty -> ShowS)
-> (StorageFlowNodeConfigurationProperty -> String)
-> ([StorageFlowNodeConfigurationProperty] -> ShowS)
-> Show StorageFlowNodeConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> StorageFlowNodeConfigurationProperty -> ShowS
showsPrec :: Int -> StorageFlowNodeConfigurationProperty -> ShowS
$cshow :: StorageFlowNodeConfigurationProperty -> String
show :: StorageFlowNodeConfigurationProperty -> String
$cshowList :: [StorageFlowNodeConfigurationProperty] -> ShowS
showList :: [StorageFlowNodeConfigurationProperty] -> ShowS
Prelude.Show)
mkStorageFlowNodeConfigurationProperty ::
  StorageFlowNodeServiceConfigurationProperty
  -> StorageFlowNodeConfigurationProperty
mkStorageFlowNodeConfigurationProperty :: StorageFlowNodeServiceConfigurationProperty
-> StorageFlowNodeConfigurationProperty
mkStorageFlowNodeConfigurationProperty StorageFlowNodeServiceConfigurationProperty
serviceConfiguration
  = StorageFlowNodeConfigurationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (),
       serviceConfiguration :: StorageFlowNodeServiceConfigurationProperty
serviceConfiguration = StorageFlowNodeServiceConfigurationProperty
serviceConfiguration}
instance ToResourceProperties StorageFlowNodeConfigurationProperty where
  toResourceProperties :: StorageFlowNodeConfigurationProperty -> ResourceProperties
toResourceProperties StorageFlowNodeConfigurationProperty {()
StorageFlowNodeServiceConfigurationProperty
haddock_workaround_ :: StorageFlowNodeConfigurationProperty -> ()
serviceConfiguration :: StorageFlowNodeConfigurationProperty
-> StorageFlowNodeServiceConfigurationProperty
haddock_workaround_ :: ()
serviceConfiguration :: StorageFlowNodeServiceConfigurationProperty
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Bedrock::FlowVersion.StorageFlowNodeConfiguration",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Key
"ServiceConfiguration" Key -> StorageFlowNodeServiceConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= StorageFlowNodeServiceConfigurationProperty
serviceConfiguration]}
instance JSON.ToJSON StorageFlowNodeConfigurationProperty where
  toJSON :: StorageFlowNodeConfigurationProperty -> Value
toJSON StorageFlowNodeConfigurationProperty {()
StorageFlowNodeServiceConfigurationProperty
haddock_workaround_ :: StorageFlowNodeConfigurationProperty -> ()
serviceConfiguration :: StorageFlowNodeConfigurationProperty
-> StorageFlowNodeServiceConfigurationProperty
haddock_workaround_ :: ()
serviceConfiguration :: StorageFlowNodeServiceConfigurationProperty
..}
    = [(Key, Value)] -> Value
JSON.object [Key
"ServiceConfiguration" Key -> StorageFlowNodeServiceConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= StorageFlowNodeServiceConfigurationProperty
serviceConfiguration]
instance Property "ServiceConfiguration" StorageFlowNodeConfigurationProperty where
  type PropertyType "ServiceConfiguration" StorageFlowNodeConfigurationProperty = StorageFlowNodeServiceConfigurationProperty
  set :: PropertyType
  "ServiceConfiguration" StorageFlowNodeConfigurationProperty
-> StorageFlowNodeConfigurationProperty
-> StorageFlowNodeConfigurationProperty
set PropertyType
  "ServiceConfiguration" StorageFlowNodeConfigurationProperty
newValue StorageFlowNodeConfigurationProperty {()
StorageFlowNodeServiceConfigurationProperty
haddock_workaround_ :: StorageFlowNodeConfigurationProperty -> ()
serviceConfiguration :: StorageFlowNodeConfigurationProperty
-> StorageFlowNodeServiceConfigurationProperty
haddock_workaround_ :: ()
serviceConfiguration :: StorageFlowNodeServiceConfigurationProperty
..}
    = StorageFlowNodeConfigurationProperty
        {serviceConfiguration :: StorageFlowNodeServiceConfigurationProperty
serviceConfiguration = PropertyType
  "ServiceConfiguration" StorageFlowNodeConfigurationProperty
StorageFlowNodeServiceConfigurationProperty
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}