/* * 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 elasticfilesystem-2015-02-01.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.ElasticFileSystem { /// /// Constants used for properties of type LifeCycleState. /// public class LifeCycleState : ConstantClass { /// /// Constant Available for LifeCycleState /// public static readonly LifeCycleState Available = new LifeCycleState("available"); /// /// Constant Creating for LifeCycleState /// public static readonly LifeCycleState Creating = new LifeCycleState("creating"); /// /// Constant Deleted for LifeCycleState /// public static readonly LifeCycleState Deleted = new LifeCycleState("deleted"); /// /// Constant Deleting for LifeCycleState /// public static readonly LifeCycleState Deleting = new LifeCycleState("deleting"); /// /// Constant Error for LifeCycleState /// public static readonly LifeCycleState Error = new LifeCycleState("error"); /// /// Constant Updating for LifeCycleState /// public static readonly LifeCycleState Updating = new LifeCycleState("updating"); /// /// 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 LifeCycleState(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 LifeCycleState 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 LifeCycleState(string value) { return FindValue(value); } } /// /// Constants used for properties of type PerformanceMode. /// public class PerformanceMode : ConstantClass { /// /// Constant GeneralPurpose for PerformanceMode /// public static readonly PerformanceMode GeneralPurpose = new PerformanceMode("generalPurpose"); /// /// Constant MaxIO for PerformanceMode /// public static readonly PerformanceMode MaxIO = new PerformanceMode("maxIO"); /// /// 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 PerformanceMode(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 PerformanceMode 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 PerformanceMode(string value) { return FindValue(value); } } /// /// Constants used for properties of type ReplicationStatus. /// public class ReplicationStatus : ConstantClass { /// /// Constant DELETING for ReplicationStatus /// public static readonly ReplicationStatus DELETING = new ReplicationStatus("DELETING"); /// /// Constant ENABLED for ReplicationStatus /// public static readonly ReplicationStatus ENABLED = new ReplicationStatus("ENABLED"); /// /// Constant ENABLING for ReplicationStatus /// public static readonly ReplicationStatus ENABLING = new ReplicationStatus("ENABLING"); /// /// Constant ERROR for ReplicationStatus /// public static readonly ReplicationStatus ERROR = new ReplicationStatus("ERROR"); /// /// Constant PAUSED for ReplicationStatus /// public static readonly ReplicationStatus PAUSED = new ReplicationStatus("PAUSED"); /// /// Constant PAUSING for ReplicationStatus /// public static readonly ReplicationStatus PAUSING = new ReplicationStatus("PAUSING"); /// /// 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 ReplicationStatus(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 ReplicationStatus 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 ReplicationStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type Resource. /// public class Resource : ConstantClass { /// /// Constant FILE_SYSTEM for Resource /// public static readonly Resource FILE_SYSTEM = new Resource("FILE_SYSTEM"); /// /// Constant MOUNT_TARGET for Resource /// public static readonly Resource MOUNT_TARGET = new Resource("MOUNT_TARGET"); /// /// 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 Resource(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 Resource 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 Resource(string value) { return FindValue(value); } } /// /// Constants used for properties of type ResourceIdType. /// public class ResourceIdType : ConstantClass { /// /// Constant LONG_ID for ResourceIdType /// public static readonly ResourceIdType LONG_ID = new ResourceIdType("LONG_ID"); /// /// Constant SHORT_ID for ResourceIdType /// public static readonly ResourceIdType SHORT_ID = new ResourceIdType("SHORT_ID"); /// /// 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 ResourceIdType(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 ResourceIdType 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 ResourceIdType(string value) { return FindValue(value); } } /// /// Constants used for properties of type Status. /// public class Status : ConstantClass { /// /// Constant DISABLED for Status /// public static readonly Status DISABLED = new Status("DISABLED"); /// /// Constant DISABLING for Status /// public static readonly Status DISABLING = new Status("DISABLING"); /// /// Constant ENABLED for Status /// public static readonly Status ENABLED = new Status("ENABLED"); /// /// Constant ENABLING for Status /// public static readonly Status ENABLING = new Status("ENABLING"); /// /// 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 Status(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 Status 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 Status(string value) { return FindValue(value); } } /// /// Constants used for properties of type ThroughputMode. /// public class ThroughputMode : ConstantClass { /// /// Constant Bursting for ThroughputMode /// public static readonly ThroughputMode Bursting = new ThroughputMode("bursting"); /// /// Constant Elastic for ThroughputMode /// public static readonly ThroughputMode Elastic = new ThroughputMode("elastic"); /// /// Constant Provisioned for ThroughputMode /// public static readonly ThroughputMode Provisioned = new ThroughputMode("provisioned"); /// /// 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 ThroughputMode(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 ThroughputMode 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 ThroughputMode(string value) { return FindValue(value); } } /// /// Constants used for properties of type TransitionToIARules. /// public class TransitionToIARules : ConstantClass { /// /// Constant AFTER_1_DAY for TransitionToIARules /// public static readonly TransitionToIARules AFTER_1_DAY = new TransitionToIARules("AFTER_1_DAY"); /// /// Constant AFTER_14_DAYS for TransitionToIARules /// public static readonly TransitionToIARules AFTER_14_DAYS = new TransitionToIARules("AFTER_14_DAYS"); /// /// Constant AFTER_30_DAYS for TransitionToIARules /// public static readonly TransitionToIARules AFTER_30_DAYS = new TransitionToIARules("AFTER_30_DAYS"); /// /// Constant AFTER_60_DAYS for TransitionToIARules /// public static readonly TransitionToIARules AFTER_60_DAYS = new TransitionToIARules("AFTER_60_DAYS"); /// /// Constant AFTER_7_DAYS for TransitionToIARules /// public static readonly TransitionToIARules AFTER_7_DAYS = new TransitionToIARules("AFTER_7_DAYS"); /// /// Constant AFTER_90_DAYS for TransitionToIARules /// public static readonly TransitionToIARules AFTER_90_DAYS = new TransitionToIARules("AFTER_90_DAYS"); /// /// 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 TransitionToIARules(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 TransitionToIARules 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 TransitionToIARules(string value) { return FindValue(value); } } /// /// Constants used for properties of type TransitionToPrimaryStorageClassRules. /// public class TransitionToPrimaryStorageClassRules : ConstantClass { /// /// Constant AFTER_1_ACCESS for TransitionToPrimaryStorageClassRules /// public static readonly TransitionToPrimaryStorageClassRules AFTER_1_ACCESS = new TransitionToPrimaryStorageClassRules("AFTER_1_ACCESS"); /// /// 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 TransitionToPrimaryStorageClassRules(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 TransitionToPrimaryStorageClassRules 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 TransitionToPrimaryStorageClassRules(string value) { return FindValue(value); } } }