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/JobTemplateType.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/deadline/model/Attachments.h>
13#include <aws/deadline/model/CreateJobTargetTaskRunStatus.h>
14#include <aws/deadline/model/JobParameter.h>
16#include <aws/core/utils/UUID.h>
51 inline void SetFarmId(
const char* value) { m_farmIdHasBeenSet =
true; m_farmId.assign(value); }
65 inline void SetQueueId(
const char* value) { m_queueIdHasBeenSet =
true; m_queueId.assign(value); }
80 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
94 inline void SetTemplate(
const char* value) { m_templateHasBeenSet =
true; m_template.assign(value); }
120 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
163 inline void SetStorageProfileId(
const char* value) { m_storageProfileIdHasBeenSet =
true; m_storageProfileId.assign(value); }
199 inline void SetMaxRetriesPerTask(
int value) { m_maxRetriesPerTaskHasBeenSet =
true; m_maxRetriesPerTask = value; }
211 inline void SetSourceJobId(
const char* value) { m_sourceJobIdHasBeenSet =
true; m_sourceJobId.assign(value); }
219 bool m_farmIdHasBeenSet =
false;
222 bool m_queueIdHasBeenSet =
false;
225 bool m_clientTokenHasBeenSet =
false;
228 bool m_templateHasBeenSet =
false;
231 bool m_templateTypeHasBeenSet =
false;
234 bool m_priorityHasBeenSet =
false;
237 bool m_parametersHasBeenSet =
false;
240 bool m_attachmentsHasBeenSet =
false;
243 bool m_storageProfileIdHasBeenSet =
false;
246 bool m_targetTaskRunStatusHasBeenSet =
false;
248 int m_maxFailedTasksCount;
249 bool m_maxFailedTasksCountHasBeenSet =
false;
251 int m_maxRetriesPerTask;
252 bool m_maxRetriesPerTaskHasBeenSet =
false;
255 bool m_sourceJobIdHasBeenSet =
false;
const Aws::String & GetQueueId() const
bool StorageProfileIdHasBeenSet() const
CreateJobRequest & WithTemplateType(const JobTemplateType &value)
AWS_DEADLINE_API Aws::String SerializePayload() const override
CreateJobRequest & WithClientToken(const char *value)
void SetClientToken(Aws::String &&value)
CreateJobRequest & WithSourceJobId(const Aws::String &value)
CreateJobRequest & WithAttachments(const Attachments &value)
CreateJobRequest & WithClientToken(const Aws::String &value)
CreateJobRequest & WithSourceJobId(Aws::String &&value)
const Attachments & GetAttachments() const
CreateJobRequest & AddParameters(const char *key, JobParameter &&value)
bool PriorityHasBeenSet() const
CreateJobRequest & WithQueueId(const char *value)
CreateJobRequest & WithTemplate(const char *value)
CreateJobRequest & WithSourceJobId(const char *value)
void SetStorageProfileId(const char *value)
const Aws::Map< Aws::String, JobParameter > & GetParameters() const
AWS_DEADLINE_API CreateJobRequest()
void SetQueueId(const Aws::String &value)
void SetParameters(const Aws::Map< Aws::String, JobParameter > &value)
CreateJobRequest & WithFarmId(const char *value)
CreateJobRequest & WithStorageProfileId(const Aws::String &value)
void SetParameters(Aws::Map< Aws::String, JobParameter > &&value)
void SetAttachments(const Attachments &value)
bool MaxRetriesPerTaskHasBeenSet() const
void SetFarmId(const char *value)
void SetTemplateType(const JobTemplateType &value)
void SetFarmId(Aws::String &&value)
void SetTemplateType(JobTemplateType &&value)
void SetClientToken(const char *value)
virtual const char * GetServiceRequestName() const override
const CreateJobTargetTaskRunStatus & GetTargetTaskRunStatus() const
CreateJobRequest & AddParameters(const char *key, const JobParameter &value)
void SetTargetTaskRunStatus(CreateJobTargetTaskRunStatus &&value)
CreateJobRequest & WithTemplate(Aws::String &&value)
const Aws::String & GetSourceJobId() const
CreateJobRequest & WithTargetTaskRunStatus(const CreateJobTargetTaskRunStatus &value)
bool MaxFailedTasksCountHasBeenSet() const
CreateJobRequest & WithMaxRetriesPerTask(int value)
bool AttachmentsHasBeenSet() const
bool FarmIdHasBeenSet() const
const Aws::String & GetStorageProfileId() const
void SetSourceJobId(const char *value)
CreateJobRequest & WithMaxFailedTasksCount(int value)
CreateJobRequest & WithStorageProfileId(Aws::String &&value)
CreateJobRequest & AddParameters(Aws::String &&key, const JobParameter &value)
CreateJobRequest & WithClientToken(Aws::String &&value)
CreateJobRequest & AddParameters(const Aws::String &key, JobParameter &&value)
CreateJobRequest & WithParameters(Aws::Map< Aws::String, JobParameter > &&value)
void SetTemplate(const Aws::String &value)
bool TemplateTypeHasBeenSet() const
void SetAttachments(Attachments &&value)
CreateJobRequest & WithFarmId(Aws::String &&value)
bool TemplateHasBeenSet() const
CreateJobRequest & WithFarmId(const Aws::String &value)
int GetMaxRetriesPerTask() const
void SetStorageProfileId(const Aws::String &value)
void SetSourceJobId(const Aws::String &value)
void SetMaxRetriesPerTask(int value)
void SetQueueId(Aws::String &&value)
void SetStorageProfileId(Aws::String &&value)
AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateJobRequest & WithPriority(int value)
void SetPriority(int value)
const Aws::String & GetFarmId() const
CreateJobRequest & WithTargetTaskRunStatus(CreateJobTargetTaskRunStatus &&value)
void SetTemplate(Aws::String &&value)
bool ParametersHasBeenSet() const
CreateJobRequest & WithTemplate(const Aws::String &value)
const Aws::String & GetTemplate() const
bool ClientTokenHasBeenSet() const
CreateJobRequest & WithQueueId(const Aws::String &value)
int GetMaxFailedTasksCount() const
void SetMaxFailedTasksCount(int value)
const Aws::String & GetClientToken() const
void SetTemplate(const char *value)
CreateJobRequest & AddParameters(Aws::String &&key, JobParameter &&value)
CreateJobRequest & AddParameters(const Aws::String &key, const JobParameter &value)
const JobTemplateType & GetTemplateType() const
void SetTargetTaskRunStatus(const CreateJobTargetTaskRunStatus &value)
bool QueueIdHasBeenSet() const
void SetClientToken(const Aws::String &value)
CreateJobRequest & WithTemplateType(JobTemplateType &&value)
void SetSourceJobId(Aws::String &&value)
CreateJobRequest & WithStorageProfileId(const char *value)
bool SourceJobIdHasBeenSet() const
CreateJobRequest & WithQueueId(Aws::String &&value)
void SetQueueId(const char *value)
bool TargetTaskRunStatusHasBeenSet() const
CreateJobRequest & WithParameters(const Aws::Map< Aws::String, JobParameter > &value)
void SetFarmId(const Aws::String &value)
CreateJobRequest & WithAttachments(Attachments &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
CreateJobTargetTaskRunStatus
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