7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/model/ExecutionMode.h>
9#include <aws/codepipeline/model/ExecutionTrigger.h>
10#include <aws/codepipeline/model/ExecutionType.h>
11#include <aws/codepipeline/model/PipelineExecutionStatus.h>
12#include <aws/codepipeline/model/PipelineRollbackMetadata.h>
13#include <aws/codepipeline/model/SourceRevision.h>
14#include <aws/codepipeline/model/StopExecutionTrigger.h>
15#include <aws/core/utils/DateTime.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
17#include <aws/core/utils/memory/stl/AWSVector.h>
28namespace CodePipeline {
49 template <
typename PipelineExecutionIdT = Aws::String>
51 m_pipelineExecutionIdHasBeenSet =
true;
52 m_pipelineExecutionId = std::forward<PipelineExecutionIdT>(value);
54 template <
typename PipelineExecutionIdT = Aws::String>
84 m_statusHasBeenSet =
true;
99 template <
typename StatusSummaryT = Aws::String>
101 m_statusSummaryHasBeenSet =
true;
102 m_statusSummary = std::forward<StatusSummaryT>(value);
104 template <
typename StatusSummaryT = Aws::String>
117 template <
typename StartTimeT = Aws::Utils::DateTime>
119 m_startTimeHasBeenSet =
true;
120 m_startTime = std::forward<StartTimeT>(value);
122 template <
typename StartTimeT = Aws::Utils::DateTime>
136 template <
typename LastUpdateTimeT = Aws::Utils::DateTime>
138 m_lastUpdateTimeHasBeenSet =
true;
139 m_lastUpdateTime = std::forward<LastUpdateTimeT>(value);
141 template <
typename LastUpdateTimeT = Aws::Utils::DateTime>
155 template <
typename SourceRevisionsT = Aws::Vector<SourceRevision>>
157 m_sourceRevisionsHasBeenSet =
true;
158 m_sourceRevisions = std::forward<SourceRevisionsT>(value);
160 template <
typename SourceRevisionsT = Aws::Vector<SourceRevision>>
165 template <
typename SourceRevisionsT = SourceRevision>
167 m_sourceRevisionsHasBeenSet =
true;
168 m_sourceRevisions.emplace_back(std::forward<SourceRevisionsT>(value));
180 template <
typename TriggerT = ExecutionTrigger>
182 m_triggerHasBeenSet =
true;
183 m_trigger = std::forward<TriggerT>(value);
185 template <
typename TriggerT = ExecutionTrigger>
198 template <
typename StopTriggerT = StopExecutionTrigger>
200 m_stopTriggerHasBeenSet =
true;
201 m_stopTrigger = std::forward<StopTriggerT>(value);
203 template <
typename StopTriggerT = StopExecutionTrigger>
218 m_executionModeHasBeenSet =
true;
219 m_executionMode = value;
234 m_executionTypeHasBeenSet =
true;
235 m_executionType = value;
249 template <
typename RollbackMetadataT = PipelineRollbackMetadata>
251 m_rollbackMetadataHasBeenSet =
true;
252 m_rollbackMetadata = std::forward<RollbackMetadataT>(value);
254 template <
typename RollbackMetadataT = PipelineRollbackMetadata>
273 ExecutionTrigger m_trigger;
275 StopExecutionTrigger m_stopTrigger;
281 PipelineRollbackMetadata m_rollbackMetadata;
282 bool m_pipelineExecutionIdHasBeenSet =
false;
283 bool m_statusHasBeenSet =
false;
284 bool m_statusSummaryHasBeenSet =
false;
285 bool m_startTimeHasBeenSet =
false;
286 bool m_lastUpdateTimeHasBeenSet =
false;
287 bool m_sourceRevisionsHasBeenSet =
false;
288 bool m_triggerHasBeenSet =
false;
289 bool m_stopTriggerHasBeenSet =
false;
290 bool m_executionModeHasBeenSet =
false;
291 bool m_executionTypeHasBeenSet =
false;
292 bool m_rollbackMetadataHasBeenSet =
false;
bool ExecutionModeHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdateTime() const
bool RollbackMetadataHasBeenSet() const
void SetExecutionMode(ExecutionMode value)
bool StatusHasBeenSet() const
ExecutionMode GetExecutionMode() const
bool ExecutionTypeHasBeenSet() const
PipelineExecutionStatus GetStatus() const
AWS_CODEPIPELINE_API PipelineExecutionSummary()=default
void SetPipelineExecutionId(PipelineExecutionIdT &&value)
PipelineExecutionSummary & WithStatusSummary(StatusSummaryT &&value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
PipelineExecutionSummary & WithStopTrigger(StopTriggerT &&value)
PipelineExecutionSummary & WithExecutionMode(ExecutionMode value)
AWS_CODEPIPELINE_API PipelineExecutionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const StopExecutionTrigger & GetStopTrigger() const
const Aws::String & GetPipelineExecutionId() const
void SetStartTime(StartTimeT &&value)
PipelineExecutionSummary & WithTrigger(TriggerT &&value)
void SetStatusSummary(StatusSummaryT &&value)
void SetRollbackMetadata(RollbackMetadataT &&value)
PipelineExecutionSummary & WithSourceRevisions(SourceRevisionsT &&value)
PipelineExecutionSummary & WithExecutionType(ExecutionType value)
const Aws::String & GetStatusSummary() const
bool SourceRevisionsHasBeenSet() const
const Aws::Utils::DateTime & GetStartTime() const
PipelineExecutionSummary & WithStartTime(StartTimeT &&value)
bool TriggerHasBeenSet() const
bool LastUpdateTimeHasBeenSet() const
bool StartTimeHasBeenSet() const
void SetExecutionType(ExecutionType value)
void SetStopTrigger(StopTriggerT &&value)
PipelineExecutionSummary & AddSourceRevisions(SourceRevisionsT &&value)
bool StatusSummaryHasBeenSet() const
bool PipelineExecutionIdHasBeenSet() const
ExecutionType GetExecutionType() const
void SetLastUpdateTime(LastUpdateTimeT &&value)
void SetStatus(PipelineExecutionStatus value)
PipelineExecutionSummary & WithPipelineExecutionId(PipelineExecutionIdT &&value)
const Aws::Vector< SourceRevision > & GetSourceRevisions() const
PipelineExecutionSummary & WithLastUpdateTime(LastUpdateTimeT &&value)
PipelineExecutionSummary & WithRollbackMetadata(RollbackMetadataT &&value)
void SetTrigger(TriggerT &&value)
bool StopTriggerHasBeenSet() const
PipelineExecutionSummary & WithStatus(PipelineExecutionStatus value)
const PipelineRollbackMetadata & GetRollbackMetadata() const
AWS_CODEPIPELINE_API PipelineExecutionSummary(Aws::Utils::Json::JsonView jsonValue)
void SetSourceRevisions(SourceRevisionsT &&value)
const ExecutionTrigger & GetTrigger() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue