AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetStepResult.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/deadline/model/StepLifecycleStatus.h>
10#include <aws/deadline/model/TaskRunStatus.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/deadline/model/StepTargetTaskRunStatus.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/deadline/model/DependencyCounts.h>
15#include <aws/deadline/model/StepRequiredCapabilities.h>
16#include <aws/deadline/model/ParameterSpace.h>
17#include <utility>
18
19namespace Aws
20{
21template<typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace deadline
32{
33namespace Model
34{
36 {
37 public:
38 AWS_DEADLINE_API GetStepResult();
41
42
44
47 inline const Aws::String& GetStepId() const{ return m_stepId; }
48 inline void SetStepId(const Aws::String& value) { m_stepId = value; }
49 inline void SetStepId(Aws::String&& value) { m_stepId = std::move(value); }
50 inline void SetStepId(const char* value) { m_stepId.assign(value); }
51 inline GetStepResult& WithStepId(const Aws::String& value) { SetStepId(value); return *this;}
52 inline GetStepResult& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;}
53 inline GetStepResult& WithStepId(const char* value) { SetStepId(value); return *this;}
55
57
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline void SetName(const Aws::String& value) { m_name = value; }
62 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
63 inline void SetName(const char* value) { m_name.assign(value); }
64 inline GetStepResult& WithName(const Aws::String& value) { SetName(value); return *this;}
65 inline GetStepResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
66 inline GetStepResult& WithName(const char* value) { SetName(value); return *this;}
68
70
73 inline const StepLifecycleStatus& GetLifecycleStatus() const{ return m_lifecycleStatus; }
74 inline void SetLifecycleStatus(const StepLifecycleStatus& value) { m_lifecycleStatus = value; }
75 inline void SetLifecycleStatus(StepLifecycleStatus&& value) { m_lifecycleStatus = std::move(value); }
76 inline GetStepResult& WithLifecycleStatus(const StepLifecycleStatus& value) { SetLifecycleStatus(value); return *this;}
77 inline GetStepResult& WithLifecycleStatus(StepLifecycleStatus&& value) { SetLifecycleStatus(std::move(value)); return *this;}
79
81
84 inline const Aws::String& GetLifecycleStatusMessage() const{ return m_lifecycleStatusMessage; }
85 inline void SetLifecycleStatusMessage(const Aws::String& value) { m_lifecycleStatusMessage = value; }
86 inline void SetLifecycleStatusMessage(Aws::String&& value) { m_lifecycleStatusMessage = std::move(value); }
87 inline void SetLifecycleStatusMessage(const char* value) { m_lifecycleStatusMessage.assign(value); }
89 inline GetStepResult& WithLifecycleStatusMessage(Aws::String&& value) { SetLifecycleStatusMessage(std::move(value)); return *this;}
90 inline GetStepResult& WithLifecycleStatusMessage(const char* value) { SetLifecycleStatusMessage(value); return *this;}
92
94
97 inline const TaskRunStatus& GetTaskRunStatus() const{ return m_taskRunStatus; }
98 inline void SetTaskRunStatus(const TaskRunStatus& value) { m_taskRunStatus = value; }
99 inline void SetTaskRunStatus(TaskRunStatus&& value) { m_taskRunStatus = std::move(value); }
100 inline GetStepResult& WithTaskRunStatus(const TaskRunStatus& value) { SetTaskRunStatus(value); return *this;}
101 inline GetStepResult& WithTaskRunStatus(TaskRunStatus&& value) { SetTaskRunStatus(std::move(value)); return *this;}
103
105
108 inline const Aws::Map<TaskRunStatus, int>& GetTaskRunStatusCounts() const{ return m_taskRunStatusCounts; }
109 inline void SetTaskRunStatusCounts(const Aws::Map<TaskRunStatus, int>& value) { m_taskRunStatusCounts = value; }
110 inline void SetTaskRunStatusCounts(Aws::Map<TaskRunStatus, int>&& value) { m_taskRunStatusCounts = std::move(value); }
113 inline GetStepResult& AddTaskRunStatusCounts(const TaskRunStatus& key, int value) { m_taskRunStatusCounts.emplace(key, value); return *this; }
114 inline GetStepResult& AddTaskRunStatusCounts(TaskRunStatus&& key, int value) { m_taskRunStatusCounts.emplace(std::move(key), value); return *this; }
116
118
121 inline const StepTargetTaskRunStatus& GetTargetTaskRunStatus() const{ return m_targetTaskRunStatus; }
122 inline void SetTargetTaskRunStatus(const StepTargetTaskRunStatus& value) { m_targetTaskRunStatus = value; }
123 inline void SetTargetTaskRunStatus(StepTargetTaskRunStatus&& value) { m_targetTaskRunStatus = std::move(value); }
125 inline GetStepResult& WithTargetTaskRunStatus(StepTargetTaskRunStatus&& value) { SetTargetTaskRunStatus(std::move(value)); return *this;}
127
129
132 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
133 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
134 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
135 inline GetStepResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
136 inline GetStepResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
138
140
143 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
144 inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; }
145 inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); }
146 inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); }
147 inline GetStepResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
148 inline GetStepResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
149 inline GetStepResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
151
153
156 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
157 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
158 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
159 inline GetStepResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
160 inline GetStepResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
162
164
167 inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; }
168 inline void SetUpdatedBy(const Aws::String& value) { m_updatedBy = value; }
169 inline void SetUpdatedBy(Aws::String&& value) { m_updatedBy = std::move(value); }
170 inline void SetUpdatedBy(const char* value) { m_updatedBy.assign(value); }
171 inline GetStepResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
172 inline GetStepResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
173 inline GetStepResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
175
177
180 inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; }
181 inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAt = value; }
182 inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAt = std::move(value); }
183 inline GetStepResult& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;}
184 inline GetStepResult& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;}
186
188
191 inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; }
192 inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAt = value; }
193 inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAt = std::move(value); }
194 inline GetStepResult& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;}
195 inline GetStepResult& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;}
197
199
202 inline const DependencyCounts& GetDependencyCounts() const{ return m_dependencyCounts; }
203 inline void SetDependencyCounts(const DependencyCounts& value) { m_dependencyCounts = value; }
204 inline void SetDependencyCounts(DependencyCounts&& value) { m_dependencyCounts = std::move(value); }
205 inline GetStepResult& WithDependencyCounts(const DependencyCounts& value) { SetDependencyCounts(value); return *this;}
206 inline GetStepResult& WithDependencyCounts(DependencyCounts&& value) { SetDependencyCounts(std::move(value)); return *this;}
208
210
213 inline const StepRequiredCapabilities& GetRequiredCapabilities() const{ return m_requiredCapabilities; }
214 inline void SetRequiredCapabilities(const StepRequiredCapabilities& value) { m_requiredCapabilities = value; }
215 inline void SetRequiredCapabilities(StepRequiredCapabilities&& value) { m_requiredCapabilities = std::move(value); }
219
221
224 inline const ParameterSpace& GetParameterSpace() const{ return m_parameterSpace; }
225 inline void SetParameterSpace(const ParameterSpace& value) { m_parameterSpace = value; }
226 inline void SetParameterSpace(ParameterSpace&& value) { m_parameterSpace = std::move(value); }
227 inline GetStepResult& WithParameterSpace(const ParameterSpace& value) { SetParameterSpace(value); return *this;}
228 inline GetStepResult& WithParameterSpace(ParameterSpace&& value) { SetParameterSpace(std::move(value)); return *this;}
230
232
237 inline const Aws::String& GetDescription() const{ return m_description; }
238 inline void SetDescription(const Aws::String& value) { m_description = value; }
239 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
240 inline void SetDescription(const char* value) { m_description.assign(value); }
241 inline GetStepResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
242 inline GetStepResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
243 inline GetStepResult& WithDescription(const char* value) { SetDescription(value); return *this;}
245
247
248 inline const Aws::String& GetRequestId() const{ return m_requestId; }
249 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
250 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
251 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
252 inline GetStepResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
253 inline GetStepResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
254 inline GetStepResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
256 private:
257
258 Aws::String m_stepId;
259
260 Aws::String m_name;
261
262 StepLifecycleStatus m_lifecycleStatus;
263
264 Aws::String m_lifecycleStatusMessage;
265
266 TaskRunStatus m_taskRunStatus;
267
268 Aws::Map<TaskRunStatus, int> m_taskRunStatusCounts;
269
270 StepTargetTaskRunStatus m_targetTaskRunStatus;
271
272 Aws::Utils::DateTime m_createdAt;
273
274 Aws::String m_createdBy;
275
276 Aws::Utils::DateTime m_updatedAt;
277
278 Aws::String m_updatedBy;
279
280 Aws::Utils::DateTime m_startedAt;
281
282 Aws::Utils::DateTime m_endedAt;
283
284 DependencyCounts m_dependencyCounts;
285
286 StepRequiredCapabilities m_requiredCapabilities;
287
288 ParameterSpace m_parameterSpace;
289
290 Aws::String m_description;
291
292 Aws::String m_requestId;
293 };
294
295} // namespace Model
296} // namespace deadline
297} // namespace Aws
GetStepResult & WithTaskRunStatus(TaskRunStatus &&value)
void SetRequestId(Aws::String &&value)
void SetTaskRunStatusCounts(const Aws::Map< TaskRunStatus, int > &value)
GetStepResult & WithParameterSpace(const ParameterSpace &value)
const ParameterSpace & GetParameterSpace() const
GetStepResult & WithDependencyCounts(const DependencyCounts &value)
GetStepResult & WithDescription(const Aws::String &value)
const StepRequiredCapabilities & GetRequiredCapabilities() const
AWS_DEADLINE_API GetStepResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetStepResult & WithName(Aws::String &&value)
GetStepResult & WithStartedAt(Aws::Utils::DateTime &&value)
void SetStepId(const char *value)
void SetTargetTaskRunStatus(const StepTargetTaskRunStatus &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetName(const Aws::String &value)
void SetCreatedBy(const char *value)
GetStepResult & WithCreatedBy(Aws::String &&value)
GetStepResult & WithName(const char *value)
GetStepResult & WithLifecycleStatus(StepLifecycleStatus &&value)
GetStepResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetLifecycleStatusMessage(const char *value)
void SetCreatedBy(Aws::String &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
GetStepResult & AddTaskRunStatusCounts(TaskRunStatus &&key, int value)
const DependencyCounts & GetDependencyCounts() const
void SetEndedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetUpdatedBy() const
void SetUpdatedBy(Aws::String &&value)
void SetTargetTaskRunStatus(StepTargetTaskRunStatus &&value)
const Aws::String & GetDescription() const
GetStepResult & WithTaskRunStatusCounts(Aws::Map< TaskRunStatus, int > &&value)
GetStepResult & WithDependencyCounts(DependencyCounts &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
GetStepResult & WithUpdatedBy(const char *value)
GetStepResult & WithStepId(Aws::String &&value)
void SetDescription(Aws::String &&value)
const StepTargetTaskRunStatus & GetTargetTaskRunStatus() const
GetStepResult & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetTaskRunStatus(TaskRunStatus &&value)
void SetDescription(const Aws::String &value)
const TaskRunStatus & GetTaskRunStatus() const
void SetDependencyCounts(const DependencyCounts &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetCreatedBy(const Aws::String &value)
void SetEndedAt(const Aws::Utils::DateTime &value)
void SetTaskRunStatus(const TaskRunStatus &value)
void SetStartedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetEndedAt() const
GetStepResult & WithTaskRunStatus(const TaskRunStatus &value)
GetStepResult & WithLifecycleStatusMessage(const char *value)
GetStepResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
GetStepResult & WithUpdatedBy(const Aws::String &value)
GetStepResult & WithTaskRunStatusCounts(const Aws::Map< TaskRunStatus, int > &value)
GetStepResult & WithDescription(Aws::String &&value)
void SetName(Aws::String &&value)
const Aws::String & GetRequestId() const
void SetLifecycleStatusMessage(Aws::String &&value)
void SetDescription(const char *value)
GetStepResult & WithStepId(const char *value)
void SetDependencyCounts(DependencyCounts &&value)
GetStepResult & WithCreatedBy(const char *value)
GetStepResult & WithRequiredCapabilities(const StepRequiredCapabilities &value)
void SetStepId(Aws::String &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetStepResult & WithTargetTaskRunStatus(StepTargetTaskRunStatus &&value)
const Aws::String & GetLifecycleStatusMessage() const
void SetStepId(const Aws::String &value)
GetStepResult & WithParameterSpace(ParameterSpace &&value)
GetStepResult & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetRequiredCapabilities(StepRequiredCapabilities &&value)
void SetUpdatedBy(const char *value)
void SetRequestId(const char *value)
GetStepResult & WithEndedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStartedAt() const
void SetTaskRunStatusCounts(Aws::Map< TaskRunStatus, int > &&value)
void SetStartedAt(const Aws::Utils::DateTime &value)
void SetName(const char *value)
GetStepResult & WithStartedAt(const Aws::Utils::DateTime &value)
GetStepResult & WithDescription(const char *value)
GetStepResult & WithRequiredCapabilities(StepRequiredCapabilities &&value)
GetStepResult & WithLifecycleStatusMessage(Aws::String &&value)
void SetUpdatedBy(const Aws::String &value)
void SetRequiredCapabilities(const StepRequiredCapabilities &value)
GetStepResult & WithUpdatedBy(Aws::String &&value)
GetStepResult & WithName(const Aws::String &value)
const StepLifecycleStatus & GetLifecycleStatus() const
void SetLifecycleStatusMessage(const Aws::String &value)
void SetParameterSpace(ParameterSpace &&value)
GetStepResult & WithCreatedBy(const Aws::String &value)
const Aws::Map< TaskRunStatus, int > & GetTaskRunStatusCounts() const
GetStepResult & AddTaskRunStatusCounts(const TaskRunStatus &key, int value)
const Aws::String & GetCreatedBy() const
GetStepResult & WithRequestId(const Aws::String &value)
const Aws::String & GetStepId() const
AWS_DEADLINE_API GetStepResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetStepResult & WithLifecycleStatusMessage(const Aws::String &value)
const Aws::String & GetName() const
GetStepResult & WithRequestId(Aws::String &&value)
void SetLifecycleStatus(StepLifecycleStatus &&value)
GetStepResult & WithTargetTaskRunStatus(const StepTargetTaskRunStatus &value)
GetStepResult & WithLifecycleStatus(const StepLifecycleStatus &value)
GetStepResult & WithRequestId(const char *value)
GetStepResult & WithStepId(const Aws::String &value)
void SetParameterSpace(const ParameterSpace &value)
GetStepResult & WithEndedAt(Aws::Utils::DateTime &&value)
void SetRequestId(const Aws::String &value)
void SetLifecycleStatus(const StepLifecycleStatus &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue