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/ServiceEnvironmentType.h>
11#include <aws/batch/model/ServiceEnvironmentState.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/batch/model/CapacityLimit.h>
47 template<
typename ServiceEnvironmentNameT = Aws::String>
48 void SetServiceEnvironmentName(ServiceEnvironmentNameT&& value) { m_serviceEnvironmentNameHasBeenSet =
true; m_serviceEnvironmentName = std::forward<ServiceEnvironmentNameT>(value); }
49 template<
typename ServiceEnvironmentNameT = Aws::String>
83 template<
typename CapacityLimitsT = Aws::Vector<CapacityLimit>>
84 void SetCapacityLimits(CapacityLimitsT&& value) { m_capacityLimitsHasBeenSet =
true; m_capacityLimits = std::forward<CapacityLimitsT>(value); }
85 template<
typename CapacityLimitsT = Aws::Vector<CapacityLimit>>
87 template<
typename CapacityLimitsT = CapacityLimit>
101 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
102 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
103 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
105 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
107 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
113 bool m_serviceEnvironmentNameHasBeenSet =
false;
116 bool m_serviceEnvironmentTypeHasBeenSet =
false;
119 bool m_stateHasBeenSet =
false;
122 bool m_capacityLimitsHasBeenSet =
false;
125 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