/* * 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 scheduler-2021-06-30.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.Scheduler { /// /// Constants used for properties of type AssignPublicIp. /// public class AssignPublicIp : ConstantClass { /// /// Constant DISABLED for AssignPublicIp /// public static readonly AssignPublicIp DISABLED = new AssignPublicIp("DISABLED"); /// /// Constant ENABLED for AssignPublicIp /// public static readonly AssignPublicIp ENABLED = new AssignPublicIp("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 AssignPublicIp(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 AssignPublicIp 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 AssignPublicIp(string value) { return FindValue(value); } } /// /// Constants used for properties of type FlexibleTimeWindowMode. /// public class FlexibleTimeWindowMode : ConstantClass { /// /// Constant FLEXIBLE for FlexibleTimeWindowMode /// public static readonly FlexibleTimeWindowMode FLEXIBLE = new FlexibleTimeWindowMode("FLEXIBLE"); /// /// Constant OFF for FlexibleTimeWindowMode /// public static readonly FlexibleTimeWindowMode OFF = new FlexibleTimeWindowMode("OFF"); /// /// 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 FlexibleTimeWindowMode(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 FlexibleTimeWindowMode 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 FlexibleTimeWindowMode(string value) { return FindValue(value); } } /// /// Constants used for properties of type LaunchType. /// public class LaunchType : ConstantClass { /// /// Constant EC2 for LaunchType /// public static readonly LaunchType EC2 = new LaunchType("EC2"); /// /// Constant EXTERNAL for LaunchType /// public static readonly LaunchType EXTERNAL = new LaunchType("EXTERNAL"); /// /// Constant FARGATE for LaunchType /// public static readonly LaunchType FARGATE = new LaunchType("FARGATE"); /// /// 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 LaunchType(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 LaunchType 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 LaunchType(string value) { return FindValue(value); } } /// /// Constants used for properties of type PlacementConstraintType. /// public class PlacementConstraintType : ConstantClass { /// /// Constant DistinctInstance for PlacementConstraintType /// public static readonly PlacementConstraintType DistinctInstance = new PlacementConstraintType("distinctInstance"); /// /// Constant MemberOf for PlacementConstraintType /// public static readonly PlacementConstraintType MemberOf = new PlacementConstraintType("memberOf"); /// /// 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 PlacementConstraintType(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 PlacementConstraintType 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 PlacementConstraintType(string value) { return FindValue(value); } } /// /// Constants used for properties of type PlacementStrategyType. /// public class PlacementStrategyType : ConstantClass { /// /// Constant Binpack for PlacementStrategyType /// public static readonly PlacementStrategyType Binpack = new PlacementStrategyType("binpack"); /// /// Constant Random for PlacementStrategyType /// public static readonly PlacementStrategyType Random = new PlacementStrategyType("random"); /// /// Constant Spread for PlacementStrategyType /// public static readonly PlacementStrategyType Spread = new PlacementStrategyType("spread"); /// /// 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 PlacementStrategyType(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 PlacementStrategyType 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 PlacementStrategyType(string value) { return FindValue(value); } } /// /// Constants used for properties of type PropagateTags. /// public class PropagateTags : ConstantClass { /// /// Constant TASK_DEFINITION for PropagateTags /// public static readonly PropagateTags TASK_DEFINITION = new PropagateTags("TASK_DEFINITION"); /// /// 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 PropagateTags(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 PropagateTags 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 PropagateTags(string value) { return FindValue(value); } } /// /// Constants used for properties of type ScheduleGroupState. /// public class ScheduleGroupState : ConstantClass { /// /// Constant ACTIVE for ScheduleGroupState /// public static readonly ScheduleGroupState ACTIVE = new ScheduleGroupState("ACTIVE"); /// /// Constant DELETING for ScheduleGroupState /// public static readonly ScheduleGroupState DELETING = new ScheduleGroupState("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 ScheduleGroupState(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 ScheduleGroupState 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 ScheduleGroupState(string value) { return FindValue(value); } } /// /// Constants used for properties of type ScheduleState. /// public class ScheduleState : ConstantClass { /// /// Constant DISABLED for ScheduleState /// public static readonly ScheduleState DISABLED = new ScheduleState("DISABLED"); /// /// Constant ENABLED for ScheduleState /// public static readonly ScheduleState ENABLED = new ScheduleState("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 ScheduleState(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 ScheduleState 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 ScheduleState(string value) { return FindValue(value); } } }