7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
9#include <aws/imagebuilder/model/WorkflowExecutionStatus.h>
10#include <aws/imagebuilder/model/WorkflowType.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace imagebuilder {
36 template <
typename RequestIdT = Aws::String>
38 m_requestIdHasBeenSet =
true;
39 m_requestId = std::forward<RequestIdT>(value);
41 template <
typename RequestIdT = Aws::String>
55 template <
typename WorkflowBuildVersionArnT = Aws::String>
57 m_workflowBuildVersionArnHasBeenSet =
true;
58 m_workflowBuildVersionArn = std::forward<WorkflowBuildVersionArnT>(value);
60 template <
typename WorkflowBuildVersionArnT = Aws::String>
73 template <
typename WorkflowExecutionIdT = Aws::String>
75 m_workflowExecutionIdHasBeenSet =
true;
76 m_workflowExecutionId = std::forward<WorkflowExecutionIdT>(value);
78 template <
typename WorkflowExecutionIdT = Aws::String>
91 template <
typename ImageBuildVersionArnT = Aws::String>
93 m_imageBuildVersionArnHasBeenSet =
true;
94 m_imageBuildVersionArn = std::forward<ImageBuildVersionArnT>(value);
96 template <
typename ImageBuildVersionArnT = Aws::String>
110 m_typeHasBeenSet =
true;
126 m_statusHasBeenSet =
true;
141 template <
typename MessageT = Aws::String>
143 m_messageHasBeenSet =
true;
144 m_message = std::forward<MessageT>(value);
146 template <
typename MessageT = Aws::String>
161 m_totalStepCountHasBeenSet =
true;
162 m_totalStepCount = value;
177 m_totalStepsSucceededHasBeenSet =
true;
178 m_totalStepsSucceeded = value;
193 m_totalStepsFailedHasBeenSet =
true;
194 m_totalStepsFailed = value;
209 m_totalStepsSkippedHasBeenSet =
true;
210 m_totalStepsSkipped = value;
224 template <
typename StartTimeT = Aws::String>
226 m_startTimeHasBeenSet =
true;
227 m_startTime = std::forward<StartTimeT>(value);
229 template <
typename StartTimeT = Aws::String>
242 template <
typename EndTimeT = Aws::String>
244 m_endTimeHasBeenSet =
true;
245 m_endTime = std::forward<EndTimeT>(value);
247 template <
typename EndTimeT = Aws::String>
260 template <
typename ParallelGroupT = Aws::String>
262 m_parallelGroupHasBeenSet =
true;
263 m_parallelGroup = std::forward<ParallelGroupT>(value);
265 template <
typename ParallelGroupT = Aws::String>
286 int m_totalStepCount{0};
288 int m_totalStepsSucceeded{0};
290 int m_totalStepsFailed{0};
292 int m_totalStepsSkipped{0};
299 bool m_requestIdHasBeenSet =
false;
300 bool m_workflowBuildVersionArnHasBeenSet =
false;
301 bool m_workflowExecutionIdHasBeenSet =
false;
302 bool m_imageBuildVersionArnHasBeenSet =
false;
303 bool m_typeHasBeenSet =
false;
304 bool m_statusHasBeenSet =
false;
305 bool m_messageHasBeenSet =
false;
306 bool m_totalStepCountHasBeenSet =
false;
307 bool m_totalStepsSucceededHasBeenSet =
false;
308 bool m_totalStepsFailedHasBeenSet =
false;
309 bool m_totalStepsSkippedHasBeenSet =
false;
310 bool m_startTimeHasBeenSet =
false;
311 bool m_endTimeHasBeenSet =
false;
312 bool m_parallelGroupHasBeenSet =
false;
const Aws::String & GetEndTime() const
GetWorkflowExecutionResult & WithMessage(MessageT &&value)
const Aws::String & GetImageBuildVersionArn() const
void SetTotalStepsSkipped(int value)
void SetMessage(MessageT &&value)
GetWorkflowExecutionResult & WithStatus(WorkflowExecutionStatus value)
AWS_IMAGEBUILDER_API GetWorkflowExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetWorkflowBuildVersionArn() const
GetWorkflowExecutionResult & WithImageBuildVersionArn(ImageBuildVersionArnT &&value)
int GetTotalStepsFailed() const
const Aws::String & GetParallelGroup() const
void SetTotalStepsFailed(int value)
GetWorkflowExecutionResult & WithTotalStepCount(int value)
GetWorkflowExecutionResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetMessage() const
int GetTotalStepCount() const
GetWorkflowExecutionResult & WithParallelGroup(ParallelGroupT &&value)
GetWorkflowExecutionResult & WithWorkflowExecutionId(WorkflowExecutionIdT &&value)
GetWorkflowExecutionResult & WithType(WorkflowType value)
GetWorkflowExecutionResult & WithWorkflowBuildVersionArn(WorkflowBuildVersionArnT &&value)
WorkflowExecutionStatus GetStatus() const
GetWorkflowExecutionResult & WithTotalStepsSkipped(int value)
GetWorkflowExecutionResult & WithTotalStepsFailed(int value)
void SetWorkflowExecutionId(WorkflowExecutionIdT &&value)
void SetTotalStepsSucceeded(int value)
AWS_IMAGEBUILDER_API GetWorkflowExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWorkflowExecutionResult & WithEndTime(EndTimeT &&value)
GetWorkflowExecutionResult & WithStartTime(StartTimeT &&value)
void SetType(WorkflowType value)
void SetEndTime(EndTimeT &&value)
void SetWorkflowBuildVersionArn(WorkflowBuildVersionArnT &&value)
void SetStatus(WorkflowExecutionStatus value)
GetWorkflowExecutionResult & WithTotalStepsSucceeded(int value)
const Aws::String & GetWorkflowExecutionId() const
void SetImageBuildVersionArn(ImageBuildVersionArnT &&value)
const Aws::String & GetStartTime() const
const Aws::String & GetRequestId() const
void SetParallelGroup(ParallelGroupT &&value)
int GetTotalStepsSucceeded() const
AWS_IMAGEBUILDER_API GetWorkflowExecutionResult()=default
WorkflowType GetType() const
void SetRequestId(RequestIdT &&value)
void SetStartTime(StartTimeT &&value)
void SetTotalStepCount(int value)
int GetTotalStepsSkipped() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue