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>
21namespace ElasticLoadBalancingv2
39 AWS_ELASTICLOADBALANCINGV2_API
void OutputToStream(
Aws::OStream& ostream,
const char* location,
unsigned index,
const char* locationValue)
const;
49 template<
typename IpAddressT = Aws::String>
50 void SetIpAddress(IpAddressT&& value) { m_ipAddressHasBeenSet =
true; m_ipAddress = std::forward<IpAddressT>(value); }
51 template<
typename IpAddressT = Aws::String>
62 template<
typename AllocationIdT = Aws::String>
63 void SetAllocationId(AllocationIdT&& value) { m_allocationIdHasBeenSet =
true; m_allocationId = std::forward<AllocationIdT>(value); }
64 template<
typename AllocationIdT = Aws::String>
75 template<
typename PrivateIPv4AddressT = Aws::String>
76 void SetPrivateIPv4Address(PrivateIPv4AddressT&& value) { m_privateIPv4AddressHasBeenSet =
true; m_privateIPv4Address = std::forward<PrivateIPv4AddressT>(value); }
77 template<
typename PrivateIPv4AddressT = Aws::String>
87 template<
typename IPv6AddressT = Aws::String>
88 void SetIPv6Address(IPv6AddressT&& value) { m_iPv6AddressHasBeenSet =
true; m_iPv6Address = std::forward<IPv6AddressT>(value); }
89 template<
typename IPv6AddressT = Aws::String>
95 bool m_ipAddressHasBeenSet =
false;
98 bool m_allocationIdHasBeenSet =
false;
101 bool m_privateIPv4AddressHasBeenSet =
false;
104 bool m_iPv6AddressHasBeenSet =
false;
AWS_ELASTICLOADBALANCINGV2_API LoadBalancerAddress()=default
LoadBalancerAddress & WithIPv6Address(IPv6AddressT &&value)
LoadBalancerAddress & WithAllocationId(AllocationIdT &&value)
const Aws::String & GetPrivateIPv4Address() const
const Aws::String & GetIpAddress() const
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetAllocationId(AllocationIdT &&value)
LoadBalancerAddress & WithIpAddress(IpAddressT &&value)
AWS_ELASTICLOADBALANCINGV2_API LoadBalancerAddress & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetPrivateIPv4Address(PrivateIPv4AddressT &&value)
bool IPv6AddressHasBeenSet() const
void SetIpAddress(IpAddressT &&value)
bool AllocationIdHasBeenSet() const
LoadBalancerAddress & WithPrivateIPv4Address(PrivateIPv4AddressT &&value)
const Aws::String & GetIPv6Address() const
const Aws::String & GetAllocationId() const
AWS_ELASTICLOADBALANCINGV2_API LoadBalancerAddress(const Aws::Utils::Xml::XmlNode &xmlNode)
bool PrivateIPv4AddressHasBeenSet() const
void SetIPv6Address(IPv6AddressT &&value)
bool IpAddressHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream