/* * 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 iot-jobs-data-2017-09-29.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.IoTJobsDataPlane { /// /// Constants used for properties of type JobExecutionStatus. /// public class JobExecutionStatus : ConstantClass { /// /// Constant CANCELED for JobExecutionStatus /// public static readonly JobExecutionStatus CANCELED = new JobExecutionStatus("CANCELED"); /// /// Constant FAILED for JobExecutionStatus /// public static readonly JobExecutionStatus FAILED = new JobExecutionStatus("FAILED"); /// /// Constant IN_PROGRESS for JobExecutionStatus /// public static readonly JobExecutionStatus IN_PROGRESS = new JobExecutionStatus("IN_PROGRESS"); /// /// Constant QUEUED for JobExecutionStatus /// public static readonly JobExecutionStatus QUEUED = new JobExecutionStatus("QUEUED"); /// /// Constant REJECTED for JobExecutionStatus /// public static readonly JobExecutionStatus REJECTED = new JobExecutionStatus("REJECTED"); /// /// Constant REMOVED for JobExecutionStatus /// public static readonly JobExecutionStatus REMOVED = new JobExecutionStatus("REMOVED"); /// /// Constant SUCCEEDED for JobExecutionStatus /// public static readonly JobExecutionStatus SUCCEEDED = new JobExecutionStatus("SUCCEEDED"); /// /// Constant TIMED_OUT for JobExecutionStatus /// public static readonly JobExecutionStatus TIMED_OUT = new JobExecutionStatus("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 JobExecutionStatus(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 JobExecutionStatus 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 JobExecutionStatus(string value) { return FindValue(value); } } }