/* * 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 runtime.lex.v2-2020-08-07.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.LexRuntimeV2 { /// /// Constants used for properties of type ConfirmationState. /// public class ConfirmationState : ConstantClass { /// /// Constant Confirmed for ConfirmationState /// public static readonly ConfirmationState Confirmed = new ConfirmationState("Confirmed"); /// /// Constant Denied for ConfirmationState /// public static readonly ConfirmationState Denied = new ConfirmationState("Denied"); /// /// Constant None for ConfirmationState /// public static readonly ConfirmationState None = new ConfirmationState("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 ConfirmationState(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 ConfirmationState 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 ConfirmationState(string value) { return FindValue(value); } } /// /// Constants used for properties of type ConversationMode. /// public class ConversationMode : ConstantClass { /// /// Constant AUDIO for ConversationMode /// public static readonly ConversationMode AUDIO = new ConversationMode("AUDIO"); /// /// Constant TEXT for ConversationMode /// public static readonly ConversationMode TEXT = new ConversationMode("TEXT"); /// /// 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 ConversationMode(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 ConversationMode 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 ConversationMode(string value) { return FindValue(value); } } /// /// Constants used for properties of type DialogActionType. /// public class DialogActionType : ConstantClass { /// /// Constant Close for DialogActionType /// public static readonly DialogActionType Close = new DialogActionType("Close"); /// /// Constant ConfirmIntent for DialogActionType /// public static readonly DialogActionType ConfirmIntent = new DialogActionType("ConfirmIntent"); /// /// Constant Delegate for DialogActionType /// public static readonly DialogActionType Delegate = new DialogActionType("Delegate"); /// /// Constant ElicitIntent for DialogActionType /// public static readonly DialogActionType ElicitIntent = new DialogActionType("ElicitIntent"); /// /// Constant ElicitSlot for DialogActionType /// public static readonly DialogActionType ElicitSlot = new DialogActionType("ElicitSlot"); /// /// Constant None for DialogActionType /// public static readonly DialogActionType None = new DialogActionType("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 DialogActionType(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 DialogActionType 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 DialogActionType(string value) { return FindValue(value); } } /// /// Constants used for properties of type InputMode. /// public class InputMode : ConstantClass { /// /// Constant DTMF for InputMode /// public static readonly InputMode DTMF = new InputMode("DTMF"); /// /// Constant Speech for InputMode /// public static readonly InputMode Speech = new InputMode("Speech"); /// /// Constant Text for InputMode /// public static readonly InputMode Text = new InputMode("Text"); /// /// 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 InputMode(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 InputMode 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 InputMode(string value) { return FindValue(value); } } /// /// Constants used for properties of type IntentState. /// public class IntentState : ConstantClass { /// /// Constant Failed for IntentState /// public static readonly IntentState Failed = new IntentState("Failed"); /// /// Constant Fulfilled for IntentState /// public static readonly IntentState Fulfilled = new IntentState("Fulfilled"); /// /// Constant FulfillmentInProgress for IntentState /// public static readonly IntentState FulfillmentInProgress = new IntentState("FulfillmentInProgress"); /// /// Constant InProgress for IntentState /// public static readonly IntentState InProgress = new IntentState("InProgress"); /// /// Constant ReadyForFulfillment for IntentState /// public static readonly IntentState ReadyForFulfillment = new IntentState("ReadyForFulfillment"); /// /// Constant Waiting for IntentState /// public static readonly IntentState Waiting = new IntentState("Waiting"); /// /// 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 IntentState(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 IntentState 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 IntentState(string value) { return FindValue(value); } } /// /// Constants used for properties of type MessageContentType. /// public class MessageContentType : ConstantClass { /// /// Constant CustomPayload for MessageContentType /// public static readonly MessageContentType CustomPayload = new MessageContentType("CustomPayload"); /// /// Constant ImageResponseCard for MessageContentType /// public static readonly MessageContentType ImageResponseCard = new MessageContentType("ImageResponseCard"); /// /// Constant PlainText for MessageContentType /// public static readonly MessageContentType PlainText = new MessageContentType("PlainText"); /// /// Constant SSML for MessageContentType /// public static readonly MessageContentType SSML = new MessageContentType("SSML"); /// /// 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 MessageContentType(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 MessageContentType 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 MessageContentType(string value) { return FindValue(value); } } /// /// Constants used for properties of type PlaybackInterruptionReason. /// public class PlaybackInterruptionReason : ConstantClass { /// /// Constant DTMF_START_DETECTED for PlaybackInterruptionReason /// public static readonly PlaybackInterruptionReason DTMF_START_DETECTED = new PlaybackInterruptionReason("DTMF_START_DETECTED"); /// /// Constant TEXT_DETECTED for PlaybackInterruptionReason /// public static readonly PlaybackInterruptionReason TEXT_DETECTED = new PlaybackInterruptionReason("TEXT_DETECTED"); /// /// Constant VOICE_START_DETECTED for PlaybackInterruptionReason /// public static readonly PlaybackInterruptionReason VOICE_START_DETECTED = new PlaybackInterruptionReason("VOICE_START_DETECTED"); /// /// 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 PlaybackInterruptionReason(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 PlaybackInterruptionReason 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 PlaybackInterruptionReason(string value) { return FindValue(value); } } /// /// Constants used for properties of type SentimentType. /// public class SentimentType : ConstantClass { /// /// Constant MIXED for SentimentType /// public static readonly SentimentType MIXED = new SentimentType("MIXED"); /// /// Constant NEGATIVE for SentimentType /// public static readonly SentimentType NEGATIVE = new SentimentType("NEGATIVE"); /// /// Constant NEUTRAL for SentimentType /// public static readonly SentimentType NEUTRAL = new SentimentType("NEUTRAL"); /// /// Constant POSITIVE for SentimentType /// public static readonly SentimentType POSITIVE = new SentimentType("POSITIVE"); /// /// 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 SentimentType(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 SentimentType 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 SentimentType(string value) { return FindValue(value); } } /// /// Constants used for properties of type Shape. /// public class Shape : ConstantClass { /// /// Constant Composite for Shape /// public static readonly Shape Composite = new Shape("Composite"); /// /// Constant List for Shape /// public static readonly Shape List = new Shape("List"); /// /// Constant Scalar for Shape /// public static readonly Shape Scalar = new Shape("Scalar"); /// /// 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 Shape(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 Shape 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 Shape(string value) { return FindValue(value); } } /// /// Constants used for properties of type StyleType. /// public class StyleType : ConstantClass { /// /// Constant Default for StyleType /// public static readonly StyleType Default = new StyleType("Default"); /// /// Constant SpellByLetter for StyleType /// public static readonly StyleType SpellByLetter = new StyleType("SpellByLetter"); /// /// Constant SpellByWord for StyleType /// public static readonly StyleType SpellByWord = new StyleType("SpellByWord"); /// /// 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 StyleType(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 StyleType 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 StyleType(string value) { return FindValue(value); } } }