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/SubnetMapping.h>
18namespace ElasticLoadBalancingv2 {
45 template <
typename LoadBalancerArnT = Aws::String>
47 m_loadBalancerArnHasBeenSet =
true;
48 m_loadBalancerArn = std::forward<LoadBalancerArnT>(value);
50 template <
typename LoadBalancerArnT = Aws::String>
72 template <
typename SubnetsT = Aws::Vector<Aws::String>>
74 m_subnetsHasBeenSet =
true;
75 m_subnets = std::forward<SubnetsT>(value);
77 template <
typename SubnetsT = Aws::Vector<Aws::String>>
82 template <
typename SubnetsT = Aws::String>
84 m_subnetsHasBeenSet =
true;
85 m_subnets.emplace_back(std::forward<SubnetsT>(value));
108 template <
typename SubnetMappingsT = Aws::Vector<SubnetMapping>>
110 m_subnetMappingsHasBeenSet =
true;
111 m_subnetMappings = std::forward<SubnetMappingsT>(value);
113 template <
typename SubnetMappingsT = Aws::Vector<SubnetMapping>>
118 template <
typename SubnetMappingsT = SubnetMapping>
120 m_subnetMappingsHasBeenSet =
true;
121 m_subnetMappings.emplace_back(std::forward<SubnetMappingsT>(value));
138 m_ipAddressTypeHasBeenSet =
true;
139 m_ipAddressType = value;
156 m_enablePrefixForIpv6SourceNatHasBeenSet =
true;
157 m_enablePrefixForIpv6SourceNat = value;
174 bool m_loadBalancerArnHasBeenSet =
false;
175 bool m_subnetsHasBeenSet =
false;
176 bool m_subnetMappingsHasBeenSet =
false;
177 bool m_ipAddressTypeHasBeenSet =
false;
178 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