/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes association information for an Elastic IP address
* (IPv4).See Also:
AWS
* API Reference
The carrier IP address associated with the network interface.
*/ inline const Aws::String& GetCarrierIp() const{ return m_carrierIp; } /** *The carrier IP address associated with the network interface.
*/ inline bool CarrierIpHasBeenSet() const { return m_carrierIpHasBeenSet; } /** *The carrier IP address associated with the network interface.
*/ inline void SetCarrierIp(const Aws::String& value) { m_carrierIpHasBeenSet = true; m_carrierIp = value; } /** *The carrier IP address associated with the network interface.
*/ inline void SetCarrierIp(Aws::String&& value) { m_carrierIpHasBeenSet = true; m_carrierIp = std::move(value); } /** *The carrier IP address associated with the network interface.
*/ inline void SetCarrierIp(const char* value) { m_carrierIpHasBeenSet = true; m_carrierIp.assign(value); } /** *The carrier IP address associated with the network interface.
*/ inline InstanceNetworkInterfaceAssociation& WithCarrierIp(const Aws::String& value) { SetCarrierIp(value); return *this;} /** *The carrier IP address associated with the network interface.
*/ inline InstanceNetworkInterfaceAssociation& WithCarrierIp(Aws::String&& value) { SetCarrierIp(std::move(value)); return *this;} /** *The carrier IP address associated with the network interface.
*/ inline InstanceNetworkInterfaceAssociation& WithCarrierIp(const char* value) { SetCarrierIp(value); return *this;} /** *The customer-owned IP address associated with the network interface.
*/ inline const Aws::String& GetCustomerOwnedIp() const{ return m_customerOwnedIp; } /** *The customer-owned IP address associated with the network interface.
*/ inline bool CustomerOwnedIpHasBeenSet() const { return m_customerOwnedIpHasBeenSet; } /** *The customer-owned IP address associated with the network interface.
*/ inline void SetCustomerOwnedIp(const Aws::String& value) { m_customerOwnedIpHasBeenSet = true; m_customerOwnedIp = value; } /** *The customer-owned IP address associated with the network interface.
*/ inline void SetCustomerOwnedIp(Aws::String&& value) { m_customerOwnedIpHasBeenSet = true; m_customerOwnedIp = std::move(value); } /** *The customer-owned IP address associated with the network interface.
*/ inline void SetCustomerOwnedIp(const char* value) { m_customerOwnedIpHasBeenSet = true; m_customerOwnedIp.assign(value); } /** *The customer-owned IP address associated with the network interface.
*/ inline InstanceNetworkInterfaceAssociation& WithCustomerOwnedIp(const Aws::String& value) { SetCustomerOwnedIp(value); return *this;} /** *The customer-owned IP address associated with the network interface.
*/ inline InstanceNetworkInterfaceAssociation& WithCustomerOwnedIp(Aws::String&& value) { SetCustomerOwnedIp(std::move(value)); return *this;} /** *The customer-owned IP address associated with the network interface.
*/ inline InstanceNetworkInterfaceAssociation& WithCustomerOwnedIp(const char* value) { SetCustomerOwnedIp(value); return *this;} /** *The ID of the owner of the Elastic IP address.
*/ inline const Aws::String& GetIpOwnerId() const{ return m_ipOwnerId; } /** *The ID of the owner of the Elastic IP address.
*/ inline bool IpOwnerIdHasBeenSet() const { return m_ipOwnerIdHasBeenSet; } /** *The ID of the owner of the Elastic IP address.
*/ inline void SetIpOwnerId(const Aws::String& value) { m_ipOwnerIdHasBeenSet = true; m_ipOwnerId = value; } /** *The ID of the owner of the Elastic IP address.
*/ inline void SetIpOwnerId(Aws::String&& value) { m_ipOwnerIdHasBeenSet = true; m_ipOwnerId = std::move(value); } /** *The ID of the owner of the Elastic IP address.
*/ inline void SetIpOwnerId(const char* value) { m_ipOwnerIdHasBeenSet = true; m_ipOwnerId.assign(value); } /** *The ID of the owner of the Elastic IP address.
*/ inline InstanceNetworkInterfaceAssociation& WithIpOwnerId(const Aws::String& value) { SetIpOwnerId(value); return *this;} /** *The ID of the owner of the Elastic IP address.
*/ inline InstanceNetworkInterfaceAssociation& WithIpOwnerId(Aws::String&& value) { SetIpOwnerId(std::move(value)); return *this;} /** *The ID of the owner of the Elastic IP address.
*/ inline InstanceNetworkInterfaceAssociation& WithIpOwnerId(const char* value) { SetIpOwnerId(value); return *this;} /** *The public DNS name.
*/ inline const Aws::String& GetPublicDnsName() const{ return m_publicDnsName; } /** *The public DNS name.
*/ inline bool PublicDnsNameHasBeenSet() const { return m_publicDnsNameHasBeenSet; } /** *The public DNS name.
*/ inline void SetPublicDnsName(const Aws::String& value) { m_publicDnsNameHasBeenSet = true; m_publicDnsName = value; } /** *The public DNS name.
*/ inline void SetPublicDnsName(Aws::String&& value) { m_publicDnsNameHasBeenSet = true; m_publicDnsName = std::move(value); } /** *The public DNS name.
*/ inline void SetPublicDnsName(const char* value) { m_publicDnsNameHasBeenSet = true; m_publicDnsName.assign(value); } /** *The public DNS name.
*/ inline InstanceNetworkInterfaceAssociation& WithPublicDnsName(const Aws::String& value) { SetPublicDnsName(value); return *this;} /** *The public DNS name.
*/ inline InstanceNetworkInterfaceAssociation& WithPublicDnsName(Aws::String&& value) { SetPublicDnsName(std::move(value)); return *this;} /** *The public DNS name.
*/ inline InstanceNetworkInterfaceAssociation& WithPublicDnsName(const char* value) { SetPublicDnsName(value); return *this;} /** *The public IP address or Elastic IP address bound to the network * interface.
*/ inline const Aws::String& GetPublicIp() const{ return m_publicIp; } /** *The public IP address or Elastic IP address bound to the network * interface.
*/ inline bool PublicIpHasBeenSet() const { return m_publicIpHasBeenSet; } /** *The public IP address or Elastic IP address bound to the network * interface.
*/ inline void SetPublicIp(const Aws::String& value) { m_publicIpHasBeenSet = true; m_publicIp = value; } /** *The public IP address or Elastic IP address bound to the network * interface.
*/ inline void SetPublicIp(Aws::String&& value) { m_publicIpHasBeenSet = true; m_publicIp = std::move(value); } /** *The public IP address or Elastic IP address bound to the network * interface.
*/ inline void SetPublicIp(const char* value) { m_publicIpHasBeenSet = true; m_publicIp.assign(value); } /** *The public IP address or Elastic IP address bound to the network * interface.
*/ inline InstanceNetworkInterfaceAssociation& WithPublicIp(const Aws::String& value) { SetPublicIp(value); return *this;} /** *The public IP address or Elastic IP address bound to the network * interface.
*/ inline InstanceNetworkInterfaceAssociation& WithPublicIp(Aws::String&& value) { SetPublicIp(std::move(value)); return *this;} /** *The public IP address or Elastic IP address bound to the network * interface.
*/ inline InstanceNetworkInterfaceAssociation& WithPublicIp(const char* value) { SetPublicIp(value); return *this;} private: Aws::String m_carrierIp; bool m_carrierIpHasBeenSet = false; Aws::String m_customerOwnedIp; bool m_customerOwnedIpHasBeenSet = false; Aws::String m_ipOwnerId; bool m_ipOwnerIdHasBeenSet = false; Aws::String m_publicDnsName; bool m_publicDnsNameHasBeenSet = false; Aws::String m_publicIp; bool m_publicIpHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws