AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StepSearchSummary.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/deadline/model/StepTargetTaskRunStatus.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/deadline/model/ParameterSpace.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 StepSearchSummary();
41 AWS_DEADLINE_API StepSearchSummary(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 StepSearchSummary& WithStepId(const Aws::String& value) { SetStepId(value); return *this;}
56 inline StepSearchSummary& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;}
57 inline StepSearchSummary& WithStepId(const char* value) { SetStepId(value); return *this;}
59
61
64 inline const Aws::String& GetJobId() const{ return m_jobId; }
65 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
66 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
67 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
68 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
69 inline StepSearchSummary& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
70 inline StepSearchSummary& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
71 inline StepSearchSummary& WithJobId(const char* value) { SetJobId(value); return *this;}
73
75
78 inline const Aws::String& GetQueueId() const{ return m_queueId; }
79 inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
80 inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; }
81 inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); }
82 inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); }
83 inline StepSearchSummary& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;}
84 inline StepSearchSummary& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;}
85 inline StepSearchSummary& WithQueueId(const char* value) { SetQueueId(value); return *this;}
87
89
92 inline const Aws::String& GetName() const{ return m_name; }
93 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
94 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
95 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
96 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
97 inline StepSearchSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
98 inline StepSearchSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
99 inline StepSearchSummary& WithName(const char* value) { SetName(value); return *this;}
101
103
106 inline const StepLifecycleStatus& GetLifecycleStatus() const{ return m_lifecycleStatus; }
107 inline bool LifecycleStatusHasBeenSet() const { return m_lifecycleStatusHasBeenSet; }
108 inline void SetLifecycleStatus(const StepLifecycleStatus& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = value; }
109 inline void SetLifecycleStatus(StepLifecycleStatus&& value) { m_lifecycleStatusHasBeenSet = true; m_lifecycleStatus = std::move(value); }
111 inline StepSearchSummary& WithLifecycleStatus(StepLifecycleStatus&& value) { SetLifecycleStatus(std::move(value)); return *this;}
113
115
118 inline const Aws::String& GetLifecycleStatusMessage() const{ return m_lifecycleStatusMessage; }
119 inline bool LifecycleStatusMessageHasBeenSet() const { return m_lifecycleStatusMessageHasBeenSet; }
120 inline void SetLifecycleStatusMessage(const Aws::String& value) { m_lifecycleStatusMessageHasBeenSet = true; m_lifecycleStatusMessage = value; }
121 inline void SetLifecycleStatusMessage(Aws::String&& value) { m_lifecycleStatusMessageHasBeenSet = true; m_lifecycleStatusMessage = std::move(value); }
122 inline void SetLifecycleStatusMessage(const char* value) { m_lifecycleStatusMessageHasBeenSet = true; m_lifecycleStatusMessage.assign(value); }
124 inline StepSearchSummary& WithLifecycleStatusMessage(Aws::String&& value) { SetLifecycleStatusMessage(std::move(value)); return *this;}
125 inline StepSearchSummary& WithLifecycleStatusMessage(const char* value) { SetLifecycleStatusMessage(value); return *this;}
127
129
142 inline const TaskRunStatus& GetTaskRunStatus() const{ return m_taskRunStatus; }
143 inline bool TaskRunStatusHasBeenSet() const { return m_taskRunStatusHasBeenSet; }
144 inline void SetTaskRunStatus(const TaskRunStatus& value) { m_taskRunStatusHasBeenSet = true; m_taskRunStatus = value; }
145 inline void SetTaskRunStatus(TaskRunStatus&& value) { m_taskRunStatusHasBeenSet = true; m_taskRunStatus = std::move(value); }
146 inline StepSearchSummary& WithTaskRunStatus(const TaskRunStatus& value) { SetTaskRunStatus(value); return *this;}
147 inline StepSearchSummary& WithTaskRunStatus(TaskRunStatus&& value) { SetTaskRunStatus(std::move(value)); return *this;}
149
151
154 inline const StepTargetTaskRunStatus& GetTargetTaskRunStatus() const{ return m_targetTaskRunStatus; }
155 inline bool TargetTaskRunStatusHasBeenSet() const { return m_targetTaskRunStatusHasBeenSet; }
156 inline void SetTargetTaskRunStatus(const StepTargetTaskRunStatus& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = value; }
157 inline void SetTargetTaskRunStatus(StepTargetTaskRunStatus&& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = std::move(value); }
161
163
166 inline const Aws::Map<TaskRunStatus, int>& GetTaskRunStatusCounts() const{ return m_taskRunStatusCounts; }
167 inline bool TaskRunStatusCountsHasBeenSet() const { return m_taskRunStatusCountsHasBeenSet; }
168 inline void SetTaskRunStatusCounts(const Aws::Map<TaskRunStatus, int>& value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts = value; }
169 inline void SetTaskRunStatusCounts(Aws::Map<TaskRunStatus, int>&& value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts = std::move(value); }
172 inline StepSearchSummary& AddTaskRunStatusCounts(const TaskRunStatus& key, int value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts.emplace(key, value); return *this; }
173 inline StepSearchSummary& AddTaskRunStatusCounts(TaskRunStatus&& key, int value) { m_taskRunStatusCountsHasBeenSet = true; m_taskRunStatusCounts.emplace(std::move(key), value); return *this; }
175
177
180 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
181 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
182 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
183 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
184 inline StepSearchSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
185 inline StepSearchSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
187
189
192 inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; }
193 inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; }
194 inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAtHasBeenSet = true; m_startedAt = value; }
195 inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::move(value); }
196 inline StepSearchSummary& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;}
197 inline StepSearchSummary& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;}
199
201
204 inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; }
205 inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; }
206 inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAtHasBeenSet = true; m_endedAt = value; }
207 inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::move(value); }
208 inline StepSearchSummary& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;}
209 inline StepSearchSummary& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;}
211
213
216 inline const ParameterSpace& GetParameterSpace() const{ return m_parameterSpace; }
217 inline bool ParameterSpaceHasBeenSet() const { return m_parameterSpaceHasBeenSet; }
218 inline void SetParameterSpace(const ParameterSpace& value) { m_parameterSpaceHasBeenSet = true; m_parameterSpace = value; }
219 inline void SetParameterSpace(ParameterSpace&& value) { m_parameterSpaceHasBeenSet = true; m_parameterSpace = std::move(value); }
220 inline StepSearchSummary& WithParameterSpace(const ParameterSpace& value) { SetParameterSpace(value); return *this;}
221 inline StepSearchSummary& WithParameterSpace(ParameterSpace&& value) { SetParameterSpace(std::move(value)); return *this;}
223 private:
224
225 Aws::String m_stepId;
226 bool m_stepIdHasBeenSet = false;
227
228 Aws::String m_jobId;
229 bool m_jobIdHasBeenSet = false;
230
231 Aws::String m_queueId;
232 bool m_queueIdHasBeenSet = false;
233
234 Aws::String m_name;
235 bool m_nameHasBeenSet = false;
236
237 StepLifecycleStatus m_lifecycleStatus;
238 bool m_lifecycleStatusHasBeenSet = false;
239
240 Aws::String m_lifecycleStatusMessage;
241 bool m_lifecycleStatusMessageHasBeenSet = false;
242
243 TaskRunStatus m_taskRunStatus;
244 bool m_taskRunStatusHasBeenSet = false;
245
246 StepTargetTaskRunStatus m_targetTaskRunStatus;
247 bool m_targetTaskRunStatusHasBeenSet = false;
248
249 Aws::Map<TaskRunStatus, int> m_taskRunStatusCounts;
250 bool m_taskRunStatusCountsHasBeenSet = false;
251
252 Aws::Utils::DateTime m_createdAt;
253 bool m_createdAtHasBeenSet = false;
254
255 Aws::Utils::DateTime m_startedAt;
256 bool m_startedAtHasBeenSet = false;
257
258 Aws::Utils::DateTime m_endedAt;
259 bool m_endedAtHasBeenSet = false;
260
261 ParameterSpace m_parameterSpace;
262 bool m_parameterSpaceHasBeenSet = false;
263 };
264
265} // namespace Model
266} // namespace deadline
267} // namespace Aws
StepSearchSummary & AddTaskRunStatusCounts(const TaskRunStatus &key, int value)
StepSearchSummary & WithTaskRunStatus(TaskRunStatus &&value)
StepSearchSummary & WithTargetTaskRunStatus(const StepTargetTaskRunStatus &value)
void SetEndedAt(Aws::Utils::DateTime &&value)
StepSearchSummary & WithTaskRunStatusCounts(const Aws::Map< TaskRunStatus, int > &value)
void SetLifecycleStatusMessage(const Aws::String &value)
StepSearchSummary & WithEndedAt(const Aws::Utils::DateTime &value)
void SetLifecycleStatusMessage(Aws::String &&value)
void SetQueueId(const Aws::String &value)
const Aws::String & GetStepId() const
const StepTargetTaskRunStatus & GetTargetTaskRunStatus() const
StepSearchSummary & WithJobId(Aws::String &&value)
void SetStartedAt(const Aws::Utils::DateTime &value)
StepSearchSummary & WithLifecycleStatusMessage(const char *value)
StepSearchSummary & WithParameterSpace(ParameterSpace &&value)
void SetParameterSpace(ParameterSpace &&value)
StepSearchSummary & WithName(Aws::String &&value)
void SetTaskRunStatus(const TaskRunStatus &value)
const TaskRunStatus & GetTaskRunStatus() const
StepSearchSummary & WithTargetTaskRunStatus(StepTargetTaskRunStatus &&value)
StepSearchSummary & WithQueueId(const Aws::String &value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLifecycleStatus(const StepLifecycleStatus &value)
StepSearchSummary & WithLifecycleStatus(const StepLifecycleStatus &value)
StepSearchSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetTaskRunStatus(TaskRunStatus &&value)
void SetParameterSpace(const ParameterSpace &value)
StepSearchSummary & WithName(const Aws::String &value)
StepSearchSummary & WithJobId(const Aws::String &value)
StepSearchSummary & WithStepId(const char *value)
StepSearchSummary & WithEndedAt(Aws::Utils::DateTime &&value)
StepSearchSummary & WithName(const char *value)
StepSearchSummary & WithJobId(const char *value)
const Aws::String & GetQueueId() const
void SetTargetTaskRunStatus(StepTargetTaskRunStatus &&value)
StepSearchSummary & WithTaskRunStatus(const TaskRunStatus &value)
StepSearchSummary & WithParameterSpace(const ParameterSpace &value)
const Aws::Map< TaskRunStatus, int > & GetTaskRunStatusCounts() const
StepSearchSummary & AddTaskRunStatusCounts(TaskRunStatus &&key, int value)
void SetLifecycleStatus(StepLifecycleStatus &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
AWS_DEADLINE_API StepSearchSummary(Aws::Utils::Json::JsonView jsonValue)
StepSearchSummary & WithStepId(Aws::String &&value)
StepSearchSummary & WithStartedAt(const Aws::Utils::DateTime &value)
void SetTaskRunStatusCounts(const Aws::Map< TaskRunStatus, int > &value)
void SetEndedAt(const Aws::Utils::DateTime &value)
StepSearchSummary & WithLifecycleStatus(StepLifecycleStatus &&value)
StepSearchSummary & WithLifecycleStatusMessage(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
StepSearchSummary & WithQueueId(const char *value)
StepSearchSummary & WithQueueId(Aws::String &&value)
StepSearchSummary & WithTaskRunStatusCounts(Aws::Map< TaskRunStatus, int > &&value)
void SetTargetTaskRunStatus(const StepTargetTaskRunStatus &value)
const StepLifecycleStatus & GetLifecycleStatus() const
void SetTaskRunStatusCounts(Aws::Map< TaskRunStatus, int > &&value)
const ParameterSpace & GetParameterSpace() const
void SetJobId(const Aws::String &value)
StepSearchSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
AWS_DEADLINE_API StepSearchSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
void SetStartedAt(Aws::Utils::DateTime &&value)
void SetLifecycleStatusMessage(const char *value)
void SetStepId(const Aws::String &value)
StepSearchSummary & WithStepId(const Aws::String &value)
StepSearchSummary & WithStartedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetLifecycleStatusMessage() const
StepSearchSummary & WithLifecycleStatusMessage(Aws::String &&value)
const Aws::Utils::DateTime & GetEndedAt() const
const Aws::Utils::DateTime & GetStartedAt() const
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