/* * 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 pi-2018-02-27.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.PI { /// /// Constants used for properties of type DetailStatus. /// public class DetailStatus : ConstantClass { /// /// Constant AVAILABLE for DetailStatus /// public static readonly DetailStatus AVAILABLE = new DetailStatus("AVAILABLE"); /// /// Constant PROCESSING for DetailStatus /// public static readonly DetailStatus PROCESSING = new DetailStatus("PROCESSING"); /// /// Constant UNAVAILABLE for DetailStatus /// public static readonly DetailStatus UNAVAILABLE = new DetailStatus("UNAVAILABLE"); /// /// 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 DetailStatus(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 DetailStatus 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 DetailStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type FeatureStatus. /// public class FeatureStatus : ConstantClass { /// /// Constant DISABLED for FeatureStatus /// public static readonly FeatureStatus DISABLED = new FeatureStatus("DISABLED"); /// /// Constant DISABLED_PENDING_REBOOT for FeatureStatus /// public static readonly FeatureStatus DISABLED_PENDING_REBOOT = new FeatureStatus("DISABLED_PENDING_REBOOT"); /// /// Constant ENABLED for FeatureStatus /// public static readonly FeatureStatus ENABLED = new FeatureStatus("ENABLED"); /// /// Constant ENABLED_PENDING_REBOOT for FeatureStatus /// public static readonly FeatureStatus ENABLED_PENDING_REBOOT = new FeatureStatus("ENABLED_PENDING_REBOOT"); /// /// Constant UNKNOWN for FeatureStatus /// public static readonly FeatureStatus UNKNOWN = new FeatureStatus("UNKNOWN"); /// /// Constant UNSUPPORTED for FeatureStatus /// public static readonly FeatureStatus UNSUPPORTED = new FeatureStatus("UNSUPPORTED"); /// /// 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 FeatureStatus(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 FeatureStatus 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 FeatureStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type PeriodAlignment. /// public class PeriodAlignment : ConstantClass { /// /// Constant END_TIME for PeriodAlignment /// public static readonly PeriodAlignment END_TIME = new PeriodAlignment("END_TIME"); /// /// Constant START_TIME for PeriodAlignment /// public static readonly PeriodAlignment START_TIME = new PeriodAlignment("START_TIME"); /// /// 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 PeriodAlignment(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 PeriodAlignment 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 PeriodAlignment(string value) { return FindValue(value); } } /// /// Constants used for properties of type ServiceType. /// public class ServiceType : ConstantClass { /// /// Constant DOCDB for ServiceType /// public static readonly ServiceType DOCDB = new ServiceType("DOCDB"); /// /// Constant RDS for ServiceType /// public static readonly ServiceType RDS = new ServiceType("RDS"); /// /// 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 ServiceType(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 ServiceType 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 ServiceType(string value) { return FindValue(value); } } }