/*
* 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 cloudhsm-2014-05-30.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.CloudHSM
{
///
/// Constants used for properties of type ClientVersion.
///
public class ClientVersion : ConstantClass
{
///
/// Constant v5_1 for ClientVersion
///
public static readonly ClientVersion v5_1 = new ClientVersion("5.1");
///
/// Constant v5_3 for ClientVersion
///
public static readonly ClientVersion v5_3 = new ClientVersion("5.3");
///
/// 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 ClientVersion(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 ClientVersion 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 ClientVersion(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type CloudHsmObjectState.
///
public class CloudHsmObjectState : ConstantClass
{
///
/// Constant DEGRADED for CloudHsmObjectState
///
public static readonly CloudHsmObjectState DEGRADED = new CloudHsmObjectState("DEGRADED");
///
/// Constant READY for CloudHsmObjectState
///
public static readonly CloudHsmObjectState READY = new CloudHsmObjectState("READY");
///
/// Constant UPDATING for CloudHsmObjectState
///
public static readonly CloudHsmObjectState UPDATING = new CloudHsmObjectState("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 CloudHsmObjectState(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 CloudHsmObjectState 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 CloudHsmObjectState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type HsmStatus.
///
public class HsmStatus : ConstantClass
{
///
/// Constant DEGRADED for HsmStatus
///
public static readonly HsmStatus DEGRADED = new HsmStatus("DEGRADED");
///
/// Constant PENDING for HsmStatus
///
public static readonly HsmStatus PENDING = new HsmStatus("PENDING");
///
/// Constant RUNNING for HsmStatus
///
public static readonly HsmStatus RUNNING = new HsmStatus("RUNNING");
///
/// Constant SUSPENDED for HsmStatus
///
public static readonly HsmStatus SUSPENDED = new HsmStatus("SUSPENDED");
///
/// Constant TERMINATED for HsmStatus
///
public static readonly HsmStatus TERMINATED = new HsmStatus("TERMINATED");
///
/// Constant TERMINATING for HsmStatus
///
public static readonly HsmStatus TERMINATING = new HsmStatus("TERMINATING");
///
/// Constant UPDATING for HsmStatus
///
public static readonly HsmStatus UPDATING = new HsmStatus("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 HsmStatus(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 HsmStatus 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 HsmStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type SubscriptionType.
///
public class SubscriptionType : ConstantClass
{
///
/// Constant PRODUCTION for SubscriptionType
///
public static readonly SubscriptionType PRODUCTION = new SubscriptionType("PRODUCTION");
///
/// 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 SubscriptionType(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 SubscriptionType 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 SubscriptionType(string value)
{
return FindValue(value);
}
}
}