/* * 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 mturk-requester-2017-01-17.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.MTurk { /// /// Constants used for properties of type AssignmentStatus. /// public class AssignmentStatus : ConstantClass { /// /// Constant Approved for AssignmentStatus /// public static readonly AssignmentStatus Approved = new AssignmentStatus("Approved"); /// /// Constant Rejected for AssignmentStatus /// public static readonly AssignmentStatus Rejected = new AssignmentStatus("Rejected"); /// /// Constant Submitted for AssignmentStatus /// public static readonly AssignmentStatus Submitted = new AssignmentStatus("Submitted"); /// /// 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 AssignmentStatus(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 AssignmentStatus 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 AssignmentStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type Comparator. /// public class Comparator : ConstantClass { /// /// Constant DoesNotExist for Comparator /// public static readonly Comparator DoesNotExist = new Comparator("DoesNotExist"); /// /// Constant EqualTo for Comparator /// public static readonly Comparator EqualTo = new Comparator("EqualTo"); /// /// Constant Exists for Comparator /// public static readonly Comparator Exists = new Comparator("Exists"); /// /// Constant GreaterThan for Comparator /// public static readonly Comparator GreaterThan = new Comparator("GreaterThan"); /// /// Constant GreaterThanOrEqualTo for Comparator /// public static readonly Comparator GreaterThanOrEqualTo = new Comparator("GreaterThanOrEqualTo"); /// /// Constant In for Comparator /// public static readonly Comparator In = new Comparator("In"); /// /// Constant LessThan for Comparator /// public static readonly Comparator LessThan = new Comparator("LessThan"); /// /// Constant LessThanOrEqualTo for Comparator /// public static readonly Comparator LessThanOrEqualTo = new Comparator("LessThanOrEqualTo"); /// /// Constant NotEqualTo for Comparator /// public static readonly Comparator NotEqualTo = new Comparator("NotEqualTo"); /// /// Constant NotIn for Comparator /// public static readonly Comparator NotIn = new Comparator("NotIn"); /// /// 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 Comparator(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 Comparator 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 Comparator(string value) { return FindValue(value); } } /// /// Constants used for properties of type EventType. /// public class EventType : ConstantClass { /// /// Constant AssignmentAbandoned for EventType /// public static readonly EventType AssignmentAbandoned = new EventType("AssignmentAbandoned"); /// /// Constant AssignmentAccepted for EventType /// public static readonly EventType AssignmentAccepted = new EventType("AssignmentAccepted"); /// /// Constant AssignmentApproved for EventType /// public static readonly EventType AssignmentApproved = new EventType("AssignmentApproved"); /// /// Constant AssignmentRejected for EventType /// public static readonly EventType AssignmentRejected = new EventType("AssignmentRejected"); /// /// Constant AssignmentReturned for EventType /// public static readonly EventType AssignmentReturned = new EventType("AssignmentReturned"); /// /// Constant AssignmentSubmitted for EventType /// public static readonly EventType AssignmentSubmitted = new EventType("AssignmentSubmitted"); /// /// Constant HITCreated for EventType /// public static readonly EventType HITCreated = new EventType("HITCreated"); /// /// Constant HITDisposed for EventType /// public static readonly EventType HITDisposed = new EventType("HITDisposed"); /// /// Constant HITExpired for EventType /// public static readonly EventType HITExpired = new EventType("HITExpired"); /// /// Constant HITExtended for EventType /// public static readonly EventType HITExtended = new EventType("HITExtended"); /// /// Constant HITReviewable for EventType /// public static readonly EventType HITReviewable = new EventType("HITReviewable"); /// /// Constant Ping for EventType /// public static readonly EventType Ping = new EventType("Ping"); /// /// 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 HITAccessActions. /// public class HITAccessActions : ConstantClass { /// /// Constant Accept for HITAccessActions /// public static readonly HITAccessActions Accept = new HITAccessActions("Accept"); /// /// Constant DiscoverPreviewAndAccept for HITAccessActions /// public static readonly HITAccessActions DiscoverPreviewAndAccept = new HITAccessActions("DiscoverPreviewAndAccept"); /// /// Constant PreviewAndAccept for HITAccessActions /// public static readonly HITAccessActions PreviewAndAccept = new HITAccessActions("PreviewAndAccept"); /// /// 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 HITAccessActions(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 HITAccessActions 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 HITAccessActions(string value) { return FindValue(value); } } /// /// Constants used for properties of type HITReviewStatus. /// public class HITReviewStatus : ConstantClass { /// /// Constant MarkedForReview for HITReviewStatus /// public static readonly HITReviewStatus MarkedForReview = new HITReviewStatus("MarkedForReview"); /// /// Constant NotReviewed for HITReviewStatus /// public static readonly HITReviewStatus NotReviewed = new HITReviewStatus("NotReviewed"); /// /// Constant ReviewedAppropriate for HITReviewStatus /// public static readonly HITReviewStatus ReviewedAppropriate = new HITReviewStatus("ReviewedAppropriate"); /// /// Constant ReviewedInappropriate for HITReviewStatus /// public static readonly HITReviewStatus ReviewedInappropriate = new HITReviewStatus("ReviewedInappropriate"); /// /// 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 HITReviewStatus(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 HITReviewStatus 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 HITReviewStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type HITStatus. /// public class HITStatus : ConstantClass { /// /// Constant Assignable for HITStatus /// public static readonly HITStatus Assignable = new HITStatus("Assignable"); /// /// Constant Disposed for HITStatus /// public static readonly HITStatus Disposed = new HITStatus("Disposed"); /// /// Constant Reviewable for HITStatus /// public static readonly HITStatus Reviewable = new HITStatus("Reviewable"); /// /// Constant Reviewing for HITStatus /// public static readonly HITStatus Reviewing = new HITStatus("Reviewing"); /// /// Constant Unassignable for HITStatus /// public static readonly HITStatus Unassignable = new HITStatus("Unassignable"); /// /// 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 HITStatus(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 HITStatus 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 HITStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type NotificationTransport. /// public class NotificationTransport : ConstantClass { /// /// Constant Email for NotificationTransport /// public static readonly NotificationTransport Email = new NotificationTransport("Email"); /// /// Constant SNS for NotificationTransport /// public static readonly NotificationTransport SNS = new NotificationTransport("SNS"); /// /// Constant SQS for NotificationTransport /// public static readonly NotificationTransport SQS = new NotificationTransport("SQS"); /// /// 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 NotificationTransport(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 NotificationTransport 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 NotificationTransport(string value) { return FindValue(value); } } /// /// Constants used for properties of type NotifyWorkersFailureCode. /// public class NotifyWorkersFailureCode : ConstantClass { /// /// Constant HardFailure for NotifyWorkersFailureCode /// public static readonly NotifyWorkersFailureCode HardFailure = new NotifyWorkersFailureCode("HardFailure"); /// /// Constant SoftFailure for NotifyWorkersFailureCode /// public static readonly NotifyWorkersFailureCode SoftFailure = new NotifyWorkersFailureCode("SoftFailure"); /// /// 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 NotifyWorkersFailureCode(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 NotifyWorkersFailureCode 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 NotifyWorkersFailureCode(string value) { return FindValue(value); } } /// /// Constants used for properties of type QualificationStatus. /// public class QualificationStatus : ConstantClass { /// /// Constant Granted for QualificationStatus /// public static readonly QualificationStatus Granted = new QualificationStatus("Granted"); /// /// Constant Revoked for QualificationStatus /// public static readonly QualificationStatus Revoked = new QualificationStatus("Revoked"); /// /// 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 QualificationStatus(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 QualificationStatus 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 QualificationStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type QualificationTypeStatus. /// public class QualificationTypeStatus : ConstantClass { /// /// Constant Active for QualificationTypeStatus /// public static readonly QualificationTypeStatus Active = new QualificationTypeStatus("Active"); /// /// Constant Inactive for QualificationTypeStatus /// public static readonly QualificationTypeStatus Inactive = new QualificationTypeStatus("Inactive"); /// /// 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 QualificationTypeStatus(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 QualificationTypeStatus 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 QualificationTypeStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type ReviewableHITStatus. /// public class ReviewableHITStatus : ConstantClass { /// /// Constant Reviewable for ReviewableHITStatus /// public static readonly ReviewableHITStatus Reviewable = new ReviewableHITStatus("Reviewable"); /// /// Constant Reviewing for ReviewableHITStatus /// public static readonly ReviewableHITStatus Reviewing = new ReviewableHITStatus("Reviewing"); /// /// 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 ReviewableHITStatus(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 ReviewableHITStatus 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 ReviewableHITStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type ReviewActionStatus. /// public class ReviewActionStatus : ConstantClass { /// /// Constant Cancelled for ReviewActionStatus /// public static readonly ReviewActionStatus Cancelled = new ReviewActionStatus("Cancelled"); /// /// Constant Failed for ReviewActionStatus /// public static readonly ReviewActionStatus Failed = new ReviewActionStatus("Failed"); /// /// Constant Intended for ReviewActionStatus /// public static readonly ReviewActionStatus Intended = new ReviewActionStatus("Intended"); /// /// Constant Succeeded for ReviewActionStatus /// public static readonly ReviewActionStatus Succeeded = new ReviewActionStatus("Succeeded"); /// /// 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 ReviewActionStatus(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 ReviewActionStatus 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 ReviewActionStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type ReviewPolicyLevel. /// public class ReviewPolicyLevel : ConstantClass { /// /// Constant Assignment for ReviewPolicyLevel /// public static readonly ReviewPolicyLevel Assignment = new ReviewPolicyLevel("Assignment"); /// /// Constant HIT for ReviewPolicyLevel /// public static readonly ReviewPolicyLevel HIT = new ReviewPolicyLevel("HIT"); /// /// 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 ReviewPolicyLevel(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 ReviewPolicyLevel 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 ReviewPolicyLevel(string value) { return FindValue(value); } } }