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/JobLifecycleStatus.h>
12#include <aws/deadline/model/JobParameter.h>
13#include <aws/deadline/model/JobTargetTaskRunStatus.h>
14#include <aws/deadline/model/TaskRunStatus.h>
46 template <
typename JobIdT = Aws::String>
48 m_jobIdHasBeenSet =
true;
49 m_jobId = std::forward<JobIdT>(value);
51 template <
typename JobIdT = Aws::String>
53 SetJobId(std::forward<JobIdT>(value));
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 NameT = Aws::String>
84 m_nameHasBeenSet =
true;
85 m_name = std::forward<NameT>(value);
87 template <
typename NameT = Aws::String>
89 SetName(std::forward<NameT>(value));
101 m_lifecycleStatusHasBeenSet =
true;
102 m_lifecycleStatus = value;
116 template <
typename LifecycleStatusMessageT = Aws::String>
118 m_lifecycleStatusMessageHasBeenSet =
true;
119 m_lifecycleStatusMessage = std::forward<LifecycleStatusMessageT>(value);
121 template <
typename LifecycleStatusMessageT = Aws::String>
145 m_taskRunStatusHasBeenSet =
true;
146 m_taskRunStatus = value;
161 m_targetTaskRunStatusHasBeenSet =
true;
162 m_targetTaskRunStatus = value;
176 template <
typename TaskRunStatusCountsT = Aws::Map<TaskRunStatus,
int>>
178 m_taskRunStatusCountsHasBeenSet =
true;
179 m_taskRunStatusCounts = std::forward<TaskRunStatusCountsT>(value);
181 template <
typename TaskRunStatusCountsT = Aws::Map<TaskRunStatus,
int>>
187 m_taskRunStatusCountsHasBeenSet =
true;
188 m_taskRunStatusCounts.emplace(key, value);
200 m_taskFailureRetryCountHasBeenSet =
true;
201 m_taskFailureRetryCount = value;
216 m_priorityHasBeenSet =
true;
233 m_maxFailedTasksCountHasBeenSet =
true;
234 m_maxFailedTasksCount = value;
249 m_maxRetriesPerTaskHasBeenSet =
true;
250 m_maxRetriesPerTask = value;
264 template <
typename CreatedByT = Aws::String>
266 m_createdByHasBeenSet =
true;
267 m_createdBy = std::forward<CreatedByT>(value);
269 template <
typename CreatedByT = Aws::String>
282 template <
typename CreatedAtT = Aws::Utils::DateTime>
284 m_createdAtHasBeenSet =
true;
285 m_createdAt = std::forward<CreatedAtT>(value);
287 template <
typename CreatedAtT = Aws::Utils::DateTime>
300 template <
typename EndedAtT = Aws::Utils::DateTime>
302 m_endedAtHasBeenSet =
true;
303 m_endedAt = std::forward<EndedAtT>(value);
305 template <
typename EndedAtT = Aws::Utils::DateTime>
318 template <
typename StartedAtT = Aws::Utils::DateTime>
320 m_startedAtHasBeenSet =
true;
321 m_startedAt = std::forward<StartedAtT>(value);
323 template <
typename StartedAtT = Aws::Utils::DateTime>
336 template <
typename UpdatedAtT = Aws::Utils::DateTime>
338 m_updatedAtHasBeenSet =
true;
339 m_updatedAt = std::forward<UpdatedAtT>(value);
341 template <
typename UpdatedAtT = Aws::Utils::DateTime>
354 template <
typename UpdatedByT = Aws::String>
356 m_updatedByHasBeenSet =
true;
357 m_updatedBy = std::forward<UpdatedByT>(value);
359 template <
typename UpdatedByT = Aws::String>
372 template <
typename JobParametersT = Aws::Map<Aws::String, JobParameter>>
374 m_jobParametersHasBeenSet =
true;
375 m_jobParameters = std::forward<JobParametersT>(value);
377 template <
typename JobParametersT = Aws::Map<Aws::String, JobParameter>>
382 template <
typename JobParametersKeyT = Aws::String,
typename JobParametersValueT = JobParameter>
384 m_jobParametersHasBeenSet =
true;
385 m_jobParameters.emplace(std::forward<JobParametersKeyT>(key), std::forward<JobParametersValueT>(value));
402 m_maxWorkerCountHasBeenSet =
true;
403 m_maxWorkerCount = value;
417 template <
typename SourceJobIdT = Aws::String>
419 m_sourceJobIdHasBeenSet =
true;
420 m_sourceJobId = std::forward<SourceJobIdT>(value);
422 template <
typename SourceJobIdT = Aws::String>
430 bool m_jobIdHasBeenSet =
false;
433 bool m_queueIdHasBeenSet =
false;
436 bool m_nameHasBeenSet =
false;
439 bool m_lifecycleStatusHasBeenSet =
false;
442 bool m_lifecycleStatusMessageHasBeenSet =
false;
445 bool m_taskRunStatusHasBeenSet =
false;
448 bool m_targetTaskRunStatusHasBeenSet =
false;
451 bool m_taskRunStatusCountsHasBeenSet =
false;
453 int m_taskFailureRetryCount{0};
454 bool m_taskFailureRetryCountHasBeenSet =
false;
457 bool m_priorityHasBeenSet =
false;
459 int m_maxFailedTasksCount{0};
460 bool m_maxFailedTasksCountHasBeenSet =
false;
462 int m_maxRetriesPerTask{0};
463 bool m_maxRetriesPerTaskHasBeenSet =
false;
466 bool m_createdByHasBeenSet =
false;
469 bool m_createdAtHasBeenSet =
false;
472 bool m_endedAtHasBeenSet =
false;
475 bool m_startedAtHasBeenSet =
false;
478 bool m_updatedAtHasBeenSet =
false;
481 bool m_updatedByHasBeenSet =
false;
484 bool m_jobParametersHasBeenSet =
false;
486 int m_maxWorkerCount{0};
487 bool m_maxWorkerCountHasBeenSet =
false;
490 bool m_sourceJobIdHasBeenSet =
false;
void SetMaxWorkerCount(int value)
void SetSourceJobId(SourceJobIdT &&value)
JobSearchSummary & WithPriority(int value)
bool LifecycleStatusMessageHasBeenSet() const
int GetMaxWorkerCount() const
JobSearchSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetEndedAt() const
JobSearchSummary & WithJobId(JobIdT &&value)
AWS_DEADLINE_API JobSearchSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TargetTaskRunStatusHasBeenSet() const
int GetMaxRetriesPerTask() const
const Aws::String & GetJobId() const
bool TaskRunStatusHasBeenSet() const
JobSearchSummary & WithCreatedBy(CreatedByT &&value)
bool UpdatedByHasBeenSet() const
bool CreatedByHasBeenSet() const
JobSearchSummary & WithMaxRetriesPerTask(int value)
JobSearchSummary & WithLifecycleStatusMessage(LifecycleStatusMessageT &&value)
JobSearchSummary & WithUpdatedBy(UpdatedByT &&value)
AWS_DEADLINE_API JobSearchSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetQueueId() const
bool PriorityHasBeenSet() const
void SetMaxRetriesPerTask(int value)
void SetTaskRunStatus(TaskRunStatus value)
bool MaxRetriesPerTaskHasBeenSet() const
JobSearchSummary & WithMaxFailedTasksCount(int value)
void SetUpdatedAt(UpdatedAtT &&value)
JobSearchSummary & WithTaskFailureRetryCount(int value)
bool EndedAtHasBeenSet() const
JobSearchSummary & WithStartedAt(StartedAtT &&value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
JobSearchSummary & WithTaskRunStatusCounts(TaskRunStatusCountsT &&value)
void SetName(NameT &&value)
int GetMaxFailedTasksCount() const
void SetTargetTaskRunStatus(JobTargetTaskRunStatus value)
JobSearchSummary & AddJobParameters(JobParametersKeyT &&key, JobParametersValueT &&value)
const Aws::String & GetUpdatedBy() const
void SetJobParameters(JobParametersT &&value)
void SetTaskRunStatusCounts(TaskRunStatusCountsT &&value)
bool LifecycleStatusHasBeenSet() const
bool QueueIdHasBeenSet() const
bool SourceJobIdHasBeenSet() const
JobSearchSummary & AddTaskRunStatusCounts(TaskRunStatus key, int value)
JobSearchSummary & WithQueueId(QueueIdT &&value)
JobSearchSummary & WithName(NameT &&value)
bool JobIdHasBeenSet() const
void SetEndedAt(EndedAtT &&value)
bool NameHasBeenSet() const
int GetTaskFailureRetryCount() const
void SetUpdatedBy(UpdatedByT &&value)
void SetJobId(JobIdT &&value)
JobSearchSummary & WithUpdatedAt(UpdatedAtT &&value)
TaskRunStatus GetTaskRunStatus() const
JobSearchSummary & WithMaxWorkerCount(int value)
const Aws::String & GetSourceJobId() const
bool StartedAtHasBeenSet() const
JobSearchSummary & WithEndedAt(EndedAtT &&value)
JobSearchSummary & WithTargetTaskRunStatus(JobTargetTaskRunStatus value)
void SetPriority(int value)
JobSearchSummary & WithLifecycleStatus(JobLifecycleStatus value)
void SetStartedAt(StartedAtT &&value)
JobSearchSummary & WithJobParameters(JobParametersT &&value)
JobSearchSummary & WithTaskRunStatus(TaskRunStatus value)
const Aws::Utils::DateTime & GetCreatedAt() const
JobSearchSummary & WithSourceJobId(SourceJobIdT &&value)
const Aws::String & GetLifecycleStatusMessage() const
bool MaxWorkerCountHasBeenSet() const
const Aws::Utils::DateTime & GetStartedAt() const
bool UpdatedAtHasBeenSet() const
AWS_DEADLINE_API JobSearchSummary()=default
bool TaskRunStatusCountsHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::Map< TaskRunStatus, int > & GetTaskRunStatusCounts() const
void SetQueueId(QueueIdT &&value)
void SetCreatedBy(CreatedByT &&value)
bool JobParametersHasBeenSet() const
bool TaskFailureRetryCountHasBeenSet() const
const Aws::String & GetName() const
bool MaxFailedTasksCountHasBeenSet() const
JobLifecycleStatus GetLifecycleStatus() const
void SetLifecycleStatus(JobLifecycleStatus value)
void SetLifecycleStatusMessage(LifecycleStatusMessageT &&value)
bool CreatedAtHasBeenSet() const
void SetMaxFailedTasksCount(int value)
const Aws::Map< Aws::String, JobParameter > & GetJobParameters() const
void SetTaskFailureRetryCount(int value)
void SetCreatedAt(CreatedAtT &&value)
JobTargetTaskRunStatus GetTargetTaskRunStatus() const
const Aws::String & GetCreatedBy() 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