module Stratosphere.Wisdom.AIAgent.AssociationConfigurationDataProperty (
        module Exports, AssociationConfigurationDataProperty(..),
        mkAssociationConfigurationDataProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Wisdom.AIAgent.KnowledgeBaseAssociationConfigurationDataProperty as Exports
import Stratosphere.ResourceProperties
data AssociationConfigurationDataProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-associationconfigurationdata.html>
    AssociationConfigurationDataProperty {AssociationConfigurationDataProperty -> ()
haddock_workaround_ :: (),
                                          -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-associationconfigurationdata.html#cfn-wisdom-aiagent-associationconfigurationdata-knowledgebaseassociationconfigurationdata>
                                          AssociationConfigurationDataProperty
-> KnowledgeBaseAssociationConfigurationDataProperty
knowledgeBaseAssociationConfigurationData :: KnowledgeBaseAssociationConfigurationDataProperty}
  deriving stock (AssociationConfigurationDataProperty
-> AssociationConfigurationDataProperty -> Bool
(AssociationConfigurationDataProperty
 -> AssociationConfigurationDataProperty -> Bool)
-> (AssociationConfigurationDataProperty
    -> AssociationConfigurationDataProperty -> Bool)
-> Eq AssociationConfigurationDataProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: AssociationConfigurationDataProperty
-> AssociationConfigurationDataProperty -> Bool
== :: AssociationConfigurationDataProperty
-> AssociationConfigurationDataProperty -> Bool
$c/= :: AssociationConfigurationDataProperty
-> AssociationConfigurationDataProperty -> Bool
/= :: AssociationConfigurationDataProperty
-> AssociationConfigurationDataProperty -> Bool
Prelude.Eq, Int -> AssociationConfigurationDataProperty -> ShowS
[AssociationConfigurationDataProperty] -> ShowS
AssociationConfigurationDataProperty -> String
(Int -> AssociationConfigurationDataProperty -> ShowS)
-> (AssociationConfigurationDataProperty -> String)
-> ([AssociationConfigurationDataProperty] -> ShowS)
-> Show AssociationConfigurationDataProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> AssociationConfigurationDataProperty -> ShowS
showsPrec :: Int -> AssociationConfigurationDataProperty -> ShowS
$cshow :: AssociationConfigurationDataProperty -> String
show :: AssociationConfigurationDataProperty -> String
$cshowList :: [AssociationConfigurationDataProperty] -> ShowS
showList :: [AssociationConfigurationDataProperty] -> ShowS
Prelude.Show)
mkAssociationConfigurationDataProperty ::
  KnowledgeBaseAssociationConfigurationDataProperty
  -> AssociationConfigurationDataProperty
mkAssociationConfigurationDataProperty :: KnowledgeBaseAssociationConfigurationDataProperty
-> AssociationConfigurationDataProperty
mkAssociationConfigurationDataProperty
  KnowledgeBaseAssociationConfigurationDataProperty
knowledgeBaseAssociationConfigurationData
  = AssociationConfigurationDataProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (),
       knowledgeBaseAssociationConfigurationData :: KnowledgeBaseAssociationConfigurationDataProperty
knowledgeBaseAssociationConfigurationData = KnowledgeBaseAssociationConfigurationDataProperty
knowledgeBaseAssociationConfigurationData}
instance ToResourceProperties AssociationConfigurationDataProperty where
  toResourceProperties :: AssociationConfigurationDataProperty -> ResourceProperties
toResourceProperties AssociationConfigurationDataProperty {()
KnowledgeBaseAssociationConfigurationDataProperty
haddock_workaround_ :: AssociationConfigurationDataProperty -> ()
knowledgeBaseAssociationConfigurationData :: AssociationConfigurationDataProperty
-> KnowledgeBaseAssociationConfigurationDataProperty
haddock_workaround_ :: ()
knowledgeBaseAssociationConfigurationData :: KnowledgeBaseAssociationConfigurationDataProperty
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Wisdom::AIAgent.AssociationConfigurationData",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Key
"KnowledgeBaseAssociationConfigurationData"
                         Key
-> KnowledgeBaseAssociationConfigurationDataProperty
-> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= KnowledgeBaseAssociationConfigurationDataProperty
knowledgeBaseAssociationConfigurationData]}
instance JSON.ToJSON AssociationConfigurationDataProperty where
  toJSON :: AssociationConfigurationDataProperty -> Value
toJSON AssociationConfigurationDataProperty {()
KnowledgeBaseAssociationConfigurationDataProperty
haddock_workaround_ :: AssociationConfigurationDataProperty -> ()
knowledgeBaseAssociationConfigurationData :: AssociationConfigurationDataProperty
-> KnowledgeBaseAssociationConfigurationDataProperty
haddock_workaround_ :: ()
knowledgeBaseAssociationConfigurationData :: KnowledgeBaseAssociationConfigurationDataProperty
..}
    = [(Key, Value)] -> Value
JSON.object
        [Key
"KnowledgeBaseAssociationConfigurationData"
           Key
-> KnowledgeBaseAssociationConfigurationDataProperty
-> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= KnowledgeBaseAssociationConfigurationDataProperty
knowledgeBaseAssociationConfigurationData]
instance Property "KnowledgeBaseAssociationConfigurationData" AssociationConfigurationDataProperty where
  type PropertyType "KnowledgeBaseAssociationConfigurationData" AssociationConfigurationDataProperty = KnowledgeBaseAssociationConfigurationDataProperty
  set :: PropertyType
  "KnowledgeBaseAssociationConfigurationData"
  AssociationConfigurationDataProperty
-> AssociationConfigurationDataProperty
-> AssociationConfigurationDataProperty
set PropertyType
  "KnowledgeBaseAssociationConfigurationData"
  AssociationConfigurationDataProperty
newValue AssociationConfigurationDataProperty {()
KnowledgeBaseAssociationConfigurationDataProperty
haddock_workaround_ :: AssociationConfigurationDataProperty -> ()
knowledgeBaseAssociationConfigurationData :: AssociationConfigurationDataProperty
-> KnowledgeBaseAssociationConfigurationDataProperty
haddock_workaround_ :: ()
knowledgeBaseAssociationConfigurationData :: KnowledgeBaseAssociationConfigurationDataProperty
..}
    = AssociationConfigurationDataProperty
        {knowledgeBaseAssociationConfigurationData :: KnowledgeBaseAssociationConfigurationDataProperty
knowledgeBaseAssociationConfigurationData = PropertyType
  "KnowledgeBaseAssociationConfigurationData"
  AssociationConfigurationDataProperty
KnowledgeBaseAssociationConfigurationDataProperty
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}