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/ConsumableResourceProperties.h>
20#include <aws/batch/model/PlatformCapability.h>
58 template<
typename JobDefinitionNameT = Aws::String>
59 void SetJobDefinitionName(JobDefinitionNameT&& value) { m_jobDefinitionNameHasBeenSet =
true; m_jobDefinitionName = std::forward<JobDefinitionNameT>(value); }
60 template<
typename JobDefinitionNameT = Aws::String>
92 template<
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
93 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet =
true; m_parameters = std::forward<ParametersT>(value); }
94 template<
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
96 template<
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::String>
98 m_parametersHasBeenSet =
true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
return *
this;
112 inline void SetSchedulingPriority(
int value) { m_schedulingPriorityHasBeenSet =
true; m_schedulingPriority = value; }
128 template<
typename ContainerPropertiesT = ContainerProperties>
129 void SetContainerProperties(ContainerPropertiesT&& value) { m_containerPropertiesHasBeenSet =
true; m_containerProperties = std::forward<ContainerPropertiesT>(value); }
130 template<
typename ContainerPropertiesT = ContainerProperties>
148 template<
typename NodePropertiesT = NodeProperties>
149 void SetNodeProperties(NodePropertiesT&& value) { m_nodePropertiesHasBeenSet =
true; m_nodeProperties = std::forward<NodePropertiesT>(value); }
150 template<
typename NodePropertiesT = NodeProperties>
163 template<
typename RetryStrategyT = RetryStrategy>
164 void SetRetryStrategy(RetryStrategyT&& value) { m_retryStrategyHasBeenSet =
true; m_retryStrategy = std::forward<RetryStrategyT>(value); }
165 template<
typename RetryStrategyT = RetryStrategy>
182 inline void SetPropagateTags(
bool value) { m_propagateTagsHasBeenSet =
true; m_propagateTags = value; }
199 template<
typename TimeoutT = JobTimeout>
200 void SetTimeout(TimeoutT&& value) { m_timeoutHasBeenSet =
true; m_timeout = std::forward<TimeoutT>(value); }
201 template<
typename TimeoutT = JobTimeout>
215 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
216 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
217 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
219 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
221 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
235 template<
typename PlatformCapabilitiesT = Aws::Vector<PlatformCapability>>
236 void SetPlatformCapabilities(PlatformCapabilitiesT&& value) { m_platformCapabilitiesHasBeenSet =
true; m_platformCapabilities = std::forward<PlatformCapabilitiesT>(value); }
237 template<
typename PlatformCapabilitiesT = Aws::Vector<PlatformCapability>>
249 template<
typename EksPropertiesT = EksProperties>
250 void SetEksProperties(EksPropertiesT&& value) { m_eksPropertiesHasBeenSet =
true; m_eksProperties = std::forward<EksPropertiesT>(value); }
251 template<
typename EksPropertiesT = EksProperties>
262 template<
typename EcsPropertiesT = EcsProperties>
263 void SetEcsProperties(EcsPropertiesT&& value) { m_ecsPropertiesHasBeenSet =
true; m_ecsProperties = std::forward<EcsPropertiesT>(value); }
264 template<
typename EcsPropertiesT = EcsProperties>
274 template<
typename ConsumableResourcePropertiesT = ConsumableResourceProperties>
275 void SetConsumableResourceProperties(ConsumableResourcePropertiesT&& value) { m_consumableResourcePropertiesHasBeenSet =
true; m_consumableResourceProperties = std::forward<ConsumableResourcePropertiesT>(value); }
276 template<
typename ConsumableResourcePropertiesT = ConsumableResourceProperties>
282 bool m_jobDefinitionNameHasBeenSet =
false;
285 bool m_typeHasBeenSet =
false;
288 bool m_parametersHasBeenSet =
false;
290 int m_schedulingPriority{0};
291 bool m_schedulingPriorityHasBeenSet =
false;
293 ContainerProperties m_containerProperties;
294 bool m_containerPropertiesHasBeenSet =
false;
296 NodeProperties m_nodeProperties;
297 bool m_nodePropertiesHasBeenSet =
false;
299 RetryStrategy m_retryStrategy;
300 bool m_retryStrategyHasBeenSet =
false;
302 bool m_propagateTags{
false};
303 bool m_propagateTagsHasBeenSet =
false;
305 JobTimeout m_timeout;
306 bool m_timeoutHasBeenSet =
false;
309 bool m_tagsHasBeenSet =
false;
312 bool m_platformCapabilitiesHasBeenSet =
false;
314 EksProperties m_eksProperties;
315 bool m_eksPropertiesHasBeenSet =
false;
317 EcsProperties m_ecsProperties;
318 bool m_ecsPropertiesHasBeenSet =
false;
320 ConsumableResourceProperties m_consumableResourceProperties;
321 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