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>
14#include <aws/deadline/model/Attachments.h>
15#include <aws/deadline/model/JobParameter.h>
20template<
typename RESULT_TYPE>
21class AmazonWebServiceResult;
49 inline void SetJobId(
const char* value) { m_jobId.assign(value); }
62 inline void SetName(
const char* value) { m_name.assign(value); }
119 inline void SetCreatedBy(
const char* value) { m_createdBy.assign(value); }
143 inline void SetUpdatedBy(
const char* value) { m_updatedBy.assign(value); }
299 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
336 int m_maxFailedTasksCount;
338 int m_maxRetriesPerTask;
GetJobResult & AddParameters(Aws::String &&key, const JobParameter &value)
const Aws::String & GetJobId() const
void SetCreatedBy(const char *value)
GetJobResult & WithLifecycleStatus(JobLifecycleStatus &&value)
GetJobResult & WithName(const Aws::String &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetTaskRunStatus(const TaskRunStatus &value)
GetJobResult & WithPriority(int value)
void SetJobId(const Aws::String &value)
GetJobResult & WithAttachments(Attachments &&value)
GetJobResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetJobResult & WithStorageProfileId(const Aws::String &value)
void SetDescription(Aws::String &&value)
void SetRequestId(const Aws::String &value)
void SetStartedAt(const Aws::Utils::DateTime &value)
void SetStorageProfileId(Aws::String &&value)
GetJobResult & WithEndedAt(const Aws::Utils::DateTime &value)
GetJobResult & WithJobId(Aws::String &&value)
const Aws::String & GetName() const
void SetLifecycleStatusMessage(const Aws::String &value)
void SetSourceJobId(const char *value)
void SetRequestId(const char *value)
void SetLifecycleStatusMessage(const char *value)
const Attachments & GetAttachments() const
GetJobResult & WithParameters(Aws::Map< Aws::String, JobParameter > &&value)
void SetLifecycleStatus(JobLifecycleStatus &&value)
void SetLifecycleStatusMessage(Aws::String &&value)
void SetSourceJobId(Aws::String &&value)
void SetTaskRunStatusCounts(Aws::Map< TaskRunStatus, int > &&value)
GetJobResult & WithTargetTaskRunStatus(JobTargetTaskRunStatus &&value)
GetJobResult & WithCreatedBy(const Aws::String &value)
void SetUpdatedBy(const Aws::String &value)
GetJobResult & AddParameters(Aws::String &&key, JobParameter &&value)
AWS_DEADLINE_API GetJobResult()
GetJobResult & WithTaskRunStatus(const TaskRunStatus &value)
void SetTargetTaskRunStatus(const JobTargetTaskRunStatus &value)
GetJobResult & WithMaxRetriesPerTask(int value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetUpdatedBy() const
GetJobResult & WithSourceJobId(const Aws::String &value)
void SetName(Aws::String &&value)
GetJobResult & WithStartedAt(Aws::Utils::DateTime &&value)
GetJobResult & WithJobId(const char *value)
GetJobResult & WithSourceJobId(Aws::String &&value)
GetJobResult & WithDescription(const Aws::String &value)
void SetAttachments(const Attachments &value)
const Aws::String & GetLifecycleStatusMessage() const
void SetSourceJobId(const Aws::String &value)
void SetJobId(const char *value)
GetJobResult & WithJobId(const Aws::String &value)
GetJobResult & WithLifecycleStatusMessage(Aws::String &&value)
GetJobResult & WithLifecycleStatusMessage(const Aws::String &value)
GetJobResult & WithCreatedBy(const char *value)
GetJobResult & AddTaskRunStatusCounts(TaskRunStatus &&key, int value)
GetJobResult & WithTaskRunStatus(TaskRunStatus &&value)
GetJobResult & AddTaskRunStatusCounts(const TaskRunStatus &key, int value)
const JobLifecycleStatus & GetLifecycleStatus() const
void SetCreatedBy(const Aws::String &value)
GetJobResult & WithParameters(const Aws::Map< Aws::String, JobParameter > &value)
GetJobResult & WithUpdatedBy(const char *value)
GetJobResult & WithStorageProfileId(Aws::String &&value)
GetJobResult & WithTaskRunStatusCounts(const Aws::Map< TaskRunStatus, int > &value)
void SetTargetTaskRunStatus(JobTargetTaskRunStatus &&value)
void SetPriority(int value)
void SetTaskRunStatus(TaskRunStatus &&value)
void SetEndedAt(Aws::Utils::DateTime &&value)
GetJobResult & AddParameters(const Aws::String &key, const JobParameter &value)
GetJobResult & WithUpdatedBy(Aws::String &&value)
GetJobResult & AddParameters(const char *key, JobParameter &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetName(const char *value)
GetJobResult & WithTargetTaskRunStatus(const JobTargetTaskRunStatus &value)
void SetLifecycleStatus(const JobLifecycleStatus &value)
GetJobResult & WithRequestId(const char *value)
GetJobResult & WithTaskRunStatusCounts(Aws::Map< TaskRunStatus, int > &&value)
const Aws::String & GetRequestId() const
void SetUpdatedBy(Aws::String &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetDescription() const
GetJobResult & WithCreatedBy(Aws::String &&value)
GetJobResult & WithLifecycleStatusMessage(const char *value)
GetJobResult & WithStartedAt(const Aws::Utils::DateTime &value)
int GetMaxFailedTasksCount() const
const Aws::String & GetCreatedBy() const
GetJobResult & AddParameters(const char *key, const JobParameter &value)
GetJobResult & WithDescription(const char *value)
GetJobResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetJobResult & WithUpdatedBy(const Aws::String &value)
void SetAttachments(Attachments &&value)
GetJobResult & WithRequestId(const Aws::String &value)
void SetStorageProfileId(const Aws::String &value)
void SetJobId(Aws::String &&value)
const Aws::Utils::DateTime & GetStartedAt() const
void SetDescription(const Aws::String &value)
GetJobResult & WithName(Aws::String &&value)
void SetTaskRunStatusCounts(const Aws::Map< TaskRunStatus, int > &value)
void SetDescription(const char *value)
void SetStartedAt(Aws::Utils::DateTime &&value)
AWS_DEADLINE_API GetJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const TaskRunStatus & GetTaskRunStatus() const
const JobTargetTaskRunStatus & GetTargetTaskRunStatus() const
GetJobResult & AddParameters(const Aws::String &key, JobParameter &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetCreatedBy(Aws::String &&value)
GetJobResult & WithMaxFailedTasksCount(int value)
GetJobResult & WithAttachments(const Attachments &value)
void SetRequestId(Aws::String &&value)
GetJobResult & WithRequestId(Aws::String &&value)
const Aws::Map< TaskRunStatus, int > & GetTaskRunStatusCounts() const
GetJobResult & WithEndedAt(Aws::Utils::DateTime &&value)
GetJobResult & WithName(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetParameters(Aws::Map< Aws::String, JobParameter > &&value)
GetJobResult & WithDescription(Aws::String &&value)
const Aws::Utils::DateTime & GetEndedAt() const
AWS_DEADLINE_API GetJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
int GetMaxRetriesPerTask() const
GetJobResult & WithLifecycleStatus(const JobLifecycleStatus &value)
void SetMaxFailedTasksCount(int value)
const Aws::String & GetSourceJobId() const
GetJobResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetStorageProfileId(const char *value)
const Aws::String & GetStorageProfileId() const
GetJobResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
GetJobResult & WithSourceJobId(const char *value)
void SetParameters(const Aws::Map< Aws::String, JobParameter > &value)
void SetMaxRetriesPerTask(int value)
void SetEndedAt(const Aws::Utils::DateTime &value)
const Aws::Map< Aws::String, JobParameter > & GetParameters() const
GetJobResult & WithStorageProfileId(const char *value)
void SetName(const Aws::String &value)
void SetUpdatedBy(const char *value)
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