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