/* * 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 translate-2017-07-01.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.Translate { /// /// Constants used for properties of type Directionality. /// public class Directionality : ConstantClass { /// /// Constant MULTI for Directionality /// public static readonly Directionality MULTI = new Directionality("MULTI"); /// /// Constant UNI for Directionality /// public static readonly Directionality UNI = new Directionality("UNI"); /// /// 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 Directionality(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 Directionality 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 Directionality(string value) { return FindValue(value); } } /// /// Constants used for properties of type DisplayLanguageCode. /// public class DisplayLanguageCode : ConstantClass { /// /// Constant De for DisplayLanguageCode /// public static readonly DisplayLanguageCode De = new DisplayLanguageCode("de"); /// /// Constant En for DisplayLanguageCode /// public static readonly DisplayLanguageCode En = new DisplayLanguageCode("en"); /// /// Constant Es for DisplayLanguageCode /// public static readonly DisplayLanguageCode Es = new DisplayLanguageCode("es"); /// /// Constant Fr for DisplayLanguageCode /// public static readonly DisplayLanguageCode Fr = new DisplayLanguageCode("fr"); /// /// Constant It for DisplayLanguageCode /// public static readonly DisplayLanguageCode It = new DisplayLanguageCode("it"); /// /// Constant Ja for DisplayLanguageCode /// public static readonly DisplayLanguageCode Ja = new DisplayLanguageCode("ja"); /// /// Constant Ko for DisplayLanguageCode /// public static readonly DisplayLanguageCode Ko = new DisplayLanguageCode("ko"); /// /// Constant Pt for DisplayLanguageCode /// public static readonly DisplayLanguageCode Pt = new DisplayLanguageCode("pt"); /// /// Constant Zh for DisplayLanguageCode /// public static readonly DisplayLanguageCode Zh = new DisplayLanguageCode("zh"); /// /// Constant ZhTW for DisplayLanguageCode /// public static readonly DisplayLanguageCode ZhTW = new DisplayLanguageCode("zh-TW"); /// /// 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 DisplayLanguageCode(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 DisplayLanguageCode 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 DisplayLanguageCode(string value) { return FindValue(value); } } /// /// Constants used for properties of type EncryptionKeyType. /// public class EncryptionKeyType : ConstantClass { /// /// Constant KMS for EncryptionKeyType /// public static readonly EncryptionKeyType KMS = new EncryptionKeyType("KMS"); /// /// 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 EncryptionKeyType(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 EncryptionKeyType 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 EncryptionKeyType(string value) { return FindValue(value); } } /// /// Constants used for properties of type Formality. /// public class Formality : ConstantClass { /// /// Constant FORMAL for Formality /// public static readonly Formality FORMAL = new Formality("FORMAL"); /// /// Constant INFORMAL for Formality /// public static readonly Formality INFORMAL = new Formality("INFORMAL"); /// /// 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 Formality(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 Formality 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 Formality(string value) { return FindValue(value); } } /// /// Constants used for properties of type JobStatus. /// public class JobStatus : ConstantClass { /// /// Constant COMPLETED for JobStatus /// public static readonly JobStatus COMPLETED = new JobStatus("COMPLETED"); /// /// Constant COMPLETED_WITH_ERROR for JobStatus /// public static readonly JobStatus COMPLETED_WITH_ERROR = new JobStatus("COMPLETED_WITH_ERROR"); /// /// Constant FAILED for JobStatus /// public static readonly JobStatus FAILED = new JobStatus("FAILED"); /// /// Constant IN_PROGRESS for JobStatus /// public static readonly JobStatus IN_PROGRESS = new JobStatus("IN_PROGRESS"); /// /// Constant STOP_REQUESTED for JobStatus /// public static readonly JobStatus STOP_REQUESTED = new JobStatus("STOP_REQUESTED"); /// /// Constant STOPPED for JobStatus /// public static readonly JobStatus STOPPED = new JobStatus("STOPPED"); /// /// Constant SUBMITTED for JobStatus /// public static readonly JobStatus SUBMITTED = new JobStatus("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 JobStatus(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 JobStatus 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 JobStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type MergeStrategy. /// public class MergeStrategy : ConstantClass { /// /// Constant OVERWRITE for MergeStrategy /// public static readonly MergeStrategy OVERWRITE = new MergeStrategy("OVERWRITE"); /// /// 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 MergeStrategy(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 MergeStrategy 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 MergeStrategy(string value) { return FindValue(value); } } /// /// Constants used for properties of type ParallelDataFormat. /// public class ParallelDataFormat : ConstantClass { /// /// Constant CSV for ParallelDataFormat /// public static readonly ParallelDataFormat CSV = new ParallelDataFormat("CSV"); /// /// Constant TMX for ParallelDataFormat /// public static readonly ParallelDataFormat TMX = new ParallelDataFormat("TMX"); /// /// Constant TSV for ParallelDataFormat /// public static readonly ParallelDataFormat TSV = new ParallelDataFormat("TSV"); /// /// 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 ParallelDataFormat(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 ParallelDataFormat 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 ParallelDataFormat(string value) { return FindValue(value); } } /// /// Constants used for properties of type ParallelDataStatus. /// public class ParallelDataStatus : ConstantClass { /// /// Constant ACTIVE for ParallelDataStatus /// public static readonly ParallelDataStatus ACTIVE = new ParallelDataStatus("ACTIVE"); /// /// Constant CREATING for ParallelDataStatus /// public static readonly ParallelDataStatus CREATING = new ParallelDataStatus("CREATING"); /// /// Constant DELETING for ParallelDataStatus /// public static readonly ParallelDataStatus DELETING = new ParallelDataStatus("DELETING"); /// /// Constant FAILED for ParallelDataStatus /// public static readonly ParallelDataStatus FAILED = new ParallelDataStatus("FAILED"); /// /// Constant UPDATING for ParallelDataStatus /// public static readonly ParallelDataStatus UPDATING = new ParallelDataStatus("UPDATING"); /// /// 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 ParallelDataStatus(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 ParallelDataStatus 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 ParallelDataStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type Profanity. /// public class Profanity : ConstantClass { /// /// Constant MASK for Profanity /// public static readonly Profanity MASK = new Profanity("MASK"); /// /// 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 Profanity(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 Profanity 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 Profanity(string value) { return FindValue(value); } } /// /// Constants used for properties of type TerminologyDataFormat. /// public class TerminologyDataFormat : ConstantClass { /// /// Constant CSV for TerminologyDataFormat /// public static readonly TerminologyDataFormat CSV = new TerminologyDataFormat("CSV"); /// /// Constant TMX for TerminologyDataFormat /// public static readonly TerminologyDataFormat TMX = new TerminologyDataFormat("TMX"); /// /// Constant TSV for TerminologyDataFormat /// public static readonly TerminologyDataFormat TSV = new TerminologyDataFormat("TSV"); /// /// 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 TerminologyDataFormat(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 TerminologyDataFormat 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 TerminologyDataFormat(string value) { return FindValue(value); } } }