7#include <aws/batch/BatchRequest.h>
8#include <aws/batch/Batch_EXPORTS.h>
9#include <aws/batch/model/ConsumableResourceProperties.h>
10#include <aws/batch/model/ContainerProperties.h>
11#include <aws/batch/model/EcsProperties.h>
12#include <aws/batch/model/EksProperties.h>
13#include <aws/batch/model/JobDefinitionType.h>
14#include <aws/batch/model/JobTimeout.h>
15#include <aws/batch/model/NodeProperties.h>
16#include <aws/batch/model/PlatformCapability.h>
17#include <aws/batch/model/RetryStrategy.h>
18#include <aws/core/utils/memory/stl/AWSMap.h>
19#include <aws/core/utils/memory/stl/AWSString.h>
20#include <aws/core/utils/memory/stl/AWSVector.h>
54 template <
typename JobDefinitionNameT = Aws::String>
56 m_jobDefinitionNameHasBeenSet =
true;
57 m_jobDefinitionName = std::forward<JobDefinitionNameT>(value);
59 template <
typename JobDefinitionNameT = Aws::String>
82 m_typeHasBeenSet =
true;
100 template <
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
102 m_parametersHasBeenSet =
true;
103 m_parameters = std::forward<ParametersT>(value);
105 template <
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
110 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::String>
112 m_parametersHasBeenSet =
true;
113 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
129 m_schedulingPriorityHasBeenSet =
true;
130 m_schedulingPriority = value;
150 template <
typename ContainerPropertiesT = ContainerProperties>
152 m_containerPropertiesHasBeenSet =
true;
153 m_containerProperties = std::forward<ContainerPropertiesT>(value);
155 template <
typename ContainerPropertiesT = ContainerProperties>
176 template <
typename NodePropertiesT = NodeProperties>
178 m_nodePropertiesHasBeenSet =
true;
179 m_nodeProperties = std::forward<NodePropertiesT>(value);
181 template <
typename NodePropertiesT = NodeProperties>
197 template <
typename RetryStrategyT = RetryStrategy>
199 m_retryStrategyHasBeenSet =
true;
200 m_retryStrategy = std::forward<RetryStrategyT>(value);
202 template <
typename RetryStrategyT = RetryStrategy>
223 m_propagateTagsHasBeenSet =
true;
224 m_propagateTags = value;
245 template <
typename TimeoutT = JobTimeout>
247 m_timeoutHasBeenSet =
true;
248 m_timeout = std::forward<TimeoutT>(value);
250 template <
typename TimeoutT = JobTimeout>
267 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
269 m_tagsHasBeenSet =
true;
270 m_tags = std::forward<TagsT>(value);
272 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
274 SetTags(std::forward<TagsT>(value));
277 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
279 m_tagsHasBeenSet =
true;
280 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
295 template <
typename PlatformCapabilitiesT = Aws::Vector<PlatformCapability>>
297 m_platformCapabilitiesHasBeenSet =
true;
298 m_platformCapabilities = std::forward<PlatformCapabilitiesT>(value);
300 template <
typename PlatformCapabilitiesT = Aws::Vector<PlatformCapability>>
306 m_platformCapabilitiesHasBeenSet =
true;
307 m_platformCapabilities.push_back(value);
319 template <
typename EksPropertiesT = EksProperties>
321 m_eksPropertiesHasBeenSet =
true;
322 m_eksProperties = std::forward<EksPropertiesT>(value);
324 template <
typename EksPropertiesT = EksProperties>
338 template <
typename EcsPropertiesT = EcsProperties>
340 m_ecsPropertiesHasBeenSet =
true;
341 m_ecsProperties = std::forward<EcsPropertiesT>(value);
343 template <
typename EcsPropertiesT = EcsProperties>
356 template <
typename ConsumableResourcePropertiesT = ConsumableResourceProperties>
358 m_consumableResourcePropertiesHasBeenSet =
true;
359 m_consumableResourceProperties = std::forward<ConsumableResourcePropertiesT>(value);
361 template <
typename ConsumableResourcePropertiesT = ConsumableResourceProperties>
374 int m_schedulingPriority{0};
376 ContainerProperties m_containerProperties;
378 NodeProperties m_nodeProperties;
380 RetryStrategy m_retryStrategy;
382 bool m_propagateTags{
false};
384 JobTimeout m_timeout;
390 EksProperties m_eksProperties;
392 EcsProperties m_ecsProperties;
394 ConsumableResourceProperties m_consumableResourceProperties;
395 bool m_jobDefinitionNameHasBeenSet =
false;
396 bool m_typeHasBeenSet =
false;
397 bool m_parametersHasBeenSet =
false;
398 bool m_schedulingPriorityHasBeenSet =
false;
399 bool m_containerPropertiesHasBeenSet =
false;
400 bool m_nodePropertiesHasBeenSet =
false;
401 bool m_retryStrategyHasBeenSet =
false;
402 bool m_propagateTagsHasBeenSet =
false;
403 bool m_timeoutHasBeenSet =
false;
404 bool m_tagsHasBeenSet =
false;
405 bool m_platformCapabilitiesHasBeenSet =
false;
406 bool m_eksPropertiesHasBeenSet =
false;
407 bool m_ecsPropertiesHasBeenSet =
false;
408 bool m_consumableResourcePropertiesHasBeenSet =
false;
bool TypeHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
RegisterJobDefinitionRequest & WithContainerProperties(ContainerPropertiesT &&value)
void SetTags(TagsT &&value)
RegisterJobDefinitionRequest & WithEksProperties(EksPropertiesT &&value)
const RetryStrategy & GetRetryStrategy() const
void SetSchedulingPriority(int value)
RegisterJobDefinitionRequest & WithTags(TagsT &&value)
AWS_BATCH_API Aws::String SerializePayload() const override
void SetContainerProperties(ContainerPropertiesT &&value)
const Aws::Vector< PlatformCapability > & GetPlatformCapabilities() const
void SetJobDefinitionName(JobDefinitionNameT &&value)
void SetPropagateTags(bool value)
bool EksPropertiesHasBeenSet() const
bool SchedulingPriorityHasBeenSet() const
bool TimeoutHasBeenSet() const
void SetParameters(ParametersT &&value)
bool EcsPropertiesHasBeenSet() const
int GetSchedulingPriority() const
const JobTimeout & GetTimeout() const
RegisterJobDefinitionRequest & WithJobDefinitionName(JobDefinitionNameT &&value)
bool JobDefinitionNameHasBeenSet() const
bool ContainerPropertiesHasBeenSet() const
RegisterJobDefinitionRequest & WithType(JobDefinitionType value)
RegisterJobDefinitionRequest & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
RegisterJobDefinitionRequest & WithNodeProperties(NodePropertiesT &&value)
RegisterJobDefinitionRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetConsumableResourceProperties(ConsumableResourcePropertiesT &&value)
RegisterJobDefinitionRequest & WithParameters(ParametersT &&value)
const NodeProperties & GetNodeProperties() const
bool RetryStrategyHasBeenSet() const
const ContainerProperties & GetContainerProperties() const
RegisterJobDefinitionRequest & WithEcsProperties(EcsPropertiesT &&value)
bool ParametersHasBeenSet() const
RegisterJobDefinitionRequest & WithTimeout(TimeoutT &&value)
AWS_BATCH_API RegisterJobDefinitionRequest()=default
RegisterJobDefinitionRequest & WithPropagateTags(bool value)
JobDefinitionType GetType() const
const ConsumableResourceProperties & GetConsumableResourceProperties() const
void SetEksProperties(EksPropertiesT &&value)
bool TagsHasBeenSet() const
const Aws::String & GetJobDefinitionName() const
bool NodePropertiesHasBeenSet() const
const EcsProperties & GetEcsProperties() const
RegisterJobDefinitionRequest & WithPlatformCapabilities(PlatformCapabilitiesT &&value)
void SetTimeout(TimeoutT &&value)
bool GetPropagateTags() const
const EksProperties & GetEksProperties() const
bool ConsumableResourcePropertiesHasBeenSet() const
void SetEcsProperties(EcsPropertiesT &&value)
RegisterJobDefinitionRequest & WithSchedulingPriority(int value)
RegisterJobDefinitionRequest & AddPlatformCapabilities(PlatformCapability value)
void SetRetryStrategy(RetryStrategyT &&value)
RegisterJobDefinitionRequest & WithRetryStrategy(RetryStrategyT &&value)
void SetType(JobDefinitionType value)
RegisterJobDefinitionRequest & WithConsumableResourceProperties(ConsumableResourcePropertiesT &&value)
void SetNodeProperties(NodePropertiesT &&value)
void SetPlatformCapabilities(PlatformCapabilitiesT &&value)
bool PropagateTagsHasBeenSet() const
bool PlatformCapabilitiesHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
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