7#include <aws/batch/BatchRequest.h>
8#include <aws/batch/Batch_EXPORTS.h>
9#include <aws/batch/model/ServiceJobRetryStrategy.h>
10#include <aws/batch/model/ServiceJobTimeout.h>
11#include <aws/batch/model/ServiceJobType.h>
12#include <aws/core/utils/UUID.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
44 template <
typename JobNameT = Aws::String>
46 m_jobNameHasBeenSet =
true;
47 m_jobName = std::forward<JobNameT>(value);
49 template <
typename JobNameT = Aws::String>
64 template <
typename JobQueueT = Aws::String>
66 m_jobQueueHasBeenSet =
true;
67 m_jobQueue = std::forward<JobQueueT>(value);
69 template <
typename JobQueueT = Aws::String>
83 template <
typename RetryStrategyT = ServiceJobRetryStrategy>
85 m_retryStrategyHasBeenSet =
true;
86 m_retryStrategy = std::forward<RetryStrategyT>(value);
88 template <
typename RetryStrategyT = ServiceJobRetryStrategy>
103 m_schedulingPriorityHasBeenSet =
true;
104 m_schedulingPriority = value;
119 template <
typename ServiceRequestPayloadT = Aws::String>
121 m_serviceRequestPayloadHasBeenSet =
true;
122 m_serviceRequestPayload = std::forward<ServiceRequestPayloadT>(value);
124 template <
typename ServiceRequestPayloadT = Aws::String>
139 m_serviceJobTypeHasBeenSet =
true;
140 m_serviceJobType = value;
156 template <
typename ShareIdentifierT = Aws::String>
158 m_shareIdentifierHasBeenSet =
true;
159 m_shareIdentifier = std::forward<ShareIdentifierT>(value);
161 template <
typename ShareIdentifierT = Aws::String>
175 template <
typename TimeoutConfigT = ServiceJobTimeout>
177 m_timeoutConfigHasBeenSet =
true;
178 m_timeoutConfig = std::forward<TimeoutConfigT>(value);
180 template <
typename TimeoutConfigT = ServiceJobTimeout>
196 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
198 m_tagsHasBeenSet =
true;
199 m_tags = std::forward<TagsT>(value);
201 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
203 SetTags(std::forward<TagsT>(value));
206 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
208 m_tagsHasBeenSet =
true;
209 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
223 template <
typename ClientTokenT = Aws::String>
225 m_clientTokenHasBeenSet =
true;
226 m_clientToken = std::forward<ClientTokenT>(value);
228 template <
typename ClientTokenT = Aws::String>
241 int m_schedulingPriority{0};
249 ServiceJobTimeout m_timeoutConfig;
254 bool m_jobNameHasBeenSet =
false;
255 bool m_jobQueueHasBeenSet =
false;
256 bool m_retryStrategyHasBeenSet =
false;
257 bool m_schedulingPriorityHasBeenSet =
false;
258 bool m_serviceRequestPayloadHasBeenSet =
false;
259 bool m_serviceJobTypeHasBeenSet =
false;
260 bool m_shareIdentifierHasBeenSet =
false;
261 bool m_timeoutConfigHasBeenSet =
false;
262 bool m_tagsHasBeenSet =
false;
263 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)
bool RetryStrategyHasBeenSet() const
void SetJobQueue(JobQueueT &&value)
const ServiceJobTimeout & GetTimeoutConfig() const
void SetJobName(JobNameT &&value)
bool JobNameHasBeenSet() const
SubmitServiceJobRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_BATCH_API Aws::String SerializePayload() const override
const ServiceJobRetryStrategy & GetRetryStrategy() const
bool SchedulingPriorityHasBeenSet() const
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 & WithJobName(JobNameT &&value)
const Aws::String & GetJobQueue() const
SubmitServiceJobRequest & WithServiceRequestPayload(ServiceRequestPayloadT &&value)
bool TagsHasBeenSet() const
bool JobQueueHasBeenSet() 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