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/IpAddressType.h>
12#include <aws/elasticloadbalancingv2/model/EnablePrefixForIpv6SourceNatEnum.h>
13#include <aws/elasticloadbalancingv2/model/SubnetMapping.h>
18namespace ElasticLoadBalancingv2
49 template<
typename LoadBalancerArnT = Aws::String>
50 void SetLoadBalancerArn(LoadBalancerArnT&& value) { m_loadBalancerArnHasBeenSet =
true; m_loadBalancerArn = std::forward<LoadBalancerArnT>(value); }
51 template<
typename LoadBalancerArnT = Aws::String>
68 template<
typename SubnetsT = Aws::Vector<Aws::String>>
69 void SetSubnets(SubnetsT&& value) { m_subnetsHasBeenSet =
true; m_subnets = std::forward<SubnetsT>(value); }
70 template<
typename SubnetsT = Aws::Vector<Aws::String>>
72 template<
typename SubnetsT = Aws::String>
73 SetSubnetsRequest&
AddSubnets(SubnetsT&& value) { m_subnetsHasBeenSet =
true; m_subnets.emplace_back(std::forward<SubnetsT>(value));
return *
this; }
94 template<
typename SubnetMappingsT = Aws::Vector<SubnetMapping>>
95 void SetSubnetMappings(SubnetMappingsT&& value) { m_subnetMappingsHasBeenSet =
true; m_subnetMappings = std::forward<SubnetMappingsT>(value); }
96 template<
typename SubnetMappingsT = Aws::Vector<SubnetMapping>>
98 template<
typename SubnetMappingsT = SubnetMapping>
99 SetSubnetsRequest&
AddSubnetMappings(SubnetMappingsT&& value) { m_subnetMappingsHasBeenSet =
true; m_subnetMappings.emplace_back(std::forward<SubnetMappingsT>(value));
return *
this; }
131 bool m_loadBalancerArnHasBeenSet =
false;
134 bool m_subnetsHasBeenSet =
false;
137 bool m_subnetMappingsHasBeenSet =
false;
140 bool m_ipAddressTypeHasBeenSet =
false;
143 bool m_enablePrefixForIpv6SourceNatHasBeenSet =
false;
bool EnablePrefixForIpv6SourceNatHasBeenSet() const
SetSubnetsRequest & AddSubnetMappings(SubnetMappingsT &&value)
void SetSubnetMappings(SubnetMappingsT &&value)
SetSubnetsRequest & WithSubnets(SubnetsT &&value)
IpAddressType GetIpAddressType() const
bool SubnetsHasBeenSet() const
AWS_ELASTICLOADBALANCINGV2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
SetSubnetsRequest & AddSubnets(SubnetsT &&value)
AWS_ELASTICLOADBALANCINGV2_API SetSubnetsRequest()=default
const Aws::Vector< SubnetMapping > & GetSubnetMappings() const
void SetEnablePrefixForIpv6SourceNat(EnablePrefixForIpv6SourceNatEnum value)
SetSubnetsRequest & WithSubnetMappings(SubnetMappingsT &&value)
AWS_ELASTICLOADBALANCINGV2_API Aws::String SerializePayload() const override
const Aws::String & GetLoadBalancerArn() const
SetSubnetsRequest & WithIpAddressType(IpAddressType value)
bool LoadBalancerArnHasBeenSet() const
void SetSubnets(SubnetsT &&value)
bool IpAddressTypeHasBeenSet() const
SetSubnetsRequest & WithLoadBalancerArn(LoadBalancerArnT &&value)
void SetLoadBalancerArn(LoadBalancerArnT &&value)
void SetIpAddressType(IpAddressType value)
virtual const char * GetServiceRequestName() const override
bool SubnetMappingsHasBeenSet() const
EnablePrefixForIpv6SourceNatEnum GetEnablePrefixForIpv6SourceNat() const
SetSubnetsRequest & WithEnablePrefixForIpv6SourceNat(EnablePrefixForIpv6SourceNatEnum value)
const Aws::Vector< Aws::String > & GetSubnets() const
EnablePrefixForIpv6SourceNatEnum
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector