/* * 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 arc-zonal-shift-2022-10-30.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.ARCZonalShift { /// /// Constants used for properties of type AppliedStatus. /// public class AppliedStatus : ConstantClass { /// /// Constant APPLIED for AppliedStatus /// public static readonly AppliedStatus APPLIED = new AppliedStatus("APPLIED"); /// /// Constant NOT_APPLIED for AppliedStatus /// public static readonly AppliedStatus NOT_APPLIED = new AppliedStatus("NOT_APPLIED"); /// /// 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 AppliedStatus(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 AppliedStatus 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 AppliedStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type ConflictExceptionReason. /// public class ConflictExceptionReason : ConstantClass { /// /// Constant SimultaneousZonalShiftsConflict for ConflictExceptionReason /// public static readonly ConflictExceptionReason SimultaneousZonalShiftsConflict = new ConflictExceptionReason("SimultaneousZonalShiftsConflict"); /// /// Constant ZonalShiftAlreadyExists for ConflictExceptionReason /// public static readonly ConflictExceptionReason ZonalShiftAlreadyExists = new ConflictExceptionReason("ZonalShiftAlreadyExists"); /// /// Constant ZonalShiftStatusNotActive for ConflictExceptionReason /// public static readonly ConflictExceptionReason ZonalShiftStatusNotActive = new ConflictExceptionReason("ZonalShiftStatusNotActive"); /// /// 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 ConflictExceptionReason(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 ConflictExceptionReason 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 ConflictExceptionReason(string value) { return FindValue(value); } } /// /// Constants used for properties of type ValidationExceptionReason. /// public class ValidationExceptionReason : ConstantClass { /// /// Constant InvalidAz for ValidationExceptionReason /// public static readonly ValidationExceptionReason InvalidAz = new ValidationExceptionReason("InvalidAz"); /// /// Constant InvalidExpiresIn for ValidationExceptionReason /// public static readonly ValidationExceptionReason InvalidExpiresIn = new ValidationExceptionReason("InvalidExpiresIn"); /// /// Constant InvalidResourceIdentifier for ValidationExceptionReason /// public static readonly ValidationExceptionReason InvalidResourceIdentifier = new ValidationExceptionReason("InvalidResourceIdentifier"); /// /// Constant InvalidStatus for ValidationExceptionReason /// public static readonly ValidationExceptionReason InvalidStatus = new ValidationExceptionReason("InvalidStatus"); /// /// Constant InvalidToken for ValidationExceptionReason /// public static readonly ValidationExceptionReason InvalidToken = new ValidationExceptionReason("InvalidToken"); /// /// Constant MissingValue for ValidationExceptionReason /// public static readonly ValidationExceptionReason MissingValue = new ValidationExceptionReason("MissingValue"); /// /// Constant UnsupportedAz for ValidationExceptionReason /// public static readonly ValidationExceptionReason UnsupportedAz = new ValidationExceptionReason("UnsupportedAz"); /// /// 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); } } /// /// Constants used for properties of type ZonalShiftStatus. /// public class ZonalShiftStatus : ConstantClass { /// /// Constant ACTIVE for ZonalShiftStatus /// public static readonly ZonalShiftStatus ACTIVE = new ZonalShiftStatus("ACTIVE"); /// /// Constant CANCELED for ZonalShiftStatus /// public static readonly ZonalShiftStatus CANCELED = new ZonalShiftStatus("CANCELED"); /// /// Constant EXPIRED for ZonalShiftStatus /// public static readonly ZonalShiftStatus EXPIRED = new ZonalShiftStatus("EXPIRED"); /// /// 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 ZonalShiftStatus(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 ZonalShiftStatus 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 ZonalShiftStatus(string value) { return FindValue(value); } } }