7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/deadline/DeadlineRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/deadline/model/JobTargetTaskRunStatus.h>
11#include <aws/deadline/model/UpdateJobLifecycleStatus.h>
13#include <aws/core/utils/UUID.h>
49 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
63 inline void SetFarmId(
const char* value) { m_farmIdHasBeenSet =
true; m_farmId.assign(value); }
77 inline void SetQueueId(
const char* value) { m_queueIdHasBeenSet =
true; m_queueId.assign(value); }
91 inline void SetJobId(
const char* value) { m_jobIdHasBeenSet =
true; m_jobId.assign(value); }
115 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
136 inline void SetMaxRetriesPerTask(
int value) { m_maxRetriesPerTaskHasBeenSet =
true; m_maxRetriesPerTask = value; }
157 bool m_clientTokenHasBeenSet =
false;
160 bool m_farmIdHasBeenSet =
false;
163 bool m_queueIdHasBeenSet =
false;
166 bool m_jobIdHasBeenSet =
false;
169 bool m_targetTaskRunStatusHasBeenSet =
false;
172 bool m_priorityHasBeenSet =
false;
174 int m_maxFailedTasksCount;
175 bool m_maxFailedTasksCountHasBeenSet =
false;
177 int m_maxRetriesPerTask;
178 bool m_maxRetriesPerTaskHasBeenSet =
false;
181 bool m_lifecycleStatusHasBeenSet =
false;
const Aws::String & GetJobId() const
UpdateJobRequest & WithFarmId(const Aws::String &value)
UpdateJobRequest & WithJobId(Aws::String &&value)
UpdateJobRequest & WithLifecycleStatus(const UpdateJobLifecycleStatus &value)
void SetMaxRetriesPerTask(int value)
void SetPriority(int value)
bool JobIdHasBeenSet() const
const Aws::String & GetQueueId() const
UpdateJobRequest & WithMaxFailedTasksCount(int value)
void SetJobId(const Aws::String &value)
void SetQueueId(Aws::String &&value)
UpdateJobRequest & WithClientToken(const Aws::String &value)
int GetMaxRetriesPerTask() const
void SetQueueId(const char *value)
UpdateJobRequest & WithJobId(const char *value)
UpdateJobRequest & WithPriority(int value)
void SetFarmId(const char *value)
UpdateJobRequest & WithClientToken(const char *value)
void SetTargetTaskRunStatus(JobTargetTaskRunStatus &&value)
virtual const char * GetServiceRequestName() const override
void SetQueueId(const Aws::String &value)
void SetLifecycleStatus(UpdateJobLifecycleStatus &&value)
const UpdateJobLifecycleStatus & GetLifecycleStatus() const
bool MaxFailedTasksCountHasBeenSet() const
void SetMaxFailedTasksCount(int value)
UpdateJobRequest & WithClientToken(Aws::String &&value)
UpdateJobRequest & WithQueueId(const char *value)
void SetClientToken(const char *value)
AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateJobRequest & WithFarmId(const char *value)
UpdateJobRequest & WithFarmId(Aws::String &&value)
bool MaxRetriesPerTaskHasBeenSet() const
void SetLifecycleStatus(const UpdateJobLifecycleStatus &value)
bool TargetTaskRunStatusHasBeenSet() const
void SetJobId(Aws::String &&value)
bool PriorityHasBeenSet() const
bool LifecycleStatusHasBeenSet() const
UpdateJobRequest & WithQueueId(const Aws::String &value)
int GetMaxFailedTasksCount() const
AWS_DEADLINE_API UpdateJobRequest()
UpdateJobRequest & WithMaxRetriesPerTask(int value)
void SetClientToken(const Aws::String &value)
const Aws::String & GetFarmId() const
void SetFarmId(Aws::String &&value)
void SetJobId(const char *value)
const Aws::String & GetClientToken() const
AWS_DEADLINE_API Aws::String SerializePayload() const override
void SetClientToken(Aws::String &&value)
bool FarmIdHasBeenSet() const
void SetTargetTaskRunStatus(const JobTargetTaskRunStatus &value)
UpdateJobRequest & WithQueueId(Aws::String &&value)
UpdateJobRequest & WithJobId(const Aws::String &value)
bool QueueIdHasBeenSet() const
UpdateJobRequest & WithLifecycleStatus(UpdateJobLifecycleStatus &&value)
UpdateJobRequest & WithTargetTaskRunStatus(const JobTargetTaskRunStatus &value)
UpdateJobRequest & WithTargetTaskRunStatus(JobTargetTaskRunStatus &&value)
bool ClientTokenHasBeenSet() const
const JobTargetTaskRunStatus & GetTargetTaskRunStatus() const
void SetFarmId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String