/*
* 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 cloudhsmv2-2017-04-28.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.CloudHSMV2
{
///
/// Constants used for properties of type BackupPolicy.
///
public class BackupPolicy : ConstantClass
{
///
/// Constant DEFAULT for BackupPolicy
///
public static readonly BackupPolicy DEFAULT = new BackupPolicy("DEFAULT");
///
/// 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 BackupPolicy(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 BackupPolicy 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 BackupPolicy(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type BackupRetentionType.
///
public class BackupRetentionType : ConstantClass
{
///
/// Constant DAYS for BackupRetentionType
///
public static readonly BackupRetentionType DAYS = new BackupRetentionType("DAYS");
///
/// 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 BackupRetentionType(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 BackupRetentionType 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 BackupRetentionType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type BackupState.
///
public class BackupState : ConstantClass
{
///
/// Constant CREATE_IN_PROGRESS for BackupState
///
public static readonly BackupState CREATE_IN_PROGRESS = new BackupState("CREATE_IN_PROGRESS");
///
/// Constant DELETED for BackupState
///
public static readonly BackupState DELETED = new BackupState("DELETED");
///
/// Constant PENDING_DELETION for BackupState
///
public static readonly BackupState PENDING_DELETION = new BackupState("PENDING_DELETION");
///
/// Constant READY for BackupState
///
public static readonly BackupState READY = new BackupState("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 BackupState(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 BackupState 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 BackupState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ClusterState.
///
public class ClusterState : ConstantClass
{
///
/// Constant ACTIVE for ClusterState
///
public static readonly ClusterState ACTIVE = new ClusterState("ACTIVE");
///
/// Constant CREATE_IN_PROGRESS for ClusterState
///
public static readonly ClusterState CREATE_IN_PROGRESS = new ClusterState("CREATE_IN_PROGRESS");
///
/// Constant DEGRADED for ClusterState
///
public static readonly ClusterState DEGRADED = new ClusterState("DEGRADED");
///
/// Constant DELETE_IN_PROGRESS for ClusterState
///
public static readonly ClusterState DELETE_IN_PROGRESS = new ClusterState("DELETE_IN_PROGRESS");
///
/// Constant DELETED for ClusterState
///
public static readonly ClusterState DELETED = new ClusterState("DELETED");
///
/// Constant INITIALIZE_IN_PROGRESS for ClusterState
///
public static readonly ClusterState INITIALIZE_IN_PROGRESS = new ClusterState("INITIALIZE_IN_PROGRESS");
///
/// Constant INITIALIZED for ClusterState
///
public static readonly ClusterState INITIALIZED = new ClusterState("INITIALIZED");
///
/// Constant UNINITIALIZED for ClusterState
///
public static readonly ClusterState UNINITIALIZED = new ClusterState("UNINITIALIZED");
///
/// Constant UPDATE_IN_PROGRESS for ClusterState
///
public static readonly ClusterState UPDATE_IN_PROGRESS = new ClusterState("UPDATE_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 ClusterState(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 ClusterState 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 ClusterState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type HsmState.
///
public class HsmState : ConstantClass
{
///
/// Constant ACTIVE for HsmState
///
public static readonly HsmState ACTIVE = new HsmState("ACTIVE");
///
/// Constant CREATE_IN_PROGRESS for HsmState
///
public static readonly HsmState CREATE_IN_PROGRESS = new HsmState("CREATE_IN_PROGRESS");
///
/// Constant DEGRADED for HsmState
///
public static readonly HsmState DEGRADED = new HsmState("DEGRADED");
///
/// Constant DELETE_IN_PROGRESS for HsmState
///
public static readonly HsmState DELETE_IN_PROGRESS = new HsmState("DELETE_IN_PROGRESS");
///
/// Constant DELETED for HsmState
///
public static readonly HsmState DELETED = new HsmState("DELETED");
///
/// 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 HsmState(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 HsmState 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 HsmState(string value)
{
return FindValue(value);
}
}
}