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>
15#include <aws/deadline/model/StepRequiredCapabilities.h>
16#include <aws/deadline/model/ParameterSpace.h>
21template<
typename RESULT_TYPE>
22class AmazonWebServiceResult;
48 template<
typename StepIdT = Aws::String>
49 void SetStepId(StepIdT&& value) { m_stepIdHasBeenSet =
true; m_stepId = std::forward<StepIdT>(value); }
50 template<
typename StepIdT = Aws::String>
59 template<
typename NameT = Aws::String>
60 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
61 template<
typename NameT = Aws::String>
79 template<
typename LifecycleStatusMessageT = Aws::String>
80 void SetLifecycleStatusMessage(LifecycleStatusMessageT&& value) { m_lifecycleStatusMessageHasBeenSet =
true; m_lifecycleStatusMessage = std::forward<LifecycleStatusMessageT>(value); }
81 template<
typename LifecycleStatusMessageT = Aws::String>
99 template<
typename TaskRunStatusCountsT = Aws::Map<TaskRunStatus,
int>>
100 void SetTaskRunStatusCounts(TaskRunStatusCountsT&& value) { m_taskRunStatusCountsHasBeenSet =
true; m_taskRunStatusCounts = std::forward<TaskRunStatusCountsT>(value); }
101 template<
typename TaskRunStatusCountsT = Aws::Map<TaskRunStatus,
int>>
104 m_taskRunStatusCountsHasBeenSet =
true; m_taskRunStatusCounts.emplace(key, value);
return *
this;
131 template<
typename CreatedAtT = Aws::Utils::DateTime>
132 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
133 template<
typename CreatedAtT = Aws::Utils::DateTime>
142 template<
typename CreatedByT = Aws::String>
143 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
144 template<
typename CreatedByT = Aws::String>
153 template<
typename UpdatedAtT = Aws::Utils::DateTime>
154 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
155 template<
typename UpdatedAtT = Aws::Utils::DateTime>
164 template<
typename UpdatedByT = Aws::String>
165 void SetUpdatedBy(UpdatedByT&& value) { m_updatedByHasBeenSet =
true; m_updatedBy = std::forward<UpdatedByT>(value); }
166 template<
typename UpdatedByT = Aws::String>
175 template<
typename StartedAtT = Aws::Utils::DateTime>
176 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet =
true; m_startedAt = std::forward<StartedAtT>(value); }
177 template<
typename StartedAtT = Aws::Utils::DateTime>
186 template<
typename EndedAtT = Aws::Utils::DateTime>
187 void SetEndedAt(EndedAtT&& value) { m_endedAtHasBeenSet =
true; m_endedAt = std::forward<EndedAtT>(value); }
188 template<
typename EndedAtT = Aws::Utils::DateTime>
197 template<
typename DependencyCountsT = DependencyCounts>
198 void SetDependencyCounts(DependencyCountsT&& value) { m_dependencyCountsHasBeenSet =
true; m_dependencyCounts = std::forward<DependencyCountsT>(value); }
199 template<
typename DependencyCountsT = DependencyCounts>
208 template<
typename RequiredCapabilitiesT = StepRequiredCapabilities>
209 void SetRequiredCapabilities(RequiredCapabilitiesT&& value) { m_requiredCapabilitiesHasBeenSet =
true; m_requiredCapabilities = std::forward<RequiredCapabilitiesT>(value); }
210 template<
typename RequiredCapabilitiesT = StepRequiredCapabilities>
219 template<
typename ParameterSpaceT = ParameterSpace>
220 void SetParameterSpace(ParameterSpaceT&& value) { m_parameterSpaceHasBeenSet =
true; m_parameterSpace = std::forward<ParameterSpaceT>(value); }
221 template<
typename ParameterSpaceT = ParameterSpace>
232 template<
typename DescriptionT = Aws::String>
233 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
234 template<
typename DescriptionT = Aws::String>
241 template<
typename RequestIdT = Aws::String>
242 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
243 template<
typename RequestIdT = Aws::String>
249 bool m_stepIdHasBeenSet =
false;
252 bool m_nameHasBeenSet =
false;
255 bool m_lifecycleStatusHasBeenSet =
false;
258 bool m_lifecycleStatusMessageHasBeenSet =
false;
261 bool m_taskRunStatusHasBeenSet =
false;
264 bool m_taskRunStatusCountsHasBeenSet =
false;
266 int m_taskFailureRetryCount{0};
267 bool m_taskFailureRetryCountHasBeenSet =
false;
270 bool m_targetTaskRunStatusHasBeenSet =
false;
273 bool m_createdAtHasBeenSet =
false;
276 bool m_createdByHasBeenSet =
false;
279 bool m_updatedAtHasBeenSet =
false;
282 bool m_updatedByHasBeenSet =
false;
285 bool m_startedAtHasBeenSet =
false;
288 bool m_endedAtHasBeenSet =
false;
290 DependencyCounts m_dependencyCounts;
291 bool m_dependencyCountsHasBeenSet =
false;
293 StepRequiredCapabilities m_requiredCapabilities;
294 bool m_requiredCapabilitiesHasBeenSet =
false;
296 ParameterSpace m_parameterSpace;
297 bool m_parameterSpaceHasBeenSet =
false;
300 bool m_descriptionHasBeenSet =
false;
303 bool m_requestIdHasBeenSet =
false;
GetStepResult & WithDependencyCounts(DependencyCountsT &&value)
GetStepResult & WithCreatedBy(CreatedByT &&value)
const ParameterSpace & GetParameterSpace() const
GetStepResult & WithLifecycleStatusMessage(LifecycleStatusMessageT &&value)
StepLifecycleStatus GetLifecycleStatus() const
const StepRequiredCapabilities & GetRequiredCapabilities() const
void SetCreatedBy(CreatedByT &&value)
AWS_DEADLINE_API GetStepResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DEADLINE_API GetStepResult()=default
GetStepResult & WithUpdatedBy(UpdatedByT &&value)
GetStepResult & WithRequiredCapabilities(RequiredCapabilitiesT &&value)
void SetTargetTaskRunStatus(StepTargetTaskRunStatus value)
int GetTaskFailureRetryCount() const
void SetRequiredCapabilities(RequiredCapabilitiesT &&value)
const DependencyCounts & GetDependencyCounts() const
const Aws::String & GetUpdatedBy() const
const Aws::String & GetDescription() const
StepTargetTaskRunStatus GetTargetTaskRunStatus() const
void SetCreatedAt(CreatedAtT &&value)
GetStepResult & WithDescription(DescriptionT &&value)
GetStepResult & WithTaskRunStatus(TaskRunStatus value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetUpdatedBy(UpdatedByT &&value)
GetStepResult & WithLifecycleStatus(StepLifecycleStatus value)
void SetDependencyCounts(DependencyCountsT &&value)
GetStepResult & WithEndedAt(EndedAtT &&value)
GetStepResult & WithTaskRunStatusCounts(TaskRunStatusCountsT &&value)
void SetStepId(StepIdT &&value)
GetStepResult & WithStepId(StepIdT &&value)
const Aws::Utils::DateTime & GetEndedAt() const
void SetLifecycleStatus(StepLifecycleStatus value)
void SetTaskRunStatus(TaskRunStatus value)
const Aws::String & GetRequestId() const
TaskRunStatus GetTaskRunStatus() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetLifecycleStatusMessage() const
GetStepResult & WithRequestId(RequestIdT &&value)
void SetLifecycleStatusMessage(LifecycleStatusMessageT &&value)
GetStepResult & WithName(NameT &&value)
void SetParameterSpace(ParameterSpaceT &&value)
GetStepResult & WithStartedAt(StartedAtT &&value)
void SetDescription(DescriptionT &&value)
void SetStartedAt(StartedAtT &&value)
const Aws::Utils::DateTime & GetStartedAt() const
GetStepResult & WithTaskFailureRetryCount(int value)
void SetUpdatedAt(UpdatedAtT &&value)
void SetEndedAt(EndedAtT &&value)
GetStepResult & WithTargetTaskRunStatus(StepTargetTaskRunStatus value)
void SetRequestId(RequestIdT &&value)
const Aws::Map< TaskRunStatus, int > & GetTaskRunStatusCounts() const
GetStepResult & WithUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetCreatedBy() const
const Aws::String & GetStepId() const
AWS_DEADLINE_API GetStepResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTaskFailureRetryCount(int value)
const Aws::String & GetName() const
void SetName(NameT &&value)
GetStepResult & WithCreatedAt(CreatedAtT &&value)
GetStepResult & WithParameterSpace(ParameterSpaceT &&value)
GetStepResult & AddTaskRunStatusCounts(TaskRunStatus key, int value)
void SetTaskRunStatusCounts(TaskRunStatusCountsT &&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