/* * 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 snow-device-management-2021-08-04.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.SnowDeviceManagement { /// /// Constants used for properties of type AttachmentStatus. /// public class AttachmentStatus : ConstantClass { /// /// Constant ATTACHED for AttachmentStatus /// public static readonly AttachmentStatus ATTACHED = new AttachmentStatus("ATTACHED"); /// /// Constant ATTACHING for AttachmentStatus /// public static readonly AttachmentStatus ATTACHING = new AttachmentStatus("ATTACHING"); /// /// Constant DETACHED for AttachmentStatus /// public static readonly AttachmentStatus DETACHED = new AttachmentStatus("DETACHED"); /// /// Constant DETACHING for AttachmentStatus /// public static readonly AttachmentStatus DETACHING = new AttachmentStatus("DETACHING"); /// /// 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 AttachmentStatus(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 AttachmentStatus 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 AttachmentStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type ExecutionState. /// public class ExecutionState : ConstantClass { /// /// Constant CANCELED for ExecutionState /// public static readonly ExecutionState CANCELED = new ExecutionState("CANCELED"); /// /// Constant FAILED for ExecutionState /// public static readonly ExecutionState FAILED = new ExecutionState("FAILED"); /// /// Constant IN_PROGRESS for ExecutionState /// public static readonly ExecutionState IN_PROGRESS = new ExecutionState("IN_PROGRESS"); /// /// Constant QUEUED for ExecutionState /// public static readonly ExecutionState QUEUED = new ExecutionState("QUEUED"); /// /// Constant REJECTED for ExecutionState /// public static readonly ExecutionState REJECTED = new ExecutionState("REJECTED"); /// /// Constant SUCCEEDED for ExecutionState /// public static readonly ExecutionState SUCCEEDED = new ExecutionState("SUCCEEDED"); /// /// Constant TIMED_OUT for ExecutionState /// public static readonly ExecutionState TIMED_OUT = new ExecutionState("TIMED_OUT"); /// /// 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 ExecutionState(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 ExecutionState 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 ExecutionState(string value) { return FindValue(value); } } /// /// Constants used for properties of type InstanceStateName. /// public class InstanceStateName : ConstantClass { /// /// Constant PENDING for InstanceStateName /// public static readonly InstanceStateName PENDING = new InstanceStateName("PENDING"); /// /// Constant RUNNING for InstanceStateName /// public static readonly InstanceStateName RUNNING = new InstanceStateName("RUNNING"); /// /// Constant SHUTTING_DOWN for InstanceStateName /// public static readonly InstanceStateName SHUTTING_DOWN = new InstanceStateName("SHUTTING_DOWN"); /// /// Constant STOPPED for InstanceStateName /// public static readonly InstanceStateName STOPPED = new InstanceStateName("STOPPED"); /// /// Constant STOPPING for InstanceStateName /// public static readonly InstanceStateName STOPPING = new InstanceStateName("STOPPING"); /// /// Constant TERMINATED for InstanceStateName /// public static readonly InstanceStateName TERMINATED = new InstanceStateName("TERMINATED"); /// /// 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 InstanceStateName(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 InstanceStateName 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 InstanceStateName(string value) { return FindValue(value); } } /// /// Constants used for properties of type IpAddressAssignment. /// public class IpAddressAssignment : ConstantClass { /// /// Constant DHCP for IpAddressAssignment /// public static readonly IpAddressAssignment DHCP = new IpAddressAssignment("DHCP"); /// /// Constant STATIC for IpAddressAssignment /// public static readonly IpAddressAssignment STATIC = new IpAddressAssignment("STATIC"); /// /// 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 IpAddressAssignment(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 IpAddressAssignment 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 IpAddressAssignment(string value) { return FindValue(value); } } /// /// Constants used for properties of type PhysicalConnectorType. /// public class PhysicalConnectorType : ConstantClass { /// /// Constant QSFP for PhysicalConnectorType /// public static readonly PhysicalConnectorType QSFP = new PhysicalConnectorType("QSFP"); /// /// Constant RJ45 for PhysicalConnectorType /// public static readonly PhysicalConnectorType RJ45 = new PhysicalConnectorType("RJ45"); /// /// Constant RJ45_2 for PhysicalConnectorType /// public static readonly PhysicalConnectorType RJ45_2 = new PhysicalConnectorType("RJ45_2"); /// /// Constant SFP_PLUS for PhysicalConnectorType /// public static readonly PhysicalConnectorType SFP_PLUS = new PhysicalConnectorType("SFP_PLUS"); /// /// Constant WIFI for PhysicalConnectorType /// public static readonly PhysicalConnectorType WIFI = new PhysicalConnectorType("WIFI"); /// /// 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 PhysicalConnectorType(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 PhysicalConnectorType 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 PhysicalConnectorType(string value) { return FindValue(value); } } /// /// Constants used for properties of type TaskState. /// public class TaskState : ConstantClass { /// /// Constant CANCELED for TaskState /// public static readonly TaskState CANCELED = new TaskState("CANCELED"); /// /// Constant COMPLETED for TaskState /// public static readonly TaskState COMPLETED = new TaskState("COMPLETED"); /// /// Constant IN_PROGRESS for TaskState /// public static readonly TaskState IN_PROGRESS = new TaskState("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 TaskState(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 TaskState 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 TaskState(string value) { return FindValue(value); } } /// /// Constants used for properties of type UnlockState. /// public class UnlockState : ConstantClass { /// /// Constant LOCKED for UnlockState /// public static readonly UnlockState LOCKED = new UnlockState("LOCKED"); /// /// Constant UNLOCKED for UnlockState /// public static readonly UnlockState UNLOCKED = new UnlockState("UNLOCKED"); /// /// Constant UNLOCKING for UnlockState /// public static readonly UnlockState UNLOCKING = new UnlockState("UNLOCKING"); /// /// 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 UnlockState(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 UnlockState 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 UnlockState(string value) { return FindValue(value); } } }