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/core/utils/DateTime.h>
11#include <aws/deadline/model/TaskRunStatus.h>
12#include <aws/deadline/model/JobTargetTaskRunStatus.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
53 inline void SetJobId(
const char* value) { m_jobIdHasBeenSet =
true; m_jobId.assign(value); }
67 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
93 inline void SetLifecycleStatusMessage(
const char* value) { m_lifecycleStatusMessageHasBeenSet =
true; m_lifecycleStatusMessage.assign(value); }
105 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
129 inline void SetCreatedBy(
const char* value) { m_createdByHasBeenSet =
true; m_createdBy.assign(value); }
155 inline void SetUpdatedBy(
const char* value) { m_updatedByHasBeenSet =
true; m_updatedBy.assign(value); }
250 inline void SetMaxRetriesPerTask(
int value) { m_maxRetriesPerTaskHasBeenSet =
true; m_maxRetriesPerTask = value; }
262 inline void SetSourceJobId(
const char* value) { m_sourceJobIdHasBeenSet =
true; m_sourceJobId.assign(value); }
270 bool m_jobIdHasBeenSet =
false;
273 bool m_nameHasBeenSet =
false;
276 bool m_lifecycleStatusHasBeenSet =
false;
279 bool m_lifecycleStatusMessageHasBeenSet =
false;
282 bool m_priorityHasBeenSet =
false;
285 bool m_createdAtHasBeenSet =
false;
288 bool m_createdByHasBeenSet =
false;
291 bool m_updatedAtHasBeenSet =
false;
294 bool m_updatedByHasBeenSet =
false;
297 bool m_startedAtHasBeenSet =
false;
300 bool m_endedAtHasBeenSet =
false;
303 bool m_taskRunStatusHasBeenSet =
false;
306 bool m_targetTaskRunStatusHasBeenSet =
false;
309 bool m_taskRunStatusCountsHasBeenSet =
false;
311 int m_maxFailedTasksCount;
312 bool m_maxFailedTasksCountHasBeenSet =
false;
314 int m_maxRetriesPerTask;
315 bool m_maxRetriesPerTaskHasBeenSet =
false;
318 bool m_sourceJobIdHasBeenSet =
false;
void SetTargetTaskRunStatus(JobTargetTaskRunStatus &&value)
JobSummary & WithName(Aws::String &&value)
void SetPriority(int value)
JobSummary & WithStartedAt(const Aws::Utils::DateTime &value)
const JobTargetTaskRunStatus & GetTargetTaskRunStatus() const
void SetName(Aws::String &&value)
JobSummary & WithPriority(int value)
const Aws::Utils::DateTime & GetStartedAt() const
JobSummary & WithMaxFailedTasksCount(int value)
const Aws::Map< TaskRunStatus, int > & GetTaskRunStatusCounts() const
JobSummary & WithCreatedBy(const Aws::String &value)
void SetName(const Aws::String &value)
JobSummary & WithUpdatedBy(const char *value)
JobSummary & WithJobId(const Aws::String &value)
void SetCreatedBy(Aws::String &&value)
const JobLifecycleStatus & GetLifecycleStatus() const
JobSummary & WithName(const Aws::String &value)
int GetMaxRetriesPerTask() const
bool LifecycleStatusHasBeenSet() const
bool TaskRunStatusHasBeenSet() const
void SetCreatedBy(const char *value)
void SetSourceJobId(Aws::String &&value)
void SetUpdatedBy(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetName(const char *value)
void SetJobId(Aws::String &&value)
const Aws::String & GetSourceJobId() const
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEndedAt(Aws::Utils::DateTime &&value)
void SetLifecycleStatus(const JobLifecycleStatus &value)
void SetTaskRunStatusCounts(Aws::Map< TaskRunStatus, int > &&value)
void SetJobId(const char *value)
AWS_DEADLINE_API JobSummary()
JobSummary & WithName(const char *value)
JobSummary & AddTaskRunStatusCounts(TaskRunStatus &&key, int value)
JobSummary & WithSourceJobId(const char *value)
AWS_DEADLINE_API JobSummary(Aws::Utils::Json::JsonView jsonValue)
JobSummary & WithJobId(const char *value)
JobSummary & WithLifecycleStatusMessage(const Aws::String &value)
JobSummary & WithEndedAt(Aws::Utils::DateTime &&value)
void SetLifecycleStatusMessage(const char *value)
bool MaxFailedTasksCountHasBeenSet() const
void SetLifecycleStatus(JobLifecycleStatus &&value)
bool LifecycleStatusMessageHasBeenSet() const
JobSummary & WithLifecycleStatus(const JobLifecycleStatus &value)
const Aws::String & GetLifecycleStatusMessage() const
void SetMaxFailedTasksCount(int value)
JobSummary & WithSourceJobId(Aws::String &&value)
const TaskRunStatus & GetTaskRunStatus() const
JobSummary & WithTargetTaskRunStatus(JobTargetTaskRunStatus &&value)
bool StartedAtHasBeenSet() const
void SetUpdatedBy(const Aws::String &value)
bool UpdatedByHasBeenSet() const
JobSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetLifecycleStatusMessage(Aws::String &&value)
bool UpdatedAtHasBeenSet() const
void SetSourceJobId(const char *value)
void SetTaskRunStatus(const TaskRunStatus &value)
JobSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetCreatedBy(const Aws::String &value)
JobSummary & WithJobId(Aws::String &&value)
void SetStartedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetJobId() const
JobSummary & WithLifecycleStatusMessage(const char *value)
void SetUpdatedBy(const char *value)
JobSummary & WithEndedAt(const Aws::Utils::DateTime &value)
bool NameHasBeenSet() const
JobSummary & WithStartedAt(Aws::Utils::DateTime &&value)
void SetEndedAt(const Aws::Utils::DateTime &value)
bool MaxRetriesPerTaskHasBeenSet() const
JobSummary & WithTaskRunStatusCounts(Aws::Map< TaskRunStatus, int > &&value)
JobSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
JobSummary & WithLifecycleStatusMessage(Aws::String &&value)
bool SourceJobIdHasBeenSet() const
AWS_DEADLINE_API JobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSourceJobId(const Aws::String &value)
bool TaskRunStatusCountsHasBeenSet() const
JobSummary & WithTargetTaskRunStatus(const JobTargetTaskRunStatus &value)
const Aws::String & GetCreatedBy() const
bool EndedAtHasBeenSet() const
bool JobIdHasBeenSet() const
JobSummary & WithTaskRunStatus(const TaskRunStatus &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
JobSummary & WithUpdatedBy(const Aws::String &value)
int GetMaxFailedTasksCount() const
JobSummary & WithTaskRunStatus(TaskRunStatus &&value)
JobSummary & WithCreatedBy(Aws::String &&value)
void SetTargetTaskRunStatus(const JobTargetTaskRunStatus &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
JobSummary & WithCreatedBy(const char *value)
const Aws::String & GetName() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
JobSummary & WithMaxRetriesPerTask(int value)
const Aws::Utils::DateTime & GetUpdatedAt() const
JobSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetLifecycleStatusMessage(const Aws::String &value)
JobSummary & WithSourceJobId(const Aws::String &value)
const Aws::Utils::DateTime & GetEndedAt() const
JobSummary & WithLifecycleStatus(JobLifecycleStatus &&value)
bool PriorityHasBeenSet() const
void SetMaxRetriesPerTask(int value)
const Aws::String & GetUpdatedBy() const
bool TargetTaskRunStatusHasBeenSet() const
JobSummary & AddTaskRunStatusCounts(const TaskRunStatus &key, int value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
JobSummary & WithUpdatedBy(Aws::String &&value)
void SetTaskRunStatus(TaskRunStatus &&value)
bool CreatedAtHasBeenSet() const
void SetTaskRunStatusCounts(const Aws::Map< TaskRunStatus, int > &value)
void SetJobId(const Aws::String &value)
JobSummary & WithTaskRunStatusCounts(const Aws::Map< TaskRunStatus, int > &value)
void SetStartedAt(Aws::Utils::DateTime &&value)
bool CreatedByHasBeenSet() 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