/*
* 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 Amazon.Runtime;
namespace Amazon.DirectConnect
{
///
/// Constants used for properties of type AddressFamily.
///
public class AddressFamily : ConstantClass
{
///
/// Constant Ipv4 for AddressFamily
///
public static readonly AddressFamily Ipv4 = new AddressFamily("ipv4");
///
/// Constant Ipv6 for AddressFamily
///
public static readonly AddressFamily Ipv6 = new AddressFamily("ipv6");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public AddressFamily(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static AddressFamily FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator AddressFamily(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type BGPPeerState.
///
public class BGPPeerState : ConstantClass
{
///
/// Constant Available for BGPPeerState
///
public static readonly BGPPeerState Available = new BGPPeerState("available");
///
/// Constant Deleted for BGPPeerState
///
public static readonly BGPPeerState Deleted = new BGPPeerState("deleted");
///
/// Constant Deleting for BGPPeerState
///
public static readonly BGPPeerState Deleting = new BGPPeerState("deleting");
///
/// Constant Pending for BGPPeerState
///
public static readonly BGPPeerState Pending = new BGPPeerState("pending");
///
/// Constant Verifying for BGPPeerState
///
public static readonly BGPPeerState Verifying = new BGPPeerState("verifying");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public BGPPeerState(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static BGPPeerState FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator BGPPeerState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type BGPStatus.
///
public class BGPStatus : ConstantClass
{
///
/// Constant Down for BGPStatus
///
public static readonly BGPStatus Down = new BGPStatus("down");
///
/// Constant Unknown for BGPStatus
///
public static readonly BGPStatus Unknown = new BGPStatus("unknown");
///
/// Constant Up for BGPStatus
///
public static readonly BGPStatus Up = new BGPStatus("up");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public BGPStatus(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static BGPStatus FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator BGPStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ConnectionState.
///
public class ConnectionState : ConstantClass
{
///
/// Constant Available for ConnectionState
///
public static readonly ConnectionState Available = new ConnectionState("available");
///
/// Constant Deleted for ConnectionState
///
public static readonly ConnectionState Deleted = new ConnectionState("deleted");
///
/// Constant Deleting for ConnectionState
///
public static readonly ConnectionState Deleting = new ConnectionState("deleting");
///
/// Constant Down for ConnectionState
///
public static readonly ConnectionState Down = new ConnectionState("down");
///
/// Constant Ordering for ConnectionState
///
public static readonly ConnectionState Ordering = new ConnectionState("ordering");
///
/// Constant Pending for ConnectionState
///
public static readonly ConnectionState Pending = new ConnectionState("pending");
///
/// Constant Rejected for ConnectionState
///
public static readonly ConnectionState Rejected = new ConnectionState("rejected");
///
/// Constant Requested for ConnectionState
///
public static readonly ConnectionState Requested = new ConnectionState("requested");
///
/// Constant Unknown for ConnectionState
///
public static readonly ConnectionState Unknown = new ConnectionState("unknown");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public ConnectionState(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static ConnectionState FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator ConnectionState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type DirectConnectGatewayAssociationProposalState.
///
public class DirectConnectGatewayAssociationProposalState : ConstantClass
{
///
/// Constant Accepted for DirectConnectGatewayAssociationProposalState
///
public static readonly DirectConnectGatewayAssociationProposalState Accepted = new DirectConnectGatewayAssociationProposalState("accepted");
///
/// Constant Deleted for DirectConnectGatewayAssociationProposalState
///
public static readonly DirectConnectGatewayAssociationProposalState Deleted = new DirectConnectGatewayAssociationProposalState("deleted");
///
/// Constant Requested for DirectConnectGatewayAssociationProposalState
///
public static readonly DirectConnectGatewayAssociationProposalState Requested = new DirectConnectGatewayAssociationProposalState("requested");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public DirectConnectGatewayAssociationProposalState(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static DirectConnectGatewayAssociationProposalState FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator DirectConnectGatewayAssociationProposalState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type DirectConnectGatewayAssociationState.
///
public class DirectConnectGatewayAssociationState : ConstantClass
{
///
/// Constant Associated for DirectConnectGatewayAssociationState
///
public static readonly DirectConnectGatewayAssociationState Associated = new DirectConnectGatewayAssociationState("associated");
///
/// Constant Associating for DirectConnectGatewayAssociationState
///
public static readonly DirectConnectGatewayAssociationState Associating = new DirectConnectGatewayAssociationState("associating");
///
/// Constant Disassociated for DirectConnectGatewayAssociationState
///
public static readonly DirectConnectGatewayAssociationState Disassociated = new DirectConnectGatewayAssociationState("disassociated");
///
/// Constant Disassociating for DirectConnectGatewayAssociationState
///
public static readonly DirectConnectGatewayAssociationState Disassociating = new DirectConnectGatewayAssociationState("disassociating");
///
/// Constant Updating for DirectConnectGatewayAssociationState
///
public static readonly DirectConnectGatewayAssociationState Updating = new DirectConnectGatewayAssociationState("updating");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public DirectConnectGatewayAssociationState(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static DirectConnectGatewayAssociationState FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator DirectConnectGatewayAssociationState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type DirectConnectGatewayAttachmentState.
///
public class DirectConnectGatewayAttachmentState : ConstantClass
{
///
/// Constant Attached for DirectConnectGatewayAttachmentState
///
public static readonly DirectConnectGatewayAttachmentState Attached = new DirectConnectGatewayAttachmentState("attached");
///
/// Constant Attaching for DirectConnectGatewayAttachmentState
///
public static readonly DirectConnectGatewayAttachmentState Attaching = new DirectConnectGatewayAttachmentState("attaching");
///
/// Constant Detached for DirectConnectGatewayAttachmentState
///
public static readonly DirectConnectGatewayAttachmentState Detached = new DirectConnectGatewayAttachmentState("detached");
///
/// Constant Detaching for DirectConnectGatewayAttachmentState
///
public static readonly DirectConnectGatewayAttachmentState Detaching = new DirectConnectGatewayAttachmentState("detaching");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public DirectConnectGatewayAttachmentState(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static DirectConnectGatewayAttachmentState FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator DirectConnectGatewayAttachmentState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type DirectConnectGatewayAttachmentType.
///
public class DirectConnectGatewayAttachmentType : ConstantClass
{
///
/// Constant PrivateVirtualInterface for DirectConnectGatewayAttachmentType
///
public static readonly DirectConnectGatewayAttachmentType PrivateVirtualInterface = new DirectConnectGatewayAttachmentType("PrivateVirtualInterface");
///
/// Constant TransitVirtualInterface for DirectConnectGatewayAttachmentType
///
public static readonly DirectConnectGatewayAttachmentType TransitVirtualInterface = new DirectConnectGatewayAttachmentType("TransitVirtualInterface");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public DirectConnectGatewayAttachmentType(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static DirectConnectGatewayAttachmentType FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator DirectConnectGatewayAttachmentType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type DirectConnectGatewayState.
///
public class DirectConnectGatewayState : ConstantClass
{
///
/// Constant Available for DirectConnectGatewayState
///
public static readonly DirectConnectGatewayState Available = new DirectConnectGatewayState("available");
///
/// Constant Deleted for DirectConnectGatewayState
///
public static readonly DirectConnectGatewayState Deleted = new DirectConnectGatewayState("deleted");
///
/// Constant Deleting for DirectConnectGatewayState
///
public static readonly DirectConnectGatewayState Deleting = new DirectConnectGatewayState("deleting");
///
/// Constant Pending for DirectConnectGatewayState
///
public static readonly DirectConnectGatewayState Pending = new DirectConnectGatewayState("pending");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public DirectConnectGatewayState(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static DirectConnectGatewayState FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator DirectConnectGatewayState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type GatewayType.
///
public class GatewayType : ConstantClass
{
///
/// Constant TransitGateway for GatewayType
///
public static readonly GatewayType TransitGateway = new GatewayType("transitGateway");
///
/// Constant VirtualPrivateGateway for GatewayType
///
public static readonly GatewayType VirtualPrivateGateway = new GatewayType("virtualPrivateGateway");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public GatewayType(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static GatewayType FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator GatewayType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type HasLogicalRedundancy.
///
public class HasLogicalRedundancy : ConstantClass
{
///
/// Constant No for HasLogicalRedundancy
///
public static readonly HasLogicalRedundancy No = new HasLogicalRedundancy("no");
///
/// Constant Unknown for HasLogicalRedundancy
///
public static readonly HasLogicalRedundancy Unknown = new HasLogicalRedundancy("unknown");
///
/// Constant Yes for HasLogicalRedundancy
///
public static readonly HasLogicalRedundancy Yes = new HasLogicalRedundancy("yes");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public HasLogicalRedundancy(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static HasLogicalRedundancy FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator HasLogicalRedundancy(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type InterconnectState.
///
public class InterconnectState : ConstantClass
{
///
/// Constant Available for InterconnectState
///
public static readonly InterconnectState Available = new InterconnectState("available");
///
/// Constant Deleted for InterconnectState
///
public static readonly InterconnectState Deleted = new InterconnectState("deleted");
///
/// Constant Deleting for InterconnectState
///
public static readonly InterconnectState Deleting = new InterconnectState("deleting");
///
/// Constant Down for InterconnectState
///
public static readonly InterconnectState Down = new InterconnectState("down");
///
/// Constant Pending for InterconnectState
///
public static readonly InterconnectState Pending = new InterconnectState("pending");
///
/// Constant Requested for InterconnectState
///
public static readonly InterconnectState Requested = new InterconnectState("requested");
///
/// Constant Unknown for InterconnectState
///
public static readonly InterconnectState Unknown = new InterconnectState("unknown");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public InterconnectState(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static InterconnectState FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator InterconnectState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type LagState.
///
public class LagState : ConstantClass
{
///
/// Constant Available for LagState
///
public static readonly LagState Available = new LagState("available");
///
/// Constant Deleted for LagState
///
public static readonly LagState Deleted = new LagState("deleted");
///
/// Constant Deleting for LagState
///
public static readonly LagState Deleting = new LagState("deleting");
///
/// Constant Down for LagState
///
public static readonly LagState Down = new LagState("down");
///
/// Constant Pending for LagState
///
public static readonly LagState Pending = new LagState("pending");
///
/// Constant Requested for LagState
///
public static readonly LagState Requested = new LagState("requested");
///
/// Constant Unknown for LagState
///
public static readonly LagState Unknown = new LagState("unknown");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public LagState(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static LagState FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator LagState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type LoaContentType.
///
public class LoaContentType : ConstantClass
{
///
/// Constant ApplicationPdf for LoaContentType
///
public static readonly LoaContentType ApplicationPdf = new LoaContentType("application/pdf");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public LoaContentType(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static LoaContentType FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator LoaContentType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type NniPartnerType.
///
public class NniPartnerType : ConstantClass
{
///
/// Constant NonPartner for NniPartnerType
///
public static readonly NniPartnerType NonPartner = new NniPartnerType("nonPartner");
///
/// Constant V1 for NniPartnerType
///
public static readonly NniPartnerType V1 = new NniPartnerType("v1");
///
/// Constant V2 for NniPartnerType
///
public static readonly NniPartnerType V2 = new NniPartnerType("v2");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public NniPartnerType(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static NniPartnerType FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator NniPartnerType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type VirtualInterfaceState.
///
public class VirtualInterfaceState : ConstantClass
{
///
/// Constant Available for VirtualInterfaceState
///
public static readonly VirtualInterfaceState Available = new VirtualInterfaceState("available");
///
/// Constant Confirming for VirtualInterfaceState
///
public static readonly VirtualInterfaceState Confirming = new VirtualInterfaceState("confirming");
///
/// Constant Deleted for VirtualInterfaceState
///
public static readonly VirtualInterfaceState Deleted = new VirtualInterfaceState("deleted");
///
/// Constant Deleting for VirtualInterfaceState
///
public static readonly VirtualInterfaceState Deleting = new VirtualInterfaceState("deleting");
///
/// Constant Down for VirtualInterfaceState
///
public static readonly VirtualInterfaceState Down = new VirtualInterfaceState("down");
///
/// Constant Pending for VirtualInterfaceState
///
public static readonly VirtualInterfaceState Pending = new VirtualInterfaceState("pending");
///
/// Constant Rejected for VirtualInterfaceState
///
public static readonly VirtualInterfaceState Rejected = new VirtualInterfaceState("rejected");
///
/// Constant Unknown for VirtualInterfaceState
///
public static readonly VirtualInterfaceState Unknown = new VirtualInterfaceState("unknown");
///
/// Constant Verifying for VirtualInterfaceState
///
public static readonly VirtualInterfaceState Verifying = new VirtualInterfaceState("verifying");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public VirtualInterfaceState(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static VirtualInterfaceState FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator VirtualInterfaceState(string value)
{
return FindValue(value);
}
}
}