/* * 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 mediastore-2017-09-01.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.MediaStore { /// /// Constants used for properties of type ContainerLevelMetrics. /// public class ContainerLevelMetrics : ConstantClass { /// /// Constant DISABLED for ContainerLevelMetrics /// public static readonly ContainerLevelMetrics DISABLED = new ContainerLevelMetrics("DISABLED"); /// /// Constant ENABLED for ContainerLevelMetrics /// public static readonly ContainerLevelMetrics ENABLED = new ContainerLevelMetrics("ENABLED"); /// /// 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 ContainerLevelMetrics(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 ContainerLevelMetrics 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 ContainerLevelMetrics(string value) { return FindValue(value); } } /// /// Constants used for properties of type ContainerStatus. /// public class ContainerStatus : ConstantClass { /// /// Constant ACTIVE for ContainerStatus /// public static readonly ContainerStatus ACTIVE = new ContainerStatus("ACTIVE"); /// /// Constant CREATING for ContainerStatus /// public static readonly ContainerStatus CREATING = new ContainerStatus("CREATING"); /// /// Constant DELETING for ContainerStatus /// public static readonly ContainerStatus DELETING = new ContainerStatus("DELETING"); /// /// 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 ContainerStatus(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 ContainerStatus 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 ContainerStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type MethodName. /// public class MethodName : ConstantClass { /// /// Constant DELETE for MethodName /// public static readonly MethodName DELETE = new MethodName("DELETE"); /// /// Constant GET for MethodName /// public static readonly MethodName GET = new MethodName("GET"); /// /// Constant HEAD for MethodName /// public static readonly MethodName HEAD = new MethodName("HEAD"); /// /// Constant PUT for MethodName /// public static readonly MethodName PUT = new MethodName("PUT"); /// /// 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 MethodName(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 MethodName 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 MethodName(string value) { return FindValue(value); } } }