/* * 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 docdb-elastic-2022-11-28.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.DocDBElastic { /// /// Constants used for properties of type Auth. /// public class Auth : ConstantClass { /// /// Constant PLAIN_TEXT for Auth /// public static readonly Auth PLAIN_TEXT = new Auth("PLAIN_TEXT"); /// /// Constant SECRET_ARN for Auth /// public static readonly Auth SECRET_ARN = new Auth("SECRET_ARN"); /// /// 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 Auth(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 Auth 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 Auth(string value) { return FindValue(value); } } /// /// Constants used for properties of type Status. /// public class Status : ConstantClass { /// /// Constant ACTIVE for Status /// public static readonly Status ACTIVE = new Status("ACTIVE"); /// /// Constant CREATING for Status /// public static readonly Status CREATING = new Status("CREATING"); /// /// Constant DELETING for Status /// public static readonly Status DELETING = new Status("DELETING"); /// /// Constant INACCESSIBLE_ENCRYPTION_CREDS for Status /// public static readonly Status INACCESSIBLE_ENCRYPTION_CREDS = new Status("INACCESSIBLE_ENCRYPTION_CREDS"); /// /// Constant INVALID_SECURITY_GROUP_ID for Status /// public static readonly Status INVALID_SECURITY_GROUP_ID = new Status("INVALID_SECURITY_GROUP_ID"); /// /// Constant INVALID_SUBNET_ID for Status /// public static readonly Status INVALID_SUBNET_ID = new Status("INVALID_SUBNET_ID"); /// /// Constant IP_ADDRESS_LIMIT_EXCEEDED for Status /// public static readonly Status IP_ADDRESS_LIMIT_EXCEEDED = new Status("IP_ADDRESS_LIMIT_EXCEEDED"); /// /// Constant UPDATING for Status /// public static readonly Status UPDATING = new Status("UPDATING"); /// /// Constant VPC_ENDPOINT_LIMIT_EXCEEDED for Status /// public static readonly Status VPC_ENDPOINT_LIMIT_EXCEEDED = new Status("VPC_ENDPOINT_LIMIT_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 Status(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 Status 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 Status(string value) { return FindValue(value); } } /// /// Constants used for properties of type ValidationExceptionReason. /// public class ValidationExceptionReason : ConstantClass { /// /// Constant CannotParse for ValidationExceptionReason /// public static readonly ValidationExceptionReason CannotParse = new ValidationExceptionReason("cannotParse"); /// /// Constant FieldValidationFailed for ValidationExceptionReason /// public static readonly ValidationExceptionReason FieldValidationFailed = new ValidationExceptionReason("fieldValidationFailed"); /// /// Constant Other for ValidationExceptionReason /// public static readonly ValidationExceptionReason Other = new ValidationExceptionReason("other"); /// /// Constant UnknownOperation for ValidationExceptionReason /// public static readonly ValidationExceptionReason UnknownOperation = new ValidationExceptionReason("unknownOperation"); /// /// 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); } } }