/* * 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 appconfigdata-2021-11-11.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.AppConfigData { /// /// Constants used for properties of type BadRequestReason. /// public class BadRequestReason : ConstantClass { /// /// Constant InvalidParameters for BadRequestReason /// public static readonly BadRequestReason InvalidParameters = new BadRequestReason("InvalidParameters"); /// /// 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 BadRequestReason(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 BadRequestReason 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 BadRequestReason(string value) { return FindValue(value); } } /// /// Constants used for properties of type InvalidParameterProblem. /// public class InvalidParameterProblem : ConstantClass { /// /// Constant Corrupted for InvalidParameterProblem /// public static readonly InvalidParameterProblem Corrupted = new InvalidParameterProblem("Corrupted"); /// /// Constant Expired for InvalidParameterProblem /// public static readonly InvalidParameterProblem Expired = new InvalidParameterProblem("Expired"); /// /// Constant PollIntervalNotSatisfied for InvalidParameterProblem /// public static readonly InvalidParameterProblem PollIntervalNotSatisfied = new InvalidParameterProblem("PollIntervalNotSatisfied"); /// /// 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 InvalidParameterProblem(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 InvalidParameterProblem 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 InvalidParameterProblem(string value) { return FindValue(value); } } /// /// Constants used for properties of type ResourceType. /// public class ResourceType : ConstantClass { /// /// Constant Application for ResourceType /// public static readonly ResourceType Application = new ResourceType("Application"); /// /// Constant Configuration for ResourceType /// public static readonly ResourceType Configuration = new ResourceType("Configuration"); /// /// Constant ConfigurationProfile for ResourceType /// public static readonly ResourceType ConfigurationProfile = new ResourceType("ConfigurationProfile"); /// /// Constant Deployment for ResourceType /// public static readonly ResourceType Deployment = new ResourceType("Deployment"); /// /// Constant Environment for ResourceType /// public static readonly ResourceType Environment = new ResourceType("Environment"); /// /// 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); } } }