/*
* 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 rbin-2021-06-15.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.RecycleBin
{
///
/// Constants used for properties of type ConflictExceptionReason.
///
public class ConflictExceptionReason : ConstantClass
{
///
/// Constant INVALID_RULE_STATE for ConflictExceptionReason
///
public static readonly ConflictExceptionReason INVALID_RULE_STATE = new ConflictExceptionReason("INVALID_RULE_STATE");
///
/// 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 ConflictExceptionReason(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 ConflictExceptionReason 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 ConflictExceptionReason(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type LockState.
///
public class LockState : ConstantClass
{
///
/// Constant Locked for LockState
///
public static readonly LockState Locked = new LockState("locked");
///
/// Constant Pending_unlock for LockState
///
public static readonly LockState Pending_unlock = new LockState("pending_unlock");
///
/// Constant Unlocked for LockState
///
public static readonly LockState Unlocked = new LockState("unlocked");
///
/// 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 LockState(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 LockState 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 LockState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ResourceNotFoundExceptionReason.
///
public class ResourceNotFoundExceptionReason : ConstantClass
{
///
/// Constant RULE_NOT_FOUND for ResourceNotFoundExceptionReason
///
public static readonly ResourceNotFoundExceptionReason RULE_NOT_FOUND = new ResourceNotFoundExceptionReason("RULE_NOT_FOUND");
///
/// 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 ResourceNotFoundExceptionReason(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 ResourceNotFoundExceptionReason 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 ResourceNotFoundExceptionReason(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ResourceType.
///
public class ResourceType : ConstantClass
{
///
/// Constant EBS_SNAPSHOT for ResourceType
///
public static readonly ResourceType EBS_SNAPSHOT = new ResourceType("EBS_SNAPSHOT");
///
/// Constant EC2_IMAGE for ResourceType
///
public static readonly ResourceType EC2_IMAGE = new ResourceType("EC2_IMAGE");
///
/// 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 ResourceType(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 ResourceType 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 ResourceType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type RetentionPeriodUnit.
///
public class RetentionPeriodUnit : ConstantClass
{
///
/// Constant DAYS for RetentionPeriodUnit
///
public static readonly RetentionPeriodUnit DAYS = new RetentionPeriodUnit("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 RetentionPeriodUnit(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 RetentionPeriodUnit 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 RetentionPeriodUnit(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type RuleStatus.
///
public class RuleStatus : ConstantClass
{
///
/// Constant Available for RuleStatus
///
public static readonly RuleStatus Available = new RuleStatus("available");
///
/// Constant Pending for RuleStatus
///
public static readonly RuleStatus Pending = new RuleStatus("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 RuleStatus(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 RuleStatus 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 RuleStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ServiceQuotaExceededExceptionReason.
///
public class ServiceQuotaExceededExceptionReason : ConstantClass
{
///
/// Constant SERVICE_QUOTA_EXCEEDED for ServiceQuotaExceededExceptionReason
///
public static readonly ServiceQuotaExceededExceptionReason SERVICE_QUOTA_EXCEEDED = new ServiceQuotaExceededExceptionReason("SERVICE_QUOTA_EXCEEDED");
///
/// 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 ServiceQuotaExceededExceptionReason(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 ServiceQuotaExceededExceptionReason 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 ServiceQuotaExceededExceptionReason(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type UnlockDelayUnit.
///
public class UnlockDelayUnit : ConstantClass
{
///
/// Constant DAYS for UnlockDelayUnit
///
public static readonly UnlockDelayUnit DAYS = new UnlockDelayUnit("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 UnlockDelayUnit(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 UnlockDelayUnit 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 UnlockDelayUnit(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ValidationExceptionReason.
///
public class ValidationExceptionReason : ConstantClass
{
///
/// Constant INVALID_PAGE_TOKEN for ValidationExceptionReason
///
public static readonly ValidationExceptionReason INVALID_PAGE_TOKEN = new ValidationExceptionReason("INVALID_PAGE_TOKEN");
///
/// Constant INVALID_PARAMETER_VALUE for ValidationExceptionReason
///
public static readonly ValidationExceptionReason INVALID_PARAMETER_VALUE = new ValidationExceptionReason("INVALID_PARAMETER_VALUE");
///
/// 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 ValidationExceptionReason(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 ValidationExceptionReason 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 ValidationExceptionReason(string value)
{
return FindValue(value);
}
}
}