/*
* 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 globalaccelerator-2018-08-08.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.GlobalAccelerator
{
///
/// Constants used for properties of type AcceleratorStatus.
///
public class AcceleratorStatus : ConstantClass
{
///
/// Constant DEPLOYED for AcceleratorStatus
///
public static readonly AcceleratorStatus DEPLOYED = new AcceleratorStatus("DEPLOYED");
///
/// Constant IN_PROGRESS for AcceleratorStatus
///
public static readonly AcceleratorStatus IN_PROGRESS = new AcceleratorStatus("IN_PROGRESS");
///
/// 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 AcceleratorStatus(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 AcceleratorStatus 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 AcceleratorStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ByoipCidrState.
///
public class ByoipCidrState : ConstantClass
{
///
/// Constant ADVERTISING for ByoipCidrState
///
public static readonly ByoipCidrState ADVERTISING = new ByoipCidrState("ADVERTISING");
///
/// Constant DEPROVISIONED for ByoipCidrState
///
public static readonly ByoipCidrState DEPROVISIONED = new ByoipCidrState("DEPROVISIONED");
///
/// Constant FAILED_ADVERTISING for ByoipCidrState
///
public static readonly ByoipCidrState FAILED_ADVERTISING = new ByoipCidrState("FAILED_ADVERTISING");
///
/// Constant FAILED_DEPROVISION for ByoipCidrState
///
public static readonly ByoipCidrState FAILED_DEPROVISION = new ByoipCidrState("FAILED_DEPROVISION");
///
/// Constant FAILED_PROVISION for ByoipCidrState
///
public static readonly ByoipCidrState FAILED_PROVISION = new ByoipCidrState("FAILED_PROVISION");
///
/// Constant FAILED_WITHDRAW for ByoipCidrState
///
public static readonly ByoipCidrState FAILED_WITHDRAW = new ByoipCidrState("FAILED_WITHDRAW");
///
/// Constant PENDING_ADVERTISING for ByoipCidrState
///
public static readonly ByoipCidrState PENDING_ADVERTISING = new ByoipCidrState("PENDING_ADVERTISING");
///
/// Constant PENDING_DEPROVISIONING for ByoipCidrState
///
public static readonly ByoipCidrState PENDING_DEPROVISIONING = new ByoipCidrState("PENDING_DEPROVISIONING");
///
/// Constant PENDING_PROVISIONING for ByoipCidrState
///
public static readonly ByoipCidrState PENDING_PROVISIONING = new ByoipCidrState("PENDING_PROVISIONING");
///
/// Constant PENDING_WITHDRAWING for ByoipCidrState
///
public static readonly ByoipCidrState PENDING_WITHDRAWING = new ByoipCidrState("PENDING_WITHDRAWING");
///
/// Constant READY for ByoipCidrState
///
public static readonly ByoipCidrState READY = new ByoipCidrState("READY");
///
/// 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 ByoipCidrState(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 ByoipCidrState 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 ByoipCidrState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ClientAffinity.
///
public class ClientAffinity : ConstantClass
{
///
/// Constant NONE for ClientAffinity
///
public static readonly ClientAffinity NONE = new ClientAffinity("NONE");
///
/// Constant SOURCE_IP for ClientAffinity
///
public static readonly ClientAffinity SOURCE_IP = new ClientAffinity("SOURCE_IP");
///
/// 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 ClientAffinity(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 ClientAffinity 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 ClientAffinity(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type CustomRoutingAcceleratorStatus.
///
public class CustomRoutingAcceleratorStatus : ConstantClass
{
///
/// Constant DEPLOYED for CustomRoutingAcceleratorStatus
///
public static readonly CustomRoutingAcceleratorStatus DEPLOYED = new CustomRoutingAcceleratorStatus("DEPLOYED");
///
/// Constant IN_PROGRESS for CustomRoutingAcceleratorStatus
///
public static readonly CustomRoutingAcceleratorStatus IN_PROGRESS = new CustomRoutingAcceleratorStatus("IN_PROGRESS");
///
/// 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 CustomRoutingAcceleratorStatus(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 CustomRoutingAcceleratorStatus 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 CustomRoutingAcceleratorStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type CustomRoutingDestinationTrafficState.
///
public class CustomRoutingDestinationTrafficState : ConstantClass
{
///
/// Constant ALLOW for CustomRoutingDestinationTrafficState
///
public static readonly CustomRoutingDestinationTrafficState ALLOW = new CustomRoutingDestinationTrafficState("ALLOW");
///
/// Constant DENY for CustomRoutingDestinationTrafficState
///
public static readonly CustomRoutingDestinationTrafficState DENY = new CustomRoutingDestinationTrafficState("DENY");
///
/// 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 CustomRoutingDestinationTrafficState(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 CustomRoutingDestinationTrafficState 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 CustomRoutingDestinationTrafficState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type CustomRoutingProtocol.
///
public class CustomRoutingProtocol : ConstantClass
{
///
/// Constant TCP for CustomRoutingProtocol
///
public static readonly CustomRoutingProtocol TCP = new CustomRoutingProtocol("TCP");
///
/// Constant UDP for CustomRoutingProtocol
///
public static readonly CustomRoutingProtocol UDP = new CustomRoutingProtocol("UDP");
///
/// 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 CustomRoutingProtocol(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 CustomRoutingProtocol 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 CustomRoutingProtocol(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type HealthCheckProtocol.
///
public class HealthCheckProtocol : ConstantClass
{
///
/// Constant HTTP for HealthCheckProtocol
///
public static readonly HealthCheckProtocol HTTP = new HealthCheckProtocol("HTTP");
///
/// Constant HTTPS for HealthCheckProtocol
///
public static readonly HealthCheckProtocol HTTPS = new HealthCheckProtocol("HTTPS");
///
/// Constant TCP for HealthCheckProtocol
///
public static readonly HealthCheckProtocol TCP = new HealthCheckProtocol("TCP");
///
/// 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 HealthCheckProtocol(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 HealthCheckProtocol 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 HealthCheckProtocol(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type HealthState.
///
public class HealthState : ConstantClass
{
///
/// Constant HEALTHY for HealthState
///
public static readonly HealthState HEALTHY = new HealthState("HEALTHY");
///
/// Constant INITIAL for HealthState
///
public static readonly HealthState INITIAL = new HealthState("INITIAL");
///
/// Constant UNHEALTHY for HealthState
///
public static readonly HealthState UNHEALTHY = new HealthState("UNHEALTHY");
///
/// 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 HealthState(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 HealthState 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 HealthState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type IpAddressFamily.
///
public class IpAddressFamily : ConstantClass
{
///
/// Constant IPv4 for IpAddressFamily
///
public static readonly IpAddressFamily IPv4 = new IpAddressFamily("IPv4");
///
/// Constant IPv6 for IpAddressFamily
///
public static readonly IpAddressFamily IPv6 = new IpAddressFamily("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 IpAddressFamily(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 IpAddressFamily 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 IpAddressFamily(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type IpAddressType.
///
public class IpAddressType : ConstantClass
{
///
/// Constant DUAL_STACK for IpAddressType
///
public static readonly IpAddressType DUAL_STACK = new IpAddressType("DUAL_STACK");
///
/// Constant IPV4 for IpAddressType
///
public static readonly IpAddressType IPV4 = new IpAddressType("IPV4");
///
/// 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 IpAddressType(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 IpAddressType 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 IpAddressType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type Protocol.
///
public class Protocol : ConstantClass
{
///
/// Constant TCP for Protocol
///
public static readonly Protocol TCP = new Protocol("TCP");
///
/// Constant UDP for Protocol
///
public static readonly Protocol UDP = new Protocol("UDP");
///
/// 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 Protocol(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 Protocol 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 Protocol(string value)
{
return FindValue(value);
}
}
}