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>
52 template<
typename StepIdT = Aws::String>
53 void SetStepId(StepIdT&& value) { m_stepIdHasBeenSet =
true; m_stepId = std::forward<StepIdT>(value); }
54 template<
typename StepIdT = Aws::String>
64 template<
typename JobIdT = Aws::String>
65 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet =
true; m_jobId = std::forward<JobIdT>(value); }
66 template<
typename JobIdT = Aws::String>
76 template<
typename QueueIdT = Aws::String>
77 void SetQueueId(QueueIdT&& value) { m_queueIdHasBeenSet =
true; m_queueId = std::forward<QueueIdT>(value); }
78 template<
typename QueueIdT = Aws::String>
88 template<
typename NameT = Aws::String>
89 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
90 template<
typename NameT = Aws::String>
110 template<
typename LifecycleStatusMessageT = Aws::String>
111 void SetLifecycleStatusMessage(LifecycleStatusMessageT&& value) { m_lifecycleStatusMessageHasBeenSet =
true; m_lifecycleStatusMessage = std::forward<LifecycleStatusMessageT>(value); }
112 template<
typename LifecycleStatusMessageT = Aws::String>
152 template<
typename TaskRunStatusCountsT = Aws::Map<TaskRunStatus,
int>>
153 void SetTaskRunStatusCounts(TaskRunStatusCountsT&& value) { m_taskRunStatusCountsHasBeenSet =
true; m_taskRunStatusCounts = std::forward<TaskRunStatusCountsT>(value); }
154 template<
typename TaskRunStatusCountsT = Aws::Map<TaskRunStatus,
int>>
157 m_taskRunStatusCountsHasBeenSet =
true; m_taskRunStatusCounts.emplace(key, value);
return *
this;
177 template<
typename CreatedAtT = Aws::Utils::DateTime>
178 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
179 template<
typename CreatedAtT = Aws::Utils::DateTime>
189 template<
typename StartedAtT = Aws::Utils::DateTime>
190 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet =
true; m_startedAt = std::forward<StartedAtT>(value); }
191 template<
typename StartedAtT = Aws::Utils::DateTime>
201 template<
typename EndedAtT = Aws::Utils::DateTime>
202 void SetEndedAt(EndedAtT&& value) { m_endedAtHasBeenSet =
true; m_endedAt = std::forward<EndedAtT>(value); }
203 template<
typename EndedAtT = Aws::Utils::DateTime>
213 template<
typename ParameterSpaceT = ParameterSpace>
214 void SetParameterSpace(ParameterSpaceT&& value) { m_parameterSpaceHasBeenSet =
true; m_parameterSpace = std::forward<ParameterSpaceT>(value); }
215 template<
typename ParameterSpaceT = ParameterSpace>
221 bool m_stepIdHasBeenSet =
false;
224 bool m_jobIdHasBeenSet =
false;
227 bool m_queueIdHasBeenSet =
false;
230 bool m_nameHasBeenSet =
false;
233 bool m_lifecycleStatusHasBeenSet =
false;
236 bool m_lifecycleStatusMessageHasBeenSet =
false;
239 bool m_taskRunStatusHasBeenSet =
false;
242 bool m_targetTaskRunStatusHasBeenSet =
false;
245 bool m_taskRunStatusCountsHasBeenSet =
false;
247 int m_taskFailureRetryCount{0};
248 bool m_taskFailureRetryCountHasBeenSet =
false;
251 bool m_createdAtHasBeenSet =
false;
254 bool m_startedAtHasBeenSet =
false;
257 bool m_endedAtHasBeenSet =
false;
259 ParameterSpace m_parameterSpace;
260 bool m_parameterSpaceHasBeenSet =
false;
bool StartedAtHasBeenSet() const
const Aws::String & GetName() const
bool StepIdHasBeenSet() const
void SetTaskRunStatusCounts(TaskRunStatusCountsT &&value)
StepSearchSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetJobId() const
bool LifecycleStatusMessageHasBeenSet() const
StepSearchSummary & WithTaskFailureRetryCount(int value)
bool TargetTaskRunStatusHasBeenSet() const
const Aws::String & GetStepId() const
void SetStartedAt(StartedAtT &&value)
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
void SetTaskRunStatus(TaskRunStatus value)
TaskRunStatus GetTaskRunStatus() const
StepSearchSummary & WithStepId(StepIdT &&value)
const Aws::String & GetQueueId() const
StepSearchSummary & AddTaskRunStatusCounts(TaskRunStatus key, int value)
const Aws::Map< TaskRunStatus, int > & GetTaskRunStatusCounts() const
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)
StepSearchSummary & WithTaskRunStatusCounts(TaskRunStatusCountsT &&value)
int GetTaskFailureRetryCount() const
StepSearchSummary & WithJobId(JobIdT &&value)
void SetTargetTaskRunStatus(StepTargetTaskRunStatus value)
StepSearchSummary & WithQueueId(QueueIdT &&value)
const ParameterSpace & GetParameterSpace() const
void SetEndedAt(EndedAtT &&value)
StepSearchSummary & WithTargetTaskRunStatus(StepTargetTaskRunStatus value)
void SetLifecycleStatusMessage(LifecycleStatusMessageT &&value)
void SetCreatedAt(CreatedAtT &&value)
void SetQueueId(QueueIdT &&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
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