7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codepipeline/model/PipelineExecutionStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/codepipeline/model/ExecutionTrigger.h>
13#include <aws/codepipeline/model/StopExecutionTrigger.h>
14#include <aws/codepipeline/model/ExecutionMode.h>
15#include <aws/codepipeline/model/ExecutionType.h>
16#include <aws/codepipeline/model/PipelineRollbackMetadata.h>
17#include <aws/codepipeline/model/SourceRevision.h>
55 template<
typename PipelineExecutionIdT = Aws::String>
56 void SetPipelineExecutionId(PipelineExecutionIdT&& value) { m_pipelineExecutionIdHasBeenSet =
true; m_pipelineExecutionId = std::forward<PipelineExecutionIdT>(value); }
57 template<
typename PipelineExecutionIdT = Aws::String>
93 template<
typename StatusSummaryT = Aws::String>
94 void SetStatusSummary(StatusSummaryT&& value) { m_statusSummaryHasBeenSet =
true; m_statusSummary = std::forward<StatusSummaryT>(value); }
95 template<
typename StatusSummaryT = Aws::String>
105 template<
typename StartTimeT = Aws::Utils::DateTime>
106 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
107 template<
typename StartTimeT = Aws::Utils::DateTime>
118 template<
typename LastUpdateTimeT = Aws::Utils::DateTime>
119 void SetLastUpdateTime(LastUpdateTimeT&& value) { m_lastUpdateTimeHasBeenSet =
true; m_lastUpdateTime = std::forward<LastUpdateTimeT>(value); }
120 template<
typename LastUpdateTimeT = Aws::Utils::DateTime>
131 template<
typename SourceRevisionsT = Aws::Vector<SourceRevision>>
132 void SetSourceRevisions(SourceRevisionsT&& value) { m_sourceRevisionsHasBeenSet =
true; m_sourceRevisions = std::forward<SourceRevisionsT>(value); }
133 template<
typename SourceRevisionsT = Aws::Vector<SourceRevision>>
135 template<
typename SourceRevisionsT = SourceRevision>
146 template<
typename TriggerT = ExecutionTrigger>
147 void SetTrigger(TriggerT&& value) { m_triggerHasBeenSet =
true; m_trigger = std::forward<TriggerT>(value); }
148 template<
typename TriggerT = ExecutionTrigger>
158 template<
typename StopTriggerT = StopExecutionTrigger>
159 void SetStopTrigger(StopTriggerT&& value) { m_stopTriggerHasBeenSet =
true; m_stopTrigger = std::forward<StopTriggerT>(value); }
160 template<
typename StopTriggerT = StopExecutionTrigger>
191 template<
typename RollbackMetadataT = PipelineRollbackMetadata>
192 void SetRollbackMetadata(RollbackMetadataT&& value) { m_rollbackMetadataHasBeenSet =
true; m_rollbackMetadata = std::forward<RollbackMetadataT>(value); }
193 template<
typename RollbackMetadataT = PipelineRollbackMetadata>
199 bool m_pipelineExecutionIdHasBeenSet =
false;
202 bool m_statusHasBeenSet =
false;
205 bool m_statusSummaryHasBeenSet =
false;
208 bool m_startTimeHasBeenSet =
false;
211 bool m_lastUpdateTimeHasBeenSet =
false;
214 bool m_sourceRevisionsHasBeenSet =
false;
216 ExecutionTrigger m_trigger;
217 bool m_triggerHasBeenSet =
false;
219 StopExecutionTrigger m_stopTrigger;
220 bool m_stopTriggerHasBeenSet =
false;
223 bool m_executionModeHasBeenSet =
false;
226 bool m_executionTypeHasBeenSet =
false;
228 PipelineRollbackMetadata m_rollbackMetadata;
229 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