/* * 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 iotevents-data-2018-10-23.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.IoTEventsData { /// /// Constants used for properties of type AlarmStateName. /// public class AlarmStateName : ConstantClass { /// /// Constant ACKNOWLEDGED for AlarmStateName /// public static readonly AlarmStateName ACKNOWLEDGED = new AlarmStateName("ACKNOWLEDGED"); /// /// Constant ACTIVE for AlarmStateName /// public static readonly AlarmStateName ACTIVE = new AlarmStateName("ACTIVE"); /// /// Constant DISABLED for AlarmStateName /// public static readonly AlarmStateName DISABLED = new AlarmStateName("DISABLED"); /// /// Constant LATCHED for AlarmStateName /// public static readonly AlarmStateName LATCHED = new AlarmStateName("LATCHED"); /// /// Constant NORMAL for AlarmStateName /// public static readonly AlarmStateName NORMAL = new AlarmStateName("NORMAL"); /// /// Constant SNOOZE_DISABLED for AlarmStateName /// public static readonly AlarmStateName SNOOZE_DISABLED = new AlarmStateName("SNOOZE_DISABLED"); /// /// 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 AlarmStateName(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 AlarmStateName 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 AlarmStateName(string value) { return FindValue(value); } } /// /// Constants used for properties of type ComparisonOperator. /// public class ComparisonOperator : ConstantClass { /// /// Constant EQUAL for ComparisonOperator /// public static readonly ComparisonOperator EQUAL = new ComparisonOperator("EQUAL"); /// /// Constant GREATER for ComparisonOperator /// public static readonly ComparisonOperator GREATER = new ComparisonOperator("GREATER"); /// /// Constant GREATER_OR_EQUAL for ComparisonOperator /// public static readonly ComparisonOperator GREATER_OR_EQUAL = new ComparisonOperator("GREATER_OR_EQUAL"); /// /// Constant LESS for ComparisonOperator /// public static readonly ComparisonOperator LESS = new ComparisonOperator("LESS"); /// /// Constant LESS_OR_EQUAL for ComparisonOperator /// public static readonly ComparisonOperator LESS_OR_EQUAL = new ComparisonOperator("LESS_OR_EQUAL"); /// /// Constant NOT_EQUAL for ComparisonOperator /// public static readonly ComparisonOperator NOT_EQUAL = new ComparisonOperator("NOT_EQUAL"); /// /// 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 CustomerActionName. /// public class CustomerActionName : ConstantClass { /// /// Constant ACKNOWLEDGE for CustomerActionName /// public static readonly CustomerActionName ACKNOWLEDGE = new CustomerActionName("ACKNOWLEDGE"); /// /// Constant DISABLE for CustomerActionName /// public static readonly CustomerActionName DISABLE = new CustomerActionName("DISABLE"); /// /// Constant ENABLE for CustomerActionName /// public static readonly CustomerActionName ENABLE = new CustomerActionName("ENABLE"); /// /// Constant RESET for CustomerActionName /// public static readonly CustomerActionName RESET = new CustomerActionName("RESET"); /// /// Constant SNOOZE for CustomerActionName /// public static readonly CustomerActionName SNOOZE = new CustomerActionName("SNOOZE"); /// /// 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 CustomerActionName(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 CustomerActionName 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 CustomerActionName(string value) { return FindValue(value); } } /// /// Constants used for properties of type ErrorCode. /// public class ErrorCode : ConstantClass { /// /// Constant InternalFailureException for ErrorCode /// public static readonly ErrorCode InternalFailureException = new ErrorCode("InternalFailureException"); /// /// Constant InvalidRequestException for ErrorCode /// public static readonly ErrorCode InvalidRequestException = new ErrorCode("InvalidRequestException"); /// /// Constant ResourceNotFoundException for ErrorCode /// public static readonly ErrorCode ResourceNotFoundException = new ErrorCode("ResourceNotFoundException"); /// /// Constant ServiceUnavailableException for ErrorCode /// public static readonly ErrorCode ServiceUnavailableException = new ErrorCode("ServiceUnavailableException"); /// /// Constant ThrottlingException for ErrorCode /// public static readonly ErrorCode ThrottlingException = new ErrorCode("ThrottlingException"); /// /// 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 ErrorCode(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 ErrorCode 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 ErrorCode(string value) { return FindValue(value); } } /// /// Constants used for properties of type EventType. /// public class EventType : ConstantClass { /// /// Constant STATE_CHANGE for EventType /// public static readonly EventType STATE_CHANGE = new EventType("STATE_CHANGE"); /// /// 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 TriggerType. /// public class TriggerType : ConstantClass { /// /// Constant SNOOZE_TIMEOUT for TriggerType /// public static readonly TriggerType SNOOZE_TIMEOUT = new TriggerType("SNOOZE_TIMEOUT"); /// /// 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 TriggerType(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 TriggerType 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 TriggerType(string value) { return FindValue(value); } } }