/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a static IP address for a load balancer.See
* Also:
AWS
* API Reference
The static IP address.
*/ inline const Aws::String& GetIpAddress() const{ return m_ipAddress; } /** *The static IP address.
*/ inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; } /** *The static IP address.
*/ inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; } /** *The static IP address.
*/ inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); } /** *The static IP address.
*/ inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); } /** *The static IP address.
*/ inline LoadBalancerAddress& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;} /** *The static IP address.
*/ inline LoadBalancerAddress& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;} /** *The static IP address.
*/ inline LoadBalancerAddress& WithIpAddress(const char* value) { SetIpAddress(value); return *this;} /** *[Network Load Balancers] The allocation ID of the Elastic IP address for an * internal-facing load balancer.
*/ inline const Aws::String& GetAllocationId() const{ return m_allocationId; } /** *[Network Load Balancers] The allocation ID of the Elastic IP address for an * internal-facing load balancer.
*/ inline bool AllocationIdHasBeenSet() const { return m_allocationIdHasBeenSet; } /** *[Network Load Balancers] The allocation ID of the Elastic IP address for an * internal-facing load balancer.
*/ inline void SetAllocationId(const Aws::String& value) { m_allocationIdHasBeenSet = true; m_allocationId = value; } /** *[Network Load Balancers] The allocation ID of the Elastic IP address for an * internal-facing load balancer.
*/ inline void SetAllocationId(Aws::String&& value) { m_allocationIdHasBeenSet = true; m_allocationId = std::move(value); } /** *[Network Load Balancers] The allocation ID of the Elastic IP address for an * internal-facing load balancer.
*/ inline void SetAllocationId(const char* value) { m_allocationIdHasBeenSet = true; m_allocationId.assign(value); } /** *[Network Load Balancers] The allocation ID of the Elastic IP address for an * internal-facing load balancer.
*/ inline LoadBalancerAddress& WithAllocationId(const Aws::String& value) { SetAllocationId(value); return *this;} /** *[Network Load Balancers] The allocation ID of the Elastic IP address for an * internal-facing load balancer.
*/ inline LoadBalancerAddress& WithAllocationId(Aws::String&& value) { SetAllocationId(std::move(value)); return *this;} /** *[Network Load Balancers] The allocation ID of the Elastic IP address for an * internal-facing load balancer.
*/ inline LoadBalancerAddress& WithAllocationId(const char* value) { SetAllocationId(value); return *this;} /** *[Network Load Balancers] The private IPv4 address for an internal load * balancer.
*/ inline const Aws::String& GetPrivateIPv4Address() const{ return m_privateIPv4Address; } /** *[Network Load Balancers] The private IPv4 address for an internal load * balancer.
*/ inline bool PrivateIPv4AddressHasBeenSet() const { return m_privateIPv4AddressHasBeenSet; } /** *[Network Load Balancers] The private IPv4 address for an internal load * balancer.
*/ inline void SetPrivateIPv4Address(const Aws::String& value) { m_privateIPv4AddressHasBeenSet = true; m_privateIPv4Address = value; } /** *[Network Load Balancers] The private IPv4 address for an internal load * balancer.
*/ inline void SetPrivateIPv4Address(Aws::String&& value) { m_privateIPv4AddressHasBeenSet = true; m_privateIPv4Address = std::move(value); } /** *[Network Load Balancers] The private IPv4 address for an internal load * balancer.
*/ inline void SetPrivateIPv4Address(const char* value) { m_privateIPv4AddressHasBeenSet = true; m_privateIPv4Address.assign(value); } /** *[Network Load Balancers] The private IPv4 address for an internal load * balancer.
*/ inline LoadBalancerAddress& WithPrivateIPv4Address(const Aws::String& value) { SetPrivateIPv4Address(value); return *this;} /** *[Network Load Balancers] The private IPv4 address for an internal load * balancer.
*/ inline LoadBalancerAddress& WithPrivateIPv4Address(Aws::String&& value) { SetPrivateIPv4Address(std::move(value)); return *this;} /** *[Network Load Balancers] The private IPv4 address for an internal load * balancer.
*/ inline LoadBalancerAddress& WithPrivateIPv4Address(const char* value) { SetPrivateIPv4Address(value); return *this;} /** *[Network Load Balancers] The IPv6 address.
*/ inline const Aws::String& GetIPv6Address() const{ return m_iPv6Address; } /** *[Network Load Balancers] The IPv6 address.
*/ inline bool IPv6AddressHasBeenSet() const { return m_iPv6AddressHasBeenSet; } /** *[Network Load Balancers] The IPv6 address.
*/ inline void SetIPv6Address(const Aws::String& value) { m_iPv6AddressHasBeenSet = true; m_iPv6Address = value; } /** *[Network Load Balancers] The IPv6 address.
*/ inline void SetIPv6Address(Aws::String&& value) { m_iPv6AddressHasBeenSet = true; m_iPv6Address = std::move(value); } /** *[Network Load Balancers] The IPv6 address.
*/ inline void SetIPv6Address(const char* value) { m_iPv6AddressHasBeenSet = true; m_iPv6Address.assign(value); } /** *[Network Load Balancers] The IPv6 address.
*/ inline LoadBalancerAddress& WithIPv6Address(const Aws::String& value) { SetIPv6Address(value); return *this;} /** *[Network Load Balancers] The IPv6 address.
*/ inline LoadBalancerAddress& WithIPv6Address(Aws::String&& value) { SetIPv6Address(std::move(value)); return *this;} /** *[Network Load Balancers] The IPv6 address.
*/ inline LoadBalancerAddress& WithIPv6Address(const char* value) { SetIPv6Address(value); return *this;} private: Aws::String m_ipAddress; bool m_ipAddressHasBeenSet = false; Aws::String m_allocationId; bool m_allocationIdHasBeenSet = false; Aws::String m_privateIPv4Address; bool m_privateIPv4AddressHasBeenSet = false; Aws::String m_iPv6Address; bool m_iPv6AddressHasBeenSet = false; }; } // namespace Model } // namespace ElasticLoadBalancingv2 } // namespace Aws