7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/batch/model/ContainerProperties.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/batch/model/EcsProperties.h>
12#include <aws/batch/model/EksProperties.h>
13#include <aws/batch/model/ConsumableResourceProperties.h>
59 template<
typename TargetNodesT = Aws::String>
60 void SetTargetNodes(TargetNodesT&& value) { m_targetNodesHasBeenSet =
true; m_targetNodes = std::forward<TargetNodesT>(value); }
61 template<
typename TargetNodesT = Aws::String>
71 template<
typename ContainerT = ContainerProperties>
72 void SetContainer(ContainerT&& value) { m_containerHasBeenSet =
true; m_container = std::forward<ContainerT>(value); }
73 template<
typename ContainerT = ContainerProperties>
86 template<
typename InstanceTypesT = Aws::Vector<Aws::String>>
87 void SetInstanceTypes(InstanceTypesT&& value) { m_instanceTypesHasBeenSet =
true; m_instanceTypes = std::forward<InstanceTypesT>(value); }
88 template<
typename InstanceTypesT = Aws::Vector<Aws::String>>
90 template<
typename InstanceTypesT = Aws::String>
91 NodeRangeProperty&
AddInstanceTypes(InstanceTypesT&& value) { m_instanceTypesHasBeenSet =
true; m_instanceTypes.emplace_back(std::forward<InstanceTypesT>(value));
return *
this; }
101 template<
typename EcsPropertiesT = EcsProperties>
102 void SetEcsProperties(EcsPropertiesT&& value) { m_ecsPropertiesHasBeenSet =
true; m_ecsProperties = std::forward<EcsPropertiesT>(value); }
103 template<
typename EcsPropertiesT = EcsProperties>
114 template<
typename EksPropertiesT = EksProperties>
115 void SetEksProperties(EksPropertiesT&& value) { m_eksPropertiesHasBeenSet =
true; m_eksProperties = std::forward<EksPropertiesT>(value); }
116 template<
typename EksPropertiesT = EksProperties>
126 template<
typename ConsumableResourcePropertiesT = ConsumableResourceProperties>
127 void SetConsumableResourceProperties(ConsumableResourcePropertiesT&& value) { m_consumableResourcePropertiesHasBeenSet =
true; m_consumableResourceProperties = std::forward<ConsumableResourcePropertiesT>(value); }
128 template<
typename ConsumableResourcePropertiesT = ConsumableResourceProperties>
134 bool m_targetNodesHasBeenSet =
false;
137 bool m_containerHasBeenSet =
false;
140 bool m_instanceTypesHasBeenSet =
false;
143 bool m_ecsPropertiesHasBeenSet =
false;
146 bool m_eksPropertiesHasBeenSet =
false;
149 bool m_consumableResourcePropertiesHasBeenSet =
false;
bool TargetNodesHasBeenSet() const
bool ConsumableResourcePropertiesHasBeenSet() const
const EksProperties & GetEksProperties() const
bool EksPropertiesHasBeenSet() const
NodeRangeProperty & WithTargetNodes(TargetNodesT &&value)
const Aws::Vector< Aws::String > & GetInstanceTypes() const
void SetTargetNodes(TargetNodesT &&value)
void SetContainer(ContainerT &&value)
AWS_BATCH_API NodeRangeProperty()=default
NodeRangeProperty & WithEcsProperties(EcsPropertiesT &&value)
NodeRangeProperty & WithConsumableResourceProperties(ConsumableResourcePropertiesT &&value)
AWS_BATCH_API NodeRangeProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInstanceTypes(InstanceTypesT &&value)
void SetConsumableResourceProperties(ConsumableResourcePropertiesT &&value)
const ConsumableResourceProperties & GetConsumableResourceProperties() const
const ContainerProperties & GetContainer() const
NodeRangeProperty & WithInstanceTypes(InstanceTypesT &&value)
NodeRangeProperty & WithContainer(ContainerT &&value)
bool EcsPropertiesHasBeenSet() const
void SetEcsProperties(EcsPropertiesT &&value)
bool InstanceTypesHasBeenSet() const
NodeRangeProperty & AddInstanceTypes(InstanceTypesT &&value)
void SetEksProperties(EksPropertiesT &&value)
bool ContainerHasBeenSet() const
NodeRangeProperty & WithEksProperties(EksPropertiesT &&value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BATCH_API NodeRangeProperty(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTargetNodes() const
const EcsProperties & GetEcsProperties() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue