/*
* 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 directconnect-2012-10-25.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.DirectConnect.Model
{
///
/// Information about a virtual private gateway for a private virtual interface.
///
public partial class VirtualGateway
{
private string _virtualGatewayId;
private string _virtualGatewayState;
///
/// Gets and sets the property VirtualGatewayId.
///
/// The ID of the virtual private gateway.
///
///
public string VirtualGatewayId
{
get { return this._virtualGatewayId; }
set { this._virtualGatewayId = value; }
}
// Check to see if VirtualGatewayId property is set
internal bool IsSetVirtualGatewayId()
{
return this._virtualGatewayId != null;
}
///
/// Gets and sets the property VirtualGatewayState.
///
/// The state of the virtual private gateway. The following are the possible values:
///
/// -
///
///
pending
: Initial state after creating the virtual private gateway.
///
/// -
///
///
available
: Ready for use by a private virtual interface.
///
/// -
///
///
deleting
: Initial state after deleting the virtual private gateway.
///
/// -
///
///
deleted
: The virtual private gateway is deleted. The private virtual
/// interface is unable to send traffic over this gateway.
///
///
///
public string VirtualGatewayState
{
get { return this._virtualGatewayState; }
set { this._virtualGatewayState = value; }
}
// Check to see if VirtualGatewayState property is set
internal bool IsSetVirtualGatewayState()
{
return this._virtualGatewayState != null;
}
}
}