7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/model/ArtifactStore.h>
9#include <aws/codepipeline/model/ExecutionMode.h>
10#include <aws/codepipeline/model/PipelineTriggerDeclaration.h>
11#include <aws/codepipeline/model/PipelineType.h>
12#include <aws/codepipeline/model/PipelineVariableDeclaration.h>
13#include <aws/codepipeline/model/StageDeclaration.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
27namespace CodePipeline {
49 template <
typename NameT = Aws::String>
51 m_nameHasBeenSet =
true;
52 m_name = std::forward<NameT>(value);
54 template <
typename NameT = Aws::String>
56 SetName(std::forward<NameT>(value));
69 template <
typename RoleArnT = Aws::String>
71 m_roleArnHasBeenSet =
true;
72 m_roleArn = std::forward<RoleArnT>(value);
74 template <
typename RoleArnT = Aws::String>
91 template <
typename ArtifactStoreT = ArtifactStore>
93 m_artifactStoreHasBeenSet =
true;
94 m_artifactStore = std::forward<ArtifactStoreT>(value);
96 template <
typename ArtifactStoreT = ArtifactStore>
114 template <
typename ArtifactStoresT = Aws::Map<Aws::String, ArtifactStore>>
116 m_artifactStoresHasBeenSet =
true;
117 m_artifactStores = std::forward<ArtifactStoresT>(value);
119 template <
typename ArtifactStoresT = Aws::Map<Aws::String, ArtifactStore>>
124 template <
typename ArtifactStoresKeyT = Aws::String,
typename ArtifactStoresValueT = ArtifactStore>
126 m_artifactStoresHasBeenSet =
true;
127 m_artifactStores.emplace(std::forward<ArtifactStoresKeyT>(key), std::forward<ArtifactStoresValueT>(value));
138 template <
typename StagesT = Aws::Vector<StageDeclaration>>
140 m_stagesHasBeenSet =
true;
141 m_stages = std::forward<StagesT>(value);
143 template <
typename StagesT = Aws::Vector<StageDeclaration>>
148 template <
typename StagesT = StageDeclaration>
150 m_stagesHasBeenSet =
true;
151 m_stages.emplace_back(std::forward<StagesT>(value));
164 m_versionHasBeenSet =
true;
181 m_executionModeHasBeenSet =
true;
182 m_executionMode = value;
210 m_pipelineTypeHasBeenSet =
true;
211 m_pipelineType = value;
227 template <
typename VariablesT = Aws::Vector<PipelineVariableDeclaration>>
229 m_variablesHasBeenSet =
true;
230 m_variables = std::forward<VariablesT>(value);
232 template <
typename VariablesT = Aws::Vector<PipelineVariableDeclaration>>
237 template <
typename VariablesT = PipelineVariableDeclaration>
239 m_variablesHasBeenSet =
true;
240 m_variables.emplace_back(std::forward<VariablesT>(value));
254 template <
typename TriggersT = Aws::Vector<PipelineTriggerDeclaration>>
256 m_triggersHasBeenSet =
true;
257 m_triggers = std::forward<TriggersT>(value);
259 template <
typename TriggersT = Aws::Vector<PipelineTriggerDeclaration>>
264 template <
typename TriggersT = PipelineTriggerDeclaration>
266 m_triggersHasBeenSet =
true;
267 m_triggers.emplace_back(std::forward<TriggersT>(value));
291 bool m_nameHasBeenSet =
false;
292 bool m_roleArnHasBeenSet =
false;
293 bool m_artifactStoreHasBeenSet =
false;
294 bool m_artifactStoresHasBeenSet =
false;
295 bool m_stagesHasBeenSet =
false;
296 bool m_versionHasBeenSet =
false;
297 bool m_executionModeHasBeenSet =
false;
298 bool m_pipelineTypeHasBeenSet =
false;
299 bool m_variablesHasBeenSet =
false;
300 bool m_triggersHasBeenSet =
false;
const ArtifactStore & GetArtifactStore() const
const Aws::String & GetRoleArn() const
void SetVersion(int value)
PipelineDeclaration & AddArtifactStores(ArtifactStoresKeyT &&key, ArtifactStoresValueT &&value)
const Aws::Vector< PipelineTriggerDeclaration > & GetTriggers() const
void SetArtifactStore(ArtifactStoreT &&value)
PipelineDeclaration & AddVariables(VariablesT &&value)
PipelineDeclaration & WithVariables(VariablesT &&value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< StageDeclaration > & GetStages() const
bool VersionHasBeenSet() const
bool StagesHasBeenSet() const
AWS_CODEPIPELINE_API PipelineDeclaration(Aws::Utils::Json::JsonView jsonValue)
void SetRoleArn(RoleArnT &&value)
PipelineDeclaration & WithStages(StagesT &&value)
bool TriggersHasBeenSet() const
AWS_CODEPIPELINE_API PipelineDeclaration()=default
AWS_CODEPIPELINE_API PipelineDeclaration & operator=(Aws::Utils::Json::JsonView jsonValue)
PipelineType GetPipelineType() const
PipelineDeclaration & WithArtifactStore(ArtifactStoreT &&value)
bool NameHasBeenSet() const
void SetPipelineType(PipelineType value)
PipelineDeclaration & AddStages(StagesT &&value)
void SetVariables(VariablesT &&value)
PipelineDeclaration & WithArtifactStores(ArtifactStoresT &&value)
bool PipelineTypeHasBeenSet() const
void SetArtifactStores(ArtifactStoresT &&value)
void SetStages(StagesT &&value)
bool ExecutionModeHasBeenSet() const
PipelineDeclaration & WithPipelineType(PipelineType value)
bool ArtifactStoreHasBeenSet() const
PipelineDeclaration & WithVersion(int value)
void SetName(NameT &&value)
const Aws::Map< Aws::String, ArtifactStore > & GetArtifactStores() const
bool VariablesHasBeenSet() const
PipelineDeclaration & WithName(NameT &&value)
void SetTriggers(TriggersT &&value)
void SetExecutionMode(ExecutionMode value)
ExecutionMode GetExecutionMode() const
PipelineDeclaration & AddTriggers(TriggersT &&value)
PipelineDeclaration & WithTriggers(TriggersT &&value)
const Aws::String & GetName() const
bool ArtifactStoresHasBeenSet() const
PipelineDeclaration & WithRoleArn(RoleArnT &&value)
const Aws::Vector< PipelineVariableDeclaration > & GetVariables() const
PipelineDeclaration & WithExecutionMode(ExecutionMode value)
bool RoleArnHasBeenSet() const
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