7#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
8#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticloadbalancingv2/model/LoadBalancerSchemeEnum.h>
12#include <aws/elasticloadbalancingv2/model/LoadBalancerTypeEnum.h>
13#include <aws/elasticloadbalancingv2/model/IpAddressType.h>
14#include <aws/elasticloadbalancingv2/model/EnablePrefixForIpv6SourceNatEnum.h>
15#include <aws/elasticloadbalancingv2/model/IpamPools.h>
16#include <aws/elasticloadbalancingv2/model/SubnetMapping.h>
17#include <aws/elasticloadbalancingv2/model/Tag.h>
22namespace ElasticLoadBalancingv2
56 template<
typename NameT = Aws::String>
57 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
58 template<
typename NameT = Aws::String>
76 template<
typename SubnetsT = Aws::Vector<Aws::String>>
77 void SetSubnets(SubnetsT&& value) { m_subnetsHasBeenSet =
true; m_subnets = std::forward<SubnetsT>(value); }
78 template<
typename SubnetsT = Aws::Vector<Aws::String>>
80 template<
typename SubnetsT = Aws::String>
103 template<
typename SubnetMappingsT = Aws::Vector<SubnetMapping>>
104 void SetSubnetMappings(SubnetMappingsT&& value) { m_subnetMappingsHasBeenSet =
true; m_subnetMappings = std::forward<SubnetMappingsT>(value); }
105 template<
typename SubnetMappingsT = Aws::Vector<SubnetMapping>>
107 template<
typename SubnetMappingsT = SubnetMapping>
118 template<
typename SecurityGroupsT = Aws::Vector<Aws::String>>
119 void SetSecurityGroups(SecurityGroupsT&& value) { m_securityGroupsHasBeenSet =
true; m_securityGroups = std::forward<SecurityGroupsT>(value); }
120 template<
typename SecurityGroupsT = Aws::Vector<Aws::String>>
122 template<
typename SecurityGroupsT = Aws::String>
151 template<
typename TagsT = Aws::Vector<Tag>>
152 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
153 template<
typename TagsT = Aws::Vector<Tag>>
155 template<
typename TagsT = Tag>
192 template<
typename CustomerOwnedIpv4PoolT = Aws::String>
193 void SetCustomerOwnedIpv4Pool(CustomerOwnedIpv4PoolT&& value) { m_customerOwnedIpv4PoolHasBeenSet =
true; m_customerOwnedIpv4Pool = std::forward<CustomerOwnedIpv4PoolT>(value); }
194 template<
typename CustomerOwnedIpv4PoolT = Aws::String>
217 template<
typename IpamPoolsT = IpamPools>
218 void SetIpamPools(IpamPoolsT&& value) { m_ipamPoolsHasBeenSet =
true; m_ipamPools = std::forward<IpamPoolsT>(value); }
219 template<
typename IpamPoolsT = IpamPools>
225 bool m_nameHasBeenSet =
false;
228 bool m_subnetsHasBeenSet =
false;
231 bool m_subnetMappingsHasBeenSet =
false;
234 bool m_securityGroupsHasBeenSet =
false;
237 bool m_schemeHasBeenSet =
false;
240 bool m_tagsHasBeenSet =
false;
243 bool m_typeHasBeenSet =
false;
246 bool m_ipAddressTypeHasBeenSet =
false;
249 bool m_customerOwnedIpv4PoolHasBeenSet =
false;
252 bool m_enablePrefixForIpv6SourceNatHasBeenSet =
false;
254 IpamPools m_ipamPools;
255 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