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/DependencyCounts.h>
12#include <aws/deadline/model/ParameterSpace.h>
13#include <aws/deadline/model/StepLifecycleStatus.h>
14#include <aws/deadline/model/StepRequiredCapabilities.h>
15#include <aws/deadline/model/StepTargetTaskRunStatus.h>
16#include <aws/deadline/model/TaskRunStatus.h>
49 template <
typename FarmIdT = Aws::String>
51 m_farmIdHasBeenSet =
true;
52 m_farmId = std::forward<FarmIdT>(value);
54 template <
typename FarmIdT = Aws::String>
67 template <
typename QueueIdT = Aws::String>
69 m_queueIdHasBeenSet =
true;
70 m_queueId = std::forward<QueueIdT>(value);
72 template <
typename QueueIdT = Aws::String>
85 template <
typename JobIdT = Aws::String>
87 m_jobIdHasBeenSet =
true;
88 m_jobId = std::forward<JobIdT>(value);
90 template <
typename JobIdT = Aws::String>
92 SetJobId(std::forward<JobIdT>(value));
103 template <
typename StepIdT = Aws::String>
105 m_stepIdHasBeenSet =
true;
106 m_stepId = std::forward<StepIdT>(value);
108 template <
typename StepIdT = Aws::String>
121 template <
typename NameT = Aws::String>
123 m_nameHasBeenSet =
true;
124 m_name = std::forward<NameT>(value);
126 template <
typename NameT = Aws::String>
128 SetName(std::forward<NameT>(value));
140 m_lifecycleStatusHasBeenSet =
true;
141 m_lifecycleStatus = value;
155 template <
typename LifecycleStatusMessageT = Aws::String>
157 m_lifecycleStatusMessageHasBeenSet =
true;
158 m_lifecycleStatusMessage = std::forward<LifecycleStatusMessageT>(value);
160 template <
typename LifecycleStatusMessageT = Aws::String>
174 m_taskRunStatusHasBeenSet =
true;
175 m_taskRunStatus = value;
189 template <
typename TaskRunStatusCountsT = Aws::Map<TaskRunStatus,
int>>
191 m_taskRunStatusCountsHasBeenSet =
true;
192 m_taskRunStatusCounts = std::forward<TaskRunStatusCountsT>(value);
194 template <
typename TaskRunStatusCountsT = Aws::Map<TaskRunStatus,
int>>
200 m_taskRunStatusCountsHasBeenSet =
true;
201 m_taskRunStatusCounts.emplace(key, value);
213 m_taskFailureRetryCountHasBeenSet =
true;
214 m_taskFailureRetryCount = value;
229 m_targetTaskRunStatusHasBeenSet =
true;
230 m_targetTaskRunStatus = value;
244 template <
typename CreatedAtT = Aws::Utils::DateTime>
246 m_createdAtHasBeenSet =
true;
247 m_createdAt = std::forward<CreatedAtT>(value);
249 template <
typename CreatedAtT = Aws::Utils::DateTime>
262 template <
typename CreatedByT = Aws::String>
264 m_createdByHasBeenSet =
true;
265 m_createdBy = std::forward<CreatedByT>(value);
267 template <
typename CreatedByT = Aws::String>
280 template <
typename UpdatedAtT = Aws::Utils::DateTime>
282 m_updatedAtHasBeenSet =
true;
283 m_updatedAt = std::forward<UpdatedAtT>(value);
285 template <
typename UpdatedAtT = Aws::Utils::DateTime>
298 template <
typename UpdatedByT = Aws::String>
300 m_updatedByHasBeenSet =
true;
301 m_updatedBy = std::forward<UpdatedByT>(value);
303 template <
typename UpdatedByT = Aws::String>
316 template <
typename StartedAtT = Aws::Utils::DateTime>
318 m_startedAtHasBeenSet =
true;
319 m_startedAt = std::forward<StartedAtT>(value);
321 template <
typename StartedAtT = Aws::Utils::DateTime>
334 template <
typename EndedAtT = Aws::Utils::DateTime>
336 m_endedAtHasBeenSet =
true;
337 m_endedAt = std::forward<EndedAtT>(value);
339 template <
typename EndedAtT = Aws::Utils::DateTime>
352 template <
typename DependencyCountsT = DependencyCounts>
354 m_dependencyCountsHasBeenSet =
true;
355 m_dependencyCounts = std::forward<DependencyCountsT>(value);
357 template <
typename DependencyCountsT = DependencyCounts>
370 template <
typename RequiredCapabilitiesT = StepRequiredCapabilities>
372 m_requiredCapabilitiesHasBeenSet =
true;
373 m_requiredCapabilities = std::forward<RequiredCapabilitiesT>(value);
375 template <
typename RequiredCapabilitiesT = StepRequiredCapabilities>
388 template <
typename ParameterSpaceT = ParameterSpace>
390 m_parameterSpaceHasBeenSet =
true;
391 m_parameterSpace = std::forward<ParameterSpaceT>(value);
393 template <
typename ParameterSpaceT = ParameterSpace>
406 template <
typename DescriptionT = Aws::String>
408 m_descriptionHasBeenSet =
true;
409 m_description = std::forward<DescriptionT>(value);
411 template <
typename DescriptionT = Aws::String>
436 int m_taskFailureRetryCount{0};
452 DependencyCounts m_dependencyCounts;
454 StepRequiredCapabilities m_requiredCapabilities;
456 ParameterSpace m_parameterSpace;
459 bool m_farmIdHasBeenSet =
false;
460 bool m_queueIdHasBeenSet =
false;
461 bool m_jobIdHasBeenSet =
false;
462 bool m_stepIdHasBeenSet =
false;
463 bool m_nameHasBeenSet =
false;
464 bool m_lifecycleStatusHasBeenSet =
false;
465 bool m_lifecycleStatusMessageHasBeenSet =
false;
466 bool m_taskRunStatusHasBeenSet =
false;
467 bool m_taskRunStatusCountsHasBeenSet =
false;
468 bool m_taskFailureRetryCountHasBeenSet =
false;
469 bool m_targetTaskRunStatusHasBeenSet =
false;
470 bool m_createdAtHasBeenSet =
false;
471 bool m_createdByHasBeenSet =
false;
472 bool m_updatedAtHasBeenSet =
false;
473 bool m_updatedByHasBeenSet =
false;
474 bool m_startedAtHasBeenSet =
false;
475 bool m_endedAtHasBeenSet =
false;
476 bool m_dependencyCountsHasBeenSet =
false;
477 bool m_requiredCapabilitiesHasBeenSet =
false;
478 bool m_parameterSpaceHasBeenSet =
false;
479 bool m_descriptionHasBeenSet =
false;
BatchGetStepItem & WithStepId(StepIdT &&value)
BatchGetStepItem & WithFarmId(FarmIdT &&value)
bool FarmIdHasBeenSet() const
AWS_DEADLINE_API BatchGetStepItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUpdatedAt(UpdatedAtT &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetJobId() const
bool NameHasBeenSet() const
const Aws::Utils::DateTime & GetStartedAt() const
const Aws::Utils::DateTime & GetEndedAt() const
BatchGetStepItem & AddTaskRunStatusCounts(TaskRunStatus key, int value)
StepLifecycleStatus GetLifecycleStatus() const
void SetParameterSpace(ParameterSpaceT &&value)
void SetTaskRunStatus(TaskRunStatus value)
const ParameterSpace & GetParameterSpace() const
const Aws::Map< TaskRunStatus, int > & GetTaskRunStatusCounts() const
void SetDescription(DescriptionT &&value)
void SetJobId(JobIdT &&value)
bool ParameterSpaceHasBeenSet() const
void SetStepId(StepIdT &&value)
const DependencyCounts & GetDependencyCounts() const
const Aws::String & GetQueueId() const
const Aws::String & GetFarmId() const
void SetFarmId(FarmIdT &&value)
BatchGetStepItem & WithDependencyCounts(DependencyCountsT &&value)
bool QueueIdHasBeenSet() const
AWS_DEADLINE_API BatchGetStepItem(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetUpdatedBy() const
BatchGetStepItem & WithLifecycleStatus(StepLifecycleStatus value)
void SetDependencyCounts(DependencyCountsT &&value)
void SetCreatedAt(CreatedAtT &&value)
void SetEndedAt(EndedAtT &&value)
void SetTaskRunStatusCounts(TaskRunStatusCountsT &&value)
int GetTaskFailureRetryCount() const
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
BatchGetStepItem & WithJobId(JobIdT &&value)
BatchGetStepItem & WithDescription(DescriptionT &&value)
bool StartedAtHasBeenSet() const
bool RequiredCapabilitiesHasBeenSet() const
bool TaskRunStatusCountsHasBeenSet() const
BatchGetStepItem & WithCreatedAt(CreatedAtT &&value)
void SetQueueId(QueueIdT &&value)
BatchGetStepItem & WithTaskRunStatusCounts(TaskRunStatusCountsT &&value)
AWS_DEADLINE_API BatchGetStepItem()=default
BatchGetStepItem & WithName(NameT &&value)
bool TargetTaskRunStatusHasBeenSet() const
void SetStartedAt(StartedAtT &&value)
BatchGetStepItem & WithTaskRunStatus(TaskRunStatus value)
bool CreatedAtHasBeenSet() const
StepTargetTaskRunStatus GetTargetTaskRunStatus() const
void SetRequiredCapabilities(RequiredCapabilitiesT &&value)
BatchGetStepItem & WithRequiredCapabilities(RequiredCapabilitiesT &&value)
BatchGetStepItem & WithCreatedBy(CreatedByT &&value)
BatchGetStepItem & WithQueueId(QueueIdT &&value)
BatchGetStepItem & WithUpdatedAt(UpdatedAtT &&value)
void SetLifecycleStatus(StepLifecycleStatus value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool TaskFailureRetryCountHasBeenSet() const
void SetUpdatedBy(UpdatedByT &&value)
const Aws::String & GetLifecycleStatusMessage() const
bool EndedAtHasBeenSet() const
BatchGetStepItem & WithEndedAt(EndedAtT &&value)
void SetName(NameT &&value)
bool JobIdHasBeenSet() const
const Aws::String & GetCreatedBy() const
BatchGetStepItem & WithUpdatedBy(UpdatedByT &&value)
BatchGetStepItem & WithTargetTaskRunStatus(StepTargetTaskRunStatus value)
void SetTaskFailureRetryCount(int value)
BatchGetStepItem & WithStartedAt(StartedAtT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetDescription() const
void SetTargetTaskRunStatus(StepTargetTaskRunStatus value)
bool StepIdHasBeenSet() const
bool CreatedByHasBeenSet() const
bool TaskRunStatusHasBeenSet() const
bool UpdatedAtHasBeenSet() const
bool LifecycleStatusHasBeenSet() const
TaskRunStatus GetTaskRunStatus() const
void SetLifecycleStatusMessage(LifecycleStatusMessageT &&value)
BatchGetStepItem & WithLifecycleStatusMessage(LifecycleStatusMessageT &&value)
const StepRequiredCapabilities & GetRequiredCapabilities() const
BatchGetStepItem & WithTaskFailureRetryCount(int value)
BatchGetStepItem & WithParameterSpace(ParameterSpaceT &&value)
const Aws::String & GetStepId() const
bool LifecycleStatusMessageHasBeenSet() const
bool UpdatedByHasBeenSet() const
bool DependencyCountsHasBeenSet() const
const Aws::String & GetName() const
void SetCreatedBy(CreatedByT &&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