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/JobDefinitionType.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/batch/model/ContainerProperties.h>
13#include <aws/batch/model/NodeProperties.h>
14#include <aws/batch/model/RetryStrategy.h>
15#include <aws/batch/model/JobTimeout.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
17#include <aws/batch/model/EksProperties.h>
18#include <aws/batch/model/EcsProperties.h>
19#include <aws/batch/model/PlatformCapability.h>
59 inline void SetJobDefinitionName(
const char* value) { m_jobDefinitionNameHasBeenSet =
true; m_jobDefinitionName.assign(value); }
118 inline void SetSchedulingPriority(
int value) { m_schedulingPriorityHasBeenSet =
true; m_schedulingPriority = value; }
188 inline void SetPropagateTags(
bool value) { m_propagateTagsHasBeenSet =
true; m_propagateTags = value; }
280 bool m_jobDefinitionNameHasBeenSet =
false;
283 bool m_typeHasBeenSet =
false;
286 bool m_parametersHasBeenSet =
false;
288 int m_schedulingPriority;
289 bool m_schedulingPriorityHasBeenSet =
false;
292 bool m_containerPropertiesHasBeenSet =
false;
295 bool m_nodePropertiesHasBeenSet =
false;
298 bool m_retryStrategyHasBeenSet =
false;
300 bool m_propagateTags;
301 bool m_propagateTagsHasBeenSet =
false;
304 bool m_timeoutHasBeenSet =
false;
307 bool m_tagsHasBeenSet =
false;
310 bool m_platformCapabilitiesHasBeenSet =
false;
313 bool m_eksPropertiesHasBeenSet =
false;
316 bool m_ecsPropertiesHasBeenSet =
false;
RegisterJobDefinitionRequest & WithTimeout(JobTimeout &&value)
bool TypeHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
RegisterJobDefinitionRequest & WithRetryStrategy(const RetryStrategy &value)
RegisterJobDefinitionRequest & AddParameters(Aws::String &&key, Aws::String &&value)
void SetJobDefinitionName(const char *value)
AWS_BATCH_API RegisterJobDefinitionRequest()
RegisterJobDefinitionRequest & WithTimeout(const JobTimeout &value)
const RetryStrategy & GetRetryStrategy() const
RegisterJobDefinitionRequest & WithJobDefinitionName(const Aws::String &value)
void SetSchedulingPriority(int value)
void SetType(const JobDefinitionType &value)
RegisterJobDefinitionRequest & AddTags(Aws::String &&key, const char *value)
RegisterJobDefinitionRequest & AddPlatformCapabilities(const PlatformCapability &value)
void SetType(JobDefinitionType &&value)
void SetNodeProperties(const NodeProperties &value)
RegisterJobDefinitionRequest & WithNodeProperties(NodeProperties &&value)
void SetPlatformCapabilities(Aws::Vector< PlatformCapability > &&value)
void SetRetryStrategy(const RetryStrategy &value)
AWS_BATCH_API Aws::String SerializePayload() const override
RegisterJobDefinitionRequest & AddTags(const char *key, Aws::String &&value)
RegisterJobDefinitionRequest & WithNodeProperties(const NodeProperties &value)
const Aws::Vector< PlatformCapability > & GetPlatformCapabilities() const
void SetEksProperties(const EksProperties &value)
void SetRetryStrategy(RetryStrategy &&value)
void SetPropagateTags(bool value)
bool EksPropertiesHasBeenSet() const
RegisterJobDefinitionRequest & WithContainerProperties(const ContainerProperties &value)
bool SchedulingPriorityHasBeenSet() const
RegisterJobDefinitionRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
bool TimeoutHasBeenSet() const
RegisterJobDefinitionRequest & AddParameters(const Aws::String &key, const Aws::String &value)
void SetEcsProperties(const EcsProperties &value)
bool EcsPropertiesHasBeenSet() const
int GetSchedulingPriority() const
void SetParameters(Aws::Map< Aws::String, Aws::String > &&value)
RegisterJobDefinitionRequest & AddParameters(const Aws::String &key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
RegisterJobDefinitionRequest & WithJobDefinitionName(Aws::String &&value)
const JobTimeout & GetTimeout() const
void SetTimeout(JobTimeout &&value)
void SetContainerProperties(ContainerProperties &&value)
bool JobDefinitionNameHasBeenSet() const
bool ContainerPropertiesHasBeenSet() const
void SetJobDefinitionName(Aws::String &&value)
RegisterJobDefinitionRequest & AddParameters(Aws::String &&key, const Aws::String &value)
RegisterJobDefinitionRequest & WithType(const JobDefinitionType &value)
void SetPlatformCapabilities(const Aws::Vector< PlatformCapability > &value)
RegisterJobDefinitionRequest & WithType(JobDefinitionType &&value)
RegisterJobDefinitionRequest & WithJobDefinitionName(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
RegisterJobDefinitionRequest & AddPlatformCapabilities(PlatformCapability &&value)
RegisterJobDefinitionRequest & WithEksProperties(const EksProperties &value)
RegisterJobDefinitionRequest & AddTags(const Aws::String &key, const Aws::String &value)
const NodeProperties & GetNodeProperties() const
bool RetryStrategyHasBeenSet() const
RegisterJobDefinitionRequest & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
const ContainerProperties & GetContainerProperties() const
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
RegisterJobDefinitionRequest & WithEksProperties(EksProperties &&value)
RegisterJobDefinitionRequest & AddTags(Aws::String &&key, const Aws::String &value)
bool ParametersHasBeenSet() const
RegisterJobDefinitionRequest & AddParameters(const char *key, Aws::String &&value)
RegisterJobDefinitionRequest & WithPropagateTags(bool value)
RegisterJobDefinitionRequest & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
RegisterJobDefinitionRequest & WithEcsProperties(const EcsProperties &value)
RegisterJobDefinitionRequest & WithContainerProperties(ContainerProperties &&value)
void SetTimeout(const JobTimeout &value)
RegisterJobDefinitionRequest & WithEcsProperties(EcsProperties &&value)
RegisterJobDefinitionRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetContainerProperties(const ContainerProperties &value)
bool TagsHasBeenSet() const
const Aws::String & GetJobDefinitionName() const
RegisterJobDefinitionRequest & AddTags(const char *key, const char *value)
RegisterJobDefinitionRequest & WithRetryStrategy(RetryStrategy &&value)
bool NodePropertiesHasBeenSet() const
const EcsProperties & GetEcsProperties() const
bool GetPropagateTags() const
const EksProperties & GetEksProperties() const
void SetJobDefinitionName(const Aws::String &value)
void SetNodeProperties(NodeProperties &&value)
RegisterJobDefinitionRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
RegisterJobDefinitionRequest & WithPlatformCapabilities(Aws::Vector< PlatformCapability > &&value)
RegisterJobDefinitionRequest & WithSchedulingPriority(int value)
void SetEksProperties(EksProperties &&value)
RegisterJobDefinitionRequest & AddParameters(Aws::String &&key, const char *value)
void SetEcsProperties(EcsProperties &&value)
bool PropagateTagsHasBeenSet() const
bool PlatformCapabilitiesHasBeenSet() const
const JobDefinitionType & GetType() const
RegisterJobDefinitionRequest & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
RegisterJobDefinitionRequest & WithPlatformCapabilities(const Aws::Vector< PlatformCapability > &value)
RegisterJobDefinitionRequest & AddParameters(const char *key, const char *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