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/TaskParameterValue.h>
12#include <aws/deadline/model/TaskRunStatus.h>
13#include <aws/deadline/model/TaskTargetRunStatus.h>
46 template <
typename FarmIdT = Aws::String>
48 m_farmIdHasBeenSet =
true;
49 m_farmId = std::forward<FarmIdT>(value);
51 template <
typename FarmIdT = Aws::String>
64 template <
typename QueueIdT = Aws::String>
66 m_queueIdHasBeenSet =
true;
67 m_queueId = std::forward<QueueIdT>(value);
69 template <
typename QueueIdT = Aws::String>
82 template <
typename JobIdT = Aws::String>
84 m_jobIdHasBeenSet =
true;
85 m_jobId = std::forward<JobIdT>(value);
87 template <
typename JobIdT = Aws::String>
89 SetJobId(std::forward<JobIdT>(value));
100 template <
typename StepIdT = Aws::String>
102 m_stepIdHasBeenSet =
true;
103 m_stepId = std::forward<StepIdT>(value);
105 template <
typename StepIdT = Aws::String>
118 template <
typename TaskIdT = Aws::String>
120 m_taskIdHasBeenSet =
true;
121 m_taskId = std::forward<TaskIdT>(value);
123 template <
typename TaskIdT = Aws::String>
136 template <
typename CreatedAtT = Aws::Utils::DateTime>
138 m_createdAtHasBeenSet =
true;
139 m_createdAt = std::forward<CreatedAtT>(value);
141 template <
typename CreatedAtT = Aws::Utils::DateTime>
154 template <
typename CreatedByT = Aws::String>
156 m_createdByHasBeenSet =
true;
157 m_createdBy = std::forward<CreatedByT>(value);
159 template <
typename CreatedByT = Aws::String>
173 m_runStatusHasBeenSet =
true;
189 m_targetRunStatusHasBeenSet =
true;
190 m_targetRunStatus = value;
205 m_failureRetryCountHasBeenSet =
true;
206 m_failureRetryCount = value;
220 template <
typename StartedAtT = Aws::Utils::DateTime>
222 m_startedAtHasBeenSet =
true;
223 m_startedAt = std::forward<StartedAtT>(value);
225 template <
typename StartedAtT = Aws::Utils::DateTime>
238 template <
typename EndedAtT = Aws::Utils::DateTime>
240 m_endedAtHasBeenSet =
true;
241 m_endedAt = std::forward<EndedAtT>(value);
243 template <
typename EndedAtT = Aws::Utils::DateTime>
256 template <
typename UpdatedAtT = Aws::Utils::DateTime>
258 m_updatedAtHasBeenSet =
true;
259 m_updatedAt = std::forward<UpdatedAtT>(value);
261 template <
typename UpdatedAtT = Aws::Utils::DateTime>
274 template <
typename UpdatedByT = Aws::String>
276 m_updatedByHasBeenSet =
true;
277 m_updatedBy = std::forward<UpdatedByT>(value);
279 template <
typename UpdatedByT = Aws::String>
292 template <
typename LatestSessionActionIdT = Aws::String>
294 m_latestSessionActionIdHasBeenSet =
true;
295 m_latestSessionActionId = std::forward<LatestSessionActionIdT>(value);
297 template <
typename LatestSessionActionIdT = Aws::String>
310 template <
typename ParametersT = Aws::Map<Aws::String, TaskParameterValue>>
312 m_parametersHasBeenSet =
true;
313 m_parameters = std::forward<ParametersT>(value);
315 template <
typename ParametersT = Aws::Map<Aws::String, TaskParameterValue>>
320 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = TaskParameterValue>
322 m_parametersHasBeenSet =
true;
323 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
346 int m_failureRetryCount{0};
359 bool m_farmIdHasBeenSet =
false;
360 bool m_queueIdHasBeenSet =
false;
361 bool m_jobIdHasBeenSet =
false;
362 bool m_stepIdHasBeenSet =
false;
363 bool m_taskIdHasBeenSet =
false;
364 bool m_createdAtHasBeenSet =
false;
365 bool m_createdByHasBeenSet =
false;
366 bool m_runStatusHasBeenSet =
false;
367 bool m_targetRunStatusHasBeenSet =
false;
368 bool m_failureRetryCountHasBeenSet =
false;
369 bool m_startedAtHasBeenSet =
false;
370 bool m_endedAtHasBeenSet =
false;
371 bool m_updatedAtHasBeenSet =
false;
372 bool m_updatedByHasBeenSet =
false;
373 bool m_latestSessionActionIdHasBeenSet =
false;
374 bool m_parametersHasBeenSet =
false;
void SetRunStatus(TaskRunStatus value)
void SetTaskId(TaskIdT &&value)
void SetTargetRunStatus(TaskTargetRunStatus value)
void SetParameters(ParametersT &&value)
bool FailureRetryCountHasBeenSet() const
void SetLatestSessionActionId(LatestSessionActionIdT &&value)
BatchGetTaskItem & WithStartedAt(StartedAtT &&value)
bool TargetRunStatusHasBeenSet() const
const Aws::String & GetCreatedBy() const
bool StepIdHasBeenSet() const
BatchGetTaskItem & WithTargetRunStatus(TaskTargetRunStatus value)
bool JobIdHasBeenSet() const
int GetFailureRetryCount() const
bool RunStatusHasBeenSet() const
const Aws::String & GetJobId() const
void SetUpdatedAt(UpdatedAtT &&value)
bool CreatedByHasBeenSet() const
const Aws::String & GetTaskId() const
void SetStartedAt(StartedAtT &&value)
bool UpdatedAtHasBeenSet() const
void SetJobId(JobIdT &&value)
BatchGetTaskItem & WithUpdatedAt(UpdatedAtT &&value)
BatchGetTaskItem & WithFailureRetryCount(int value)
BatchGetTaskItem & WithStepId(StepIdT &&value)
BatchGetTaskItem & WithRunStatus(TaskRunStatus value)
bool CreatedAtHasBeenSet() const
void SetUpdatedBy(UpdatedByT &&value)
BatchGetTaskItem & WithUpdatedBy(UpdatedByT &&value)
void SetQueueId(QueueIdT &&value)
const Aws::String & GetLatestSessionActionId() const
BatchGetTaskItem & WithQueueId(QueueIdT &&value)
void SetFarmId(FarmIdT &&value)
BatchGetTaskItem & WithFarmId(FarmIdT &&value)
BatchGetTaskItem & WithEndedAt(EndedAtT &&value)
BatchGetTaskItem & WithCreatedBy(CreatedByT &&value)
TaskRunStatus GetRunStatus() const
BatchGetTaskItem & WithCreatedAt(CreatedAtT &&value)
TaskTargetRunStatus GetTargetRunStatus() const
AWS_DEADLINE_API BatchGetTaskItem(Aws::Utils::Json::JsonView jsonValue)
bool FarmIdHasBeenSet() const
BatchGetTaskItem & WithLatestSessionActionId(LatestSessionActionIdT &&value)
const Aws::Utils::DateTime & GetStartedAt() const
void SetStepId(StepIdT &&value)
void SetEndedAt(EndedAtT &&value)
BatchGetTaskItem & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
const Aws::String & GetFarmId() const
bool LatestSessionActionIdHasBeenSet() const
bool EndedAtHasBeenSet() const
const Aws::String & GetQueueId() const
void SetFailureRetryCount(int value)
const Aws::Utils::DateTime & GetEndedAt() const
const Aws::String & GetStepId() const
bool UpdatedByHasBeenSet() const
BatchGetTaskItem & WithParameters(ParametersT &&value)
bool StartedAtHasBeenSet() const
bool TaskIdHasBeenSet() const
bool QueueIdHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Utils::DateTime & GetUpdatedAt() const
BatchGetTaskItem & WithTaskId(TaskIdT &&value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEADLINE_API BatchGetTaskItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API BatchGetTaskItem()=default
bool ParametersHasBeenSet() const
const Aws::String & GetUpdatedBy() const
void SetCreatedBy(CreatedByT &&value)
BatchGetTaskItem & WithJobId(JobIdT &&value)
const Aws::Map< Aws::String, TaskParameterValue > & GetParameters() 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