AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetWorkflowStepExecutionResult.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace imagebuilder
26{
27namespace Model
28{
30 {
31 public:
32 AWS_IMAGEBUILDER_API GetWorkflowStepExecutionResult() = default;
35
36
38
41 inline const Aws::String& GetRequestId() const { return m_requestId; }
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>
45 GetWorkflowStepExecutionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
47
49
53 inline const Aws::String& GetStepExecutionId() const { return m_stepExecutionId; }
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>
57 GetWorkflowStepExecutionResult& WithStepExecutionId(StepExecutionIdT&& value) { SetStepExecutionId(std::forward<StepExecutionIdT>(value)); return *this;}
59
61
65 inline const Aws::String& GetWorkflowBuildVersionArn() const { return m_workflowBuildVersionArn; }
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>
69 GetWorkflowStepExecutionResult& WithWorkflowBuildVersionArn(WorkflowBuildVersionArnT&& value) { SetWorkflowBuildVersionArn(std::forward<WorkflowBuildVersionArnT>(value)); return *this;}
71
73
77 inline const Aws::String& GetWorkflowExecutionId() const { return m_workflowExecutionId; }
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>
81 GetWorkflowStepExecutionResult& WithWorkflowExecutionId(WorkflowExecutionIdT&& value) { SetWorkflowExecutionId(std::forward<WorkflowExecutionIdT>(value)); return *this;}
83
85
89 inline const Aws::String& GetImageBuildVersionArn() const { return m_imageBuildVersionArn; }
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>
93 GetWorkflowStepExecutionResult& WithImageBuildVersionArn(ImageBuildVersionArnT&& value) { SetImageBuildVersionArn(std::forward<ImageBuildVersionArnT>(value)); return *this;}
95
97
100 inline const Aws::String& GetName() const { return m_name; }
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>
104 GetWorkflowStepExecutionResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
106
108
111 inline const Aws::String& GetDescription() const { return m_description; }
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>
115 GetWorkflowStepExecutionResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
117
119
122 inline const Aws::String& GetAction() const { return m_action; }
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>
126 GetWorkflowStepExecutionResult& WithAction(ActionT&& value) { SetAction(std::forward<ActionT>(value)); return *this;}
128
130
134 inline WorkflowStepExecutionStatus GetStatus() const { return m_status; }
135 inline void SetStatus(WorkflowStepExecutionStatus value) { m_statusHasBeenSet = true; m_status = value; }
138
140
144 inline WorkflowStepExecutionRollbackStatus GetRollbackStatus() const { return m_rollbackStatus; }
145 inline void SetRollbackStatus(WorkflowStepExecutionRollbackStatus value) { m_rollbackStatusHasBeenSet = true; m_rollbackStatus = value; }
148
150
154 inline const Aws::String& GetMessage() const { return m_message; }
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>
158 GetWorkflowStepExecutionResult& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
160
162
166 inline const Aws::String& GetInputs() const { return m_inputs; }
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>
170 GetWorkflowStepExecutionResult& WithInputs(InputsT&& value) { SetInputs(std::forward<InputsT>(value)); return *this;}
172
174
178 inline const Aws::String& GetOutputs() const { return m_outputs; }
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>
182 GetWorkflowStepExecutionResult& WithOutputs(OutputsT&& value) { SetOutputs(std::forward<OutputsT>(value)); return *this;}
184
186
190 inline const Aws::String& GetStartTime() const { return m_startTime; }
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>
194 GetWorkflowStepExecutionResult& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
196
198
202 inline const Aws::String& GetEndTime() const { return m_endTime; }
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>
206 GetWorkflowStepExecutionResult& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
208
210
213 inline const Aws::String& GetOnFailure() const { return m_onFailure; }
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>
217 GetWorkflowStepExecutionResult& WithOnFailure(OnFailureT&& value) { SetOnFailure(std::forward<OnFailureT>(value)); return *this;}
219
221
224 inline int GetTimeoutSeconds() const { return m_timeoutSeconds; }
225 inline void SetTimeoutSeconds(int value) { m_timeoutSecondsHasBeenSet = true; m_timeoutSeconds = value; }
226 inline GetWorkflowStepExecutionResult& WithTimeoutSeconds(int value) { SetTimeoutSeconds(value); return *this;}
228 private:
229
230 Aws::String m_requestId;
231 bool m_requestIdHasBeenSet = false;
232
233 Aws::String m_stepExecutionId;
234 bool m_stepExecutionIdHasBeenSet = false;
235
236 Aws::String m_workflowBuildVersionArn;
237 bool m_workflowBuildVersionArnHasBeenSet = false;
238
239 Aws::String m_workflowExecutionId;
240 bool m_workflowExecutionIdHasBeenSet = false;
241
242 Aws::String m_imageBuildVersionArn;
243 bool m_imageBuildVersionArnHasBeenSet = false;
244
245 Aws::String m_name;
246 bool m_nameHasBeenSet = false;
247
248 Aws::String m_description;
249 bool m_descriptionHasBeenSet = false;
250
251 Aws::String m_action;
252 bool m_actionHasBeenSet = false;
253
255 bool m_statusHasBeenSet = false;
256
258 bool m_rollbackStatusHasBeenSet = false;
259
260 Aws::String m_message;
261 bool m_messageHasBeenSet = false;
262
263 Aws::String m_inputs;
264 bool m_inputsHasBeenSet = false;
265
266 Aws::String m_outputs;
267 bool m_outputsHasBeenSet = false;
268
269 Aws::String m_startTime;
270 bool m_startTimeHasBeenSet = false;
271
272 Aws::String m_endTime;
273 bool m_endTimeHasBeenSet = false;
274
275 Aws::String m_onFailure;
276 bool m_onFailureHasBeenSet = false;
277
278 int m_timeoutSeconds{0};
279 bool m_timeoutSecondsHasBeenSet = false;
280 };
281
282} // namespace Model
283} // namespace imagebuilder
284} // namespace Aws
GetWorkflowStepExecutionResult & WithInputs(InputsT &&value)
GetWorkflowStepExecutionResult & WithDescription(DescriptionT &&value)
GetWorkflowStepExecutionResult & WithImageBuildVersionArn(ImageBuildVersionArnT &&value)
GetWorkflowStepExecutionResult & WithWorkflowBuildVersionArn(WorkflowBuildVersionArnT &&value)
void SetRollbackStatus(WorkflowStepExecutionRollbackStatus value)
GetWorkflowStepExecutionResult & WithMessage(MessageT &&value)
GetWorkflowStepExecutionResult & WithStepExecutionId(StepExecutionIdT &&value)
GetWorkflowStepExecutionResult & WithEndTime(EndTimeT &&value)
GetWorkflowStepExecutionResult & WithOnFailure(OnFailureT &&value)
GetWorkflowStepExecutionResult & WithWorkflowExecutionId(WorkflowExecutionIdT &&value)
GetWorkflowStepExecutionResult & WithRollbackStatus(WorkflowStepExecutionRollbackStatus value)
AWS_IMAGEBUILDER_API GetWorkflowStepExecutionResult()=default
GetWorkflowStepExecutionResult & WithStatus(WorkflowStepExecutionStatus value)
GetWorkflowStepExecutionResult & WithRequestId(RequestIdT &&value)
AWS_IMAGEBUILDER_API GetWorkflowStepExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue