7#include <aws/batch/BatchRequest.h>
8#include <aws/batch/Batch_EXPORTS.h>
9#include <aws/batch/model/CapacityLimit.h>
10#include <aws/batch/model/ServiceEnvironmentState.h>
11#include <aws/batch/model/ServiceEnvironmentType.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
43 template <
typename ServiceEnvironmentNameT = Aws::String>
45 m_serviceEnvironmentNameHasBeenSet =
true;
46 m_serviceEnvironmentName = std::forward<ServiceEnvironmentNameT>(value);
48 template <
typename ServiceEnvironmentNameT = Aws::String>
63 m_serviceEnvironmentTypeHasBeenSet =
true;
64 m_serviceEnvironmentType = value;
80 m_stateHasBeenSet =
true;
97 template <
typename CapacityLimitsT = Aws::Vector<CapacityLimit>>
99 m_capacityLimitsHasBeenSet =
true;
100 m_capacityLimits = std::forward<CapacityLimitsT>(value);
102 template <
typename CapacityLimitsT = Aws::Vector<CapacityLimit>>
107 template <
typename CapacityLimitsT = CapacityLimit>
109 m_capacityLimitsHasBeenSet =
true;
110 m_capacityLimits.emplace_back(std::forward<CapacityLimitsT>(value));
125 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
127 m_tagsHasBeenSet =
true;
128 m_tags = std::forward<TagsT>(value);
130 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
132 SetTags(std::forward<TagsT>(value));
135 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
137 m_tagsHasBeenSet =
true;
138 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
152 bool m_serviceEnvironmentNameHasBeenSet =
false;
153 bool m_serviceEnvironmentTypeHasBeenSet =
false;
154 bool m_stateHasBeenSet =
false;
155 bool m_capacityLimitsHasBeenSet =
false;
156 bool m_tagsHasBeenSet =
false;
void SetServiceEnvironmentName(ServiceEnvironmentNameT &&value)
bool TagsHasBeenSet() const
bool ServiceEnvironmentTypeHasBeenSet() const
bool CapacityLimitsHasBeenSet() const
void SetCapacityLimits(CapacityLimitsT &&value)
CreateServiceEnvironmentRequest & WithCapacityLimits(CapacityLimitsT &&value)
const Aws::String & GetServiceEnvironmentName() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTags(TagsT &&value)
CreateServiceEnvironmentRequest & WithState(ServiceEnvironmentState value)
bool StateHasBeenSet() const
AWS_BATCH_API CreateServiceEnvironmentRequest()=default
CreateServiceEnvironmentRequest & WithTags(TagsT &&value)
ServiceEnvironmentState GetState() const
AWS_BATCH_API Aws::String SerializePayload() const override
const Aws::Vector< CapacityLimit > & GetCapacityLimits() const
CreateServiceEnvironmentRequest & AddCapacityLimits(CapacityLimitsT &&value)
bool ServiceEnvironmentNameHasBeenSet() const
ServiceEnvironmentType GetServiceEnvironmentType() const
CreateServiceEnvironmentRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateServiceEnvironmentRequest & WithServiceEnvironmentName(ServiceEnvironmentNameT &&value)
virtual const char * GetServiceRequestName() const override
void SetServiceEnvironmentType(ServiceEnvironmentType value)
void SetState(ServiceEnvironmentState value)
CreateServiceEnvironmentRequest & WithServiceEnvironmentType(ServiceEnvironmentType 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