7#include <aws/batch/BatchRequest.h>
8#include <aws/batch/Batch_EXPORTS.h>
9#include <aws/batch/model/ServiceJobPreemptionConfiguration.h>
10#include <aws/batch/model/ServiceJobRetryStrategy.h>
11#include <aws/batch/model/ServiceJobTimeout.h>
12#include <aws/batch/model/ServiceJobType.h>
13#include <aws/core/utils/UUID.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
45 template <
typename JobNameT = Aws::String>
47 m_jobNameHasBeenSet =
true;
48 m_jobName = std::forward<JobNameT>(value);
50 template <
typename JobNameT = Aws::String>
65 template <
typename JobQueueT = Aws::String>
67 m_jobQueueHasBeenSet =
true;
68 m_jobQueue = std::forward<JobQueueT>(value);
70 template <
typename JobQueueT = Aws::String>
84 template <
typename RetryStrategyT = ServiceJobRetryStrategy>
86 m_retryStrategyHasBeenSet =
true;
87 m_retryStrategy = std::forward<RetryStrategyT>(value);
89 template <
typename RetryStrategyT = ServiceJobRetryStrategy>
104 m_schedulingPriorityHasBeenSet =
true;
105 m_schedulingPriority = value;
120 template <
typename ServiceRequestPayloadT = Aws::String>
122 m_serviceRequestPayloadHasBeenSet =
true;
123 m_serviceRequestPayload = std::forward<ServiceRequestPayloadT>(value);
125 template <
typename ServiceRequestPayloadT = Aws::String>
140 m_serviceJobTypeHasBeenSet =
true;
141 m_serviceJobType = value;
157 template <
typename ShareIdentifierT = Aws::String>
159 m_shareIdentifierHasBeenSet =
true;
160 m_shareIdentifier = std::forward<ShareIdentifierT>(value);
162 template <
typename ShareIdentifierT = Aws::String>
177 template <
typename QuotaShareNameT = Aws::String>
179 m_quotaShareNameHasBeenSet =
true;
180 m_quotaShareName = std::forward<QuotaShareNameT>(value);
182 template <
typename QuotaShareNameT = Aws::String>
195 template <
typename PreemptionConfigurationT = ServiceJobPreemptionConfiguration>
197 m_preemptionConfigurationHasBeenSet =
true;
198 m_preemptionConfiguration = std::forward<PreemptionConfigurationT>(value);
200 template <
typename PreemptionConfigurationT = ServiceJobPreemptionConfiguration>
214 template <
typename TimeoutConfigT = ServiceJobTimeout>
216 m_timeoutConfigHasBeenSet =
true;
217 m_timeoutConfig = std::forward<TimeoutConfigT>(value);
219 template <
typename TimeoutConfigT = ServiceJobTimeout>
235 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
237 m_tagsHasBeenSet =
true;
238 m_tags = std::forward<TagsT>(value);
240 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
242 SetTags(std::forward<TagsT>(value));
245 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
247 m_tagsHasBeenSet =
true;
248 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
262 template <
typename ClientTokenT = Aws::String>
264 m_clientTokenHasBeenSet =
true;
265 m_clientToken = std::forward<ClientTokenT>(value);
267 template <
typename ClientTokenT = Aws::String>
280 int m_schedulingPriority{0};
290 ServiceJobPreemptionConfiguration m_preemptionConfiguration;
292 ServiceJobTimeout m_timeoutConfig;
297 bool m_jobNameHasBeenSet =
false;
298 bool m_jobQueueHasBeenSet =
false;
299 bool m_retryStrategyHasBeenSet =
false;
300 bool m_schedulingPriorityHasBeenSet =
false;
301 bool m_serviceRequestPayloadHasBeenSet =
false;
302 bool m_serviceJobTypeHasBeenSet =
false;
303 bool m_shareIdentifierHasBeenSet =
false;
304 bool m_quotaShareNameHasBeenSet =
false;
305 bool m_preemptionConfigurationHasBeenSet =
false;
306 bool m_timeoutConfigHasBeenSet =
false;
307 bool m_tagsHasBeenSet =
false;
308 bool m_clientTokenHasBeenSet =
true;
bool ServiceRequestPayloadHasBeenSet() const
bool ServiceJobTypeHasBeenSet() const
const Aws::String & GetJobName() const
SubmitServiceJobRequest & WithClientToken(ClientTokenT &&value)
SubmitServiceJobRequest & WithTags(TagsT &&value)
ServiceJobType GetServiceJobType() const
void SetSchedulingPriority(int value)
bool ClientTokenHasBeenSet() const
void SetRetryStrategy(RetryStrategyT &&value)
virtual const char * GetServiceRequestName() const override
void SetClientToken(ClientTokenT &&value)
SubmitServiceJobRequest & WithQuotaShareName(QuotaShareNameT &&value)
bool RetryStrategyHasBeenSet() const
void SetJobQueue(JobQueueT &&value)
const ServiceJobTimeout & GetTimeoutConfig() const
void SetJobName(JobNameT &&value)
bool JobNameHasBeenSet() const
const ServiceJobPreemptionConfiguration & GetPreemptionConfiguration() const
SubmitServiceJobRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_BATCH_API Aws::String SerializePayload() const override
const ServiceJobRetryStrategy & GetRetryStrategy() const
bool PreemptionConfigurationHasBeenSet() const
bool SchedulingPriorityHasBeenSet() const
void SetQuotaShareName(QuotaShareNameT &&value)
void SetTags(TagsT &&value)
void SetShareIdentifier(ShareIdentifierT &&value)
const Aws::String & GetClientToken() const
SubmitServiceJobRequest & WithJobQueue(JobQueueT &&value)
const Aws::String & GetServiceRequestPayload() const
int GetSchedulingPriority() const
SubmitServiceJobRequest & WithTimeoutConfig(TimeoutConfigT &&value)
SubmitServiceJobRequest & WithRetryStrategy(RetryStrategyT &&value)
const Aws::String & GetShareIdentifier() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
SubmitServiceJobRequest & WithServiceJobType(ServiceJobType value)
void SetServiceRequestPayload(ServiceRequestPayloadT &&value)
void SetServiceJobType(ServiceJobType value)
SubmitServiceJobRequest & WithSchedulingPriority(int value)
bool ShareIdentifierHasBeenSet() const
void SetTimeoutConfig(TimeoutConfigT &&value)
SubmitServiceJobRequest & WithShareIdentifier(ShareIdentifierT &&value)
bool TimeoutConfigHasBeenSet() const
SubmitServiceJobRequest & WithPreemptionConfiguration(PreemptionConfigurationT &&value)
SubmitServiceJobRequest & WithJobName(JobNameT &&value)
const Aws::String & GetJobQueue() const
bool QuotaShareNameHasBeenSet() const
SubmitServiceJobRequest & WithServiceRequestPayload(ServiceRequestPayloadT &&value)
bool TagsHasBeenSet() const
void SetPreemptionConfiguration(PreemptionConfigurationT &&value)
bool JobQueueHasBeenSet() const
const Aws::String & GetQuotaShareName() const
AWS_BATCH_API SubmitServiceJobRequest()=default
static Aws::Utils::UUID PseudoRandomUUID()
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