/*
* 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
{
///
/// Container for the parameters to the AssociateNatGatewayAddress operation.
/// Associates Elastic IP addresses (EIPs) and private IPv4 addresses with a public NAT
/// gateway. For more information, see Work
/// with NAT gateways in the Amazon VPC User Guide.
///
///
///
/// By default, you can associate up to 2 Elastic IP addresses per public NAT gateway.
/// You can increase the limit by requesting a quota adjustment. For more information,
/// see Elastic
/// IP address quotas in the Amazon VPC User Guide.
///
///
public partial class AssociateNatGatewayAddressRequest : AmazonEC2Request
{
private List _allocationIds = new List();
private string _natGatewayId;
private List _privateIpAddresses = new List();
///
/// Gets and sets the property AllocationIds.
///
/// The allocation IDs of EIPs that you want to associate with your NAT gateway.
///
///
[AWSProperty(Required=true)]
public List AllocationIds
{
get { return this._allocationIds; }
set { this._allocationIds = value; }
}
// Check to see if AllocationIds property is set
internal bool IsSetAllocationIds()
{
return this._allocationIds != null && this._allocationIds.Count > 0;
}
///
/// Gets and sets the property NatGatewayId.
///
/// The ID of the NAT gateway.
///
///
[AWSProperty(Required=true)]
public string NatGatewayId
{
get { return this._natGatewayId; }
set { this._natGatewayId = value; }
}
// Check to see if NatGatewayId property is set
internal bool IsSetNatGatewayId()
{
return this._natGatewayId != null;
}
///
/// Gets and sets the property PrivateIpAddresses.
///
/// The private IPv4 addresses that you want to assign to the NAT gateway.
///
///
public List PrivateIpAddresses
{
get { return this._privateIpAddresses; }
set { this._privateIpAddresses = value; }
}
// Check to see if PrivateIpAddresses property is set
internal bool IsSetPrivateIpAddresses()
{
return this._privateIpAddresses != null && this._privateIpAddresses.Count > 0;
}
}
}