AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StepSummary.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 <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace deadline
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_DEADLINE_API StepSummary();
41 AWS_DEADLINE_API StepSummary(Aws::Utils::Json::JsonView jsonValue);
42 AWS_DEADLINE_API StepSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetStepId() const{ return m_stepId; }
51 inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; }
52 inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; }
53 inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); }
54 inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); }
55 inline StepSummary& WithStepId(const Aws::String& value) { SetStepId(value); return *this;}
56 inline StepSummary& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;}
57 inline StepSummary& WithStepId(const char* value) { SetStepId(value); return *this;}
59
61
64 inline const Aws::String& GetName() const{ return m_name; }
65 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
66 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
67 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
68 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
69 inline StepSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
70 inline StepSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
71 inline StepSummary& WithName(const char* value) { SetName(value); return *this;}
73
75
78 inline const StepLifecycleStatus& GetLifecycleStatus() const{ return m_lifecycleStatus; }
79 inline bool LifecycleStatusHasBeenSet() const { return m_lifecycleStatusHasBeenSet; }
80 inline void SetLifecycleStatus(const StepLifecycleStatus& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = value; }
81 inline void SetLifecycleStatus(StepLifecycleStatus&& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = std::move(value); }
82 inline StepSummary& WithLifecycleStatus(const StepLifecycleStatus& value) { SetLifecycleStatus(value); return *this;}
83 inline StepSummary& WithLifecycleStatus(StepLifecycleStatus&& value) { SetLifecycleStatus(std::move(value)); return *this;}
85
87
90 inline const Aws::String& GetLifecycleStatusMessage() const{ return m_lifecycleStatusMessage; }
91 inline bool LifecycleStatusMessageHasBeenSet() const { return m_lifecycleStatusMessageHasBeenSet; }
92 inline void SetLifecycleStatusMessage(const Aws::String& value) { m_lifecycleStatusMessageHasBeenSet = true; m_lifecycleStatusMessage = value; }
93 inline void SetLifecycleStatusMessage(Aws::String&& value) { m_lifecycleStatusMessageHasBeenSet = true; m_lifecycleStatusMessage = std::move(value); }
94 inline void SetLifecycleStatusMessage(const char* value) { m_lifecycleStatusMessageHasBeenSet = true; m_lifecycleStatusMessage.assign(value); }
95 inline StepSummary& WithLifecycleStatusMessage(const Aws::String& value) { SetLifecycleStatusMessage(value); return *this;}
96 inline StepSummary& WithLifecycleStatusMessage(Aws::String&& value) { SetLifecycleStatusMessage(std::move(value)); return *this;}
97 inline StepSummary& WithLifecycleStatusMessage(const char* value) { SetLifecycleStatusMessage(value); return *this;}
99
101
114 inline const TaskRunStatus& GetTaskRunStatus() const{ return m_taskRunStatus; }
115 inline bool TaskRunStatusHasBeenSet() const { return m_taskRunStatusHasBeenSet; }
116 inline void SetTaskRunStatus(const TaskRunStatus& value) { m_taskRunStatusHasBeenSet = true; m_taskRunStatus = value; }
117 inline void SetTaskRunStatus(TaskRunStatus&& value) { m_taskRunStatusHasBeenSet = true; m_taskRunStatus = std::move(value); }
118 inline StepSummary& WithTaskRunStatus(const TaskRunStatus& value) { SetTaskRunStatus(value); return *this;}
119 inline StepSummary& WithTaskRunStatus(TaskRunStatus&& value) { SetTaskRunStatus(std::move(value)); return *this;}
121
123
126 inline const Aws::Map<TaskRunStatus, int>& GetTaskRunStatusCounts() const{ return m_taskRunStatusCounts; }
127 inline bool TaskRunStatusCountsHasBeenSet() const { return m_taskRunStatusCountsHasBeenSet; }
128 inline void SetTaskRunStatusCounts(const Aws::Map<TaskRunStatus, int>& value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts = value; }
129 inline void SetTaskRunStatusCounts(Aws::Map<TaskRunStatus, int>&& value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts = std::move(value); }
132 inline StepSummary& AddTaskRunStatusCounts(const TaskRunStatus& key, int value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts.emplace(key, value); return *this; }
133 inline StepSummary& AddTaskRunStatusCounts(TaskRunStatus&& key, int value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts.emplace(std::move(key), value); return *this; }
135
137
140 inline const StepTargetTaskRunStatus& GetTargetTaskRunStatus() const{ return m_targetTaskRunStatus; }
141 inline bool TargetTaskRunStatusHasBeenSet() const { return m_targetTaskRunStatusHasBeenSet; }
142 inline void SetTargetTaskRunStatus(const StepTargetTaskRunStatus& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = value; }
143 inline void SetTargetTaskRunStatus(StepTargetTaskRunStatus&& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = std::move(value); }
145 inline StepSummary& WithTargetTaskRunStatus(StepTargetTaskRunStatus&& value) { SetTargetTaskRunStatus(std::move(value)); return *this;}
147
149
152 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
153 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
154 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
155 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
156 inline StepSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
157 inline StepSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
159
161
164 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
165 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
166 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
167 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
168 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
169 inline StepSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
170 inline StepSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
171 inline StepSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
173
175
178 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
179 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
180 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
181 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
182 inline StepSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
183 inline StepSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
185
187
190 inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; }
191 inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; }
192 inline void SetUpdatedBy(const Aws::String& value) { m_updatedByHasBeenSet = true; m_updatedBy = value; }
193 inline void SetUpdatedBy(Aws::String&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::move(value); }
194 inline void SetUpdatedBy(const char* value) { m_updatedByHasBeenSet = true; m_updatedBy.assign(value); }
195 inline StepSummary& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
196 inline StepSummary& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
197 inline StepSummary& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
199
201
204 inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; }
205 inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; }
206 inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAtHasBeenSet = true; m_startedAt = value; }
207 inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::move(value); }
208 inline StepSummary& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;}
209 inline StepSummary& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;}
211
213
216 inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; }
217 inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; }
218 inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; }
219 inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); }
220 inline StepSummary& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;}
221 inline StepSummary& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;}
223
225
228 inline const DependencyCounts& GetDependencyCounts() const{ return m_dependencyCounts; }
229 inline bool DependencyCountsHasBeenSet() const { return m_dependencyCountsHasBeenSet; }
230 inline void SetDependencyCounts(const DependencyCounts& value) { m_dependencyCountsHasBeenSet = true; m_dependencyCounts = value; }
231 inline void SetDependencyCounts(DependencyCounts&& value) { m_dependencyCountsHasBeenSet = true; m_dependencyCounts = std::move(value); }
232 inline StepSummary& WithDependencyCounts(const DependencyCounts& value) { SetDependencyCounts(value); return *this;}
233 inline StepSummary& WithDependencyCounts(DependencyCounts&& value) { SetDependencyCounts(std::move(value)); return *this;}
235 private:
236
237 Aws::String m_stepId;
238 bool m_stepIdHasBeenSet = false;
239
240 Aws::String m_name;
241 bool m_nameHasBeenSet = false;
242
243 StepLifecycleStatus m_lifecycleStatus;
244 bool m_lifecycleStatusHasBeenSet = false;
245
246 Aws::String m_lifecycleStatusMessage;
247 bool m_lifecycleStatusMessageHasBeenSet = false;
248
249 TaskRunStatus m_taskRunStatus;
250 bool m_taskRunStatusHasBeenSet = false;
251
252 Aws::Map<TaskRunStatus, int> m_taskRunStatusCounts;
253 bool m_taskRunStatusCountsHasBeenSet = false;
254
255 StepTargetTaskRunStatus m_targetTaskRunStatus;
256 bool m_targetTaskRunStatusHasBeenSet = false;
257
258 Aws::Utils::DateTime m_createdAt;
259 bool m_createdAtHasBeenSet = false;
260
261 Aws::String m_createdBy;
262 bool m_createdByHasBeenSet = false;
263
264 Aws::Utils::DateTime m_updatedAt;
265 bool m_updatedAtHasBeenSet = false;
266
267 Aws::String m_updatedBy;
268 bool m_updatedByHasBeenSet = false;
269
270 Aws::Utils::DateTime m_startedAt;
271 bool m_startedAtHasBeenSet = false;
272
273 Aws::Utils::DateTime m_endedAt;
274 bool m_endedAtHasBeenSet = false;
275
276 DependencyCounts m_dependencyCounts;
277 bool m_dependencyCountsHasBeenSet = false;
278 };
279
280} // namespace Model
281} // namespace deadline
282} // namespace Aws
void SetStepId(const Aws::String &value)
Definition StepSummary.h:52
void SetTaskRunStatus(const TaskRunStatus &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
StepSummary & WithEndedAt(Aws::Utils::DateTime &&value)
StepSummary & WithTargetTaskRunStatus(StepTargetTaskRunStatus &&value)
void SetStartedAt(Aws::Utils::DateTime &&value)
const TaskRunStatus & GetTaskRunStatus() const
StepSummary & WithName(Aws::String &&value)
Definition StepSummary.h:70
bool LifecycleStatusMessageHasBeenSet() const
Definition StepSummary.h:91
void SetName(const char *value)
Definition StepSummary.h:68
const Aws::String & GetStepId() const
Definition StepSummary.h:50
const StepTargetTaskRunStatus & GetTargetTaskRunStatus() const
void SetLifecycleStatusMessage(Aws::String &&value)
Definition StepSummary.h:93
void SetDependencyCounts(DependencyCounts &&value)
StepSummary & WithTaskRunStatus(TaskRunStatus &&value)
StepSummary & WithLifecycleStatus(StepLifecycleStatus &&value)
Definition StepSummary.h:83
StepSummary & WithUpdatedBy(Aws::String &&value)
StepSummary & WithStartedAt(const Aws::Utils::DateTime &value)
void SetEndedAt(Aws::Utils::DateTime &&value)
void SetTargetTaskRunStatus(const StepTargetTaskRunStatus &value)
void SetTargetTaskRunStatus(StepTargetTaskRunStatus &&value)
StepSummary & WithTaskRunStatus(const TaskRunStatus &value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetStartedAt() const
StepSummary & WithDependencyCounts(const DependencyCounts &value)
const DependencyCounts & GetDependencyCounts() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetLifecycleStatus(StepLifecycleStatus &&value)
Definition StepSummary.h:81
void SetStartedAt(const Aws::Utils::DateTime &value)
void SetStepId(Aws::String &&value)
Definition StepSummary.h:53
void SetCreatedBy(const Aws::String &value)
AWS_DEADLINE_API StepSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
StepSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
StepSummary & WithLifecycleStatusMessage(const char *value)
Definition StepSummary.h:97
StepSummary & WithTaskRunStatusCounts(const Aws::Map< TaskRunStatus, int > &value)
void SetTaskRunStatus(TaskRunStatus &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
void SetName(const Aws::String &value)
Definition StepSummary.h:66
StepSummary & WithLifecycleStatusMessage(Aws::String &&value)
Definition StepSummary.h:96
void SetTaskRunStatusCounts(Aws::Map< TaskRunStatus, int > &&value)
StepSummary & WithStartedAt(Aws::Utils::DateTime &&value)
StepSummary & AddTaskRunStatusCounts(TaskRunStatus &&key, int value)
StepSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
StepSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetCreatedBy(Aws::String &&value)
void SetLifecycleStatusMessage(const Aws::String &value)
Definition StepSummary.h:92
StepSummary & WithName(const char *value)
Definition StepSummary.h:71
const Aws::Utils::DateTime & GetCreatedAt() const
void SetTaskRunStatusCounts(const Aws::Map< TaskRunStatus, int > &value)
AWS_DEADLINE_API StepSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< TaskRunStatus, int > & GetTaskRunStatusCounts() const
const Aws::String & GetName() const
Definition StepSummary.h:64
StepSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetDependencyCounts(const DependencyCounts &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
StepSummary & AddTaskRunStatusCounts(const TaskRunStatus &key, int value)
StepSummary & WithLifecycleStatus(const StepLifecycleStatus &value)
Definition StepSummary.h:82
void SetLifecycleStatusMessage(const char *value)
Definition StepSummary.h:94
const Aws::String & GetLifecycleStatusMessage() const
Definition StepSummary.h:90
const Aws::Utils::DateTime & GetEndedAt() const
StepSummary & WithCreatedBy(const Aws::String &value)
void SetUpdatedBy(const Aws::String &value)
StepSummary & WithTaskRunStatusCounts(Aws::Map< TaskRunStatus, int > &&value)
StepSummary & WithCreatedBy(Aws::String &&value)
StepSummary & WithTargetTaskRunStatus(const StepTargetTaskRunStatus &value)
StepSummary & WithStepId(Aws::String &&value)
Definition StepSummary.h:56
StepSummary & WithStepId(const Aws::String &value)
Definition StepSummary.h:55
void SetEndedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetCreatedBy() const
StepSummary & WithUpdatedBy(const Aws::String &value)
StepSummary & WithEndedAt(const Aws::Utils::DateTime &value)
void SetStepId(const char *value)
Definition StepSummary.h:54
StepSummary & WithLifecycleStatusMessage(const Aws::String &value)
Definition StepSummary.h:95
void SetCreatedBy(const char *value)
StepSummary & WithUpdatedBy(const char *value)
StepSummary & WithName(const Aws::String &value)
Definition StepSummary.h:69
void SetCreatedAt(const Aws::Utils::DateTime &value)
const StepLifecycleStatus & GetLifecycleStatus() const
Definition StepSummary.h:78
void SetLifecycleStatus(const StepLifecycleStatus &value)
Definition StepSummary.h:80
StepSummary & WithCreatedBy(const char *value)
void SetUpdatedBy(Aws::String &&value)
void SetUpdatedBy(const char *value)
const Aws::String & GetUpdatedBy() const
StepSummary & WithStepId(const char *value)
Definition StepSummary.h:57
void SetName(Aws::String &&value)
Definition StepSummary.h:67
StepSummary & WithDependencyCounts(DependencyCounts &&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