7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/deadline/Deadline_EXPORTS.h>
11#include <aws/deadline/model/ParameterSpace.h>
12#include <aws/deadline/model/StepLifecycleStatus.h>
13#include <aws/deadline/model/StepTargetTaskRunStatus.h>
14#include <aws/deadline/model/TaskRunStatus.h>
46 template <
typename StepIdT = Aws::String>
48 m_stepIdHasBeenSet =
true;
49 m_stepId = std::forward<StepIdT>(value);
51 template <
typename StepIdT = Aws::String>
64 template <
typename JobIdT = Aws::String>
66 m_jobIdHasBeenSet =
true;
67 m_jobId = std::forward<JobIdT>(value);
69 template <
typename JobIdT = Aws::String>
71 SetJobId(std::forward<JobIdT>(value));
82 template <
typename QueueIdT = Aws::String>
84 m_queueIdHasBeenSet =
true;
85 m_queueId = std::forward<QueueIdT>(value);
87 template <
typename QueueIdT = Aws::String>
100 template <
typename NameT = Aws::String>
102 m_nameHasBeenSet =
true;
103 m_name = std::forward<NameT>(value);
105 template <
typename NameT = Aws::String>
107 SetName(std::forward<NameT>(value));
119 m_lifecycleStatusHasBeenSet =
true;
120 m_lifecycleStatus = value;
134 template <
typename LifecycleStatusMessageT = Aws::String>
136 m_lifecycleStatusMessageHasBeenSet =
true;
137 m_lifecycleStatusMessage = std::forward<LifecycleStatusMessageT>(value);
139 template <
typename LifecycleStatusMessageT = Aws::String>
163 m_taskRunStatusHasBeenSet =
true;
164 m_taskRunStatus = value;
179 m_targetTaskRunStatusHasBeenSet =
true;
180 m_targetTaskRunStatus = value;
194 template <
typename TaskRunStatusCountsT = Aws::Map<TaskRunStatus,
int>>
196 m_taskRunStatusCountsHasBeenSet =
true;
197 m_taskRunStatusCounts = std::forward<TaskRunStatusCountsT>(value);
199 template <
typename TaskRunStatusCountsT = Aws::Map<TaskRunStatus,
int>>
205 m_taskRunStatusCountsHasBeenSet =
true;
206 m_taskRunStatusCounts.emplace(key, value);
218 m_taskFailureRetryCountHasBeenSet =
true;
219 m_taskFailureRetryCount = value;
233 template <
typename CreatedAtT = Aws::Utils::DateTime>
235 m_createdAtHasBeenSet =
true;
236 m_createdAt = std::forward<CreatedAtT>(value);
238 template <
typename CreatedAtT = Aws::Utils::DateTime>
251 template <
typename CreatedByT = Aws::String>
253 m_createdByHasBeenSet =
true;
254 m_createdBy = std::forward<CreatedByT>(value);
256 template <
typename CreatedByT = Aws::String>
269 template <
typename StartedAtT = Aws::Utils::DateTime>
271 m_startedAtHasBeenSet =
true;
272 m_startedAt = std::forward<StartedAtT>(value);
274 template <
typename StartedAtT = Aws::Utils::DateTime>
287 template <
typename EndedAtT = Aws::Utils::DateTime>
289 m_endedAtHasBeenSet =
true;
290 m_endedAt = std::forward<EndedAtT>(value);
292 template <
typename EndedAtT = Aws::Utils::DateTime>
305 template <
typename UpdatedAtT = Aws::Utils::DateTime>
307 m_updatedAtHasBeenSet =
true;
308 m_updatedAt = std::forward<UpdatedAtT>(value);
310 template <
typename UpdatedAtT = Aws::Utils::DateTime>
323 template <
typename UpdatedByT = Aws::String>
325 m_updatedByHasBeenSet =
true;
326 m_updatedBy = std::forward<UpdatedByT>(value);
328 template <
typename UpdatedByT = Aws::String>
341 template <
typename ParameterSpaceT = ParameterSpace>
343 m_parameterSpaceHasBeenSet =
true;
344 m_parameterSpace = std::forward<ParameterSpaceT>(value);
346 template <
typename ParameterSpaceT = ParameterSpace>
371 int m_taskFailureRetryCount{0};
385 ParameterSpace m_parameterSpace;
386 bool m_stepIdHasBeenSet =
false;
387 bool m_jobIdHasBeenSet =
false;
388 bool m_queueIdHasBeenSet =
false;
389 bool m_nameHasBeenSet =
false;
390 bool m_lifecycleStatusHasBeenSet =
false;
391 bool m_lifecycleStatusMessageHasBeenSet =
false;
392 bool m_taskRunStatusHasBeenSet =
false;
393 bool m_targetTaskRunStatusHasBeenSet =
false;
394 bool m_taskRunStatusCountsHasBeenSet =
false;
395 bool m_taskFailureRetryCountHasBeenSet =
false;
396 bool m_createdAtHasBeenSet =
false;
397 bool m_createdByHasBeenSet =
false;
398 bool m_startedAtHasBeenSet =
false;
399 bool m_endedAtHasBeenSet =
false;
400 bool m_updatedAtHasBeenSet =
false;
401 bool m_updatedByHasBeenSet =
false;
402 bool m_parameterSpaceHasBeenSet =
false;
bool StartedAtHasBeenSet() const
const Aws::String & GetName() const
StepSearchSummary & WithUpdatedBy(UpdatedByT &&value)
bool StepIdHasBeenSet() const
void SetTaskRunStatusCounts(TaskRunStatusCountsT &&value)
StepSearchSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetJobId() const
bool LifecycleStatusMessageHasBeenSet() const
void SetCreatedBy(CreatedByT &&value)
StepSearchSummary & WithTaskFailureRetryCount(int value)
bool TargetTaskRunStatusHasBeenSet() const
const Aws::String & GetStepId() const
void SetStartedAt(StartedAtT &&value)
bool UpdatedByHasBeenSet() const
bool ParameterSpaceHasBeenSet() const
StepSearchSummary & WithStartedAt(StartedAtT &&value)
bool CreatedAtHasBeenSet() const
bool TaskRunStatusHasBeenSet() const
bool TaskRunStatusCountsHasBeenSet() const
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
StepSearchSummary & WithTaskRunStatus(TaskRunStatus value)
StepSearchSummary & WithParameterSpace(ParameterSpaceT &&value)
StepTargetTaskRunStatus GetTargetTaskRunStatus() const
const Aws::String & GetUpdatedBy() const
void SetTaskRunStatus(TaskRunStatus value)
TaskRunStatus GetTaskRunStatus() const
StepSearchSummary & WithStepId(StepIdT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetQueueId() const
StepSearchSummary & AddTaskRunStatusCounts(TaskRunStatus key, int value)
bool UpdatedAtHasBeenSet() const
const Aws::Map< TaskRunStatus, int > & GetTaskRunStatusCounts() const
void SetUpdatedBy(UpdatedByT &&value)
StepLifecycleStatus GetLifecycleStatus() const
bool NameHasBeenSet() const
bool EndedAtHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_DEADLINE_API StepSearchSummary(Aws::Utils::Json::JsonView jsonValue)
bool LifecycleStatusHasBeenSet() const
void SetTaskFailureRetryCount(int value)
StepSearchSummary & WithEndedAt(EndedAtT &&value)
StepSearchSummary & WithLifecycleStatusMessage(LifecycleStatusMessageT &&value)
StepSearchSummary & WithName(NameT &&value)
void SetStepId(StepIdT &&value)
const Aws::String & GetCreatedBy() const
StepSearchSummary & WithTaskRunStatusCounts(TaskRunStatusCountsT &&value)
int GetTaskFailureRetryCount() const
StepSearchSummary & WithJobId(JobIdT &&value)
void SetTargetTaskRunStatus(StepTargetTaskRunStatus value)
StepSearchSummary & WithCreatedBy(CreatedByT &&value)
StepSearchSummary & WithQueueId(QueueIdT &&value)
const ParameterSpace & GetParameterSpace() const
void SetEndedAt(EndedAtT &&value)
bool CreatedByHasBeenSet() const
StepSearchSummary & WithTargetTaskRunStatus(StepTargetTaskRunStatus value)
void SetLifecycleStatusMessage(LifecycleStatusMessageT &&value)
void SetCreatedAt(CreatedAtT &&value)
void SetQueueId(QueueIdT &&value)
StepSearchSummary & WithUpdatedAt(UpdatedAtT &&value)
AWS_DEADLINE_API StepSearchSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
void SetLifecycleStatus(StepLifecycleStatus value)
void SetJobId(JobIdT &&value)
StepSearchSummary & WithLifecycleStatus(StepLifecycleStatus value)
const Aws::String & GetLifecycleStatusMessage() const
void SetParameterSpace(ParameterSpaceT &&value)
bool TaskFailureRetryCountHasBeenSet() const
const Aws::Utils::DateTime & GetEndedAt() const
bool QueueIdHasBeenSet() const
const Aws::Utils::DateTime & GetStartedAt() const
void SetUpdatedAt(UpdatedAtT &&value)
AWS_DEADLINE_API StepSearchSummary()=default
bool JobIdHasBeenSet() 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