AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetWorkflowExecutionResult.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/WorkflowType.h>
10#include <aws/imagebuilder/model/WorkflowExecutionStatus.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 GetWorkflowExecutionResult();
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 GetWorkflowExecutionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
46 inline GetWorkflowExecutionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
47 inline GetWorkflowExecutionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
49
51
56 inline const Aws::String& GetWorkflowBuildVersionArn() const{ return m_workflowBuildVersionArn; }
57 inline void SetWorkflowBuildVersionArn(const Aws::String& value) { m_workflowBuildVersionArn = value; }
58 inline void SetWorkflowBuildVersionArn(Aws::String&& value) { m_workflowBuildVersionArn = std::move(value); }
59 inline void SetWorkflowBuildVersionArn(const char* value) { m_workflowBuildVersionArn.assign(value); }
62 inline GetWorkflowExecutionResult& WithWorkflowBuildVersionArn(const char* value) { SetWorkflowBuildVersionArn(value); return *this;}
64
66
70 inline const Aws::String& GetWorkflowExecutionId() const{ return m_workflowExecutionId; }
71 inline void SetWorkflowExecutionId(const Aws::String& value) { m_workflowExecutionId = value; }
72 inline void SetWorkflowExecutionId(Aws::String&& value) { m_workflowExecutionId = std::move(value); }
73 inline void SetWorkflowExecutionId(const char* value) { m_workflowExecutionId.assign(value); }
75 inline GetWorkflowExecutionResult& WithWorkflowExecutionId(Aws::String&& value) { SetWorkflowExecutionId(std::move(value)); return *this;}
76 inline GetWorkflowExecutionResult& WithWorkflowExecutionId(const char* value) { SetWorkflowExecutionId(value); return *this;}
78
80
84 inline const Aws::String& GetImageBuildVersionArn() const{ return m_imageBuildVersionArn; }
85 inline void SetImageBuildVersionArn(const Aws::String& value) { m_imageBuildVersionArn = value; }
86 inline void SetImageBuildVersionArn(Aws::String&& value) { m_imageBuildVersionArn = std::move(value); }
87 inline void SetImageBuildVersionArn(const char* value) { m_imageBuildVersionArn.assign(value); }
90 inline GetWorkflowExecutionResult& WithImageBuildVersionArn(const char* value) { SetImageBuildVersionArn(value); return *this;}
92
94
98 inline const WorkflowType& GetType() const{ return m_type; }
99 inline void SetType(const WorkflowType& value) { m_type = value; }
100 inline void SetType(WorkflowType&& value) { m_type = std::move(value); }
101 inline GetWorkflowExecutionResult& WithType(const WorkflowType& value) { SetType(value); return *this;}
102 inline GetWorkflowExecutionResult& WithType(WorkflowType&& value) { SetType(std::move(value)); return *this;}
104
106
110 inline const WorkflowExecutionStatus& GetStatus() const{ return m_status; }
111 inline void SetStatus(const WorkflowExecutionStatus& value) { m_status = value; }
112 inline void SetStatus(WorkflowExecutionStatus&& value) { m_status = std::move(value); }
113 inline GetWorkflowExecutionResult& WithStatus(const WorkflowExecutionStatus& value) { SetStatus(value); return *this;}
114 inline GetWorkflowExecutionResult& WithStatus(WorkflowExecutionStatus&& value) { SetStatus(std::move(value)); return *this;}
116
118
122 inline const Aws::String& GetMessage() const{ return m_message; }
123 inline void SetMessage(const Aws::String& value) { m_message = value; }
124 inline void SetMessage(Aws::String&& value) { m_message = std::move(value); }
125 inline void SetMessage(const char* value) { m_message.assign(value); }
126 inline GetWorkflowExecutionResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
127 inline GetWorkflowExecutionResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
128 inline GetWorkflowExecutionResult& WithMessage(const char* value) { SetMessage(value); return *this;}
130
132
137 inline int GetTotalStepCount() const{ return m_totalStepCount; }
138 inline void SetTotalStepCount(int value) { m_totalStepCount = value; }
139 inline GetWorkflowExecutionResult& WithTotalStepCount(int value) { SetTotalStepCount(value); return *this;}
141
143
147 inline int GetTotalStepsSucceeded() const{ return m_totalStepsSucceeded; }
148 inline void SetTotalStepsSucceeded(int value) { m_totalStepsSucceeded = value; }
151
153
157 inline int GetTotalStepsFailed() const{ return m_totalStepsFailed; }
158 inline void SetTotalStepsFailed(int value) { m_totalStepsFailed = value; }
159 inline GetWorkflowExecutionResult& WithTotalStepsFailed(int value) { SetTotalStepsFailed(value); return *this;}
161
163
167 inline int GetTotalStepsSkipped() const{ return m_totalStepsSkipped; }
168 inline void SetTotalStepsSkipped(int value) { m_totalStepsSkipped = value; }
171
173
177 inline const Aws::String& GetStartTime() const{ return m_startTime; }
178 inline void SetStartTime(const Aws::String& value) { m_startTime = value; }
179 inline void SetStartTime(Aws::String&& value) { m_startTime = std::move(value); }
180 inline void SetStartTime(const char* value) { m_startTime.assign(value); }
181 inline GetWorkflowExecutionResult& WithStartTime(const Aws::String& value) { SetStartTime(value); return *this;}
182 inline GetWorkflowExecutionResult& WithStartTime(Aws::String&& value) { SetStartTime(std::move(value)); return *this;}
183 inline GetWorkflowExecutionResult& WithStartTime(const char* value) { SetStartTime(value); return *this;}
185
187
191 inline const Aws::String& GetEndTime() const{ return m_endTime; }
192 inline void SetEndTime(const Aws::String& value) { m_endTime = value; }
193 inline void SetEndTime(Aws::String&& value) { m_endTime = std::move(value); }
194 inline void SetEndTime(const char* value) { m_endTime.assign(value); }
195 inline GetWorkflowExecutionResult& WithEndTime(const Aws::String& value) { SetEndTime(value); return *this;}
196 inline GetWorkflowExecutionResult& WithEndTime(Aws::String&& value) { SetEndTime(std::move(value)); return *this;}
197 inline GetWorkflowExecutionResult& WithEndTime(const char* value) { SetEndTime(value); return *this;}
199
201
205 inline const Aws::String& GetParallelGroup() const{ return m_parallelGroup; }
206 inline void SetParallelGroup(const Aws::String& value) { m_parallelGroup = value; }
207 inline void SetParallelGroup(Aws::String&& value) { m_parallelGroup = std::move(value); }
208 inline void SetParallelGroup(const char* value) { m_parallelGroup.assign(value); }
209 inline GetWorkflowExecutionResult& WithParallelGroup(const Aws::String& value) { SetParallelGroup(value); return *this;}
210 inline GetWorkflowExecutionResult& WithParallelGroup(Aws::String&& value) { SetParallelGroup(std::move(value)); return *this;}
211 inline GetWorkflowExecutionResult& WithParallelGroup(const char* value) { SetParallelGroup(value); return *this;}
213 private:
214
215 Aws::String m_requestId;
216
217 Aws::String m_workflowBuildVersionArn;
218
219 Aws::String m_workflowExecutionId;
220
221 Aws::String m_imageBuildVersionArn;
222
223 WorkflowType m_type;
224
226
227 Aws::String m_message;
228
229 int m_totalStepCount;
230
231 int m_totalStepsSucceeded;
232
233 int m_totalStepsFailed;
234
235 int m_totalStepsSkipped;
236
237 Aws::String m_startTime;
238
239 Aws::String m_endTime;
240
241 Aws::String m_parallelGroup;
242 };
243
244} // namespace Model
245} // namespace imagebuilder
246} // namespace Aws
GetWorkflowExecutionResult & WithEndTime(const char *value)
GetWorkflowExecutionResult & WithWorkflowBuildVersionArn(Aws::String &&value)
GetWorkflowExecutionResult & WithEndTime(Aws::String &&value)
GetWorkflowExecutionResult & WithMessage(const char *value)
GetWorkflowExecutionResult & WithParallelGroup(Aws::String &&value)
GetWorkflowExecutionResult & WithRequestId(const char *value)
AWS_IMAGEBUILDER_API GetWorkflowExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWorkflowExecutionResult & WithMessage(Aws::String &&value)
GetWorkflowExecutionResult & WithImageBuildVersionArn(const Aws::String &value)
GetWorkflowExecutionResult & WithRequestId(const Aws::String &value)
GetWorkflowExecutionResult & WithType(const WorkflowType &value)
GetWorkflowExecutionResult & WithParallelGroup(const Aws::String &value)
GetWorkflowExecutionResult & WithEndTime(const Aws::String &value)
GetWorkflowExecutionResult & WithMessage(const Aws::String &value)
GetWorkflowExecutionResult & WithImageBuildVersionArn(const char *value)
GetWorkflowExecutionResult & WithStatus(WorkflowExecutionStatus &&value)
GetWorkflowExecutionResult & WithType(WorkflowType &&value)
GetWorkflowExecutionResult & WithTotalStepsSkipped(int value)
GetWorkflowExecutionResult & WithTotalStepsFailed(int value)
GetWorkflowExecutionResult & WithWorkflowExecutionId(const char *value)
GetWorkflowExecutionResult & WithParallelGroup(const char *value)
GetWorkflowExecutionResult & WithImageBuildVersionArn(Aws::String &&value)
GetWorkflowExecutionResult & WithWorkflowExecutionId(const Aws::String &value)
AWS_IMAGEBUILDER_API GetWorkflowExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWorkflowExecutionResult & WithStartTime(const char *value)
GetWorkflowExecutionResult & WithRequestId(Aws::String &&value)
GetWorkflowExecutionResult & WithWorkflowBuildVersionArn(const Aws::String &value)
GetWorkflowExecutionResult & WithTotalStepsSucceeded(int value)
GetWorkflowExecutionResult & WithStatus(const WorkflowExecutionStatus &value)
GetWorkflowExecutionResult & WithWorkflowExecutionId(Aws::String &&value)
GetWorkflowExecutionResult & WithWorkflowBuildVersionArn(const char *value)
GetWorkflowExecutionResult & WithStartTime(const Aws::String &value)
GetWorkflowExecutionResult & WithStartTime(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue