module Stratosphere.EntityResolution.MatchingWorkflow.IncrementalRunConfigProperty (
        IncrementalRunConfigProperty(..), mkIncrementalRunConfigProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data IncrementalRunConfigProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-entityresolution-matchingworkflow-incrementalrunconfig.html>
    IncrementalRunConfigProperty {IncrementalRunConfigProperty -> ()
haddock_workaround_ :: (),
                                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-entityresolution-matchingworkflow-incrementalrunconfig.html#cfn-entityresolution-matchingworkflow-incrementalrunconfig-incrementalruntype>
                                  IncrementalRunConfigProperty -> Value Text
incrementalRunType :: (Value Prelude.Text)}
  deriving stock (IncrementalRunConfigProperty
-> IncrementalRunConfigProperty -> Bool
(IncrementalRunConfigProperty
 -> IncrementalRunConfigProperty -> Bool)
-> (IncrementalRunConfigProperty
    -> IncrementalRunConfigProperty -> Bool)
-> Eq IncrementalRunConfigProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: IncrementalRunConfigProperty
-> IncrementalRunConfigProperty -> Bool
== :: IncrementalRunConfigProperty
-> IncrementalRunConfigProperty -> Bool
$c/= :: IncrementalRunConfigProperty
-> IncrementalRunConfigProperty -> Bool
/= :: IncrementalRunConfigProperty
-> IncrementalRunConfigProperty -> Bool
Prelude.Eq, Int -> IncrementalRunConfigProperty -> ShowS
[IncrementalRunConfigProperty] -> ShowS
IncrementalRunConfigProperty -> String
(Int -> IncrementalRunConfigProperty -> ShowS)
-> (IncrementalRunConfigProperty -> String)
-> ([IncrementalRunConfigProperty] -> ShowS)
-> Show IncrementalRunConfigProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> IncrementalRunConfigProperty -> ShowS
showsPrec :: Int -> IncrementalRunConfigProperty -> ShowS
$cshow :: IncrementalRunConfigProperty -> String
show :: IncrementalRunConfigProperty -> String
$cshowList :: [IncrementalRunConfigProperty] -> ShowS
showList :: [IncrementalRunConfigProperty] -> ShowS
Prelude.Show)
mkIncrementalRunConfigProperty ::
  Value Prelude.Text -> IncrementalRunConfigProperty
mkIncrementalRunConfigProperty :: Value Text -> IncrementalRunConfigProperty
mkIncrementalRunConfigProperty Value Text
incrementalRunType
  = IncrementalRunConfigProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), incrementalRunType :: Value Text
incrementalRunType = Value Text
incrementalRunType}
instance ToResourceProperties IncrementalRunConfigProperty where
  toResourceProperties :: IncrementalRunConfigProperty -> ResourceProperties
toResourceProperties IncrementalRunConfigProperty {()
Value Text
haddock_workaround_ :: IncrementalRunConfigProperty -> ()
incrementalRunType :: IncrementalRunConfigProperty -> Value Text
haddock_workaround_ :: ()
incrementalRunType :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::EntityResolution::MatchingWorkflow.IncrementalRunConfig",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Key
"IncrementalRunType" 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
incrementalRunType]}
instance JSON.ToJSON IncrementalRunConfigProperty where
  toJSON :: IncrementalRunConfigProperty -> Value
toJSON IncrementalRunConfigProperty {()
Value Text
haddock_workaround_ :: IncrementalRunConfigProperty -> ()
incrementalRunType :: IncrementalRunConfigProperty -> Value Text
haddock_workaround_ :: ()
incrementalRunType :: Value Text
..}
    = [(Key, Value)] -> Value
JSON.object [Key
"IncrementalRunType" 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
incrementalRunType]
instance Property "IncrementalRunType" IncrementalRunConfigProperty where
  type PropertyType "IncrementalRunType" IncrementalRunConfigProperty = Value Prelude.Text
  set :: PropertyType "IncrementalRunType" IncrementalRunConfigProperty
-> IncrementalRunConfigProperty -> IncrementalRunConfigProperty
set PropertyType "IncrementalRunType" IncrementalRunConfigProperty
newValue IncrementalRunConfigProperty {()
Value Text
haddock_workaround_ :: IncrementalRunConfigProperty -> ()
incrementalRunType :: IncrementalRunConfigProperty -> Value Text
haddock_workaround_ :: ()
incrementalRunType :: Value Text
..}
    = IncrementalRunConfigProperty {incrementalRunType :: Value Text
incrementalRunType = PropertyType "IncrementalRunType" IncrementalRunConfigProperty
Value Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}