AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
41 inline const Aws::String& GetRequestId() const{ return m_requestId; }
42 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
43 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
44 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
45 inline GetWorkflowStepExecutionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
46 inline GetWorkflowStepExecutionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
47 inline GetWorkflowStepExecutionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
49
51
55 inline const Aws::String& GetStepExecutionId() const{ return m_stepExecutionId; }
56 inline void SetStepExecutionId(const Aws::String& value) { m_stepExecutionId = value; }
57 inline void SetStepExecutionId(Aws::String&& value) { m_stepExecutionId = std::move(value); }
58 inline void SetStepExecutionId(const char* value) { m_stepExecutionId.assign(value); }
60 inline GetWorkflowStepExecutionResult& WithStepExecutionId(Aws::String&& value) { SetStepExecutionId(std::move(value)); return *this;}
61 inline GetWorkflowStepExecutionResult& WithStepExecutionId(const char* value) { SetStepExecutionId(value); return *this;}
63
65
69 inline const Aws::String& GetWorkflowBuildVersionArn() const{ return m_workflowBuildVersionArn; }
70 inline void SetWorkflowBuildVersionArn(const Aws::String& value) { m_workflowBuildVersionArn = value; }
71 inline void SetWorkflowBuildVersionArn(Aws::String&& value) { m_workflowBuildVersionArn = std::move(value); }
72 inline void SetWorkflowBuildVersionArn(const char* value) { m_workflowBuildVersionArn.assign(value); }
77
79
83 inline const Aws::String& GetWorkflowExecutionId() const{ return m_workflowExecutionId; }
84 inline void SetWorkflowExecutionId(const Aws::String& value) { m_workflowExecutionId = value; }
85 inline void SetWorkflowExecutionId(Aws::String&& value) { m_workflowExecutionId = std::move(value); }
86 inline void SetWorkflowExecutionId(const char* value) { m_workflowExecutionId.assign(value); }
89 inline GetWorkflowStepExecutionResult& WithWorkflowExecutionId(const char* value) { SetWorkflowExecutionId(value); return *this;}
91
93
97 inline const Aws::String& GetImageBuildVersionArn() const{ return m_imageBuildVersionArn; }
98 inline void SetImageBuildVersionArn(const Aws::String& value) { m_imageBuildVersionArn = value; }
99 inline void SetImageBuildVersionArn(Aws::String&& value) { m_imageBuildVersionArn = std::move(value); }
100 inline void SetImageBuildVersionArn(const char* value) { m_imageBuildVersionArn.assign(value); }
103 inline GetWorkflowStepExecutionResult& WithImageBuildVersionArn(const char* value) { SetImageBuildVersionArn(value); return *this;}
105
107
110 inline const Aws::String& GetName() const{ return m_name; }
111 inline void SetName(const Aws::String& value) { m_name = value; }
112 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
113 inline void SetName(const char* value) { m_name.assign(value); }
114 inline GetWorkflowStepExecutionResult& WithName(const Aws::String& value) { SetName(value); return *this;}
115 inline GetWorkflowStepExecutionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
116 inline GetWorkflowStepExecutionResult& WithName(const char* value) { SetName(value); return *this;}
118
120
123 inline const Aws::String& GetDescription() const{ return m_description; }
124 inline void SetDescription(const Aws::String& value) { m_description = value; }
125 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
126 inline void SetDescription(const char* value) { m_description.assign(value); }
127 inline GetWorkflowStepExecutionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
128 inline GetWorkflowStepExecutionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
129 inline GetWorkflowStepExecutionResult& WithDescription(const char* value) { SetDescription(value); return *this;}
131
133
136 inline const Aws::String& GetAction() const{ return m_action; }
137 inline void SetAction(const Aws::String& value) { m_action = value; }
138 inline void SetAction(Aws::String&& value) { m_action = std::move(value); }
139 inline void SetAction(const char* value) { m_action.assign(value); }
140 inline GetWorkflowStepExecutionResult& WithAction(const Aws::String& value) { SetAction(value); return *this;}
141 inline GetWorkflowStepExecutionResult& WithAction(Aws::String&& value) { SetAction(std::move(value)); return *this;}
142 inline GetWorkflowStepExecutionResult& WithAction(const char* value) { SetAction(value); return *this;}
144
146
150 inline const WorkflowStepExecutionStatus& GetStatus() const{ return m_status; }
151 inline void SetStatus(const WorkflowStepExecutionStatus& value) { m_status = value; }
152 inline void SetStatus(WorkflowStepExecutionStatus&& value) { m_status = std::move(value); }
154 inline GetWorkflowStepExecutionResult& WithStatus(WorkflowStepExecutionStatus&& value) { SetStatus(std::move(value)); return *this;}
156
158
162 inline const WorkflowStepExecutionRollbackStatus& GetRollbackStatus() const{ return m_rollbackStatus; }
163 inline void SetRollbackStatus(const WorkflowStepExecutionRollbackStatus& value) { m_rollbackStatus = value; }
164 inline void SetRollbackStatus(WorkflowStepExecutionRollbackStatus&& value) { m_rollbackStatus = std::move(value); }
168
170
174 inline const Aws::String& GetMessage() const{ return m_message; }
175 inline void SetMessage(const Aws::String& value) { m_message = value; }
176 inline void SetMessage(Aws::String&& value) { m_message = std::move(value); }
177 inline void SetMessage(const char* value) { m_message.assign(value); }
178 inline GetWorkflowStepExecutionResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
179 inline GetWorkflowStepExecutionResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
180 inline GetWorkflowStepExecutionResult& WithMessage(const char* value) { SetMessage(value); return *this;}
182
184
188 inline const Aws::String& GetInputs() const{ return m_inputs; }
189 inline void SetInputs(const Aws::String& value) { m_inputs = value; }
190 inline void SetInputs(Aws::String&& value) { m_inputs = std::move(value); }
191 inline void SetInputs(const char* value) { m_inputs.assign(value); }
192 inline GetWorkflowStepExecutionResult& WithInputs(const Aws::String& value) { SetInputs(value); return *this;}
193 inline GetWorkflowStepExecutionResult& WithInputs(Aws::String&& value) { SetInputs(std::move(value)); return *this;}
194 inline GetWorkflowStepExecutionResult& WithInputs(const char* value) { SetInputs(value); return *this;}
196
198
202 inline const Aws::String& GetOutputs() const{ return m_outputs; }
203 inline void SetOutputs(const Aws::String& value) { m_outputs = value; }
204 inline void SetOutputs(Aws::String&& value) { m_outputs = std::move(value); }
205 inline void SetOutputs(const char* value) { m_outputs.assign(value); }
206 inline GetWorkflowStepExecutionResult& WithOutputs(const Aws::String& value) { SetOutputs(value); return *this;}
207 inline GetWorkflowStepExecutionResult& WithOutputs(Aws::String&& value) { SetOutputs(std::move(value)); return *this;}
208 inline GetWorkflowStepExecutionResult& WithOutputs(const char* value) { SetOutputs(value); return *this;}
210
212
216 inline const Aws::String& GetStartTime() const{ return m_startTime; }
217 inline void SetStartTime(const Aws::String& value) { m_startTime = value; }
218 inline void SetStartTime(Aws::String&& value) { m_startTime = std::move(value); }
219 inline void SetStartTime(const char* value) { m_startTime.assign(value); }
220 inline GetWorkflowStepExecutionResult& WithStartTime(const Aws::String& value) { SetStartTime(value); return *this;}
221 inline GetWorkflowStepExecutionResult& WithStartTime(Aws::String&& value) { SetStartTime(std::move(value)); return *this;}
222 inline GetWorkflowStepExecutionResult& WithStartTime(const char* value) { SetStartTime(value); return *this;}
224
226
230 inline const Aws::String& GetEndTime() const{ return m_endTime; }
231 inline void SetEndTime(const Aws::String& value) { m_endTime = value; }
232 inline void SetEndTime(Aws::String&& value) { m_endTime = std::move(value); }
233 inline void SetEndTime(const char* value) { m_endTime.assign(value); }
234 inline GetWorkflowStepExecutionResult& WithEndTime(const Aws::String& value) { SetEndTime(value); return *this;}
235 inline GetWorkflowStepExecutionResult& WithEndTime(Aws::String&& value) { SetEndTime(std::move(value)); return *this;}
236 inline GetWorkflowStepExecutionResult& WithEndTime(const char* value) { SetEndTime(value); return *this;}
238
240
243 inline const Aws::String& GetOnFailure() const{ return m_onFailure; }
244 inline void SetOnFailure(const Aws::String& value) { m_onFailure = value; }
245 inline void SetOnFailure(Aws::String&& value) { m_onFailure = std::move(value); }
246 inline void SetOnFailure(const char* value) { m_onFailure.assign(value); }
247 inline GetWorkflowStepExecutionResult& WithOnFailure(const Aws::String& value) { SetOnFailure(value); return *this;}
248 inline GetWorkflowStepExecutionResult& WithOnFailure(Aws::String&& value) { SetOnFailure(std::move(value)); return *this;}
249 inline GetWorkflowStepExecutionResult& WithOnFailure(const char* value) { SetOnFailure(value); return *this;}
251
253
256 inline int GetTimeoutSeconds() const{ return m_timeoutSeconds; }
257 inline void SetTimeoutSeconds(int value) { m_timeoutSeconds = value; }
258 inline GetWorkflowStepExecutionResult& WithTimeoutSeconds(int value) { SetTimeoutSeconds(value); return *this;}
260 private:
261
262 Aws::String m_requestId;
263
264 Aws::String m_stepExecutionId;
265
266 Aws::String m_workflowBuildVersionArn;
267
268 Aws::String m_workflowExecutionId;
269
270 Aws::String m_imageBuildVersionArn;
271
272 Aws::String m_name;
273
274 Aws::String m_description;
275
276 Aws::String m_action;
277
279
281
282 Aws::String m_message;
283
284 Aws::String m_inputs;
285
286 Aws::String m_outputs;
287
288 Aws::String m_startTime;
289
290 Aws::String m_endTime;
291
292 Aws::String m_onFailure;
293
294 int m_timeoutSeconds;
295 };
296
297} // namespace Model
298} // namespace imagebuilder
299} // namespace Aws
GetWorkflowStepExecutionResult & WithOutputs(const char *value)
GetWorkflowStepExecutionResult & WithWorkflowExecutionId(Aws::String &&value)
GetWorkflowStepExecutionResult & WithStatus(WorkflowStepExecutionStatus &&value)
GetWorkflowStepExecutionResult & WithWorkflowBuildVersionArn(Aws::String &&value)
GetWorkflowStepExecutionResult & WithOnFailure(const Aws::String &value)
GetWorkflowStepExecutionResult & WithAction(const Aws::String &value)
GetWorkflowStepExecutionResult & WithMessage(Aws::String &&value)
GetWorkflowStepExecutionResult & WithStartTime(const char *value)
GetWorkflowStepExecutionResult & WithStepExecutionId(Aws::String &&value)
GetWorkflowStepExecutionResult & WithEndTime(const Aws::String &value)
GetWorkflowStepExecutionResult & WithStartTime(const Aws::String &value)
GetWorkflowStepExecutionResult & WithRollbackStatus(const WorkflowStepExecutionRollbackStatus &value)
GetWorkflowStepExecutionResult & WithStatus(const WorkflowStepExecutionStatus &value)
GetWorkflowStepExecutionResult & WithMessage(const char *value)
GetWorkflowStepExecutionResult & WithStartTime(Aws::String &&value)
GetWorkflowStepExecutionResult & WithInputs(Aws::String &&value)
GetWorkflowStepExecutionResult & WithRequestId(const char *value)
void SetRollbackStatus(const WorkflowStepExecutionRollbackStatus &value)
GetWorkflowStepExecutionResult & WithOutputs(Aws::String &&value)
GetWorkflowStepExecutionResult & WithInputs(const Aws::String &value)
GetWorkflowStepExecutionResult & WithOutputs(const Aws::String &value)
GetWorkflowStepExecutionResult & WithRequestId(Aws::String &&value)
GetWorkflowStepExecutionResult & WithOnFailure(Aws::String &&value)
GetWorkflowStepExecutionResult & WithStepExecutionId(const char *value)
GetWorkflowStepExecutionResult & WithName(const char *value)
GetWorkflowStepExecutionResult & WithImageBuildVersionArn(const char *value)
GetWorkflowStepExecutionResult & WithAction(Aws::String &&value)
GetWorkflowStepExecutionResult & WithEndTime(Aws::String &&value)
GetWorkflowStepExecutionResult & WithDescription(const Aws::String &value)
GetWorkflowStepExecutionResult & WithWorkflowExecutionId(const char *value)
GetWorkflowStepExecutionResult & WithRequestId(const Aws::String &value)
GetWorkflowStepExecutionResult & WithAction(const char *value)
GetWorkflowStepExecutionResult & WithName(const Aws::String &value)
GetWorkflowStepExecutionResult & WithOnFailure(const char *value)
GetWorkflowStepExecutionResult & WithImageBuildVersionArn(Aws::String &&value)
GetWorkflowStepExecutionResult & WithWorkflowBuildVersionArn(const char *value)
GetWorkflowStepExecutionResult & WithName(Aws::String &&value)
GetWorkflowStepExecutionResult & WithStepExecutionId(const Aws::String &value)
GetWorkflowStepExecutionResult & WithInputs(const char *value)
GetWorkflowStepExecutionResult & WithWorkflowExecutionId(const Aws::String &value)
GetWorkflowStepExecutionResult & WithDescription(const char *value)
const WorkflowStepExecutionRollbackStatus & GetRollbackStatus() const
GetWorkflowStepExecutionResult & WithMessage(const Aws::String &value)
AWS_IMAGEBUILDER_API GetWorkflowStepExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWorkflowStepExecutionResult & WithImageBuildVersionArn(const Aws::String &value)
GetWorkflowStepExecutionResult & WithWorkflowBuildVersionArn(const Aws::String &value)
AWS_IMAGEBUILDER_API GetWorkflowStepExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWorkflowStepExecutionResult & WithDescription(Aws::String &&value)
GetWorkflowStepExecutionResult & WithEndTime(const char *value)
GetWorkflowStepExecutionResult & WithRollbackStatus(WorkflowStepExecutionRollbackStatus &&value)
void SetRollbackStatus(WorkflowStepExecutionRollbackStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue