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>
55 template<
typename NameT = Aws::String>
56 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
57 template<
typename NameT = Aws::String>
69 template<
typename RoleArnT = Aws::String>
70 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
71 template<
typename RoleArnT = Aws::String>
85 template<
typename ArtifactStoreT = ArtifactStore>
86 void SetArtifactStore(ArtifactStoreT&& value) { m_artifactStoreHasBeenSet =
true; m_artifactStore = std::forward<ArtifactStoreT>(value); }
87 template<
typename ArtifactStoreT = ArtifactStore>
102 template<
typename ArtifactStoresT = Aws::Map<Aws::String, ArtifactStore>>
103 void SetArtifactStores(ArtifactStoresT&& value) { m_artifactStoresHasBeenSet =
true; m_artifactStores = std::forward<ArtifactStoresT>(value); }
104 template<
typename ArtifactStoresT = Aws::Map<Aws::String, ArtifactStore>>
106 template<
typename ArtifactStoresKeyT = Aws::String,
typename ArtifactStoresValueT = ArtifactStore>
108 m_artifactStoresHasBeenSet =
true; m_artifactStores.emplace(std::forward<ArtifactStoresKeyT>(key), std::forward<ArtifactStoresValueT>(value));
return *
this;
118 template<
typename StagesT = Aws::Vector<StageDeclaration>>
119 void SetStages(StagesT&& value) { m_stagesHasBeenSet =
true; m_stages = std::forward<StagesT>(value); }
120 template<
typename StagesT = Aws::Vector<StageDeclaration>>
122 template<
typename StagesT = StageDeclaration>
133 inline void SetVersion(
int value) { m_versionHasBeenSet =
true; m_version = value; }
179 template<
typename VariablesT = Aws::Vector<PipelineVariableDeclaration>>
180 void SetVariables(VariablesT&& value) { m_variablesHasBeenSet =
true; m_variables = std::forward<VariablesT>(value); }
181 template<
typename VariablesT = Aws::Vector<PipelineVariableDeclaration>>
183 template<
typename VariablesT = PipelineVariableDeclaration>
196 template<
typename TriggersT = Aws::Vector<PipelineTriggerDeclaration>>
197 void SetTriggers(TriggersT&& value) { m_triggersHasBeenSet =
true; m_triggers = std::forward<TriggersT>(value); }
198 template<
typename TriggersT = Aws::Vector<PipelineTriggerDeclaration>>
200 template<
typename TriggersT = PipelineTriggerDeclaration>
206 bool m_nameHasBeenSet =
false;
209 bool m_roleArnHasBeenSet =
false;
212 bool m_artifactStoreHasBeenSet =
false;
215 bool m_artifactStoresHasBeenSet =
false;
218 bool m_stagesHasBeenSet =
false;
221 bool m_versionHasBeenSet =
false;
224 bool m_executionModeHasBeenSet =
false;
227 bool m_pipelineTypeHasBeenSet =
false;
230 bool m_variablesHasBeenSet =
false;
233 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