/* * 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 service-quotas-2019-06-24.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.ServiceQuotas { /// /// Constants used for properties of type ErrorCode. /// public class ErrorCode : ConstantClass { /// /// Constant DEPENDENCY_ACCESS_DENIED_ERROR for ErrorCode /// public static readonly ErrorCode DEPENDENCY_ACCESS_DENIED_ERROR = new ErrorCode("DEPENDENCY_ACCESS_DENIED_ERROR"); /// /// Constant DEPENDENCY_SERVICE_ERROR for ErrorCode /// public static readonly ErrorCode DEPENDENCY_SERVICE_ERROR = new ErrorCode("DEPENDENCY_SERVICE_ERROR"); /// /// Constant DEPENDENCY_THROTTLING_ERROR for ErrorCode /// public static readonly ErrorCode DEPENDENCY_THROTTLING_ERROR = new ErrorCode("DEPENDENCY_THROTTLING_ERROR"); /// /// Constant SERVICE_QUOTA_NOT_AVAILABLE_ERROR for ErrorCode /// public static readonly ErrorCode SERVICE_QUOTA_NOT_AVAILABLE_ERROR = new ErrorCode("SERVICE_QUOTA_NOT_AVAILABLE_ERROR"); /// /// 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 ErrorCode(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 ErrorCode 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 ErrorCode(string value) { return FindValue(value); } } /// /// Constants used for properties of type PeriodUnit. /// public class PeriodUnit : ConstantClass { /// /// Constant DAY for PeriodUnit /// public static readonly PeriodUnit DAY = new PeriodUnit("DAY"); /// /// Constant HOUR for PeriodUnit /// public static readonly PeriodUnit HOUR = new PeriodUnit("HOUR"); /// /// Constant MICROSECOND for PeriodUnit /// public static readonly PeriodUnit MICROSECOND = new PeriodUnit("MICROSECOND"); /// /// Constant MILLISECOND for PeriodUnit /// public static readonly PeriodUnit MILLISECOND = new PeriodUnit("MILLISECOND"); /// /// Constant MINUTE for PeriodUnit /// public static readonly PeriodUnit MINUTE = new PeriodUnit("MINUTE"); /// /// Constant SECOND for PeriodUnit /// public static readonly PeriodUnit SECOND = new PeriodUnit("SECOND"); /// /// Constant WEEK for PeriodUnit /// public static readonly PeriodUnit WEEK = new PeriodUnit("WEEK"); /// /// 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 PeriodUnit(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 PeriodUnit 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 PeriodUnit(string value) { return FindValue(value); } } /// /// Constants used for properties of type RequestStatus. /// public class RequestStatus : ConstantClass { /// /// Constant APPROVED for RequestStatus /// public static readonly RequestStatus APPROVED = new RequestStatus("APPROVED"); /// /// Constant CASE_CLOSED for RequestStatus /// public static readonly RequestStatus CASE_CLOSED = new RequestStatus("CASE_CLOSED"); /// /// Constant CASE_OPENED for RequestStatus /// public static readonly RequestStatus CASE_OPENED = new RequestStatus("CASE_OPENED"); /// /// Constant DENIED for RequestStatus /// public static readonly RequestStatus DENIED = new RequestStatus("DENIED"); /// /// Constant PENDING for RequestStatus /// public static readonly RequestStatus PENDING = new RequestStatus("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 RequestStatus(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 RequestStatus 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 RequestStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type ServiceQuotaTemplateAssociationStatus. /// public class ServiceQuotaTemplateAssociationStatus : ConstantClass { /// /// Constant ASSOCIATED for ServiceQuotaTemplateAssociationStatus /// public static readonly ServiceQuotaTemplateAssociationStatus ASSOCIATED = new ServiceQuotaTemplateAssociationStatus("ASSOCIATED"); /// /// Constant DISASSOCIATED for ServiceQuotaTemplateAssociationStatus /// public static readonly ServiceQuotaTemplateAssociationStatus DISASSOCIATED = new ServiceQuotaTemplateAssociationStatus("DISASSOCIATED"); /// /// 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 ServiceQuotaTemplateAssociationStatus(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 ServiceQuotaTemplateAssociationStatus 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 ServiceQuotaTemplateAssociationStatus(string value) { return FindValue(value); } } }