7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/model/ConsumableResourceProperties.h>
9#include <aws/batch/model/ContainerProperties.h>
10#include <aws/batch/model/EcsProperties.h>
11#include <aws/batch/model/EksProperties.h>
12#include <aws/batch/model/JobTimeout.h>
13#include <aws/batch/model/NodeProperties.h>
14#include <aws/batch/model/OrchestrationType.h>
15#include <aws/batch/model/PlatformCapability.h>
16#include <aws/batch/model/RetryStrategy.h>
17#include <aws/core/utils/memory/stl/AWSMap.h>
18#include <aws/core/utils/memory/stl/AWSString.h>
19#include <aws/core/utils/memory/stl/AWSVector.h>
52 template <
typename JobDefinitionNameT = Aws::String>
54 m_jobDefinitionNameHasBeenSet =
true;
55 m_jobDefinitionName = std::forward<JobDefinitionNameT>(value);
57 template <
typename JobDefinitionNameT = Aws::String>
70 template <
typename JobDefinitionArnT = Aws::String>
72 m_jobDefinitionArnHasBeenSet =
true;
73 m_jobDefinitionArn = std::forward<JobDefinitionArnT>(value);
75 template <
typename JobDefinitionArnT = Aws::String>
89 m_revisionHasBeenSet =
true;
104 template <
typename StatusT = Aws::String>
106 m_statusHasBeenSet =
true;
107 m_status = std::forward<StatusT>(value);
109 template <
typename StatusT = Aws::String>
127 template <
typename TypeT = Aws::String>
129 m_typeHasBeenSet =
true;
130 m_type = std::forward<TypeT>(value);
132 template <
typename TypeT = Aws::String>
134 SetType(std::forward<TypeT>(value));
148 m_schedulingPriorityHasBeenSet =
true;
149 m_schedulingPriority = value;
169 template <
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
171 m_parametersHasBeenSet =
true;
172 m_parameters = std::forward<ParametersT>(value);
174 template <
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
179 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::String>
181 m_parametersHasBeenSet =
true;
182 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
194 template <
typename RetryStrategyT = RetryStrategy>
196 m_retryStrategyHasBeenSet =
true;
197 m_retryStrategy = std::forward<RetryStrategyT>(value);
199 template <
typename RetryStrategyT = RetryStrategy>
215 template <
typename ContainerPropertiesT = ContainerProperties>
217 m_containerPropertiesHasBeenSet =
true;
218 m_containerProperties = std::forward<ContainerPropertiesT>(value);
220 template <
typename ContainerPropertiesT = ContainerProperties>
235 template <
typename TimeoutT = JobTimeout>
237 m_timeoutHasBeenSet =
true;
238 m_timeout = std::forward<TimeoutT>(value);
240 template <
typename TimeoutT = JobTimeout>
258 template <
typename NodePropertiesT = NodeProperties>
260 m_nodePropertiesHasBeenSet =
true;
261 m_nodeProperties = std::forward<NodePropertiesT>(value);
263 template <
typename NodePropertiesT = NodeProperties>
276 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
278 m_tagsHasBeenSet =
true;
279 m_tags = std::forward<TagsT>(value);
281 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
283 SetTags(std::forward<TagsT>(value));
286 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
288 m_tagsHasBeenSet =
true;
289 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
306 m_propagateTagsHasBeenSet =
true;
307 m_propagateTags = value;
323 template <
typename PlatformCapabilitiesT = Aws::Vector<PlatformCapability>>
325 m_platformCapabilitiesHasBeenSet =
true;
326 m_platformCapabilities = std::forward<PlatformCapabilitiesT>(value);
328 template <
typename PlatformCapabilitiesT = Aws::Vector<PlatformCapability>>
334 m_platformCapabilitiesHasBeenSet =
true;
335 m_platformCapabilities.push_back(value);
349 template <
typename EcsPropertiesT = EcsProperties>
351 m_ecsPropertiesHasBeenSet =
true;
352 m_ecsProperties = std::forward<EcsPropertiesT>(value);
354 template <
typename EcsPropertiesT = EcsProperties>
370 template <
typename EksPropertiesT = EksProperties>
372 m_eksPropertiesHasBeenSet =
true;
373 m_eksProperties = std::forward<EksPropertiesT>(value);
375 template <
typename EksPropertiesT = EksProperties>
390 m_containerOrchestrationTypeHasBeenSet =
true;
391 m_containerOrchestrationType = value;
405 template <
typename ConsumableResourcePropertiesT = ConsumableResourceProperties>
407 m_consumableResourcePropertiesHasBeenSet =
true;
408 m_consumableResourceProperties = std::forward<ConsumableResourcePropertiesT>(value);
410 template <
typename ConsumableResourcePropertiesT = ConsumableResourceProperties>
427 int m_schedulingPriority{0};
431 RetryStrategy m_retryStrategy;
433 ContainerProperties m_containerProperties;
435 JobTimeout m_timeout;
437 NodeProperties m_nodeProperties;
441 bool m_propagateTags{
false};
445 EcsProperties m_ecsProperties;
447 EksProperties m_eksProperties;
451 ConsumableResourceProperties m_consumableResourceProperties;
452 bool m_jobDefinitionNameHasBeenSet =
false;
453 bool m_jobDefinitionArnHasBeenSet =
false;
454 bool m_revisionHasBeenSet =
false;
455 bool m_statusHasBeenSet =
false;
456 bool m_typeHasBeenSet =
false;
457 bool m_schedulingPriorityHasBeenSet =
false;
458 bool m_parametersHasBeenSet =
false;
459 bool m_retryStrategyHasBeenSet =
false;
460 bool m_containerPropertiesHasBeenSet =
false;
461 bool m_timeoutHasBeenSet =
false;
462 bool m_nodePropertiesHasBeenSet =
false;
463 bool m_tagsHasBeenSet =
false;
464 bool m_propagateTagsHasBeenSet =
false;
465 bool m_platformCapabilitiesHasBeenSet =
false;
466 bool m_ecsPropertiesHasBeenSet =
false;
467 bool m_eksPropertiesHasBeenSet =
false;
468 bool m_containerOrchestrationTypeHasBeenSet =
false;
469 bool m_consumableResourcePropertiesHasBeenSet =
false;
bool TimeoutHasBeenSet() const
const NodeProperties & GetNodeProperties() const
void SetPropagateTags(bool value)
bool JobDefinitionNameHasBeenSet() const
const Aws::String & GetJobDefinitionName() const
JobDefinition & WithContainerOrchestrationType(OrchestrationType value)
JobDefinition & WithContainerProperties(ContainerPropertiesT &&value)
void SetContainerProperties(ContainerPropertiesT &&value)
bool PropagateTagsHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool SchedulingPriorityHasBeenSet() const
const ConsumableResourceProperties & GetConsumableResourceProperties() const
int GetSchedulingPriority() const
bool ConsumableResourcePropertiesHasBeenSet() const
AWS_BATCH_API JobDefinition(Aws::Utils::Json::JsonView jsonValue)
JobDefinition & AddPlatformCapabilities(PlatformCapability value)
bool TypeHasBeenSet() const
JobDefinition & WithParameters(ParametersT &&value)
JobDefinition & WithJobDefinitionArn(JobDefinitionArnT &&value)
void SetContainerOrchestrationType(OrchestrationType value)
void SetTimeout(TimeoutT &&value)
void SetStatus(StatusT &&value)
void SetPlatformCapabilities(PlatformCapabilitiesT &&value)
void SetJobDefinitionName(JobDefinitionNameT &&value)
void SetEksProperties(EksPropertiesT &&value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
const EksProperties & GetEksProperties() const
void SetSchedulingPriority(int value)
AWS_BATCH_API JobDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TagsHasBeenSet() const
bool NodePropertiesHasBeenSet() const
const JobTimeout & GetTimeout() const
void SetTags(TagsT &&value)
void SetEcsProperties(EcsPropertiesT &&value)
void SetJobDefinitionArn(JobDefinitionArnT &&value)
JobDefinition & WithEksProperties(EksPropertiesT &&value)
JobDefinition & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool EksPropertiesHasBeenSet() const
JobDefinition & WithStatus(StatusT &&value)
JobDefinition & WithSchedulingPriority(int value)
bool ContainerPropertiesHasBeenSet() const
const Aws::Vector< PlatformCapability > & GetPlatformCapabilities() const
JobDefinition & WithType(TypeT &&value)
const Aws::String & GetJobDefinitionArn() const
void SetParameters(ParametersT &&value)
JobDefinition & WithRevision(int value)
void SetNodeProperties(NodePropertiesT &&value)
const EcsProperties & GetEcsProperties() const
const ContainerProperties & GetContainerProperties() const
bool ContainerOrchestrationTypeHasBeenSet() const
JobDefinition & WithRetryStrategy(RetryStrategyT &&value)
const RetryStrategy & GetRetryStrategy() const
void SetConsumableResourceProperties(ConsumableResourcePropertiesT &&value)
JobDefinition & WithEcsProperties(EcsPropertiesT &&value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
const Aws::String & GetType() const
OrchestrationType GetContainerOrchestrationType() const
bool ParametersHasBeenSet() const
bool EcsPropertiesHasBeenSet() const
const Aws::String & GetStatus() const
void SetRevision(int value)
JobDefinition & WithTimeout(TimeoutT &&value)
JobDefinition & WithJobDefinitionName(JobDefinitionNameT &&value)
bool GetPropagateTags() const
JobDefinition & WithTags(TagsT &&value)
JobDefinition & WithConsumableResourceProperties(ConsumableResourcePropertiesT &&value)
JobDefinition & WithPropagateTags(bool value)
JobDefinition & WithPlatformCapabilities(PlatformCapabilitiesT &&value)
bool RetryStrategyHasBeenSet() const
bool StatusHasBeenSet() const
void SetRetryStrategy(RetryStrategyT &&value)
bool RevisionHasBeenSet() const
bool JobDefinitionArnHasBeenSet() const
AWS_BATCH_API JobDefinition()=default
bool PlatformCapabilitiesHasBeenSet() const
JobDefinition & WithNodeProperties(NodePropertiesT &&value)
JobDefinition & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
void SetType(TypeT &&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