/*
* 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 ModifyTransitGatewayVpcAttachment operation.
/// Modifies the specified VPC attachment.
///
public partial class ModifyTransitGatewayVpcAttachmentRequest : AmazonEC2Request
{
private List _addSubnetIds = new List();
private ModifyTransitGatewayVpcAttachmentRequestOptions _options;
private List _removeSubnetIds = new List();
private string _transitGatewayAttachmentId;
///
/// Gets and sets the property AddSubnetIds.
///
/// The IDs of one or more subnets to add. You can specify at most one subnet per Availability
/// Zone.
///
///
public List AddSubnetIds
{
get { return this._addSubnetIds; }
set { this._addSubnetIds = value; }
}
// Check to see if AddSubnetIds property is set
internal bool IsSetAddSubnetIds()
{
return this._addSubnetIds != null && this._addSubnetIds.Count > 0;
}
///
/// Gets and sets the property Options.
///
/// The new VPC attachment options.
///
///
public ModifyTransitGatewayVpcAttachmentRequestOptions Options
{
get { return this._options; }
set { this._options = value; }
}
// Check to see if Options property is set
internal bool IsSetOptions()
{
return this._options != null;
}
///
/// Gets and sets the property RemoveSubnetIds.
///
/// The IDs of one or more subnets to remove.
///
///
public List RemoveSubnetIds
{
get { return this._removeSubnetIds; }
set { this._removeSubnetIds = value; }
}
// Check to see if RemoveSubnetIds property is set
internal bool IsSetRemoveSubnetIds()
{
return this._removeSubnetIds != null && this._removeSubnetIds.Count > 0;
}
///
/// Gets and sets the property TransitGatewayAttachmentId.
///
/// The ID of the attachment.
///
///
[AWSProperty(Required=true)]
public string TransitGatewayAttachmentId
{
get { return this._transitGatewayAttachmentId; }
set { this._transitGatewayAttachmentId = value; }
}
// Check to see if TransitGatewayAttachmentId property is set
internal bool IsSetTransitGatewayAttachmentId()
{
return this._transitGatewayAttachmentId != null;
}
}
}