/* * 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 personalize-2018-05-22.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.Personalize { /// /// Constants used for properties of type Domain. /// public class Domain : ConstantClass { /// /// Constant ECOMMERCE for Domain /// public static readonly Domain ECOMMERCE = new Domain("ECOMMERCE"); /// /// Constant VIDEO_ON_DEMAND for Domain /// public static readonly Domain VIDEO_ON_DEMAND = new Domain("VIDEO_ON_DEMAND"); /// /// 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 Domain(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 Domain 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 Domain(string value) { return FindValue(value); } } /// /// Constants used for properties of type ImportMode. /// public class ImportMode : ConstantClass { /// /// Constant FULL for ImportMode /// public static readonly ImportMode FULL = new ImportMode("FULL"); /// /// Constant INCREMENTAL for ImportMode /// public static readonly ImportMode INCREMENTAL = new ImportMode("INCREMENTAL"); /// /// 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 ImportMode(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 ImportMode 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 ImportMode(string value) { return FindValue(value); } } /// /// Constants used for properties of type IngestionMode. /// public class IngestionMode : ConstantClass { /// /// Constant ALL for IngestionMode /// public static readonly IngestionMode ALL = new IngestionMode("ALL"); /// /// Constant BULK for IngestionMode /// public static readonly IngestionMode BULK = new IngestionMode("BULK"); /// /// Constant PUT for IngestionMode /// public static readonly IngestionMode PUT = new IngestionMode("PUT"); /// /// 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 IngestionMode(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 IngestionMode 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 IngestionMode(string value) { return FindValue(value); } } /// /// Constants used for properties of type ObjectiveSensitivity. /// public class ObjectiveSensitivity : ConstantClass { /// /// Constant HIGH for ObjectiveSensitivity /// public static readonly ObjectiveSensitivity HIGH = new ObjectiveSensitivity("HIGH"); /// /// Constant LOW for ObjectiveSensitivity /// public static readonly ObjectiveSensitivity LOW = new ObjectiveSensitivity("LOW"); /// /// Constant MEDIUM for ObjectiveSensitivity /// public static readonly ObjectiveSensitivity MEDIUM = new ObjectiveSensitivity("MEDIUM"); /// /// Constant OFF for ObjectiveSensitivity /// public static readonly ObjectiveSensitivity OFF = new ObjectiveSensitivity("OFF"); /// /// 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 ObjectiveSensitivity(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 ObjectiveSensitivity 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 ObjectiveSensitivity(string value) { return FindValue(value); } } /// /// Constants used for properties of type RecipeProvider. /// public class RecipeProvider : ConstantClass { /// /// Constant SERVICE for RecipeProvider /// public static readonly RecipeProvider SERVICE = new RecipeProvider("SERVICE"); /// /// 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 RecipeProvider(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 RecipeProvider 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 RecipeProvider(string value) { return FindValue(value); } } /// /// Constants used for properties of type TrainingMode. /// public class TrainingMode : ConstantClass { /// /// Constant FULL for TrainingMode /// public static readonly TrainingMode FULL = new TrainingMode("FULL"); /// /// Constant UPDATE for TrainingMode /// public static readonly TrainingMode UPDATE = new TrainingMode("UPDATE"); /// /// 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 TrainingMode(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 TrainingMode 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 TrainingMode(string value) { return FindValue(value); } } }