/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the ec2-2016-11-15.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.EC2.Model { /// /// Describes association information for an Elastic IP address (IPv4). /// public partial class InstanceNetworkInterfaceAssociation { private string _carrierIp; private string _customerOwnedIp; private string _ipOwnerId; private string _publicDnsName; private string _publicIp; /// /// Gets and sets the property CarrierIp. /// /// The carrier IP address associated with the network interface. /// /// public string CarrierIp { get { return this._carrierIp; } set { this._carrierIp = value; } } // Check to see if CarrierIp property is set internal bool IsSetCarrierIp() { return this._carrierIp != null; } /// /// Gets and sets the property CustomerOwnedIp. /// /// The customer-owned IP address associated with the network interface. /// /// public string CustomerOwnedIp { get { return this._customerOwnedIp; } set { this._customerOwnedIp = value; } } // Check to see if CustomerOwnedIp property is set internal bool IsSetCustomerOwnedIp() { return this._customerOwnedIp != null; } /// /// Gets and sets the property IpOwnerId. /// /// The ID of the owner of the Elastic IP address. /// /// public string IpOwnerId { get { return this._ipOwnerId; } set { this._ipOwnerId = value; } } // Check to see if IpOwnerId property is set internal bool IsSetIpOwnerId() { return this._ipOwnerId != null; } /// /// Gets and sets the property PublicDnsName. /// /// The public DNS name. /// /// public string PublicDnsName { get { return this._publicDnsName; } set { this._publicDnsName = value; } } // Check to see if PublicDnsName property is set internal bool IsSetPublicDnsName() { return this._publicDnsName != null; } /// /// Gets and sets the property PublicIp. /// /// The public IP address or Elastic IP address bound to the network interface. /// /// public string PublicIp { get { return this._publicIp; } set { this._publicIp = value; } } // Check to see if PublicIp property is set internal bool IsSetPublicIp() { return this._publicIp != null; } } }