module Stratosphere.CodePipeline.Pipeline.RuleDeclarationProperty (
        module Exports, RuleDeclarationProperty(..),
        mkRuleDeclarationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.CodePipeline.Pipeline.InputArtifactProperty as Exports
import {-# SOURCE #-} Stratosphere.CodePipeline.Pipeline.RuleTypeIdProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data RuleDeclarationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruledeclaration.html>
    RuleDeclarationProperty {RuleDeclarationProperty -> ()
haddock_workaround_ :: (),
                             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruledeclaration.html#cfn-codepipeline-pipeline-ruledeclaration-commands>
                             RuleDeclarationProperty -> Maybe (ValueList Text)
commands :: (Prelude.Maybe (ValueList Prelude.Text)),
                             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruledeclaration.html#cfn-codepipeline-pipeline-ruledeclaration-configuration>
                             RuleDeclarationProperty -> Maybe Object
configuration :: (Prelude.Maybe JSON.Object),
                             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruledeclaration.html#cfn-codepipeline-pipeline-ruledeclaration-inputartifacts>
                             RuleDeclarationProperty -> Maybe [InputArtifactProperty]
inputArtifacts :: (Prelude.Maybe [InputArtifactProperty]),
                             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruledeclaration.html#cfn-codepipeline-pipeline-ruledeclaration-name>
                             RuleDeclarationProperty -> Maybe (Value Text)
name :: (Prelude.Maybe (Value Prelude.Text)),
                             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruledeclaration.html#cfn-codepipeline-pipeline-ruledeclaration-region>
                             RuleDeclarationProperty -> Maybe (Value Text)
region :: (Prelude.Maybe (Value Prelude.Text)),
                             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruledeclaration.html#cfn-codepipeline-pipeline-ruledeclaration-rolearn>
                             RuleDeclarationProperty -> Maybe (Value Text)
roleArn :: (Prelude.Maybe (Value Prelude.Text)),
                             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruledeclaration.html#cfn-codepipeline-pipeline-ruledeclaration-ruletypeid>
                             RuleDeclarationProperty -> Maybe RuleTypeIdProperty
ruleTypeId :: (Prelude.Maybe RuleTypeIdProperty)}
  deriving stock (RuleDeclarationProperty -> RuleDeclarationProperty -> Bool
(RuleDeclarationProperty -> RuleDeclarationProperty -> Bool)
-> (RuleDeclarationProperty -> RuleDeclarationProperty -> Bool)
-> Eq RuleDeclarationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: RuleDeclarationProperty -> RuleDeclarationProperty -> Bool
== :: RuleDeclarationProperty -> RuleDeclarationProperty -> Bool
$c/= :: RuleDeclarationProperty -> RuleDeclarationProperty -> Bool
/= :: RuleDeclarationProperty -> RuleDeclarationProperty -> Bool
Prelude.Eq, Int -> RuleDeclarationProperty -> ShowS
[RuleDeclarationProperty] -> ShowS
RuleDeclarationProperty -> String
(Int -> RuleDeclarationProperty -> ShowS)
-> (RuleDeclarationProperty -> String)
-> ([RuleDeclarationProperty] -> ShowS)
-> Show RuleDeclarationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> RuleDeclarationProperty -> ShowS
showsPrec :: Int -> RuleDeclarationProperty -> ShowS
$cshow :: RuleDeclarationProperty -> String
show :: RuleDeclarationProperty -> String
$cshowList :: [RuleDeclarationProperty] -> ShowS
showList :: [RuleDeclarationProperty] -> ShowS
Prelude.Show)
mkRuleDeclarationProperty :: RuleDeclarationProperty
mkRuleDeclarationProperty :: RuleDeclarationProperty
mkRuleDeclarationProperty
  = RuleDeclarationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), commands :: Maybe (ValueList Text)
commands = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
       configuration :: Maybe Object
configuration = Maybe Object
forall a. Maybe a
Prelude.Nothing, inputArtifacts :: Maybe [InputArtifactProperty]
inputArtifacts = Maybe [InputArtifactProperty]
forall a. Maybe a
Prelude.Nothing,
       name :: Maybe (Value Text)
name = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, region :: Maybe (Value Text)
region = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       roleArn :: Maybe (Value Text)
roleArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, ruleTypeId :: Maybe RuleTypeIdProperty
ruleTypeId = Maybe RuleTypeIdProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties RuleDeclarationProperty where
  toResourceProperties :: RuleDeclarationProperty -> ResourceProperties
toResourceProperties RuleDeclarationProperty {Maybe [InputArtifactProperty]
Maybe Object
Maybe (ValueList Text)
Maybe (Value Text)
Maybe RuleTypeIdProperty
()
haddock_workaround_ :: RuleDeclarationProperty -> ()
commands :: RuleDeclarationProperty -> Maybe (ValueList Text)
configuration :: RuleDeclarationProperty -> Maybe Object
inputArtifacts :: RuleDeclarationProperty -> Maybe [InputArtifactProperty]
name :: RuleDeclarationProperty -> Maybe (Value Text)
region :: RuleDeclarationProperty -> Maybe (Value Text)
roleArn :: RuleDeclarationProperty -> Maybe (Value Text)
ruleTypeId :: RuleDeclarationProperty -> Maybe RuleTypeIdProperty
haddock_workaround_ :: ()
commands :: Maybe (ValueList Text)
configuration :: Maybe Object
inputArtifacts :: Maybe [InputArtifactProperty]
name :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
ruleTypeId :: Maybe RuleTypeIdProperty
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::CodePipeline::Pipeline.RuleDeclaration",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                           [Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Commands" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
commands,
                            Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Configuration" (Object -> (Key, Value)) -> Maybe Object -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Object
configuration,
                            Key -> [InputArtifactProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"InputArtifacts" ([InputArtifactProperty] -> (Key, Value))
-> Maybe [InputArtifactProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [InputArtifactProperty]
inputArtifacts,
                            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..=) Key
"Name" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
name,
                            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..=) Key
"Region" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
region,
                            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..=) Key
"RoleArn" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
roleArn,
                            Key -> RuleTypeIdProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RuleTypeId" (RuleTypeIdProperty -> (Key, Value))
-> Maybe RuleTypeIdProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe RuleTypeIdProperty
ruleTypeId])}
instance JSON.ToJSON RuleDeclarationProperty where
  toJSON :: RuleDeclarationProperty -> Value
toJSON RuleDeclarationProperty {Maybe [InputArtifactProperty]
Maybe Object
Maybe (ValueList Text)
Maybe (Value Text)
Maybe RuleTypeIdProperty
()
haddock_workaround_ :: RuleDeclarationProperty -> ()
commands :: RuleDeclarationProperty -> Maybe (ValueList Text)
configuration :: RuleDeclarationProperty -> Maybe Object
inputArtifacts :: RuleDeclarationProperty -> Maybe [InputArtifactProperty]
name :: RuleDeclarationProperty -> Maybe (Value Text)
region :: RuleDeclarationProperty -> Maybe (Value Text)
roleArn :: RuleDeclarationProperty -> Maybe (Value Text)
ruleTypeId :: RuleDeclarationProperty -> Maybe RuleTypeIdProperty
haddock_workaround_ :: ()
commands :: Maybe (ValueList Text)
configuration :: Maybe Object
inputArtifacts :: Maybe [InputArtifactProperty]
name :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
ruleTypeId :: Maybe RuleTypeIdProperty
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
              [Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Commands" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
commands,
               Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Configuration" (Object -> (Key, Value)) -> Maybe Object -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Object
configuration,
               Key -> [InputArtifactProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"InputArtifacts" ([InputArtifactProperty] -> (Key, Value))
-> Maybe [InputArtifactProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [InputArtifactProperty]
inputArtifacts,
               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..=) Key
"Name" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
name,
               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..=) Key
"Region" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
region,
               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..=) Key
"RoleArn" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
roleArn,
               Key -> RuleTypeIdProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RuleTypeId" (RuleTypeIdProperty -> (Key, Value))
-> Maybe RuleTypeIdProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe RuleTypeIdProperty
ruleTypeId]))
instance Property "Commands" RuleDeclarationProperty where
  type PropertyType "Commands" RuleDeclarationProperty = ValueList Prelude.Text
  set :: PropertyType "Commands" RuleDeclarationProperty
-> RuleDeclarationProperty -> RuleDeclarationProperty
set PropertyType "Commands" RuleDeclarationProperty
newValue RuleDeclarationProperty {Maybe [InputArtifactProperty]
Maybe Object
Maybe (ValueList Text)
Maybe (Value Text)
Maybe RuleTypeIdProperty
()
haddock_workaround_ :: RuleDeclarationProperty -> ()
commands :: RuleDeclarationProperty -> Maybe (ValueList Text)
configuration :: RuleDeclarationProperty -> Maybe Object
inputArtifacts :: RuleDeclarationProperty -> Maybe [InputArtifactProperty]
name :: RuleDeclarationProperty -> Maybe (Value Text)
region :: RuleDeclarationProperty -> Maybe (Value Text)
roleArn :: RuleDeclarationProperty -> Maybe (Value Text)
ruleTypeId :: RuleDeclarationProperty -> Maybe RuleTypeIdProperty
haddock_workaround_ :: ()
commands :: Maybe (ValueList Text)
configuration :: Maybe Object
inputArtifacts :: Maybe [InputArtifactProperty]
name :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
ruleTypeId :: Maybe RuleTypeIdProperty
..}
    = RuleDeclarationProperty {commands :: Maybe (ValueList Text)
commands = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Commands" RuleDeclarationProperty
ValueList Text
newValue, Maybe [InputArtifactProperty]
Maybe Object
Maybe (Value Text)
Maybe RuleTypeIdProperty
()
haddock_workaround_ :: ()
configuration :: Maybe Object
inputArtifacts :: Maybe [InputArtifactProperty]
name :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
ruleTypeId :: Maybe RuleTypeIdProperty
haddock_workaround_ :: ()
configuration :: Maybe Object
inputArtifacts :: Maybe [InputArtifactProperty]
name :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
ruleTypeId :: Maybe RuleTypeIdProperty
..}
instance Property "Configuration" RuleDeclarationProperty where
  type PropertyType "Configuration" RuleDeclarationProperty = JSON.Object
  set :: PropertyType "Configuration" RuleDeclarationProperty
-> RuleDeclarationProperty -> RuleDeclarationProperty
set PropertyType "Configuration" RuleDeclarationProperty
newValue RuleDeclarationProperty {Maybe [InputArtifactProperty]
Maybe Object
Maybe (ValueList Text)
Maybe (Value Text)
Maybe RuleTypeIdProperty
()
haddock_workaround_ :: RuleDeclarationProperty -> ()
commands :: RuleDeclarationProperty -> Maybe (ValueList Text)
configuration :: RuleDeclarationProperty -> Maybe Object
inputArtifacts :: RuleDeclarationProperty -> Maybe [InputArtifactProperty]
name :: RuleDeclarationProperty -> Maybe (Value Text)
region :: RuleDeclarationProperty -> Maybe (Value Text)
roleArn :: RuleDeclarationProperty -> Maybe (Value Text)
ruleTypeId :: RuleDeclarationProperty -> Maybe RuleTypeIdProperty
haddock_workaround_ :: ()
commands :: Maybe (ValueList Text)
configuration :: Maybe Object
inputArtifacts :: Maybe [InputArtifactProperty]
name :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
ruleTypeId :: Maybe RuleTypeIdProperty
..}
    = RuleDeclarationProperty
        {configuration :: Maybe Object
configuration = Object -> Maybe Object
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Object
PropertyType "Configuration" RuleDeclarationProperty
newValue, Maybe [InputArtifactProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe RuleTypeIdProperty
()
haddock_workaround_ :: ()
commands :: Maybe (ValueList Text)
inputArtifacts :: Maybe [InputArtifactProperty]
name :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
ruleTypeId :: Maybe RuleTypeIdProperty
haddock_workaround_ :: ()
commands :: Maybe (ValueList Text)
inputArtifacts :: Maybe [InputArtifactProperty]
name :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
ruleTypeId :: Maybe RuleTypeIdProperty
..}
instance Property "InputArtifacts" RuleDeclarationProperty where
  type PropertyType "InputArtifacts" RuleDeclarationProperty = [InputArtifactProperty]
  set :: PropertyType "InputArtifacts" RuleDeclarationProperty
-> RuleDeclarationProperty -> RuleDeclarationProperty
set PropertyType "InputArtifacts" RuleDeclarationProperty
newValue RuleDeclarationProperty {Maybe [InputArtifactProperty]
Maybe Object
Maybe (ValueList Text)
Maybe (Value Text)
Maybe RuleTypeIdProperty
()
haddock_workaround_ :: RuleDeclarationProperty -> ()
commands :: RuleDeclarationProperty -> Maybe (ValueList Text)
configuration :: RuleDeclarationProperty -> Maybe Object
inputArtifacts :: RuleDeclarationProperty -> Maybe [InputArtifactProperty]
name :: RuleDeclarationProperty -> Maybe (Value Text)
region :: RuleDeclarationProperty -> Maybe (Value Text)
roleArn :: RuleDeclarationProperty -> Maybe (Value Text)
ruleTypeId :: RuleDeclarationProperty -> Maybe RuleTypeIdProperty
haddock_workaround_ :: ()
commands :: Maybe (ValueList Text)
configuration :: Maybe Object
inputArtifacts :: Maybe [InputArtifactProperty]
name :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
ruleTypeId :: Maybe RuleTypeIdProperty
..}
    = RuleDeclarationProperty
        {inputArtifacts :: Maybe [InputArtifactProperty]
inputArtifacts = [InputArtifactProperty] -> Maybe [InputArtifactProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [InputArtifactProperty]
PropertyType "InputArtifacts" RuleDeclarationProperty
newValue, Maybe Object
Maybe (ValueList Text)
Maybe (Value Text)
Maybe RuleTypeIdProperty
()
haddock_workaround_ :: ()
commands :: Maybe (ValueList Text)
configuration :: Maybe Object
name :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
ruleTypeId :: Maybe RuleTypeIdProperty
haddock_workaround_ :: ()
commands :: Maybe (ValueList Text)
configuration :: Maybe Object
name :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
ruleTypeId :: Maybe RuleTypeIdProperty
..}
instance Property "Name" RuleDeclarationProperty where
  type PropertyType "Name" RuleDeclarationProperty = Value Prelude.Text
  set :: PropertyType "Name" RuleDeclarationProperty
-> RuleDeclarationProperty -> RuleDeclarationProperty
set PropertyType "Name" RuleDeclarationProperty
newValue RuleDeclarationProperty {Maybe [InputArtifactProperty]
Maybe Object
Maybe (ValueList Text)
Maybe (Value Text)
Maybe RuleTypeIdProperty
()
haddock_workaround_ :: RuleDeclarationProperty -> ()
commands :: RuleDeclarationProperty -> Maybe (ValueList Text)
configuration :: RuleDeclarationProperty -> Maybe Object
inputArtifacts :: RuleDeclarationProperty -> Maybe [InputArtifactProperty]
name :: RuleDeclarationProperty -> Maybe (Value Text)
region :: RuleDeclarationProperty -> Maybe (Value Text)
roleArn :: RuleDeclarationProperty -> Maybe (Value Text)
ruleTypeId :: RuleDeclarationProperty -> Maybe RuleTypeIdProperty
haddock_workaround_ :: ()
commands :: Maybe (ValueList Text)
configuration :: Maybe Object
inputArtifacts :: Maybe [InputArtifactProperty]
name :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
ruleTypeId :: Maybe RuleTypeIdProperty
..}
    = RuleDeclarationProperty {name :: Maybe (Value Text)
name = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Name" RuleDeclarationProperty
Value Text
newValue, Maybe [InputArtifactProperty]
Maybe Object
Maybe (ValueList Text)
Maybe (Value Text)
Maybe RuleTypeIdProperty
()
haddock_workaround_ :: ()
commands :: Maybe (ValueList Text)
configuration :: Maybe Object
inputArtifacts :: Maybe [InputArtifactProperty]
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
ruleTypeId :: Maybe RuleTypeIdProperty
haddock_workaround_ :: ()
commands :: Maybe (ValueList Text)
configuration :: Maybe Object
inputArtifacts :: Maybe [InputArtifactProperty]
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
ruleTypeId :: Maybe RuleTypeIdProperty
..}
instance Property "Region" RuleDeclarationProperty where
  type PropertyType "Region" RuleDeclarationProperty = Value Prelude.Text
  set :: PropertyType "Region" RuleDeclarationProperty
-> RuleDeclarationProperty -> RuleDeclarationProperty
set PropertyType "Region" RuleDeclarationProperty
newValue RuleDeclarationProperty {Maybe [InputArtifactProperty]
Maybe Object
Maybe (ValueList Text)
Maybe (Value Text)
Maybe RuleTypeIdProperty
()
haddock_workaround_ :: RuleDeclarationProperty -> ()
commands :: RuleDeclarationProperty -> Maybe (ValueList Text)
configuration :: RuleDeclarationProperty -> Maybe Object
inputArtifacts :: RuleDeclarationProperty -> Maybe [InputArtifactProperty]
name :: RuleDeclarationProperty -> Maybe (Value Text)
region :: RuleDeclarationProperty -> Maybe (Value Text)
roleArn :: RuleDeclarationProperty -> Maybe (Value Text)
ruleTypeId :: RuleDeclarationProperty -> Maybe RuleTypeIdProperty
haddock_workaround_ :: ()
commands :: Maybe (ValueList Text)
configuration :: Maybe Object
inputArtifacts :: Maybe [InputArtifactProperty]
name :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
ruleTypeId :: Maybe RuleTypeIdProperty
..}
    = RuleDeclarationProperty {region :: Maybe (Value Text)
region = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Region" RuleDeclarationProperty
Value Text
newValue, Maybe [InputArtifactProperty]
Maybe Object
Maybe (ValueList Text)
Maybe (Value Text)
Maybe RuleTypeIdProperty
()
haddock_workaround_ :: ()
commands :: Maybe (ValueList Text)
configuration :: Maybe Object
inputArtifacts :: Maybe [InputArtifactProperty]
name :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
ruleTypeId :: Maybe RuleTypeIdProperty
haddock_workaround_ :: ()
commands :: Maybe (ValueList Text)
configuration :: Maybe Object
inputArtifacts :: Maybe [InputArtifactProperty]
name :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
ruleTypeId :: Maybe RuleTypeIdProperty
..}
instance Property "RoleArn" RuleDeclarationProperty where
  type PropertyType "RoleArn" RuleDeclarationProperty = Value Prelude.Text
  set :: PropertyType "RoleArn" RuleDeclarationProperty
-> RuleDeclarationProperty -> RuleDeclarationProperty
set PropertyType "RoleArn" RuleDeclarationProperty
newValue RuleDeclarationProperty {Maybe [InputArtifactProperty]
Maybe Object
Maybe (ValueList Text)
Maybe (Value Text)
Maybe RuleTypeIdProperty
()
haddock_workaround_ :: RuleDeclarationProperty -> ()
commands :: RuleDeclarationProperty -> Maybe (ValueList Text)
configuration :: RuleDeclarationProperty -> Maybe Object
inputArtifacts :: RuleDeclarationProperty -> Maybe [InputArtifactProperty]
name :: RuleDeclarationProperty -> Maybe (Value Text)
region :: RuleDeclarationProperty -> Maybe (Value Text)
roleArn :: RuleDeclarationProperty -> Maybe (Value Text)
ruleTypeId :: RuleDeclarationProperty -> Maybe RuleTypeIdProperty
haddock_workaround_ :: ()
commands :: Maybe (ValueList Text)
configuration :: Maybe Object
inputArtifacts :: Maybe [InputArtifactProperty]
name :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
ruleTypeId :: Maybe RuleTypeIdProperty
..}
    = RuleDeclarationProperty {roleArn :: Maybe (Value Text)
roleArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RoleArn" RuleDeclarationProperty
Value Text
newValue, Maybe [InputArtifactProperty]
Maybe Object
Maybe (ValueList Text)
Maybe (Value Text)
Maybe RuleTypeIdProperty
()
haddock_workaround_ :: ()
commands :: Maybe (ValueList Text)
configuration :: Maybe Object
inputArtifacts :: Maybe [InputArtifactProperty]
name :: Maybe (Value Text)
region :: Maybe (Value Text)
ruleTypeId :: Maybe RuleTypeIdProperty
haddock_workaround_ :: ()
commands :: Maybe (ValueList Text)
configuration :: Maybe Object
inputArtifacts :: Maybe [InputArtifactProperty]
name :: Maybe (Value Text)
region :: Maybe (Value Text)
ruleTypeId :: Maybe RuleTypeIdProperty
..}
instance Property "RuleTypeId" RuleDeclarationProperty where
  type PropertyType "RuleTypeId" RuleDeclarationProperty = RuleTypeIdProperty
  set :: PropertyType "RuleTypeId" RuleDeclarationProperty
-> RuleDeclarationProperty -> RuleDeclarationProperty
set PropertyType "RuleTypeId" RuleDeclarationProperty
newValue RuleDeclarationProperty {Maybe [InputArtifactProperty]
Maybe Object
Maybe (ValueList Text)
Maybe (Value Text)
Maybe RuleTypeIdProperty
()
haddock_workaround_ :: RuleDeclarationProperty -> ()
commands :: RuleDeclarationProperty -> Maybe (ValueList Text)
configuration :: RuleDeclarationProperty -> Maybe Object
inputArtifacts :: RuleDeclarationProperty -> Maybe [InputArtifactProperty]
name :: RuleDeclarationProperty -> Maybe (Value Text)
region :: RuleDeclarationProperty -> Maybe (Value Text)
roleArn :: RuleDeclarationProperty -> Maybe (Value Text)
ruleTypeId :: RuleDeclarationProperty -> Maybe RuleTypeIdProperty
haddock_workaround_ :: ()
commands :: Maybe (ValueList Text)
configuration :: Maybe Object
inputArtifacts :: Maybe [InputArtifactProperty]
name :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
ruleTypeId :: Maybe RuleTypeIdProperty
..}
    = RuleDeclarationProperty {ruleTypeId :: Maybe RuleTypeIdProperty
ruleTypeId = RuleTypeIdProperty -> Maybe RuleTypeIdProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RuleTypeId" RuleDeclarationProperty
RuleTypeIdProperty
newValue, Maybe [InputArtifactProperty]
Maybe Object
Maybe (ValueList Text)
Maybe (Value Text)
()
haddock_workaround_ :: ()
commands :: Maybe (ValueList Text)
configuration :: Maybe Object
inputArtifacts :: Maybe [InputArtifactProperty]
name :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
haddock_workaround_ :: ()
commands :: Maybe (ValueList Text)
configuration :: Maybe Object
inputArtifacts :: Maybe [InputArtifactProperty]
name :: Maybe (Value Text)
region :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
..}