AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = 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 GetWorkflowExecutionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
47
49
54 inline const Aws::String& GetWorkflowBuildVersionArn() const { return m_workflowBuildVersionArn; }
55 template<typename WorkflowBuildVersionArnT = Aws::String>
56 void SetWorkflowBuildVersionArn(WorkflowBuildVersionArnT&& value) { m_workflowBuildVersionArnHasBeenSet = true; m_workflowBuildVersionArn = std::forward<WorkflowBuildVersionArnT>(value); }
57 template<typename WorkflowBuildVersionArnT = Aws::String>
58 GetWorkflowExecutionResult& WithWorkflowBuildVersionArn(WorkflowBuildVersionArnT&& value) { SetWorkflowBuildVersionArn(std::forward<WorkflowBuildVersionArnT>(value)); return *this;}
60
62
66 inline const Aws::String& GetWorkflowExecutionId() const { return m_workflowExecutionId; }
67 template<typename WorkflowExecutionIdT = Aws::String>
68 void SetWorkflowExecutionId(WorkflowExecutionIdT&& value) { m_workflowExecutionIdHasBeenSet = true; m_workflowExecutionId = std::forward<WorkflowExecutionIdT>(value); }
69 template<typename WorkflowExecutionIdT = Aws::String>
70 GetWorkflowExecutionResult& WithWorkflowExecutionId(WorkflowExecutionIdT&& value) { SetWorkflowExecutionId(std::forward<WorkflowExecutionIdT>(value)); return *this;}
72
74
78 inline const Aws::String& GetImageBuildVersionArn() const { return m_imageBuildVersionArn; }
79 template<typename ImageBuildVersionArnT = Aws::String>
80 void SetImageBuildVersionArn(ImageBuildVersionArnT&& value) { m_imageBuildVersionArnHasBeenSet = true; m_imageBuildVersionArn = std::forward<ImageBuildVersionArnT>(value); }
81 template<typename ImageBuildVersionArnT = Aws::String>
82 GetWorkflowExecutionResult& WithImageBuildVersionArn(ImageBuildVersionArnT&& value) { SetImageBuildVersionArn(std::forward<ImageBuildVersionArnT>(value)); return *this;}
84
86
90 inline WorkflowType GetType() const { return m_type; }
91 inline void SetType(WorkflowType value) { m_typeHasBeenSet = true; m_type = value; }
92 inline GetWorkflowExecutionResult& WithType(WorkflowType value) { SetType(value); return *this;}
94
96
100 inline WorkflowExecutionStatus GetStatus() const { return m_status; }
101 inline void SetStatus(WorkflowExecutionStatus value) { m_statusHasBeenSet = true; m_status = value; }
104
106
110 inline const Aws::String& GetMessage() const { return m_message; }
111 template<typename MessageT = Aws::String>
112 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
113 template<typename MessageT = Aws::String>
114 GetWorkflowExecutionResult& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
116
118
123 inline int GetTotalStepCount() const { return m_totalStepCount; }
124 inline void SetTotalStepCount(int value) { m_totalStepCountHasBeenSet = true; m_totalStepCount = value; }
125 inline GetWorkflowExecutionResult& WithTotalStepCount(int value) { SetTotalStepCount(value); return *this;}
127
129
133 inline int GetTotalStepsSucceeded() const { return m_totalStepsSucceeded; }
134 inline void SetTotalStepsSucceeded(int value) { m_totalStepsSucceededHasBeenSet = true; m_totalStepsSucceeded = value; }
137
139
143 inline int GetTotalStepsFailed() const { return m_totalStepsFailed; }
144 inline void SetTotalStepsFailed(int value) { m_totalStepsFailedHasBeenSet = true; m_totalStepsFailed = value; }
145 inline GetWorkflowExecutionResult& WithTotalStepsFailed(int value) { SetTotalStepsFailed(value); return *this;}
147
149
153 inline int GetTotalStepsSkipped() const { return m_totalStepsSkipped; }
154 inline void SetTotalStepsSkipped(int value) { m_totalStepsSkippedHasBeenSet = true; m_totalStepsSkipped = value; }
157
159
163 inline const Aws::String& GetStartTime() const { return m_startTime; }
164 template<typename StartTimeT = Aws::String>
165 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
166 template<typename StartTimeT = Aws::String>
167 GetWorkflowExecutionResult& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
169
171
175 inline const Aws::String& GetEndTime() const { return m_endTime; }
176 template<typename EndTimeT = Aws::String>
177 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
178 template<typename EndTimeT = Aws::String>
179 GetWorkflowExecutionResult& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
181
183
187 inline const Aws::String& GetParallelGroup() const { return m_parallelGroup; }
188 template<typename ParallelGroupT = Aws::String>
189 void SetParallelGroup(ParallelGroupT&& value) { m_parallelGroupHasBeenSet = true; m_parallelGroup = std::forward<ParallelGroupT>(value); }
190 template<typename ParallelGroupT = Aws::String>
191 GetWorkflowExecutionResult& WithParallelGroup(ParallelGroupT&& value) { SetParallelGroup(std::forward<ParallelGroupT>(value)); return *this;}
193 private:
194
195 Aws::String m_requestId;
196 bool m_requestIdHasBeenSet = false;
197
198 Aws::String m_workflowBuildVersionArn;
199 bool m_workflowBuildVersionArnHasBeenSet = false;
200
201 Aws::String m_workflowExecutionId;
202 bool m_workflowExecutionIdHasBeenSet = false;
203
204 Aws::String m_imageBuildVersionArn;
205 bool m_imageBuildVersionArnHasBeenSet = false;
206
208 bool m_typeHasBeenSet = false;
209
211 bool m_statusHasBeenSet = false;
212
213 Aws::String m_message;
214 bool m_messageHasBeenSet = false;
215
216 int m_totalStepCount{0};
217 bool m_totalStepCountHasBeenSet = false;
218
219 int m_totalStepsSucceeded{0};
220 bool m_totalStepsSucceededHasBeenSet = false;
221
222 int m_totalStepsFailed{0};
223 bool m_totalStepsFailedHasBeenSet = false;
224
225 int m_totalStepsSkipped{0};
226 bool m_totalStepsSkippedHasBeenSet = false;
227
228 Aws::String m_startTime;
229 bool m_startTimeHasBeenSet = false;
230
231 Aws::String m_endTime;
232 bool m_endTimeHasBeenSet = false;
233
234 Aws::String m_parallelGroup;
235 bool m_parallelGroupHasBeenSet = false;
236 };
237
238} // namespace Model
239} // namespace imagebuilder
240} // namespace Aws
GetWorkflowExecutionResult & WithMessage(MessageT &&value)
GetWorkflowExecutionResult & WithStatus(WorkflowExecutionStatus value)
AWS_IMAGEBUILDER_API GetWorkflowExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWorkflowExecutionResult & WithImageBuildVersionArn(ImageBuildVersionArnT &&value)
GetWorkflowExecutionResult & WithRequestId(RequestIdT &&value)
GetWorkflowExecutionResult & WithParallelGroup(ParallelGroupT &&value)
GetWorkflowExecutionResult & WithWorkflowExecutionId(WorkflowExecutionIdT &&value)
GetWorkflowExecutionResult & WithType(WorkflowType value)
GetWorkflowExecutionResult & WithWorkflowBuildVersionArn(WorkflowBuildVersionArnT &&value)
GetWorkflowExecutionResult & WithTotalStepsSkipped(int value)
GetWorkflowExecutionResult & WithTotalStepsFailed(int value)
AWS_IMAGEBUILDER_API GetWorkflowExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWorkflowExecutionResult & WithEndTime(EndTimeT &&value)
GetWorkflowExecutionResult & WithStartTime(StartTimeT &&value)
void SetWorkflowBuildVersionArn(WorkflowBuildVersionArnT &&value)
GetWorkflowExecutionResult & WithTotalStepsSucceeded(int value)
AWS_IMAGEBUILDER_API GetWorkflowExecutionResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue