7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codepipeline/model/RuleTypeId.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/codepipeline/model/InputArtifact.h>
56 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
91 inline RuleDeclaration&
AddConfiguration(
const char* key,
const char* value) { m_configurationHasBeenSet =
true; m_configuration.emplace(key, value);
return *
this; }
117 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
131 inline void SetRegion(
const char* value) { m_regionHasBeenSet =
true; m_region.assign(value); }
143 inline void SetTimeoutInMinutes(
int value) { m_timeoutInMinutesHasBeenSet =
true; m_timeoutInMinutes = value; }
149 bool m_nameHasBeenSet =
false;
152 bool m_ruleTypeIdHasBeenSet =
false;
155 bool m_configurationHasBeenSet =
false;
158 bool m_inputArtifactsHasBeenSet =
false;
161 bool m_roleArnHasBeenSet =
false;
164 bool m_regionHasBeenSet =
false;
166 int m_timeoutInMinutes;
167 bool m_timeoutInMinutesHasBeenSet =
false;
AWS_CODEPIPELINE_API RuleDeclaration()
RuleDeclaration & WithRuleTypeId(RuleTypeId &&value)
const Aws::Map< Aws::String, Aws::String > & GetConfiguration() const
RuleDeclaration & WithTimeoutInMinutes(int value)
void SetName(Aws::String &&value)
RuleDeclaration & AddConfiguration(const char *key, Aws::String &&value)
bool InputArtifactsHasBeenSet() const
bool RoleArnHasBeenSet() const
const RuleTypeId & GetRuleTypeId() const
RuleDeclaration & WithConfiguration(Aws::Map< Aws::String, Aws::String > &&value)
RuleDeclaration & AddInputArtifacts(InputArtifact &&value)
RuleDeclaration & WithName(const Aws::String &value)
bool RegionHasBeenSet() const
bool NameHasBeenSet() const
RuleDeclaration & WithInputArtifacts(Aws::Vector< InputArtifact > &&value)
RuleDeclaration & AddConfiguration(Aws::String &&key, const char *value)
void SetRegion(const Aws::String &value)
void SetConfiguration(Aws::Map< Aws::String, Aws::String > &&value)
RuleDeclaration & WithRegion(const char *value)
RuleDeclaration & WithRegion(const Aws::String &value)
RuleDeclaration & AddConfiguration(const Aws::String &key, const Aws::String &value)
RuleDeclaration & WithConfiguration(const Aws::Map< Aws::String, Aws::String > &value)
RuleDeclaration & WithRoleArn(Aws::String &&value)
RuleDeclaration & AddInputArtifacts(const InputArtifact &value)
void SetName(const Aws::String &value)
bool RuleTypeIdHasBeenSet() const
void SetRoleArn(const char *value)
const Aws::Vector< InputArtifact > & GetInputArtifacts() const
bool TimeoutInMinutesHasBeenSet() const
RuleDeclaration & WithRegion(Aws::String &&value)
void SetRegion(Aws::String &&value)
void SetName(const char *value)
void SetRuleTypeId(const RuleTypeId &value)
AWS_CODEPIPELINE_API RuleDeclaration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRegion() const
RuleDeclaration & WithRoleArn(const Aws::String &value)
const Aws::String & GetName() const
void SetInputArtifacts(const Aws::Vector< InputArtifact > &value)
void SetTimeoutInMinutes(int value)
void SetRoleArn(const Aws::String &value)
void SetRuleTypeId(RuleTypeId &&value)
RuleDeclaration & AddConfiguration(const Aws::String &key, Aws::String &&value)
RuleDeclaration & AddConfiguration(const char *key, const char *value)
RuleDeclaration & AddConfiguration(Aws::String &&key, Aws::String &&value)
AWS_CODEPIPELINE_API RuleDeclaration(Aws::Utils::Json::JsonView jsonValue)
RuleDeclaration & WithRoleArn(const char *value)
bool ConfigurationHasBeenSet() const
RuleDeclaration & WithInputArtifacts(const Aws::Vector< InputArtifact > &value)
int GetTimeoutInMinutes() const
RuleDeclaration & WithName(const char *value)
void SetRegion(const char *value)
void SetRoleArn(Aws::String &&value)
const Aws::String & GetRoleArn() const
RuleDeclaration & WithName(Aws::String &&value)
void SetInputArtifacts(Aws::Vector< InputArtifact > &&value)
void SetConfiguration(const Aws::Map< Aws::String, Aws::String > &value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
RuleDeclaration & WithRuleTypeId(const RuleTypeId &value)
RuleDeclaration & AddConfiguration(Aws::String &&key, const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue