7#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticloadbalancingv2/model/LoadBalancerAddress.h>
23namespace ElasticLoadBalancingv2
40 AWS_ELASTICLOADBALANCINGV2_API
void OutputToStream(
Aws::OStream& ostream,
const char* location,
unsigned index,
const char* locationValue)
const;
50 template<
typename ZoneNameT = Aws::String>
51 void SetZoneName(ZoneNameT&& value) { m_zoneNameHasBeenSet =
true; m_zoneName = std::forward<ZoneNameT>(value); }
52 template<
typename ZoneNameT = Aws::String>
62 template<
typename SubnetIdT = Aws::String>
63 void SetSubnetId(SubnetIdT&& value) { m_subnetIdHasBeenSet =
true; m_subnetId = std::forward<SubnetIdT>(value); }
64 template<
typename SubnetIdT = Aws::String>
74 template<
typename OutpostIdT = Aws::String>
75 void SetOutpostId(OutpostIdT&& value) { m_outpostIdHasBeenSet =
true; m_outpostId = std::forward<OutpostIdT>(value); }
76 template<
typename OutpostIdT = Aws::String>
89 template<
typename LoadBalancerAddressesT = Aws::Vector<LoadBalancerAddress>>
90 void SetLoadBalancerAddresses(LoadBalancerAddressesT&& value) { m_loadBalancerAddressesHasBeenSet =
true; m_loadBalancerAddresses = std::forward<LoadBalancerAddressesT>(value); }
91 template<
typename LoadBalancerAddressesT = Aws::Vector<LoadBalancerAddress>>
93 template<
typename LoadBalancerAddressesT = LoadBalancerAddress>
94 AvailabilityZone&
AddLoadBalancerAddresses(LoadBalancerAddressesT&& value) { m_loadBalancerAddressesHasBeenSet =
true; m_loadBalancerAddresses.emplace_back(std::forward<LoadBalancerAddressesT>(value));
return *
this; }
106 template<
typename SourceNatIpv6PrefixesT = Aws::Vector<Aws::String>>
107 void SetSourceNatIpv6Prefixes(SourceNatIpv6PrefixesT&& value) { m_sourceNatIpv6PrefixesHasBeenSet =
true; m_sourceNatIpv6Prefixes = std::forward<SourceNatIpv6PrefixesT>(value); }
108 template<
typename SourceNatIpv6PrefixesT = Aws::Vector<Aws::String>>
110 template<
typename SourceNatIpv6PrefixesT = Aws::String>
111 AvailabilityZone&
AddSourceNatIpv6Prefixes(SourceNatIpv6PrefixesT&& value) { m_sourceNatIpv6PrefixesHasBeenSet =
true; m_sourceNatIpv6Prefixes.emplace_back(std::forward<SourceNatIpv6PrefixesT>(value));
return *
this; }
116 bool m_zoneNameHasBeenSet =
false;
119 bool m_subnetIdHasBeenSet =
false;
122 bool m_outpostIdHasBeenSet =
false;
125 bool m_loadBalancerAddressesHasBeenSet =
false;
128 bool m_sourceNatIpv6PrefixesHasBeenSet =
false;
bool SourceNatIpv6PrefixesHasBeenSet() const
bool LoadBalancerAddressesHasBeenSet() const
bool OutpostIdHasBeenSet() const
AvailabilityZone & AddLoadBalancerAddresses(LoadBalancerAddressesT &&value)
const Aws::Vector< LoadBalancerAddress > & GetLoadBalancerAddresses() const
void SetOutpostId(OutpostIdT &&value)
AvailabilityZone & WithLoadBalancerAddresses(LoadBalancerAddressesT &&value)
void SetZoneName(ZoneNameT &&value)
const Aws::String & GetSubnetId() const
AvailabilityZone & AddSourceNatIpv6Prefixes(SourceNatIpv6PrefixesT &&value)
const Aws::String & GetZoneName() const
const Aws::Vector< Aws::String > & GetSourceNatIpv6Prefixes() const
const Aws::String & GetOutpostId() const
AvailabilityZone & WithSourceNatIpv6Prefixes(SourceNatIpv6PrefixesT &&value)
void SetSubnetId(SubnetIdT &&value)
AWS_ELASTICLOADBALANCINGV2_API AvailabilityZone()=default
void SetLoadBalancerAddresses(LoadBalancerAddressesT &&value)
AWS_ELASTICLOADBALANCINGV2_API AvailabilityZone(const Aws::Utils::Xml::XmlNode &xmlNode)
AvailabilityZone & WithZoneName(ZoneNameT &&value)
AvailabilityZone & WithSubnetId(SubnetIdT &&value)
AvailabilityZone & WithOutpostId(OutpostIdT &&value)
AWS_ELASTICLOADBALANCINGV2_API AvailabilityZone & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool SubnetIdHasBeenSet() const
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetSourceNatIpv6Prefixes(SourceNatIpv6PrefixesT &&value)
bool ZoneNameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream