/* * 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 securityhub-2018-10-26.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.SecurityHub.Model { /// /// Information about an Elastic IP address. /// public partial class AwsEc2EipDetails { private string _allocationId; private string _associationId; private string _domain; private string _instanceId; private string _networkBorderGroup; private string _networkInterfaceId; private string _networkInterfaceOwnerId; private string _privateIpAddress; private string _publicIp; private string _publicIpv4Pool; /// /// Gets and sets the property AllocationId. /// /// The identifier that Amazon Web Services assigns to represent the allocation of the /// Elastic IP address for use with Amazon VPC. /// /// public string AllocationId { get { return this._allocationId; } set { this._allocationId = value; } } // Check to see if AllocationId property is set internal bool IsSetAllocationId() { return this._allocationId != null; } /// /// Gets and sets the property AssociationId. /// /// The identifier that represents the association of the Elastic IP address with an EC2 /// instance. /// /// public string AssociationId { get { return this._associationId; } set { this._associationId = value; } } // Check to see if AssociationId property is set internal bool IsSetAssociationId() { return this._associationId != null; } /// /// Gets and sets the property Domain. /// /// The domain in which to allocate the address. /// /// /// /// If the address is for use with EC2 instances in a VPC, then Domain is /// vpc. Otherwise, Domain is standard. /// /// public string Domain { get { return this._domain; } set { this._domain = value; } } // Check to see if Domain property is set internal bool IsSetDomain() { return this._domain != null; } /// /// Gets and sets the property InstanceId. /// /// The identifier of the EC2 instance. /// /// public string InstanceId { get { return this._instanceId; } set { this._instanceId = value; } } // Check to see if InstanceId property is set internal bool IsSetInstanceId() { return this._instanceId != null; } /// /// Gets and sets the property NetworkBorderGroup. /// /// The name of the location from which the Elastic IP address is advertised. /// /// public string NetworkBorderGroup { get { return this._networkBorderGroup; } set { this._networkBorderGroup = value; } } // Check to see if NetworkBorderGroup property is set internal bool IsSetNetworkBorderGroup() { return this._networkBorderGroup != null; } /// /// Gets and sets the property NetworkInterfaceId. /// /// The identifier of the network interface. /// /// public string NetworkInterfaceId { get { return this._networkInterfaceId; } set { this._networkInterfaceId = value; } } // Check to see if NetworkInterfaceId property is set internal bool IsSetNetworkInterfaceId() { return this._networkInterfaceId != null; } /// /// Gets and sets the property NetworkInterfaceOwnerId. /// /// The Amazon Web Services account ID of the owner of the network interface. /// /// public string NetworkInterfaceOwnerId { get { return this._networkInterfaceOwnerId; } set { this._networkInterfaceOwnerId = value; } } // Check to see if NetworkInterfaceOwnerId property is set internal bool IsSetNetworkInterfaceOwnerId() { return this._networkInterfaceOwnerId != null; } /// /// Gets and sets the property PrivateIpAddress. /// /// The private IP address that is associated with the Elastic IP address. /// /// 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; } /// /// Gets and sets the property PublicIp. /// /// A public IP address that is associated with the EC2 instance. /// /// 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; } /// /// Gets and sets the property PublicIpv4Pool. /// /// The identifier of an IP address pool. This parameter allows Amazon EC2 to select an /// IP address from the address pool. /// /// public string PublicIpv4Pool { get { return this._publicIpv4Pool; } set { this._publicIpv4Pool = value; } } // Check to see if PublicIpv4Pool property is set internal bool IsSetPublicIpv4Pool() { return this._publicIpv4Pool != null; } } }