/* * 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 schemas-2019-12-02.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.Schemas { /// /// Constants used for properties of type CodeGenerationStatus. /// public class CodeGenerationStatus : ConstantClass { /// /// Constant CREATE_COMPLETE for CodeGenerationStatus /// public static readonly CodeGenerationStatus CREATE_COMPLETE = new CodeGenerationStatus("CREATE_COMPLETE"); /// /// Constant CREATE_FAILED for CodeGenerationStatus /// public static readonly CodeGenerationStatus CREATE_FAILED = new CodeGenerationStatus("CREATE_FAILED"); /// /// Constant CREATE_IN_PROGRESS for CodeGenerationStatus /// public static readonly CodeGenerationStatus CREATE_IN_PROGRESS = new CodeGenerationStatus("CREATE_IN_PROGRESS"); /// /// 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 CodeGenerationStatus(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 CodeGenerationStatus 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 CodeGenerationStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type DiscovererState. /// public class DiscovererState : ConstantClass { /// /// Constant STARTED for DiscovererState /// public static readonly DiscovererState STARTED = new DiscovererState("STARTED"); /// /// Constant STOPPED for DiscovererState /// public static readonly DiscovererState STOPPED = new DiscovererState("STOPPED"); /// /// 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 DiscovererState(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 DiscovererState 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 DiscovererState(string value) { return FindValue(value); } } /// /// Constants used for properties of type Type. /// public class Type : ConstantClass { /// /// Constant JSONSchemaDraft4 for Type /// public static readonly Type JSONSchemaDraft4 = new Type("JSONSchemaDraft4"); /// /// Constant OpenApi3 for Type /// public static readonly Type OpenApi3 = new Type("OpenApi3"); /// /// 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 Type(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 Type 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 Type(string value) { return FindValue(value); } } }