/* * 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 budgets-2016-10-20.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.Budgets { /// /// Constants used for properties of type ActionStatus. /// public class ActionStatus : ConstantClass { /// /// Constant EXECUTION_FAILURE for ActionStatus /// public static readonly ActionStatus EXECUTION_FAILURE = new ActionStatus("EXECUTION_FAILURE"); /// /// Constant EXECUTION_IN_PROGRESS for ActionStatus /// public static readonly ActionStatus EXECUTION_IN_PROGRESS = new ActionStatus("EXECUTION_IN_PROGRESS"); /// /// Constant EXECUTION_SUCCESS for ActionStatus /// public static readonly ActionStatus EXECUTION_SUCCESS = new ActionStatus("EXECUTION_SUCCESS"); /// /// Constant PENDING for ActionStatus /// public static readonly ActionStatus PENDING = new ActionStatus("PENDING"); /// /// Constant RESET_FAILURE for ActionStatus /// public static readonly ActionStatus RESET_FAILURE = new ActionStatus("RESET_FAILURE"); /// /// Constant RESET_IN_PROGRESS for ActionStatus /// public static readonly ActionStatus RESET_IN_PROGRESS = new ActionStatus("RESET_IN_PROGRESS"); /// /// Constant REVERSE_FAILURE for ActionStatus /// public static readonly ActionStatus REVERSE_FAILURE = new ActionStatus("REVERSE_FAILURE"); /// /// Constant REVERSE_IN_PROGRESS for ActionStatus /// public static readonly ActionStatus REVERSE_IN_PROGRESS = new ActionStatus("REVERSE_IN_PROGRESS"); /// /// Constant REVERSE_SUCCESS for ActionStatus /// public static readonly ActionStatus REVERSE_SUCCESS = new ActionStatus("REVERSE_SUCCESS"); /// /// Constant STANDBY for ActionStatus /// public static readonly ActionStatus STANDBY = new ActionStatus("STANDBY"); /// /// 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 ActionStatus(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 ActionStatus 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 ActionStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type ActionSubType. /// public class ActionSubType : ConstantClass { /// /// Constant STOP_EC2_INSTANCES for ActionSubType /// public static readonly ActionSubType STOP_EC2_INSTANCES = new ActionSubType("STOP_EC2_INSTANCES"); /// /// Constant STOP_RDS_INSTANCES for ActionSubType /// public static readonly ActionSubType STOP_RDS_INSTANCES = new ActionSubType("STOP_RDS_INSTANCES"); /// /// 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 ActionSubType(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 ActionSubType 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 ActionSubType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ActionType. /// public class ActionType : ConstantClass { /// /// Constant APPLY_IAM_POLICY for ActionType /// public static readonly ActionType APPLY_IAM_POLICY = new ActionType("APPLY_IAM_POLICY"); /// /// Constant APPLY_SCP_POLICY for ActionType /// public static readonly ActionType APPLY_SCP_POLICY = new ActionType("APPLY_SCP_POLICY"); /// /// Constant RUN_SSM_DOCUMENTS for ActionType /// public static readonly ActionType RUN_SSM_DOCUMENTS = new ActionType("RUN_SSM_DOCUMENTS"); /// /// 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 ActionType(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 ActionType 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 ActionType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ApprovalModel. /// public class ApprovalModel : ConstantClass { /// /// Constant AUTOMATIC for ApprovalModel /// public static readonly ApprovalModel AUTOMATIC = new ApprovalModel("AUTOMATIC"); /// /// Constant MANUAL for ApprovalModel /// public static readonly ApprovalModel MANUAL = new ApprovalModel("MANUAL"); /// /// 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 ApprovalModel(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 ApprovalModel 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 ApprovalModel(string value) { return FindValue(value); } } /// /// Constants used for properties of type AutoAdjustType. /// public class AutoAdjustType : ConstantClass { /// /// Constant FORECAST for AutoAdjustType /// public static readonly AutoAdjustType FORECAST = new AutoAdjustType("FORECAST"); /// /// Constant HISTORICAL for AutoAdjustType /// public static readonly AutoAdjustType HISTORICAL = new AutoAdjustType("HISTORICAL"); /// /// 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 AutoAdjustType(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 AutoAdjustType 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 AutoAdjustType(string value) { return FindValue(value); } } /// /// Constants used for properties of type BudgetType. /// public class BudgetType : ConstantClass { /// /// Constant COST for BudgetType /// public static readonly BudgetType COST = new BudgetType("COST"); /// /// Constant RI_COVERAGE for BudgetType /// public static readonly BudgetType RI_COVERAGE = new BudgetType("RI_COVERAGE"); /// /// Constant RI_UTILIZATION for BudgetType /// public static readonly BudgetType RI_UTILIZATION = new BudgetType("RI_UTILIZATION"); /// /// Constant SAVINGS_PLANS_COVERAGE for BudgetType /// public static readonly BudgetType SAVINGS_PLANS_COVERAGE = new BudgetType("SAVINGS_PLANS_COVERAGE"); /// /// Constant SAVINGS_PLANS_UTILIZATION for BudgetType /// public static readonly BudgetType SAVINGS_PLANS_UTILIZATION = new BudgetType("SAVINGS_PLANS_UTILIZATION"); /// /// Constant USAGE for BudgetType /// public static readonly BudgetType USAGE = new BudgetType("USAGE"); /// /// 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 BudgetType(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 BudgetType 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 BudgetType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ComparisonOperator. /// public class ComparisonOperator : ConstantClass { /// /// Constant EQUAL_TO for ComparisonOperator /// public static readonly ComparisonOperator EQUAL_TO = new ComparisonOperator("EQUAL_TO"); /// /// Constant GREATER_THAN for ComparisonOperator /// public static readonly ComparisonOperator GREATER_THAN = new ComparisonOperator("GREATER_THAN"); /// /// Constant LESS_THAN for ComparisonOperator /// public static readonly ComparisonOperator LESS_THAN = new ComparisonOperator("LESS_THAN"); /// /// 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 ComparisonOperator(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 ComparisonOperator 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 ComparisonOperator(string value) { return FindValue(value); } } /// /// Constants used for properties of type EventType. /// public class EventType : ConstantClass { /// /// Constant CREATE_ACTION for EventType /// public static readonly EventType CREATE_ACTION = new EventType("CREATE_ACTION"); /// /// Constant DELETE_ACTION for EventType /// public static readonly EventType DELETE_ACTION = new EventType("DELETE_ACTION"); /// /// Constant EXECUTE_ACTION for EventType /// public static readonly EventType EXECUTE_ACTION = new EventType("EXECUTE_ACTION"); /// /// Constant SYSTEM for EventType /// public static readonly EventType SYSTEM = new EventType("SYSTEM"); /// /// Constant UPDATE_ACTION for EventType /// public static readonly EventType UPDATE_ACTION = new EventType("UPDATE_ACTION"); /// /// 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 EventType(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 EventType 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 EventType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ExecutionType. /// public class ExecutionType : ConstantClass { /// /// Constant APPROVE_BUDGET_ACTION for ExecutionType /// public static readonly ExecutionType APPROVE_BUDGET_ACTION = new ExecutionType("APPROVE_BUDGET_ACTION"); /// /// Constant RESET_BUDGET_ACTION for ExecutionType /// public static readonly ExecutionType RESET_BUDGET_ACTION = new ExecutionType("RESET_BUDGET_ACTION"); /// /// Constant RETRY_BUDGET_ACTION for ExecutionType /// public static readonly ExecutionType RETRY_BUDGET_ACTION = new ExecutionType("RETRY_BUDGET_ACTION"); /// /// Constant REVERSE_BUDGET_ACTION for ExecutionType /// public static readonly ExecutionType REVERSE_BUDGET_ACTION = new ExecutionType("REVERSE_BUDGET_ACTION"); /// /// 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 ExecutionType(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 ExecutionType 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 ExecutionType(string value) { return FindValue(value); } } /// /// Constants used for properties of type NotificationState. /// public class NotificationState : ConstantClass { /// /// Constant ALARM for NotificationState /// public static readonly NotificationState ALARM = new NotificationState("ALARM"); /// /// Constant OK for NotificationState /// public static readonly NotificationState OK = new NotificationState("OK"); /// /// 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 NotificationState(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 NotificationState 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 NotificationState(string value) { return FindValue(value); } } /// /// Constants used for properties of type NotificationType. /// public class NotificationType : ConstantClass { /// /// Constant ACTUAL for NotificationType /// public static readonly NotificationType ACTUAL = new NotificationType("ACTUAL"); /// /// Constant FORECASTED for NotificationType /// public static readonly NotificationType FORECASTED = new NotificationType("FORECASTED"); /// /// 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 NotificationType(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 NotificationType 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 NotificationType(string value) { return FindValue(value); } } /// /// Constants used for properties of type SubscriptionType. /// public class SubscriptionType : ConstantClass { /// /// Constant EMAIL for SubscriptionType /// public static readonly SubscriptionType EMAIL = new SubscriptionType("EMAIL"); /// /// Constant SNS for SubscriptionType /// public static readonly SubscriptionType SNS = new SubscriptionType("SNS"); /// /// 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 SubscriptionType(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 SubscriptionType 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 SubscriptionType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ThresholdType. /// public class ThresholdType : ConstantClass { /// /// Constant ABSOLUTE_VALUE for ThresholdType /// public static readonly ThresholdType ABSOLUTE_VALUE = new ThresholdType("ABSOLUTE_VALUE"); /// /// Constant PERCENTAGE for ThresholdType /// public static readonly ThresholdType PERCENTAGE = new ThresholdType("PERCENTAGE"); /// /// 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 ThresholdType(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 ThresholdType 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 ThresholdType(string value) { return FindValue(value); } } /// /// Constants used for properties of type TimeUnit. /// public class TimeUnit : ConstantClass { /// /// Constant ANNUALLY for TimeUnit /// public static readonly TimeUnit ANNUALLY = new TimeUnit("ANNUALLY"); /// /// Constant DAILY for TimeUnit /// public static readonly TimeUnit DAILY = new TimeUnit("DAILY"); /// /// Constant MONTHLY for TimeUnit /// public static readonly TimeUnit MONTHLY = new TimeUnit("MONTHLY"); /// /// Constant QUARTERLY for TimeUnit /// public static readonly TimeUnit QUARTERLY = new TimeUnit("QUARTERLY"); /// /// 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 TimeUnit(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 TimeUnit 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 TimeUnit(string value) { return FindValue(value); } } }