/* * 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 a private IPv4 address. /// public partial class InstancePrivateIpAddress { private InstanceNetworkInterfaceAssociation _association; private bool? _primary; private string _privateDnsName; private string _privateIpAddress; /// /// Gets and sets the property Association. /// /// The association information for an Elastic IP address for the network interface. /// /// public InstanceNetworkInterfaceAssociation Association { get { return this._association; } set { this._association = value; } } // Check to see if Association property is set internal bool IsSetAssociation() { return this._association != null; } /// /// Gets and sets the property Primary. /// /// Indicates whether this IPv4 address is the primary private IP address of the network /// interface. /// /// public bool Primary { get { return this._primary.GetValueOrDefault(); } set { this._primary = value; } } // Check to see if Primary property is set internal bool IsSetPrimary() { return this._primary.HasValue; } /// /// Gets and sets the property PrivateDnsName. /// /// The private IPv4 DNS name. /// /// public string PrivateDnsName { get { return this._privateDnsName; } set { this._privateDnsName = value; } } // Check to see if PrivateDnsName property is set internal bool IsSetPrivateDnsName() { return this._privateDnsName != null; } /// /// Gets and sets the property PrivateIpAddress. /// /// The private IPv4 address of the network interface. /// /// public string PrivateIpAddress { get { return this._privateIpAddress; } set { this._privateIpAddress = value; } } // Check to see if PrivateIpAddress property is set internal bool IsSetPrivateIpAddress() { return this._privateIpAddress != null; } } }