7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codepipeline/model/ArtifactStore.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/codepipeline/model/ExecutionMode.h>
13#include <aws/codepipeline/model/PipelineType.h>
14#include <aws/codepipeline/model/StageDeclaration.h>
15#include <aws/codepipeline/model/PipelineVariableDeclaration.h>
16#include <aws/codepipeline/model/PipelineTriggerDeclaration.h>
57 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
73 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
139 inline void SetVersion(
int value) { m_versionHasBeenSet =
true; m_version = value; }
216 bool m_nameHasBeenSet =
false;
219 bool m_roleArnHasBeenSet =
false;
222 bool m_artifactStoreHasBeenSet =
false;
225 bool m_artifactStoresHasBeenSet =
false;
228 bool m_stagesHasBeenSet =
false;
231 bool m_versionHasBeenSet =
false;
234 bool m_executionModeHasBeenSet =
false;
237 bool m_pipelineTypeHasBeenSet =
false;
240 bool m_variablesHasBeenSet =
false;
243 bool m_triggersHasBeenSet =
false;
PipelineDeclaration & AddStages(StageDeclaration &&value)
const ArtifactStore & GetArtifactStore() const
const Aws::String & GetRoleArn() const
PipelineDeclaration & WithName(const Aws::String &value)
void SetName(const Aws::String &value)
PipelineDeclaration & AddVariables(PipelineVariableDeclaration &&value)
void SetVersion(int value)
const Aws::Vector< PipelineTriggerDeclaration > & GetTriggers() const
PipelineDeclaration & WithRoleArn(const Aws::String &value)
PipelineDeclaration & WithVariables(const Aws::Vector< PipelineVariableDeclaration > &value)
void SetRoleArn(Aws::String &&value)
PipelineDeclaration & AddVariables(const PipelineVariableDeclaration &value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< StageDeclaration > & GetStages() const
PipelineDeclaration & WithTriggers(const Aws::Vector< PipelineTriggerDeclaration > &value)
void SetTriggers(Aws::Vector< PipelineTriggerDeclaration > &&value)
bool VersionHasBeenSet() const
void SetName(const char *value)
bool StagesHasBeenSet() const
void SetStages(Aws::Vector< StageDeclaration > &&value)
void SetPipelineType(const PipelineType &value)
PipelineDeclaration & AddArtifactStores(Aws::String &&key, const ArtifactStore &value)
PipelineDeclaration & AddArtifactStores(Aws::String &&key, ArtifactStore &&value)
AWS_CODEPIPELINE_API PipelineDeclaration(Aws::Utils::Json::JsonView jsonValue)
PipelineDeclaration & WithTriggers(Aws::Vector< PipelineTriggerDeclaration > &&value)
bool TriggersHasBeenSet() const
PipelineDeclaration & WithArtifactStore(ArtifactStore &&value)
AWS_CODEPIPELINE_API PipelineDeclaration & operator=(Aws::Utils::Json::JsonView jsonValue)
PipelineDeclaration & WithExecutionMode(const ExecutionMode &value)
PipelineDeclaration & WithPipelineType(const PipelineType &value)
PipelineDeclaration & WithArtifactStores(Aws::Map< Aws::String, ArtifactStore > &&value)
bool NameHasBeenSet() const
AWS_CODEPIPELINE_API PipelineDeclaration()
bool PipelineTypeHasBeenSet() const
PipelineDeclaration & WithPipelineType(PipelineType &&value)
void SetVariables(Aws::Vector< PipelineVariableDeclaration > &&value)
PipelineDeclaration & WithRoleArn(const char *value)
const ExecutionMode & GetExecutionMode() const
const PipelineType & GetPipelineType() const
PipelineDeclaration & AddTriggers(PipelineTriggerDeclaration &&value)
void SetArtifactStore(ArtifactStore &&value)
void SetExecutionMode(ExecutionMode &&value)
PipelineDeclaration & WithStages(Aws::Vector< StageDeclaration > &&value)
bool ExecutionModeHasBeenSet() const
void SetRoleArn(const Aws::String &value)
void SetName(Aws::String &&value)
void SetRoleArn(const char *value)
PipelineDeclaration & WithName(Aws::String &&value)
PipelineDeclaration & AddArtifactStores(const Aws::String &key, ArtifactStore &&value)
void SetArtifactStores(const Aws::Map< Aws::String, ArtifactStore > &value)
PipelineDeclaration & WithArtifactStore(const ArtifactStore &value)
bool ArtifactStoreHasBeenSet() const
PipelineDeclaration & WithVariables(Aws::Vector< PipelineVariableDeclaration > &&value)
PipelineDeclaration & WithVersion(int value)
PipelineDeclaration & AddArtifactStores(const char *key, const ArtifactStore &value)
PipelineDeclaration & AddTriggers(const PipelineTriggerDeclaration &value)
const Aws::Map< Aws::String, ArtifactStore > & GetArtifactStores() const
bool VariablesHasBeenSet() const
void SetArtifactStores(Aws::Map< Aws::String, ArtifactStore > &&value)
void SetStages(const Aws::Vector< StageDeclaration > &value)
PipelineDeclaration & WithRoleArn(Aws::String &&value)
void SetPipelineType(PipelineType &&value)
PipelineDeclaration & WithStages(const Aws::Vector< StageDeclaration > &value)
PipelineDeclaration & AddArtifactStores(const char *key, ArtifactStore &&value)
PipelineDeclaration & AddArtifactStores(const Aws::String &key, const ArtifactStore &value)
PipelineDeclaration & WithExecutionMode(ExecutionMode &&value)
void SetVariables(const Aws::Vector< PipelineVariableDeclaration > &value)
void SetExecutionMode(const ExecutionMode &value)
const Aws::String & GetName() const
bool ArtifactStoresHasBeenSet() const
PipelineDeclaration & WithArtifactStores(const Aws::Map< Aws::String, ArtifactStore > &value)
PipelineDeclaration & AddStages(const StageDeclaration &value)
PipelineDeclaration & WithName(const char *value)
void SetArtifactStore(const ArtifactStore &value)
const Aws::Vector< PipelineVariableDeclaration > & GetVariables() const
bool RoleArnHasBeenSet() const
void SetTriggers(const Aws::Vector< PipelineTriggerDeclaration > &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