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>
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 NameT = Aws::String>
65 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
66 template<
typename NameT = Aws::String>
86 template<
typename LifecycleStatusMessageT = Aws::String>
87 void SetLifecycleStatusMessage(LifecycleStatusMessageT&& value) { m_lifecycleStatusMessageHasBeenSet =
true; m_lifecycleStatusMessage = std::forward<LifecycleStatusMessageT>(value); }
88 template<
typename LifecycleStatusMessageT = Aws::String>
118 template<
typename TaskRunStatusCountsT = Aws::Map<TaskRunStatus,
int>>
119 void SetTaskRunStatusCounts(TaskRunStatusCountsT&& value) { m_taskRunStatusCountsHasBeenSet =
true; m_taskRunStatusCounts = std::forward<TaskRunStatusCountsT>(value); }
120 template<
typename TaskRunStatusCountsT = Aws::Map<TaskRunStatus,
int>>
123 m_taskRunStatusCountsHasBeenSet =
true; m_taskRunStatusCounts.emplace(key, value);
return *
this;
153 template<
typename CreatedAtT = Aws::Utils::DateTime>
154 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
155 template<
typename CreatedAtT = Aws::Utils::DateTime>
165 template<
typename CreatedByT = Aws::String>
166 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
167 template<
typename CreatedByT = Aws::String>
177 template<
typename UpdatedAtT = Aws::Utils::DateTime>
178 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
179 template<
typename UpdatedAtT = Aws::Utils::DateTime>
189 template<
typename UpdatedByT = Aws::String>
190 void SetUpdatedBy(UpdatedByT&& value) { m_updatedByHasBeenSet =
true; m_updatedBy = std::forward<UpdatedByT>(value); }
191 template<
typename UpdatedByT = Aws::String>
201 template<
typename StartedAtT = Aws::Utils::DateTime>
202 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet =
true; m_startedAt = std::forward<StartedAtT>(value); }
203 template<
typename StartedAtT = Aws::Utils::DateTime>
213 template<
typename EndedAtT = Aws::Utils::DateTime>
214 void SetEndedAt(EndedAtT&& value) { m_endedAtHasBeenSet =
true; m_endedAt = std::forward<EndedAtT>(value); }
215 template<
typename EndedAtT = Aws::Utils::DateTime>
225 template<
typename DependencyCountsT = DependencyCounts>
226 void SetDependencyCounts(DependencyCountsT&& value) { m_dependencyCountsHasBeenSet =
true; m_dependencyCounts = std::forward<DependencyCountsT>(value); }
227 template<
typename DependencyCountsT = DependencyCounts>
233 bool m_stepIdHasBeenSet =
false;
236 bool m_nameHasBeenSet =
false;
239 bool m_lifecycleStatusHasBeenSet =
false;
242 bool m_lifecycleStatusMessageHasBeenSet =
false;
245 bool m_taskRunStatusHasBeenSet =
false;
248 bool m_taskRunStatusCountsHasBeenSet =
false;
250 int m_taskFailureRetryCount{0};
251 bool m_taskFailureRetryCountHasBeenSet =
false;
254 bool m_targetTaskRunStatusHasBeenSet =
false;
257 bool m_createdAtHasBeenSet =
false;
260 bool m_createdByHasBeenSet =
false;
263 bool m_updatedAtHasBeenSet =
false;
266 bool m_updatedByHasBeenSet =
false;
269 bool m_startedAtHasBeenSet =
false;
272 bool m_endedAtHasBeenSet =
false;
274 DependencyCounts m_dependencyCounts;
275 bool m_dependencyCountsHasBeenSet =
false;
void SetTaskFailureRetryCount(int value)
bool CreatedAtHasBeenSet() const
void SetLifecycleStatusMessage(LifecycleStatusMessageT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
bool StepIdHasBeenSet() const
StepSummary & WithCreatedBy(CreatedByT &&value)
bool TaskFailureRetryCountHasBeenSet() const
StepSummary & WithEndedAt(EndedAtT &&value)
StepSummary & WithTaskRunStatusCounts(TaskRunStatusCountsT &&value)
AWS_DEADLINE_API StepSummary()=default
bool LifecycleStatusMessageHasBeenSet() const
StepSummary & WithTaskFailureRetryCount(int value)
StepSummary & AddTaskRunStatusCounts(TaskRunStatus key, int value)
bool CreatedByHasBeenSet() const
bool EndedAtHasBeenSet() const
const Aws::String & GetStepId() const
StepSummary & WithStepId(StepIdT &&value)
bool UpdatedByHasBeenSet() const
bool StartedAtHasBeenSet() const
bool UpdatedAtHasBeenSet() const
StepSummary & WithUpdatedAt(UpdatedAtT &&value)
bool TaskRunStatusHasBeenSet() const
bool DependencyCountsHasBeenSet() const
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetStartedAt() const
void SetTargetTaskRunStatus(StepTargetTaskRunStatus value)
void SetCreatedBy(CreatedByT &&value)
const DependencyCounts & GetDependencyCounts() const
void SetCreatedAt(CreatedAtT &&value)
bool TargetTaskRunStatusHasBeenSet() const
AWS_DEADLINE_API StepSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDependencyCounts(DependencyCountsT &&value)
StepTargetTaskRunStatus GetTargetTaskRunStatus() const
void SetTaskRunStatusCounts(TaskRunStatusCountsT &&value)
StepSummary & WithStartedAt(StartedAtT &&value)
StepSummary & WithCreatedAt(CreatedAtT &&value)
void SetUpdatedBy(UpdatedByT &&value)
StepSummary & WithLifecycleStatus(StepLifecycleStatus value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_DEADLINE_API StepSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< TaskRunStatus, int > & GetTaskRunStatusCounts() const
const Aws::String & GetName() const
int GetTaskFailureRetryCount() const
void SetLifecycleStatus(StepLifecycleStatus value)
void SetStartedAt(StartedAtT &&value)
StepSummary & WithDependencyCounts(DependencyCountsT &&value)
StepSummary & WithTaskRunStatus(TaskRunStatus value)
bool NameHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetLifecycleStatusMessage() const
const Aws::Utils::DateTime & GetEndedAt() const
bool TaskRunStatusCountsHasBeenSet() const
const Aws::String & GetCreatedBy() const
StepSummary & WithName(NameT &&value)
void SetName(NameT &&value)
StepSummary & WithTargetTaskRunStatus(StepTargetTaskRunStatus value)
StepSummary & WithUpdatedBy(UpdatedByT &&value)
StepLifecycleStatus GetLifecycleStatus() const
void SetEndedAt(EndedAtT &&value)
bool LifecycleStatusHasBeenSet() const
TaskRunStatus GetTaskRunStatus() const
void SetStepId(StepIdT &&value)
void SetTaskRunStatus(TaskRunStatus value)
const Aws::String & GetUpdatedBy() const
StepSummary & WithLifecycleStatusMessage(LifecycleStatusMessageT &&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