7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2Request.h>
10#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
11#include <aws/elasticloadbalancingv2/model/EnablePrefixForIpv6SourceNatEnum.h>
12#include <aws/elasticloadbalancingv2/model/IpAddressType.h>
13#include <aws/elasticloadbalancingv2/model/IpamPools.h>
14#include <aws/elasticloadbalancingv2/model/LoadBalancerSchemeEnum.h>
15#include <aws/elasticloadbalancingv2/model/LoadBalancerTypeEnum.h>
16#include <aws/elasticloadbalancingv2/model/SubnetMapping.h>
17#include <aws/elasticloadbalancingv2/model/Tag.h>
22namespace ElasticLoadBalancingv2 {
52 template <
typename NameT = Aws::String>
54 m_nameHasBeenSet =
true;
55 m_name = std::forward<NameT>(value);
57 template <
typename NameT = Aws::String>
59 SetName(std::forward<NameT>(value));
78 template <
typename SubnetsT = Aws::Vector<Aws::String>>
80 m_subnetsHasBeenSet =
true;
81 m_subnets = std::forward<SubnetsT>(value);
83 template <
typename SubnetsT = Aws::Vector<Aws::String>>
88 template <
typename SubnetsT = Aws::String>
90 m_subnetsHasBeenSet =
true;
91 m_subnets.emplace_back(std::forward<SubnetsT>(value));
115 template <
typename SubnetMappingsT = Aws::Vector<SubnetMapping>>
117 m_subnetMappingsHasBeenSet =
true;
118 m_subnetMappings = std::forward<SubnetMappingsT>(value);
120 template <
typename SubnetMappingsT = Aws::Vector<SubnetMapping>>
125 template <
typename SubnetMappingsT = SubnetMapping>
127 m_subnetMappingsHasBeenSet =
true;
128 m_subnetMappings.emplace_back(std::forward<SubnetMappingsT>(value));
140 template <
typename SecurityGroupsT = Aws::Vector<Aws::String>>
142 m_securityGroupsHasBeenSet =
true;
143 m_securityGroups = std::forward<SecurityGroupsT>(value);
145 template <
typename SecurityGroupsT = Aws::Vector<Aws::String>>
150 template <
typename SecurityGroupsT = Aws::String>
152 m_securityGroupsHasBeenSet =
true;
153 m_securityGroups.emplace_back(std::forward<SecurityGroupsT>(value));
174 m_schemeHasBeenSet =
true;
189 template <
typename TagsT = Aws::Vector<Tag>>
191 m_tagsHasBeenSet =
true;
192 m_tags = std::forward<TagsT>(value);
194 template <
typename TagsT = Aws::Vector<Tag>>
196 SetTags(std::forward<TagsT>(value));
199 template <
typename TagsT = Tag>
201 m_tagsHasBeenSet =
true;
202 m_tags.emplace_back(std::forward<TagsT>(value));
214 m_typeHasBeenSet =
true;
236 m_ipAddressTypeHasBeenSet =
true;
237 m_ipAddressType = value;
252 template <
typename CustomerOwnedIpv4PoolT = Aws::String>
254 m_customerOwnedIpv4PoolHasBeenSet =
true;
255 m_customerOwnedIpv4Pool = std::forward<CustomerOwnedIpv4PoolT>(value);
257 template <
typename CustomerOwnedIpv4PoolT = Aws::String>
273 m_enablePrefixForIpv6SourceNatHasBeenSet =
true;
274 m_enablePrefixForIpv6SourceNat = value;
289 template <
typename IpamPoolsT = IpamPools>
291 m_ipamPoolsHasBeenSet =
true;
292 m_ipamPools = std::forward<IpamPoolsT>(value);
294 template <
typename IpamPoolsT = IpamPools>
321 IpamPools m_ipamPools;
322 bool m_nameHasBeenSet =
false;
323 bool m_subnetsHasBeenSet =
false;
324 bool m_subnetMappingsHasBeenSet =
false;
325 bool m_securityGroupsHasBeenSet =
false;
326 bool m_schemeHasBeenSet =
false;
327 bool m_tagsHasBeenSet =
false;
328 bool m_typeHasBeenSet =
false;
329 bool m_ipAddressTypeHasBeenSet =
false;
330 bool m_customerOwnedIpv4PoolHasBeenSet =
false;
331 bool m_enablePrefixForIpv6SourceNatHasBeenSet =
false;
332 bool m_ipamPoolsHasBeenSet =
false;
void SetCustomerOwnedIpv4Pool(CustomerOwnedIpv4PoolT &&value)
void SetName(NameT &&value)
CreateLoadBalancerRequest & WithSubnetMappings(SubnetMappingsT &&value)
void SetScheme(LoadBalancerSchemeEnum value)
LoadBalancerTypeEnum GetType() const
CreateLoadBalancerRequest & AddSubnetMappings(SubnetMappingsT &&value)
const Aws::String & GetCustomerOwnedIpv4Pool() const
bool EnablePrefixForIpv6SourceNatHasBeenSet() const
CreateLoadBalancerRequest & WithIpAddressType(IpAddressType value)
CreateLoadBalancerRequest & WithEnablePrefixForIpv6SourceNat(EnablePrefixForIpv6SourceNatEnum value)
CreateLoadBalancerRequest & AddTags(TagsT &&value)
const Aws::Vector< SubnetMapping > & GetSubnetMappings() const
bool TypeHasBeenSet() const
LoadBalancerSchemeEnum GetScheme() const
const Aws::Vector< Aws::String > & GetSubnets() const
CreateLoadBalancerRequest & WithType(LoadBalancerTypeEnum value)
const Aws::String & GetName() const
bool IpAddressTypeHasBeenSet() const
CreateLoadBalancerRequest & AddSubnets(SubnetsT &&value)
EnablePrefixForIpv6SourceNatEnum GetEnablePrefixForIpv6SourceNat() const
const IpamPools & GetIpamPools() const
bool SecurityGroupsHasBeenSet() const
bool IpamPoolsHasBeenSet() const
CreateLoadBalancerRequest & WithIpamPools(IpamPoolsT &&value)
CreateLoadBalancerRequest & WithSecurityGroups(SecurityGroupsT &&value)
CreateLoadBalancerRequest & WithScheme(LoadBalancerSchemeEnum value)
bool TagsHasBeenSet() const
bool SubnetMappingsHasBeenSet() const
void SetType(LoadBalancerTypeEnum value)
bool CustomerOwnedIpv4PoolHasBeenSet() const
const Aws::Vector< Aws::String > & GetSecurityGroups() const
CreateLoadBalancerRequest & WithCustomerOwnedIpv4Pool(CustomerOwnedIpv4PoolT &&value)
AWS_ELASTICLOADBALANCINGV2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool SubnetsHasBeenSet() const
void SetIpAddressType(IpAddressType value)
CreateLoadBalancerRequest & AddSecurityGroups(SecurityGroupsT &&value)
virtual const char * GetServiceRequestName() const override
void SetSubnets(SubnetsT &&value)
bool SchemeHasBeenSet() const
AWS_ELASTICLOADBALANCINGV2_API CreateLoadBalancerRequest()=default
CreateLoadBalancerRequest & WithTags(TagsT &&value)
void SetIpamPools(IpamPoolsT &&value)
AWS_ELASTICLOADBALANCINGV2_API Aws::String SerializePayload() const override
void SetTags(TagsT &&value)
void SetEnablePrefixForIpv6SourceNat(EnablePrefixForIpv6SourceNatEnum value)
void SetSubnetMappings(SubnetMappingsT &&value)
IpAddressType GetIpAddressType() const
const Aws::Vector< Tag > & GetTags() const
CreateLoadBalancerRequest & WithSubnets(SubnetsT &&value)
void SetSecurityGroups(SecurityGroupsT &&value)
bool NameHasBeenSet() const
CreateLoadBalancerRequest & WithName(NameT &&value)
EnablePrefixForIpv6SourceNatEnum
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector