/* * 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 cloudsearch-2013-01-01.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.CloudSearch { /// /// Constants used for properties of type AlgorithmicStemming. /// public class AlgorithmicStemming : ConstantClass { /// /// Constant Full for AlgorithmicStemming /// public static readonly AlgorithmicStemming Full = new AlgorithmicStemming("full"); /// /// Constant Light for AlgorithmicStemming /// public static readonly AlgorithmicStemming Light = new AlgorithmicStemming("light"); /// /// Constant Minimal for AlgorithmicStemming /// public static readonly AlgorithmicStemming Minimal = new AlgorithmicStemming("minimal"); /// /// Constant None for AlgorithmicStemming /// public static readonly AlgorithmicStemming None = new AlgorithmicStemming("none"); /// /// 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 AlgorithmicStemming(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 AlgorithmicStemming 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 AlgorithmicStemming(string value) { return FindValue(value); } } /// /// Constants used for properties of type AnalysisSchemeLanguage. /// public class AnalysisSchemeLanguage : ConstantClass { /// /// Constant Ar for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage Ar = new AnalysisSchemeLanguage("ar"); /// /// Constant Bg for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage Bg = new AnalysisSchemeLanguage("bg"); /// /// Constant Ca for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage Ca = new AnalysisSchemeLanguage("ca"); /// /// Constant Cs for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage Cs = new AnalysisSchemeLanguage("cs"); /// /// Constant Da for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage Da = new AnalysisSchemeLanguage("da"); /// /// Constant De for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage De = new AnalysisSchemeLanguage("de"); /// /// Constant El for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage El = new AnalysisSchemeLanguage("el"); /// /// Constant En for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage En = new AnalysisSchemeLanguage("en"); /// /// Constant Es for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage Es = new AnalysisSchemeLanguage("es"); /// /// Constant Eu for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage Eu = new AnalysisSchemeLanguage("eu"); /// /// Constant Fa for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage Fa = new AnalysisSchemeLanguage("fa"); /// /// Constant Fi for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage Fi = new AnalysisSchemeLanguage("fi"); /// /// Constant Fr for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage Fr = new AnalysisSchemeLanguage("fr"); /// /// Constant Ga for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage Ga = new AnalysisSchemeLanguage("ga"); /// /// Constant Gl for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage Gl = new AnalysisSchemeLanguage("gl"); /// /// Constant He for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage He = new AnalysisSchemeLanguage("he"); /// /// Constant Hi for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage Hi = new AnalysisSchemeLanguage("hi"); /// /// Constant Hu for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage Hu = new AnalysisSchemeLanguage("hu"); /// /// Constant Hy for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage Hy = new AnalysisSchemeLanguage("hy"); /// /// Constant Id for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage Id = new AnalysisSchemeLanguage("id"); /// /// Constant It for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage It = new AnalysisSchemeLanguage("it"); /// /// Constant Ja for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage Ja = new AnalysisSchemeLanguage("ja"); /// /// Constant Ko for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage Ko = new AnalysisSchemeLanguage("ko"); /// /// Constant Lv for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage Lv = new AnalysisSchemeLanguage("lv"); /// /// Constant Mul for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage Mul = new AnalysisSchemeLanguage("mul"); /// /// Constant Nl for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage Nl = new AnalysisSchemeLanguage("nl"); /// /// Constant No for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage No = new AnalysisSchemeLanguage("no"); /// /// Constant Pt for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage Pt = new AnalysisSchemeLanguage("pt"); /// /// Constant Ro for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage Ro = new AnalysisSchemeLanguage("ro"); /// /// Constant Ru for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage Ru = new AnalysisSchemeLanguage("ru"); /// /// Constant Sv for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage Sv = new AnalysisSchemeLanguage("sv"); /// /// Constant Th for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage Th = new AnalysisSchemeLanguage("th"); /// /// Constant Tr for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage Tr = new AnalysisSchemeLanguage("tr"); /// /// Constant ZhHans for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage ZhHans = new AnalysisSchemeLanguage("zh-Hans"); /// /// Constant ZhHant for AnalysisSchemeLanguage /// public static readonly AnalysisSchemeLanguage ZhHant = new AnalysisSchemeLanguage("zh-Hant"); /// /// 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 AnalysisSchemeLanguage(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 AnalysisSchemeLanguage 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 AnalysisSchemeLanguage(string value) { return FindValue(value); } } /// /// Constants used for properties of type IndexFieldType. /// public class IndexFieldType : ConstantClass { /// /// Constant Date for IndexFieldType /// public static readonly IndexFieldType Date = new IndexFieldType("date"); /// /// Constant DateArray for IndexFieldType /// public static readonly IndexFieldType DateArray = new IndexFieldType("date-array"); /// /// Constant Double for IndexFieldType /// public static readonly IndexFieldType Double = new IndexFieldType("double"); /// /// Constant DoubleArray for IndexFieldType /// public static readonly IndexFieldType DoubleArray = new IndexFieldType("double-array"); /// /// Constant Int for IndexFieldType /// public static readonly IndexFieldType Int = new IndexFieldType("int"); /// /// Constant IntArray for IndexFieldType /// public static readonly IndexFieldType IntArray = new IndexFieldType("int-array"); /// /// Constant Latlon for IndexFieldType /// public static readonly IndexFieldType Latlon = new IndexFieldType("latlon"); /// /// Constant Literal for IndexFieldType /// public static readonly IndexFieldType Literal = new IndexFieldType("literal"); /// /// Constant LiteralArray for IndexFieldType /// public static readonly IndexFieldType LiteralArray = new IndexFieldType("literal-array"); /// /// Constant Text for IndexFieldType /// public static readonly IndexFieldType Text = new IndexFieldType("text"); /// /// Constant TextArray for IndexFieldType /// public static readonly IndexFieldType TextArray = new IndexFieldType("text-array"); /// /// 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 IndexFieldType(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 IndexFieldType 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 IndexFieldType(string value) { return FindValue(value); } } /// /// Constants used for properties of type OptionState. /// public class OptionState : ConstantClass { /// /// Constant Active for OptionState /// public static readonly OptionState Active = new OptionState("Active"); /// /// Constant FailedToValidate for OptionState /// public static readonly OptionState FailedToValidate = new OptionState("FailedToValidate"); /// /// Constant Processing for OptionState /// public static readonly OptionState Processing = new OptionState("Processing"); /// /// Constant RequiresIndexDocuments for OptionState /// public static readonly OptionState RequiresIndexDocuments = new OptionState("RequiresIndexDocuments"); /// /// 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 OptionState(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 OptionState 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 OptionState(string value) { return FindValue(value); } } /// /// Constants used for properties of type PartitionInstanceType. /// public class PartitionInstanceType : ConstantClass { /// /// Constant Search2xlarge for PartitionInstanceType /// public static readonly PartitionInstanceType Search2xlarge = new PartitionInstanceType("search.2xlarge"); /// /// Constant SearchLarge for PartitionInstanceType /// public static readonly PartitionInstanceType SearchLarge = new PartitionInstanceType("search.large"); /// /// Constant SearchM1Large for PartitionInstanceType /// public static readonly PartitionInstanceType SearchM1Large = new PartitionInstanceType("search.m1.large"); /// /// Constant SearchM1Small for PartitionInstanceType /// public static readonly PartitionInstanceType SearchM1Small = new PartitionInstanceType("search.m1.small"); /// /// Constant SearchM22xlarge for PartitionInstanceType /// public static readonly PartitionInstanceType SearchM22xlarge = new PartitionInstanceType("search.m2.2xlarge"); /// /// Constant SearchM2Xlarge for PartitionInstanceType /// public static readonly PartitionInstanceType SearchM2Xlarge = new PartitionInstanceType("search.m2.xlarge"); /// /// Constant SearchM32xlarge for PartitionInstanceType /// public static readonly PartitionInstanceType SearchM32xlarge = new PartitionInstanceType("search.m3.2xlarge"); /// /// Constant SearchM3Large for PartitionInstanceType /// public static readonly PartitionInstanceType SearchM3Large = new PartitionInstanceType("search.m3.large"); /// /// Constant SearchM3Medium for PartitionInstanceType /// public static readonly PartitionInstanceType SearchM3Medium = new PartitionInstanceType("search.m3.medium"); /// /// Constant SearchM3Xlarge for PartitionInstanceType /// public static readonly PartitionInstanceType SearchM3Xlarge = new PartitionInstanceType("search.m3.xlarge"); /// /// Constant SearchMedium for PartitionInstanceType /// public static readonly PartitionInstanceType SearchMedium = new PartitionInstanceType("search.medium"); /// /// Constant SearchPreviousgeneration2xlarge for PartitionInstanceType /// public static readonly PartitionInstanceType SearchPreviousgeneration2xlarge = new PartitionInstanceType("search.previousgeneration.2xlarge"); /// /// Constant SearchPreviousgenerationLarge for PartitionInstanceType /// public static readonly PartitionInstanceType SearchPreviousgenerationLarge = new PartitionInstanceType("search.previousgeneration.large"); /// /// Constant SearchPreviousgenerationSmall for PartitionInstanceType /// public static readonly PartitionInstanceType SearchPreviousgenerationSmall = new PartitionInstanceType("search.previousgeneration.small"); /// /// Constant SearchPreviousgenerationXlarge for PartitionInstanceType /// public static readonly PartitionInstanceType SearchPreviousgenerationXlarge = new PartitionInstanceType("search.previousgeneration.xlarge"); /// /// Constant SearchSmall for PartitionInstanceType /// public static readonly PartitionInstanceType SearchSmall = new PartitionInstanceType("search.small"); /// /// Constant SearchXlarge for PartitionInstanceType /// public static readonly PartitionInstanceType SearchXlarge = new PartitionInstanceType("search.xlarge"); /// /// 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 PartitionInstanceType(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 PartitionInstanceType 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 PartitionInstanceType(string value) { return FindValue(value); } } /// /// Constants used for properties of type SuggesterFuzzyMatching. /// public class SuggesterFuzzyMatching : ConstantClass { /// /// Constant High for SuggesterFuzzyMatching /// public static readonly SuggesterFuzzyMatching High = new SuggesterFuzzyMatching("high"); /// /// Constant Low for SuggesterFuzzyMatching /// public static readonly SuggesterFuzzyMatching Low = new SuggesterFuzzyMatching("low"); /// /// Constant None for SuggesterFuzzyMatching /// public static readonly SuggesterFuzzyMatching None = new SuggesterFuzzyMatching("none"); /// /// 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 SuggesterFuzzyMatching(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 SuggesterFuzzyMatching 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 SuggesterFuzzyMatching(string value) { return FindValue(value); } } /// /// Constants used for properties of type TLSSecurityPolicy. /// public class TLSSecurityPolicy : ConstantClass { /// /// Constant PolicyMinTLS10201907 for TLSSecurityPolicy /// public static readonly TLSSecurityPolicy PolicyMinTLS10201907 = new TLSSecurityPolicy("Policy-Min-TLS-1-0-2019-07"); /// /// Constant PolicyMinTLS12201907 for TLSSecurityPolicy /// public static readonly TLSSecurityPolicy PolicyMinTLS12201907 = new TLSSecurityPolicy("Policy-Min-TLS-1-2-2019-07"); /// /// 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 TLSSecurityPolicy(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 TLSSecurityPolicy 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 TLSSecurityPolicy(string value) { return FindValue(value); } } }