7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/batch/model/RetryStrategy.h>
11#include <aws/batch/model/ContainerProperties.h>
12#include <aws/batch/model/JobTimeout.h>
13#include <aws/batch/model/NodeProperties.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/batch/model/EcsProperties.h>
16#include <aws/batch/model/EksProperties.h>
17#include <aws/batch/model/OrchestrationType.h>
18#include <aws/batch/model/PlatformCapability.h>
59 inline void SetJobDefinitionName(
const char* value) { m_jobDefinitionNameHasBeenSet =
true; m_jobDefinitionName.assign(value); }
73 inline void SetJobDefinitionArn(
const char* value) { m_jobDefinitionArnHasBeenSet =
true; m_jobDefinitionArn.assign(value); }
85 inline void SetRevision(
int value) { m_revisionHasBeenSet =
true; m_revision = value; }
97 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
116 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
130 inline void SetSchedulingPriority(
int value) { m_schedulingPriorityHasBeenSet =
true; m_schedulingPriority = value; }
156 inline JobDefinition&
AddParameters(
const char* key,
const char* value) { m_parametersHasBeenSet =
true; m_parameters.emplace(key, value);
return *
this; }
234 inline JobDefinition&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
248 inline void SetPropagateTags(
bool value) { m_propagateTagsHasBeenSet =
true; m_propagateTags = value; }
313 bool m_jobDefinitionNameHasBeenSet =
false;
316 bool m_jobDefinitionArnHasBeenSet =
false;
319 bool m_revisionHasBeenSet =
false;
322 bool m_statusHasBeenSet =
false;
325 bool m_typeHasBeenSet =
false;
327 int m_schedulingPriority;
328 bool m_schedulingPriorityHasBeenSet =
false;
331 bool m_parametersHasBeenSet =
false;
334 bool m_retryStrategyHasBeenSet =
false;
337 bool m_containerPropertiesHasBeenSet =
false;
340 bool m_timeoutHasBeenSet =
false;
343 bool m_nodePropertiesHasBeenSet =
false;
346 bool m_tagsHasBeenSet =
false;
348 bool m_propagateTags;
349 bool m_propagateTagsHasBeenSet =
false;
352 bool m_platformCapabilitiesHasBeenSet =
false;
355 bool m_ecsPropertiesHasBeenSet =
false;
358 bool m_eksPropertiesHasBeenSet =
false;
361 bool m_containerOrchestrationTypeHasBeenSet =
false;
JobDefinition & WithType(const Aws::String &value)
bool TimeoutHasBeenSet() const
JobDefinition & AddTags(Aws::String &&key, const char *value)
const NodeProperties & GetNodeProperties() const
JobDefinition & WithContainerOrchestrationType(OrchestrationType &&value)
void SetPropagateTags(bool value)
JobDefinition & AddParameters(const char *key, Aws::String &&value)
void SetContainerOrchestrationType(OrchestrationType &&value)
bool JobDefinitionNameHasBeenSet() const
void SetEksProperties(const EksProperties &value)
const Aws::String & GetJobDefinitionName() const
bool PropagateTagsHasBeenSet() const
void SetPlatformCapabilities(const Aws::Vector< PlatformCapability > &value)
JobDefinition & WithTimeout(const JobTimeout &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool SchedulingPriorityHasBeenSet() const
JobDefinition & WithPlatformCapabilities(const Aws::Vector< PlatformCapability > &value)
JobDefinition & WithNodeProperties(const NodeProperties &value)
JobDefinition & WithEcsProperties(const EcsProperties &value)
void SetJobDefinitionName(Aws::String &&value)
int GetSchedulingPriority() const
JobDefinition & AddPlatformCapabilities(const PlatformCapability &value)
void SetContainerProperties(ContainerProperties &&value)
AWS_BATCH_API JobDefinition(Aws::Utils::Json::JsonView jsonValue)
bool TypeHasBeenSet() const
JobDefinition & WithType(Aws::String &&value)
JobDefinition & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
void SetRetryStrategy(RetryStrategy &&value)
JobDefinition & WithRetryStrategy(const RetryStrategy &value)
void SetType(const Aws::String &value)
JobDefinition & WithRetryStrategy(RetryStrategy &&value)
void SetEcsProperties(const EcsProperties &value)
void SetJobDefinitionArn(const char *value)
void SetTimeout(const JobTimeout &value)
JobDefinition & AddTags(const Aws::String &key, const Aws::String &value)
JobDefinition & WithNodeProperties(NodeProperties &&value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
JobDefinition & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const EksProperties & GetEksProperties() const
JobDefinition & WithTimeout(JobTimeout &&value)
JobDefinition & AddTags(const char *key, Aws::String &&value)
void SetSchedulingPriority(int value)
void SetEcsProperties(EcsProperties &&value)
JobDefinition & WithStatus(Aws::String &&value)
JobDefinition & WithContainerProperties(ContainerProperties &&value)
AWS_BATCH_API JobDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetJobDefinitionArn(const Aws::String &value)
JobDefinition & WithContainerOrchestrationType(const OrchestrationType &value)
JobDefinition & AddParameters(Aws::String &&key, Aws::String &&value)
JobDefinition & AddTags(const char *key, const char *value)
JobDefinition & WithJobDefinitionArn(Aws::String &&value)
bool TagsHasBeenSet() const
void SetStatus(Aws::String &&value)
void SetContainerOrchestrationType(const OrchestrationType &value)
bool NodePropertiesHasBeenSet() const
const JobTimeout & GetTimeout() const
JobDefinition & WithEksProperties(const EksProperties &value)
JobDefinition & AddPlatformCapabilities(PlatformCapability &&value)
void SetParameters(Aws::Map< Aws::String, Aws::String > &&value)
JobDefinition & WithJobDefinitionName(const char *value)
void SetType(Aws::String &&value)
JobDefinition & AddParameters(Aws::String &&key, const Aws::String &value)
void SetJobDefinitionName(const char *value)
void SetRetryStrategy(const RetryStrategy &value)
bool EksPropertiesHasBeenSet() const
JobDefinition & WithSchedulingPriority(int value)
bool ContainerPropertiesHasBeenSet() const
JobDefinition & AddParameters(Aws::String &&key, const char *value)
const Aws::Vector< PlatformCapability > & GetPlatformCapabilities() const
const Aws::String & GetJobDefinitionArn() const
void SetTimeout(JobTimeout &&value)
JobDefinition & WithRevision(int value)
AWS_BATCH_API JobDefinition()
void SetEksProperties(EksProperties &&value)
const EcsProperties & GetEcsProperties() const
const ContainerProperties & GetContainerProperties() const
JobDefinition & WithJobDefinitionArn(const Aws::String &value)
bool ContainerOrchestrationTypeHasBeenSet() const
JobDefinition & WithJobDefinitionName(Aws::String &&value)
const RetryStrategy & GetRetryStrategy() const
void SetNodeProperties(const NodeProperties &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
const Aws::String & GetType() const
void SetType(const char *value)
void SetJobDefinitionName(const Aws::String &value)
JobDefinition & WithJobDefinitionArn(const char *value)
bool ParametersHasBeenSet() const
bool EcsPropertiesHasBeenSet() const
JobDefinition & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::String & GetStatus() const
void SetStatus(const Aws::String &value)
void SetRevision(int value)
JobDefinition & AddTags(Aws::String &&key, const Aws::String &value)
bool GetPropagateTags() const
JobDefinition & AddParameters(const char *key, const char *value)
JobDefinition & WithType(const char *value)
JobDefinition & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
JobDefinition & WithPlatformCapabilities(Aws::Vector< PlatformCapability > &&value)
JobDefinition & WithPropagateTags(bool value)
JobDefinition & WithStatus(const char *value)
JobDefinition & AddParameters(const Aws::String &key, Aws::String &&value)
JobDefinition & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
bool RetryStrategyHasBeenSet() const
bool StatusHasBeenSet() const
JobDefinition & WithContainerProperties(const ContainerProperties &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
bool RevisionHasBeenSet() const
const OrchestrationType & GetContainerOrchestrationType() const
JobDefinition & AddTags(Aws::String &&key, Aws::String &&value)
bool JobDefinitionArnHasBeenSet() const
void SetContainerProperties(const ContainerProperties &value)
void SetNodeProperties(NodeProperties &&value)
JobDefinition & WithStatus(const Aws::String &value)
void SetJobDefinitionArn(Aws::String &&value)
JobDefinition & WithEksProperties(EksProperties &&value)
bool PlatformCapabilitiesHasBeenSet() const
void SetStatus(const char *value)
JobDefinition & WithEcsProperties(EcsProperties &&value)
void SetPlatformCapabilities(Aws::Vector< PlatformCapability > &&value)
JobDefinition & AddParameters(const Aws::String &key, const Aws::String &value)
JobDefinition & WithJobDefinitionName(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
Aws::Utils::Json::JsonValue JsonValue