7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/model/ArtifactRevision.h>
9#include <aws/codepipeline/model/ExecutionMode.h>
10#include <aws/codepipeline/model/ExecutionTrigger.h>
11#include <aws/codepipeline/model/ExecutionType.h>
12#include <aws/codepipeline/model/PipelineExecutionStatus.h>
13#include <aws/codepipeline/model/PipelineRollbackMetadata.h>
14#include <aws/codepipeline/model/ResolvedPipelineVariable.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
27namespace CodePipeline {
49 template <
typename PipelineNameT = Aws::String>
51 m_pipelineNameHasBeenSet =
true;
52 m_pipelineName = std::forward<PipelineNameT>(value);
54 template <
typename PipelineNameT = Aws::String>
68 m_pipelineVersionHasBeenSet =
true;
69 m_pipelineVersion = value;
83 template <
typename PipelineExecutionIdT = Aws::String>
85 m_pipelineExecutionIdHasBeenSet =
true;
86 m_pipelineExecutionId = std::forward<PipelineExecutionIdT>(value);
88 template <
typename PipelineExecutionIdT = Aws::String>
120 m_statusHasBeenSet =
true;
135 template <
typename StatusSummaryT = Aws::String>
137 m_statusSummaryHasBeenSet =
true;
138 m_statusSummary = std::forward<StatusSummaryT>(value);
140 template <
typename StatusSummaryT = Aws::String>
154 template <
typename ArtifactRevisionsT = Aws::Vector<ArtifactRevision>>
156 m_artifactRevisionsHasBeenSet =
true;
157 m_artifactRevisions = std::forward<ArtifactRevisionsT>(value);
159 template <
typename ArtifactRevisionsT = Aws::Vector<ArtifactRevision>>
164 template <
typename ArtifactRevisionsT = ArtifactRevision>
166 m_artifactRevisionsHasBeenSet =
true;
167 m_artifactRevisions.emplace_back(std::forward<ArtifactRevisionsT>(value));
178 template <
typename VariablesT = Aws::Vector<ResolvedPipelineVariable>>
180 m_variablesHasBeenSet =
true;
181 m_variables = std::forward<VariablesT>(value);
183 template <
typename VariablesT = Aws::Vector<ResolvedPipelineVariable>>
188 template <
typename VariablesT = ResolvedPipelineVariable>
190 m_variablesHasBeenSet =
true;
191 m_variables.emplace_back(std::forward<VariablesT>(value));
200 template <
typename TriggerT = ExecutionTrigger>
202 m_triggerHasBeenSet =
true;
203 m_trigger = std::forward<TriggerT>(value);
205 template <
typename TriggerT = ExecutionTrigger>
220 m_executionModeHasBeenSet =
true;
221 m_executionMode = value;
236 m_executionTypeHasBeenSet =
true;
237 m_executionType = value;
251 template <
typename RollbackMetadataT = PipelineRollbackMetadata>
253 m_rollbackMetadataHasBeenSet =
true;
254 m_rollbackMetadata = std::forward<RollbackMetadataT>(value);
256 template <
typename RollbackMetadataT = PipelineRollbackMetadata>
265 int m_pipelineVersion{0};
277 ExecutionTrigger m_trigger;
283 PipelineRollbackMetadata m_rollbackMetadata;
284 bool m_pipelineNameHasBeenSet =
false;
285 bool m_pipelineVersionHasBeenSet =
false;
286 bool m_pipelineExecutionIdHasBeenSet =
false;
287 bool m_statusHasBeenSet =
false;
288 bool m_statusSummaryHasBeenSet =
false;
289 bool m_artifactRevisionsHasBeenSet =
false;
290 bool m_variablesHasBeenSet =
false;
291 bool m_triggerHasBeenSet =
false;
292 bool m_executionModeHasBeenSet =
false;
293 bool m_executionTypeHasBeenSet =
false;
294 bool m_rollbackMetadataHasBeenSet =
false;
void SetStatusSummary(StatusSummaryT &&value)
bool ArtifactRevisionsHasBeenSet() const
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< ResolvedPipelineVariable > & GetVariables() const
PipelineExecution & WithRollbackMetadata(RollbackMetadataT &&value)
PipelineExecution & WithTrigger(TriggerT &&value)
PipelineExecution & WithExecutionMode(ExecutionMode value)
void SetRollbackMetadata(RollbackMetadataT &&value)
PipelineExecution & AddArtifactRevisions(ArtifactRevisionsT &&value)
const Aws::Vector< ArtifactRevision > & GetArtifactRevisions() const
bool PipelineNameHasBeenSet() const
bool StatusSummaryHasBeenSet() const
void SetPipelineName(PipelineNameT &&value)
PipelineExecution & WithStatusSummary(StatusSummaryT &&value)
void SetExecutionType(ExecutionType value)
PipelineExecution & WithStatus(PipelineExecutionStatus value)
const PipelineRollbackMetadata & GetRollbackMetadata() const
PipelineExecution & WithPipelineExecutionId(PipelineExecutionIdT &&value)
PipelineExecutionStatus GetStatus() const
const ExecutionTrigger & GetTrigger() const
bool VariablesHasBeenSet() const
PipelineExecution & WithVariables(VariablesT &&value)
bool StatusHasBeenSet() const
const Aws::String & GetPipelineExecutionId() const
bool RollbackMetadataHasBeenSet() const
void SetArtifactRevisions(ArtifactRevisionsT &&value)
const Aws::String & GetPipelineName() const
int GetPipelineVersion() const
void SetPipelineExecutionId(PipelineExecutionIdT &&value)
bool PipelineVersionHasBeenSet() const
ExecutionType GetExecutionType() const
bool PipelineExecutionIdHasBeenSet() const
AWS_CODEPIPELINE_API PipelineExecution()=default
void SetStatus(PipelineExecutionStatus value)
AWS_CODEPIPELINE_API PipelineExecution & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ExecutionModeHasBeenSet() const
bool TriggerHasBeenSet() const
void SetTrigger(TriggerT &&value)
ExecutionMode GetExecutionMode() const
void SetPipelineVersion(int value)
const Aws::String & GetStatusSummary() const
void SetExecutionMode(ExecutionMode value)
PipelineExecution & WithPipelineName(PipelineNameT &&value)
PipelineExecution & WithExecutionType(ExecutionType value)
PipelineExecution & WithPipelineVersion(int value)
bool ExecutionTypeHasBeenSet() const
void SetVariables(VariablesT &&value)
PipelineExecution & WithArtifactRevisions(ArtifactRevisionsT &&value)
PipelineExecution & AddVariables(VariablesT &&value)
AWS_CODEPIPELINE_API PipelineExecution(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue