/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the IP addresses and network interface associated with a NAT
* gateway.See Also:
AWS
* API Reference
The allocation ID of the Elastic IP address that's associated with the NAT * gateway.
*/ inline const Aws::String& GetAllocationId() const{ return m_allocationId; } /** *The allocation ID of the Elastic IP address that's associated with the NAT * gateway.
*/ inline bool AllocationIdHasBeenSet() const { return m_allocationIdHasBeenSet; } /** *The allocation ID of the Elastic IP address that's associated with the NAT * gateway.
*/ inline void SetAllocationId(const Aws::String& value) { m_allocationIdHasBeenSet = true; m_allocationId = value; } /** *The allocation ID of the Elastic IP address that's associated with the NAT * gateway.
*/ inline void SetAllocationId(Aws::String&& value) { m_allocationIdHasBeenSet = true; m_allocationId = std::move(value); } /** *The allocation ID of the Elastic IP address that's associated with the NAT * gateway.
*/ inline void SetAllocationId(const char* value) { m_allocationIdHasBeenSet = true; m_allocationId.assign(value); } /** *The allocation ID of the Elastic IP address that's associated with the NAT * gateway.
*/ inline NatGatewayAddress& WithAllocationId(const Aws::String& value) { SetAllocationId(value); return *this;} /** *The allocation ID of the Elastic IP address that's associated with the NAT * gateway.
*/ inline NatGatewayAddress& WithAllocationId(Aws::String&& value) { SetAllocationId(std::move(value)); return *this;} /** *The allocation ID of the Elastic IP address that's associated with the NAT * gateway.
*/ inline NatGatewayAddress& WithAllocationId(const char* value) { SetAllocationId(value); return *this;} /** *The ID of the network interface associated with the NAT gateway.
*/ inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; } /** *The ID of the network interface associated with the NAT gateway.
*/ inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; } /** *The ID of the network interface associated with the NAT gateway.
*/ inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = value; } /** *The ID of the network interface associated with the NAT gateway.
*/ inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = std::move(value); } /** *The ID of the network interface associated with the NAT gateway.
*/ inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId.assign(value); } /** *The ID of the network interface associated with the NAT gateway.
*/ inline NatGatewayAddress& WithNetworkInterfaceId(const Aws::String& value) { SetNetworkInterfaceId(value); return *this;} /** *The ID of the network interface associated with the NAT gateway.
*/ inline NatGatewayAddress& WithNetworkInterfaceId(Aws::String&& value) { SetNetworkInterfaceId(std::move(value)); return *this;} /** *The ID of the network interface associated with the NAT gateway.
*/ inline NatGatewayAddress& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;} /** *The private IP address associated with the Elastic IP address.
*/ inline const Aws::String& GetPrivateIp() const{ return m_privateIp; } /** *The private IP address associated with the Elastic IP address.
*/ inline bool PrivateIpHasBeenSet() const { return m_privateIpHasBeenSet; } /** *The private IP address associated with the Elastic IP address.
*/ inline void SetPrivateIp(const Aws::String& value) { m_privateIpHasBeenSet = true; m_privateIp = value; } /** *The private IP address associated with the Elastic IP address.
*/ inline void SetPrivateIp(Aws::String&& value) { m_privateIpHasBeenSet = true; m_privateIp = std::move(value); } /** *The private IP address associated with the Elastic IP address.
*/ inline void SetPrivateIp(const char* value) { m_privateIpHasBeenSet = true; m_privateIp.assign(value); } /** *The private IP address associated with the Elastic IP address.
*/ inline NatGatewayAddress& WithPrivateIp(const Aws::String& value) { SetPrivateIp(value); return *this;} /** *The private IP address associated with the Elastic IP address.
*/ inline NatGatewayAddress& WithPrivateIp(Aws::String&& value) { SetPrivateIp(std::move(value)); return *this;} /** *The private IP address associated with the Elastic IP address.
*/ inline NatGatewayAddress& WithPrivateIp(const char* value) { SetPrivateIp(value); return *this;} /** *The Elastic IP address associated with the NAT gateway.
*/ inline const Aws::String& GetPublicIp() const{ return m_publicIp; } /** *The Elastic IP address associated with the NAT gateway.
*/ inline bool PublicIpHasBeenSet() const { return m_publicIpHasBeenSet; } /** *The Elastic IP address associated with the NAT gateway.
*/ inline void SetPublicIp(const Aws::String& value) { m_publicIpHasBeenSet = true; m_publicIp = value; } /** *The Elastic IP address associated with the NAT gateway.
*/ inline void SetPublicIp(Aws::String&& value) { m_publicIpHasBeenSet = true; m_publicIp = std::move(value); } /** *The Elastic IP address associated with the NAT gateway.
*/ inline void SetPublicIp(const char* value) { m_publicIpHasBeenSet = true; m_publicIp.assign(value); } /** *The Elastic IP address associated with the NAT gateway.
*/ inline NatGatewayAddress& WithPublicIp(const Aws::String& value) { SetPublicIp(value); return *this;} /** *The Elastic IP address associated with the NAT gateway.
*/ inline NatGatewayAddress& WithPublicIp(Aws::String&& value) { SetPublicIp(std::move(value)); return *this;} /** *The Elastic IP address associated with the NAT gateway.
*/ inline NatGatewayAddress& WithPublicIp(const char* value) { SetPublicIp(value); return *this;} private: Aws::String m_allocationId; bool m_allocationIdHasBeenSet; Aws::String m_networkInterfaceId; bool m_networkInterfaceIdHasBeenSet; Aws::String m_privateIp; bool m_privateIpHasBeenSet; Aws::String m_publicIp; bool m_publicIpHasBeenSet; }; } // namespace Model } // namespace EC2 } // namespace Aws