/* * 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 account-2021-02-01.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.Account { /// /// Constants used for properties of type AlternateContactType. /// public class AlternateContactType : ConstantClass { /// /// Constant BILLING for AlternateContactType /// public static readonly AlternateContactType BILLING = new AlternateContactType("BILLING"); /// /// Constant OPERATIONS for AlternateContactType /// public static readonly AlternateContactType OPERATIONS = new AlternateContactType("OPERATIONS"); /// /// Constant SECURITY for AlternateContactType /// public static readonly AlternateContactType SECURITY = new AlternateContactType("SECURITY"); /// /// 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 AlternateContactType(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 AlternateContactType 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 AlternateContactType(string value) { return FindValue(value); } } /// /// Constants used for properties of type RegionOptStatus. /// public class RegionOptStatus : ConstantClass { /// /// Constant DISABLED for RegionOptStatus /// public static readonly RegionOptStatus DISABLED = new RegionOptStatus("DISABLED"); /// /// Constant DISABLING for RegionOptStatus /// public static readonly RegionOptStatus DISABLING = new RegionOptStatus("DISABLING"); /// /// Constant ENABLED for RegionOptStatus /// public static readonly RegionOptStatus ENABLED = new RegionOptStatus("ENABLED"); /// /// Constant ENABLED_BY_DEFAULT for RegionOptStatus /// public static readonly RegionOptStatus ENABLED_BY_DEFAULT = new RegionOptStatus("ENABLED_BY_DEFAULT"); /// /// Constant ENABLING for RegionOptStatus /// public static readonly RegionOptStatus ENABLING = new RegionOptStatus("ENABLING"); /// /// 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 RegionOptStatus(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 RegionOptStatus 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 RegionOptStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type ValidationExceptionReason. /// public class ValidationExceptionReason : ConstantClass { /// /// Constant FieldValidationFailed for ValidationExceptionReason /// public static readonly ValidationExceptionReason FieldValidationFailed = new ValidationExceptionReason("fieldValidationFailed"); /// /// Constant InvalidRegionOptTarget for ValidationExceptionReason /// public static readonly ValidationExceptionReason InvalidRegionOptTarget = new ValidationExceptionReason("invalidRegionOptTarget"); /// /// 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); } } }