7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/deadline/model/JobLifecycleStatus.h>
10#include <aws/deadline/model/TaskRunStatus.h>
11#include <aws/deadline/model/JobTargetTaskRunStatus.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/deadline/model/JobParameter.h>
54 inline void SetJobId(
const char* value) { m_jobIdHasBeenSet =
true; m_jobId.assign(value); }
68 inline void SetQueueId(
const char* value) { m_queueIdHasBeenSet =
true; m_queueId.assign(value); }
82 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
108 inline void SetLifecycleStatusMessage(
const char* value) { m_lifecycleStatusMessageHasBeenSet =
true; m_lifecycleStatusMessage.assign(value); }
168 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
189 inline void SetMaxRetriesPerTask(
int value) { m_maxRetriesPerTaskHasBeenSet =
true; m_maxRetriesPerTask = value; }
201 inline void SetCreatedBy(
const char* value) { m_createdByHasBeenSet =
true; m_createdBy.assign(value); }
269 inline void SetSourceJobId(
const char* value) { m_sourceJobIdHasBeenSet =
true; m_sourceJobId.assign(value); }
277 bool m_jobIdHasBeenSet =
false;
280 bool m_queueIdHasBeenSet =
false;
283 bool m_nameHasBeenSet =
false;
286 bool m_lifecycleStatusHasBeenSet =
false;
289 bool m_lifecycleStatusMessageHasBeenSet =
false;
292 bool m_taskRunStatusHasBeenSet =
false;
295 bool m_targetTaskRunStatusHasBeenSet =
false;
298 bool m_taskRunStatusCountsHasBeenSet =
false;
301 bool m_priorityHasBeenSet =
false;
303 int m_maxFailedTasksCount;
304 bool m_maxFailedTasksCountHasBeenSet =
false;
306 int m_maxRetriesPerTask;
307 bool m_maxRetriesPerTaskHasBeenSet =
false;
310 bool m_createdByHasBeenSet =
false;
313 bool m_createdAtHasBeenSet =
false;
316 bool m_endedAtHasBeenSet =
false;
319 bool m_startedAtHasBeenSet =
false;
322 bool m_jobParametersHasBeenSet =
false;
325 bool m_sourceJobIdHasBeenSet =
false;
JobSearchSummary & WithSourceJobId(const char *value)
JobSearchSummary & WithEndedAt(Aws::Utils::DateTime &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
JobSearchSummary & WithTaskRunStatusCounts(Aws::Map< TaskRunStatus, int > &&value)
JobSearchSummary & WithPriority(int value)
JobSearchSummary & WithLifecycleStatus(const JobLifecycleStatus &value)
bool LifecycleStatusMessageHasBeenSet() const
JobSearchSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
JobSearchSummary & WithSourceJobId(const Aws::String &value)
const JobTargetTaskRunStatus & GetTargetTaskRunStatus() const
const Aws::Utils::DateTime & GetEndedAt() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetStartedAt(Aws::Utils::DateTime &&value)
AWS_DEADLINE_API JobSearchSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
JobSearchSummary & WithTaskRunStatusCounts(const Aws::Map< TaskRunStatus, int > &value)
JobSearchSummary & WithLifecycleStatusMessage(Aws::String &&value)
JobSearchSummary & WithJobId(Aws::String &&value)
bool TargetTaskRunStatusHasBeenSet() const
int GetMaxRetriesPerTask() const
const Aws::String & GetJobId() const
bool TaskRunStatusHasBeenSet() const
void SetName(const Aws::String &value)
void SetCreatedBy(Aws::String &&value)
JobSearchSummary & WithLifecycleStatusMessage(const Aws::String &value)
bool CreatedByHasBeenSet() const
JobSearchSummary & WithMaxRetriesPerTask(int value)
JobSearchSummary & AddJobParameters(const char *key, const JobParameter &value)
AWS_DEADLINE_API JobSearchSummary(Aws::Utils::Json::JsonView jsonValue)
JobSearchSummary & AddTaskRunStatusCounts(TaskRunStatus &&key, int value)
JobSearchSummary & WithSourceJobId(Aws::String &&value)
const Aws::String & GetQueueId() const
bool PriorityHasBeenSet() const
void SetMaxRetriesPerTask(int value)
void SetStartedAt(const Aws::Utils::DateTime &value)
void SetTargetTaskRunStatus(JobTargetTaskRunStatus &&value)
bool MaxRetriesPerTaskHasBeenSet() const
JobSearchSummary & WithMaxFailedTasksCount(int value)
JobSearchSummary & WithJobId(const Aws::String &value)
void SetName(Aws::String &&value)
JobSearchSummary & WithName(Aws::String &&value)
bool EndedAtHasBeenSet() const
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
JobSearchSummary & WithEndedAt(const Aws::Utils::DateTime &value)
JobSearchSummary & WithTargetTaskRunStatus(JobTargetTaskRunStatus &&value)
JobSearchSummary & AddJobParameters(const Aws::String &key, JobParameter &&value)
JobSearchSummary & WithTaskRunStatus(TaskRunStatus &&value)
int GetMaxFailedTasksCount() const
void SetJobId(const Aws::String &value)
void SetSourceJobId(const Aws::String &value)
const JobLifecycleStatus & GetLifecycleStatus() const
void SetSourceJobId(Aws::String &&value)
void SetJobId(Aws::String &&value)
void SetJobId(const char *value)
void SetEndedAt(Aws::Utils::DateTime &&value)
void SetTaskRunStatusCounts(const Aws::Map< TaskRunStatus, int > &value)
JobSearchSummary & WithTargetTaskRunStatus(const JobTargetTaskRunStatus &value)
bool LifecycleStatusHasBeenSet() const
bool QueueIdHasBeenSet() const
bool SourceJobIdHasBeenSet() const
JobSearchSummary & WithCreatedBy(const char *value)
JobSearchSummary & AddJobParameters(Aws::String &&key, JobParameter &&value)
bool JobIdHasBeenSet() const
JobSearchSummary & WithStartedAt(Aws::Utils::DateTime &&value)
void SetLifecycleStatusMessage(Aws::String &&value)
JobSearchSummary & WithLifecycleStatus(JobLifecycleStatus &&value)
void SetTaskRunStatusCounts(Aws::Map< TaskRunStatus, int > &&value)
bool NameHasBeenSet() const
JobSearchSummary & AddTaskRunStatusCounts(const TaskRunStatus &key, int value)
JobSearchSummary & WithLifecycleStatusMessage(const char *value)
JobSearchSummary & WithCreatedBy(Aws::String &&value)
void SetQueueId(Aws::String &&value)
JobSearchSummary & WithCreatedBy(const Aws::String &value)
void SetSourceJobId(const char *value)
void SetName(const char *value)
void SetLifecycleStatus(JobLifecycleStatus &&value)
const Aws::String & GetSourceJobId() const
bool StartedAtHasBeenSet() const
const TaskRunStatus & GetTaskRunStatus() const
JobSearchSummary & WithStartedAt(const Aws::Utils::DateTime &value)
JobSearchSummary & WithJobParameters(const Aws::Map< Aws::String, JobParameter > &value)
JobSearchSummary & AddJobParameters(const Aws::String &key, const JobParameter &value)
JobSearchSummary & WithJobParameters(Aws::Map< Aws::String, JobParameter > &&value)
JobSearchSummary & WithName(const Aws::String &value)
void SetLifecycleStatusMessage(const Aws::String &value)
void SetPriority(int value)
void SetCreatedBy(const Aws::String &value)
JobSearchSummary & WithQueueId(const Aws::String &value)
JobSearchSummary & WithQueueId(const char *value)
JobSearchSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetEndedAt(const Aws::Utils::DateTime &value)
void SetLifecycleStatusMessage(const char *value)
const Aws::Utils::DateTime & GetCreatedAt() const
JobSearchSummary & WithTaskRunStatus(const TaskRunStatus &value)
const Aws::String & GetLifecycleStatusMessage() const
void SetJobParameters(const Aws::Map< Aws::String, JobParameter > &value)
const Aws::Utils::DateTime & GetStartedAt() const
void SetLifecycleStatus(const JobLifecycleStatus &value)
JobSearchSummary & WithQueueId(Aws::String &&value)
bool TaskRunStatusCountsHasBeenSet() const
void SetTaskRunStatus(const TaskRunStatus &value)
JobSearchSummary & WithName(const char *value)
const Aws::Map< TaskRunStatus, int > & GetTaskRunStatusCounts() const
void SetCreatedBy(const char *value)
bool JobParametersHasBeenSet() const
const Aws::String & GetName() const
bool MaxFailedTasksCountHasBeenSet() const
void SetJobParameters(Aws::Map< Aws::String, JobParameter > &&value)
JobSearchSummary & AddJobParameters(const char *key, JobParameter &&value)
AWS_DEADLINE_API JobSearchSummary()
void SetQueueId(const char *value)
bool CreatedAtHasBeenSet() const
void SetMaxFailedTasksCount(int value)
const Aws::Map< Aws::String, JobParameter > & GetJobParameters() const
void SetTaskRunStatus(TaskRunStatus &&value)
JobSearchSummary & AddJobParameters(Aws::String &&key, const JobParameter &value)
void SetQueueId(const Aws::String &value)
JobSearchSummary & WithJobId(const char *value)
void SetTargetTaskRunStatus(const JobTargetTaskRunStatus &value)
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