7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/imagebuilder/model/WorkflowStepExecutionStatus.h>
10#include <aws/imagebuilder/model/WorkflowStepExecutionRollbackStatus.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
42 template<
typename RequestIdT = Aws::String>
43 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
44 template<
typename RequestIdT = Aws::String>
54 template<
typename StepExecutionIdT = Aws::String>
55 void SetStepExecutionId(StepExecutionIdT&& value) { m_stepExecutionIdHasBeenSet =
true; m_stepExecutionId = std::forward<StepExecutionIdT>(value); }
56 template<
typename StepExecutionIdT = Aws::String>
66 template<
typename WorkflowBuildVersionArnT = Aws::String>
67 void SetWorkflowBuildVersionArn(WorkflowBuildVersionArnT&& value) { m_workflowBuildVersionArnHasBeenSet =
true; m_workflowBuildVersionArn = std::forward<WorkflowBuildVersionArnT>(value); }
68 template<
typename WorkflowBuildVersionArnT = Aws::String>
78 template<
typename WorkflowExecutionIdT = Aws::String>
79 void SetWorkflowExecutionId(WorkflowExecutionIdT&& value) { m_workflowExecutionIdHasBeenSet =
true; m_workflowExecutionId = std::forward<WorkflowExecutionIdT>(value); }
80 template<
typename WorkflowExecutionIdT = Aws::String>
90 template<
typename ImageBuildVersionArnT = Aws::String>
91 void SetImageBuildVersionArn(ImageBuildVersionArnT&& value) { m_imageBuildVersionArnHasBeenSet =
true; m_imageBuildVersionArn = std::forward<ImageBuildVersionArnT>(value); }
92 template<
typename ImageBuildVersionArnT = Aws::String>
101 template<
typename NameT = Aws::String>
102 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
103 template<
typename NameT = Aws::String>
112 template<
typename DescriptionT = Aws::String>
113 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
114 template<
typename DescriptionT = Aws::String>
123 template<
typename ActionT = Aws::String>
124 void SetAction(ActionT&& value) { m_actionHasBeenSet =
true; m_action = std::forward<ActionT>(value); }
125 template<
typename ActionT = Aws::String>
155 template<
typename MessageT = Aws::String>
156 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
157 template<
typename MessageT = Aws::String>
167 template<
typename InputsT = Aws::String>
168 void SetInputs(InputsT&& value) { m_inputsHasBeenSet =
true; m_inputs = std::forward<InputsT>(value); }
169 template<
typename InputsT = Aws::String>
179 template<
typename OutputsT = Aws::String>
180 void SetOutputs(OutputsT&& value) { m_outputsHasBeenSet =
true; m_outputs = std::forward<OutputsT>(value); }
181 template<
typename OutputsT = Aws::String>
191 template<
typename StartTimeT = Aws::String>
192 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
193 template<
typename StartTimeT = Aws::String>
203 template<
typename EndTimeT = Aws::String>
204 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
205 template<
typename EndTimeT = Aws::String>
214 template<
typename OnFailureT = Aws::String>
215 void SetOnFailure(OnFailureT&& value) { m_onFailureHasBeenSet =
true; m_onFailure = std::forward<OnFailureT>(value); }
216 template<
typename OnFailureT = Aws::String>
225 inline void SetTimeoutSeconds(
int value) { m_timeoutSecondsHasBeenSet =
true; m_timeoutSeconds = value; }
231 bool m_requestIdHasBeenSet =
false;
234 bool m_stepExecutionIdHasBeenSet =
false;
237 bool m_workflowBuildVersionArnHasBeenSet =
false;
240 bool m_workflowExecutionIdHasBeenSet =
false;
243 bool m_imageBuildVersionArnHasBeenSet =
false;
246 bool m_nameHasBeenSet =
false;
249 bool m_descriptionHasBeenSet =
false;
252 bool m_actionHasBeenSet =
false;
255 bool m_statusHasBeenSet =
false;
258 bool m_rollbackStatusHasBeenSet =
false;
261 bool m_messageHasBeenSet =
false;
264 bool m_inputsHasBeenSet =
false;
267 bool m_outputsHasBeenSet =
false;
270 bool m_startTimeHasBeenSet =
false;
273 bool m_endTimeHasBeenSet =
false;
276 bool m_onFailureHasBeenSet =
false;
278 int m_timeoutSeconds{0};
279 bool m_timeoutSecondsHasBeenSet =
false;
const Aws::String & GetAction() const
GetWorkflowStepExecutionResult & WithInputs(InputsT &&value)
void SetAction(ActionT &&value)
void SetMessage(MessageT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetMessage() const
GetWorkflowStepExecutionResult & WithDescription(DescriptionT &&value)
void SetStartTime(StartTimeT &&value)
GetWorkflowStepExecutionResult & WithImageBuildVersionArn(ImageBuildVersionArnT &&value)
GetWorkflowStepExecutionResult & WithName(NameT &&value)
void SetTimeoutSeconds(int value)
const Aws::String & GetDescription() const
GetWorkflowStepExecutionResult & WithWorkflowBuildVersionArn(WorkflowBuildVersionArnT &&value)
void SetInputs(InputsT &&value)
void SetRollbackStatus(WorkflowStepExecutionRollbackStatus value)
void SetName(NameT &&value)
const Aws::String & GetInputs() const
const Aws::String & GetName() const
WorkflowStepExecutionRollbackStatus GetRollbackStatus() const
GetWorkflowStepExecutionResult & WithMessage(MessageT &&value)
GetWorkflowStepExecutionResult & WithStepExecutionId(StepExecutionIdT &&value)
const Aws::String & GetRequestId() const
void SetEndTime(EndTimeT &&value)
int GetTimeoutSeconds() const
const Aws::String & GetStartTime() const
const Aws::String & GetWorkflowExecutionId() const
void SetStepExecutionId(StepExecutionIdT &&value)
GetWorkflowStepExecutionResult & WithEndTime(EndTimeT &&value)
void SetWorkflowExecutionId(WorkflowExecutionIdT &&value)
GetWorkflowStepExecutionResult & WithOnFailure(OnFailureT &&value)
GetWorkflowStepExecutionResult & WithWorkflowExecutionId(WorkflowExecutionIdT &&value)
const Aws::String & GetEndTime() const
void SetImageBuildVersionArn(ImageBuildVersionArnT &&value)
GetWorkflowStepExecutionResult & WithRollbackStatus(WorkflowStepExecutionRollbackStatus value)
void SetOutputs(OutputsT &&value)
WorkflowStepExecutionStatus GetStatus() const
AWS_IMAGEBUILDER_API GetWorkflowStepExecutionResult()=default
GetWorkflowStepExecutionResult & WithTimeoutSeconds(int value)
const Aws::String & GetOutputs() const
GetWorkflowStepExecutionResult & WithStatus(WorkflowStepExecutionStatus value)
GetWorkflowStepExecutionResult & WithRequestId(RequestIdT &&value)
AWS_IMAGEBUILDER_API GetWorkflowStepExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStatus(WorkflowStepExecutionStatus value)
const Aws::String & GetImageBuildVersionArn() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetStepExecutionId() const
void SetWorkflowBuildVersionArn(WorkflowBuildVersionArnT &&value)
const Aws::String & GetWorkflowBuildVersionArn() const
const Aws::String & GetOnFailure() const
GetWorkflowStepExecutionResult & WithStartTime(StartTimeT &&value)
GetWorkflowStepExecutionResult & WithAction(ActionT &&value)
GetWorkflowStepExecutionResult & WithOutputs(OutputsT &&value)
AWS_IMAGEBUILDER_API GetWorkflowStepExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetOnFailure(OnFailureT &&value)
WorkflowStepExecutionRollbackStatus
WorkflowStepExecutionStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue