7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/BatchRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/batch/model/ArrayProperties.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/batch/model/ContainerOverrides.h>
14#include <aws/batch/model/NodeOverrides.h>
15#include <aws/batch/model/RetryStrategy.h>
16#include <aws/batch/model/JobTimeout.h>
17#include <aws/batch/model/EksPropertiesOverride.h>
18#include <aws/batch/model/EcsPropertiesOverride.h>
19#include <aws/batch/model/JobDependency.h>
59 inline void SetJobName(
const char* value) { m_jobNameHasBeenSet =
true; m_jobName.assign(value); }
74 inline void SetJobQueue(
const char* value) { m_jobQueueHasBeenSet =
true; m_jobQueue.assign(value); }
91 inline void SetShareIdentifier(
const char* value) { m_shareIdentifierHasBeenSet =
true; m_shareIdentifier.assign(value); }
163 inline void SetJobDefinition(
const char* value) { m_jobDefinitionHasBeenSet =
true; m_jobDefinition.assign(value); }
188 inline SubmitJobRequest&
AddParameters(
const char* key,
const char* value) { m_parametersHasBeenSet =
true; m_parameters.emplace(key, value);
return *
this; }
250 inline void SetPropagateTags(
bool value) { m_propagateTagsHasBeenSet =
true; m_propagateTags = value; }
295 inline SubmitJobRequest&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
326 bool m_jobNameHasBeenSet =
false;
329 bool m_jobQueueHasBeenSet =
false;
332 bool m_shareIdentifierHasBeenSet =
false;
334 int m_schedulingPriorityOverride;
335 bool m_schedulingPriorityOverrideHasBeenSet =
false;
338 bool m_arrayPropertiesHasBeenSet =
false;
341 bool m_dependsOnHasBeenSet =
false;
344 bool m_jobDefinitionHasBeenSet =
false;
347 bool m_parametersHasBeenSet =
false;
350 bool m_containerOverridesHasBeenSet =
false;
353 bool m_nodeOverridesHasBeenSet =
false;
356 bool m_retryStrategyHasBeenSet =
false;
358 bool m_propagateTags;
359 bool m_propagateTagsHasBeenSet =
false;
362 bool m_timeoutHasBeenSet =
false;
365 bool m_tagsHasBeenSet =
false;
368 bool m_eksPropertiesOverrideHasBeenSet =
false;
371 bool m_ecsPropertiesOverrideHasBeenSet =
false;
const NodeOverrides & GetNodeOverrides() const
SubmitJobRequest & WithEcsPropertiesOverride(const EcsPropertiesOverride &value)
bool TimeoutHasBeenSet() const
SubmitJobRequest & WithEksPropertiesOverride(const EksPropertiesOverride &value)
SubmitJobRequest & WithShareIdentifier(const char *value)
void SetJobQueue(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
bool ParametersHasBeenSet() const
SubmitJobRequest & WithNodeOverrides(const NodeOverrides &value)
SubmitJobRequest & WithJobName(Aws::String &&value)
const Aws::String & GetJobDefinition() const
void SetContainerOverrides(ContainerOverrides &&value)
void SetJobName(const Aws::String &value)
void SetTimeout(JobTimeout &&value)
SubmitJobRequest & AddDependsOn(const JobDependency &value)
SubmitJobRequest & WithShareIdentifier(Aws::String &&value)
bool EksPropertiesOverrideHasBeenSet() const
SubmitJobRequest & AddParameters(const char *key, const char *value)
void SetContainerOverrides(const ContainerOverrides &value)
void SetRetryStrategy(RetryStrategy &&value)
const Aws::String & GetJobName() const
bool ShareIdentifierHasBeenSet() const
void SetJobQueue(Aws::String &&value)
void SetEksPropertiesOverride(EksPropertiesOverride &&value)
SubmitJobRequest & AddParameters(const char *key, Aws::String &&value)
SubmitJobRequest & AddTags(const Aws::String &key, Aws::String &&value)
bool ArrayPropertiesHasBeenSet() const
SubmitJobRequest & WithEksPropertiesOverride(EksPropertiesOverride &&value)
SubmitJobRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetArrayProperties(const ArrayProperties &value)
void SetJobDefinition(const Aws::String &value)
const Aws::String & GetJobQueue() const
SubmitJobRequest & AddParameters(Aws::String &&key, const char *value)
SubmitJobRequest & WithJobQueue(const Aws::String &value)
void SetNodeOverrides(NodeOverrides &&value)
SubmitJobRequest & WithTimeout(JobTimeout &&value)
bool JobNameHasBeenSet() const
void SetPropagateTags(bool value)
void SetParameters(Aws::Map< Aws::String, Aws::String > &&value)
SubmitJobRequest & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
void SetRetryStrategy(const RetryStrategy &value)
const Aws::String & GetShareIdentifier() const
virtual const char * GetServiceRequestName() const override
SubmitJobRequest & WithSchedulingPriorityOverride(int value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
SubmitJobRequest & AddParameters(const Aws::String &key, Aws::String &&value)
SubmitJobRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
SubmitJobRequest & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
SubmitJobRequest & WithTimeout(const JobTimeout &value)
SubmitJobRequest & WithRetryStrategy(const RetryStrategy &value)
bool GetPropagateTags() const
SubmitJobRequest & AddParameters(Aws::String &&key, Aws::String &&value)
bool EcsPropertiesOverrideHasBeenSet() const
void SetEcsPropertiesOverride(EcsPropertiesOverride &&value)
AWS_BATCH_API SubmitJobRequest()
SubmitJobRequest & AddParameters(Aws::String &&key, const Aws::String &value)
void SetShareIdentifier(Aws::String &&value)
SubmitJobRequest & WithJobName(const Aws::String &value)
int GetSchedulingPriorityOverride() const
SubmitJobRequest & WithShareIdentifier(const Aws::String &value)
void SetArrayProperties(ArrayProperties &&value)
const EcsPropertiesOverride & GetEcsPropertiesOverride() const
SubmitJobRequest & WithJobName(const char *value)
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
SubmitJobRequest & WithDependsOn(const Aws::Vector< JobDependency > &value)
void SetDependsOn(Aws::Vector< JobDependency > &&value)
bool ContainerOverridesHasBeenSet() const
SubmitJobRequest & AddTags(Aws::String &&key, const char *value)
SubmitJobRequest & WithEcsPropertiesOverride(EcsPropertiesOverride &&value)
void SetJobName(Aws::String &&value)
SubmitJobRequest & WithPropagateTags(bool value)
void SetShareIdentifier(const Aws::String &value)
bool JobQueueHasBeenSet() const
SubmitJobRequest & WithContainerOverrides(ContainerOverrides &&value)
const RetryStrategy & GetRetryStrategy() const
void SetNodeOverrides(const NodeOverrides &value)
bool PropagateTagsHasBeenSet() const
AWS_BATCH_API Aws::String SerializePayload() const override
SubmitJobRequest & AddDependsOn(JobDependency &&value)
SubmitJobRequest & AddTags(const Aws::String &key, const Aws::String &value)
bool DependsOnHasBeenSet() const
SubmitJobRequest & WithArrayProperties(const ArrayProperties &value)
SubmitJobRequest & WithNodeOverrides(NodeOverrides &&value)
void SetDependsOn(const Aws::Vector< JobDependency > &value)
void SetEcsPropertiesOverride(const EcsPropertiesOverride &value)
const JobTimeout & GetTimeout() const
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
SubmitJobRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
SubmitJobRequest & WithArrayProperties(ArrayProperties &&value)
bool NodeOverridesHasBeenSet() const
SubmitJobRequest & WithContainerOverrides(const ContainerOverrides &value)
void SetJobName(const char *value)
SubmitJobRequest & WithDependsOn(Aws::Vector< JobDependency > &&value)
SubmitJobRequest & AddTags(Aws::String &&key, Aws::String &&value)
bool RetryStrategyHasBeenSet() const
void SetSchedulingPriorityOverride(int value)
bool JobDefinitionHasBeenSet() const
SubmitJobRequest & WithJobQueue(Aws::String &&value)
const EksPropertiesOverride & GetEksPropertiesOverride() const
void SetShareIdentifier(const char *value)
SubmitJobRequest & WithRetryStrategy(RetryStrategy &&value)
void SetJobQueue(const Aws::String &value)
const Aws::Vector< JobDependency > & GetDependsOn() const
void SetJobDefinition(Aws::String &&value)
SubmitJobRequest & WithJobDefinition(const Aws::String &value)
const ArrayProperties & GetArrayProperties() const
void SetJobDefinition(const char *value)
SubmitJobRequest & WithJobDefinition(Aws::String &&value)
void SetTimeout(const JobTimeout &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
SubmitJobRequest & WithJobQueue(const char *value)
SubmitJobRequest & AddTags(const char *key, Aws::String &&value)
bool SchedulingPriorityOverrideHasBeenSet() const
SubmitJobRequest & WithJobDefinition(const char *value)
SubmitJobRequest & AddTags(const char *key, const char *value)
const ContainerOverrides & GetContainerOverrides() const
bool TagsHasBeenSet() const
void SetEksPropertiesOverride(const EksPropertiesOverride &value)
SubmitJobRequest & AddParameters(const Aws::String &key, const Aws::String &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
std::vector< T, Aws::Allocator< T > > Vector