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/Attachments.h>
12#include <aws/deadline/model/JobLifecycleStatus.h>
13#include <aws/deadline/model/JobParameter.h>
14#include <aws/deadline/model/JobTargetTaskRunStatus.h>
15#include <aws/deadline/model/TaskRunStatus.h>
48 template <
typename FarmIdT = Aws::String>
50 m_farmIdHasBeenSet =
true;
51 m_farmId = std::forward<FarmIdT>(value);
53 template <
typename FarmIdT = Aws::String>
66 template <
typename QueueIdT = Aws::String>
68 m_queueIdHasBeenSet =
true;
69 m_queueId = std::forward<QueueIdT>(value);
71 template <
typename QueueIdT = Aws::String>
84 template <
typename JobIdT = Aws::String>
86 m_jobIdHasBeenSet =
true;
87 m_jobId = std::forward<JobIdT>(value);
89 template <
typename JobIdT = Aws::String>
91 SetJobId(std::forward<JobIdT>(value));
102 template <
typename NameT = Aws::String>
104 m_nameHasBeenSet =
true;
105 m_name = std::forward<NameT>(value);
107 template <
typename NameT = Aws::String>
109 SetName(std::forward<NameT>(value));
121 m_lifecycleStatusHasBeenSet =
true;
122 m_lifecycleStatus = value;
136 template <
typename LifecycleStatusMessageT = Aws::String>
138 m_lifecycleStatusMessageHasBeenSet =
true;
139 m_lifecycleStatusMessage = std::forward<LifecycleStatusMessageT>(value);
141 template <
typename LifecycleStatusMessageT = Aws::String>
155 m_priorityHasBeenSet =
true;
170 template <
typename CreatedAtT = Aws::Utils::DateTime>
172 m_createdAtHasBeenSet =
true;
173 m_createdAt = std::forward<CreatedAtT>(value);
175 template <
typename CreatedAtT = Aws::Utils::DateTime>
188 template <
typename CreatedByT = Aws::String>
190 m_createdByHasBeenSet =
true;
191 m_createdBy = std::forward<CreatedByT>(value);
193 template <
typename CreatedByT = Aws::String>
206 template <
typename UpdatedAtT = Aws::Utils::DateTime>
208 m_updatedAtHasBeenSet =
true;
209 m_updatedAt = std::forward<UpdatedAtT>(value);
211 template <
typename UpdatedAtT = Aws::Utils::DateTime>
224 template <
typename UpdatedByT = Aws::String>
226 m_updatedByHasBeenSet =
true;
227 m_updatedBy = std::forward<UpdatedByT>(value);
229 template <
typename UpdatedByT = Aws::String>
242 template <
typename StartedAtT = Aws::Utils::DateTime>
244 m_startedAtHasBeenSet =
true;
245 m_startedAt = std::forward<StartedAtT>(value);
247 template <
typename StartedAtT = Aws::Utils::DateTime>
260 template <
typename EndedAtT = Aws::Utils::DateTime>
262 m_endedAtHasBeenSet =
true;
263 m_endedAt = std::forward<EndedAtT>(value);
265 template <
typename EndedAtT = Aws::Utils::DateTime>
279 m_taskRunStatusHasBeenSet =
true;
280 m_taskRunStatus = value;
295 m_targetTaskRunStatusHasBeenSet =
true;
296 m_targetTaskRunStatus = value;
310 template <
typename TaskRunStatusCountsT = Aws::Map<TaskRunStatus,
int>>
312 m_taskRunStatusCountsHasBeenSet =
true;
313 m_taskRunStatusCounts = std::forward<TaskRunStatusCountsT>(value);
315 template <
typename TaskRunStatusCountsT = Aws::Map<TaskRunStatus,
int>>
321 m_taskRunStatusCountsHasBeenSet =
true;
322 m_taskRunStatusCounts.emplace(key, value);
334 m_taskFailureRetryCountHasBeenSet =
true;
335 m_taskFailureRetryCount = value;
349 template <
typename StorageProfileIdT = Aws::String>
351 m_storageProfileIdHasBeenSet =
true;
352 m_storageProfileId = std::forward<StorageProfileIdT>(value);
354 template <
typename StorageProfileIdT = Aws::String>
369 m_maxFailedTasksCountHasBeenSet =
true;
370 m_maxFailedTasksCount = value;
385 m_maxRetriesPerTaskHasBeenSet =
true;
386 m_maxRetriesPerTask = value;
400 template <
typename ParametersT = Aws::Map<Aws::String, JobParameter>>
402 m_parametersHasBeenSet =
true;
403 m_parameters = std::forward<ParametersT>(value);
405 template <
typename ParametersT = Aws::Map<Aws::String, JobParameter>>
410 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = JobParameter>
412 m_parametersHasBeenSet =
true;
413 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
424 template <
typename AttachmentsT = Attachments>
426 m_attachmentsHasBeenSet =
true;
427 m_attachments = std::forward<AttachmentsT>(value);
429 template <
typename AttachmentsT = Attachments>
442 template <
typename DescriptionT = Aws::String>
444 m_descriptionHasBeenSet =
true;
445 m_description = std::forward<DescriptionT>(value);
447 template <
typename DescriptionT = Aws::String>
461 m_maxWorkerCountHasBeenSet =
true;
462 m_maxWorkerCount = value;
476 template <
typename SourceJobIdT = Aws::String>
478 m_sourceJobIdHasBeenSet =
true;
479 m_sourceJobId = std::forward<SourceJobIdT>(value);
481 template <
typename SourceJobIdT = Aws::String>
520 int m_taskFailureRetryCount{0};
524 int m_maxFailedTasksCount{0};
526 int m_maxRetriesPerTask{0};
530 Attachments m_attachments;
534 int m_maxWorkerCount{0};
537 bool m_farmIdHasBeenSet =
false;
538 bool m_queueIdHasBeenSet =
false;
539 bool m_jobIdHasBeenSet =
false;
540 bool m_nameHasBeenSet =
false;
541 bool m_lifecycleStatusHasBeenSet =
false;
542 bool m_lifecycleStatusMessageHasBeenSet =
false;
543 bool m_priorityHasBeenSet =
false;
544 bool m_createdAtHasBeenSet =
false;
545 bool m_createdByHasBeenSet =
false;
546 bool m_updatedAtHasBeenSet =
false;
547 bool m_updatedByHasBeenSet =
false;
548 bool m_startedAtHasBeenSet =
false;
549 bool m_endedAtHasBeenSet =
false;
550 bool m_taskRunStatusHasBeenSet =
false;
551 bool m_targetTaskRunStatusHasBeenSet =
false;
552 bool m_taskRunStatusCountsHasBeenSet =
false;
553 bool m_taskFailureRetryCountHasBeenSet =
false;
554 bool m_storageProfileIdHasBeenSet =
false;
555 bool m_maxFailedTasksCountHasBeenSet =
false;
556 bool m_maxRetriesPerTaskHasBeenSet =
false;
557 bool m_parametersHasBeenSet =
false;
558 bool m_attachmentsHasBeenSet =
false;
559 bool m_descriptionHasBeenSet =
false;
560 bool m_maxWorkerCountHasBeenSet =
false;
561 bool m_sourceJobIdHasBeenSet =
false;
void SetPriority(int value)
void SetName(NameT &&value)
AWS_DEADLINE_API BatchGetJobItem()=default
void SetDescription(DescriptionT &&value)
const Aws::String & GetCreatedBy() const
int GetMaxFailedTasksCount() const
int GetTaskFailureRetryCount() const
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
BatchGetJobItem & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
BatchGetJobItem & WithStartedAt(StartedAtT &&value)
const Aws::String & GetSourceJobId() const
BatchGetJobItem & WithSourceJobId(SourceJobIdT &&value)
void SetMaxWorkerCount(int value)
AWS_DEADLINE_API BatchGetJobItem(Aws::Utils::Json::JsonView jsonValue)
void SetTaskRunStatusCounts(TaskRunStatusCountsT &&value)
BatchGetJobItem & AddTaskRunStatusCounts(TaskRunStatus key, int value)
void SetStartedAt(StartedAtT &&value)
const Aws::String & GetLifecycleStatusMessage() const
bool SourceJobIdHasBeenSet() const
const Attachments & GetAttachments() const
BatchGetJobItem & WithUpdatedBy(UpdatedByT &&value)
bool TargetTaskRunStatusHasBeenSet() const
void SetMaxRetriesPerTask(int value)
void SetMaxFailedTasksCount(int value)
bool ParametersHasBeenSet() const
const Aws::String & GetName() const
void SetLifecycleStatus(JobLifecycleStatus value)
void SetParameters(ParametersT &&value)
bool LifecycleStatusMessageHasBeenSet() const
bool UpdatedAtHasBeenSet() const
BatchGetJobItem & WithAttachments(AttachmentsT &&value)
BatchGetJobItem & WithTaskRunStatus(TaskRunStatus value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetEndedAt(EndedAtT &&value)
void SetTargetTaskRunStatus(JobTargetTaskRunStatus value)
BatchGetJobItem & WithCreatedAt(CreatedAtT &&value)
bool TaskRunStatusHasBeenSet() const
void SetSourceJobId(SourceJobIdT &&value)
bool MaxFailedTasksCountHasBeenSet() const
bool EndedAtHasBeenSet() const
BatchGetJobItem & WithTaskRunStatusCounts(TaskRunStatusCountsT &&value)
const Aws::String & GetDescription() const
BatchGetJobItem & WithFarmId(FarmIdT &&value)
bool LifecycleStatusHasBeenSet() const
BatchGetJobItem & WithCreatedBy(CreatedByT &&value)
const Aws::String & GetStorageProfileId() const
JobLifecycleStatus GetLifecycleStatus() const
void SetTaskRunStatus(TaskRunStatus value)
void SetQueueId(QueueIdT &&value)
void SetCreatedBy(CreatedByT &&value)
BatchGetJobItem & WithLifecycleStatusMessage(LifecycleStatusMessageT &&value)
bool TaskRunStatusCountsHasBeenSet() const
const Aws::String & GetFarmId() const
const Aws::String & GetQueueId() const
void SetUpdatedBy(UpdatedByT &&value)
bool NameHasBeenSet() const
BatchGetJobItem & WithParameters(ParametersT &&value)
BatchGetJobItem & WithStorageProfileId(StorageProfileIdT &&value)
bool CreatedByHasBeenSet() const
BatchGetJobItem & WithUpdatedAt(UpdatedAtT &&value)
bool MaxWorkerCountHasBeenSet() const
const Aws::String & GetJobId() const
BatchGetJobItem & WithJobId(JobIdT &&value)
bool StorageProfileIdHasBeenSet() const
JobTargetTaskRunStatus GetTargetTaskRunStatus() const
BatchGetJobItem & WithTargetTaskRunStatus(JobTargetTaskRunStatus value)
BatchGetJobItem & WithLifecycleStatus(JobLifecycleStatus value)
bool CreatedAtHasBeenSet() const
bool QueueIdHasBeenSet() const
BatchGetJobItem & WithMaxFailedTasksCount(int value)
bool PriorityHasBeenSet() const
TaskRunStatus GetTaskRunStatus() const
void SetCreatedAt(CreatedAtT &&value)
AWS_DEADLINE_API BatchGetJobItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetEndedAt() const
void SetTaskFailureRetryCount(int value)
bool AttachmentsHasBeenSet() const
void SetFarmId(FarmIdT &&value)
BatchGetJobItem & WithName(NameT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
int GetMaxRetriesPerTask() const
const Aws::String & GetUpdatedBy() const
void SetJobId(JobIdT &&value)
BatchGetJobItem & WithEndedAt(EndedAtT &&value)
bool JobIdHasBeenSet() const
BatchGetJobItem & WithPriority(int value)
BatchGetJobItem & WithQueueId(QueueIdT &&value)
void SetAttachments(AttachmentsT &&value)
const Aws::Map< Aws::String, JobParameter > & GetParameters() const
void SetStorageProfileId(StorageProfileIdT &&value)
void SetLifecycleStatusMessage(LifecycleStatusMessageT &&value)
bool UpdatedByHasBeenSet() const
void SetUpdatedAt(UpdatedAtT &&value)
bool TaskFailureRetryCountHasBeenSet() const
BatchGetJobItem & WithDescription(DescriptionT &&value)
BatchGetJobItem & WithMaxWorkerCount(int value)
int GetMaxWorkerCount() const
const Aws::Utils::DateTime & GetStartedAt() const
bool StartedAtHasBeenSet() const
const Aws::Map< TaskRunStatus, int > & GetTaskRunStatusCounts() const
bool MaxRetriesPerTaskHasBeenSet() const
bool DescriptionHasBeenSet() const
BatchGetJobItem & WithMaxRetriesPerTask(int value)
BatchGetJobItem & WithTaskFailureRetryCount(int value)
bool FarmIdHasBeenSet() 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