/* * 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-2016-11-28.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.Lex { /// /// Constants used for properties of type ConfirmationStatus. /// public class ConfirmationStatus : ConstantClass { /// /// Constant Confirmed for ConfirmationStatus /// public static readonly ConfirmationStatus Confirmed = new ConfirmationStatus("Confirmed"); /// /// Constant Denied for ConfirmationStatus /// public static readonly ConfirmationStatus Denied = new ConfirmationStatus("Denied"); /// /// Constant None for ConfirmationStatus /// public static readonly ConfirmationStatus None = new ConfirmationStatus("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 ConfirmationStatus(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 ConfirmationStatus 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 ConfirmationStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type ContentType. /// public class ContentType : ConstantClass { /// /// Constant ApplicationVndAmazonawsCardGeneric for ContentType /// public static readonly ContentType ApplicationVndAmazonawsCardGeneric = new ContentType("application/vnd.amazonaws.card.generic"); /// /// 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 ContentType(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 ContentType 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 ContentType(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"); /// /// 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 DialogState. /// public class DialogState : ConstantClass { /// /// Constant ConfirmIntent for DialogState /// public static readonly DialogState ConfirmIntent = new DialogState("ConfirmIntent"); /// /// Constant ElicitIntent for DialogState /// public static readonly DialogState ElicitIntent = new DialogState("ElicitIntent"); /// /// Constant ElicitSlot for DialogState /// public static readonly DialogState ElicitSlot = new DialogState("ElicitSlot"); /// /// Constant Failed for DialogState /// public static readonly DialogState Failed = new DialogState("Failed"); /// /// Constant Fulfilled for DialogState /// public static readonly DialogState Fulfilled = new DialogState("Fulfilled"); /// /// Constant ReadyForFulfillment for DialogState /// public static readonly DialogState ReadyForFulfillment = new DialogState("ReadyForFulfillment"); /// /// 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 DialogState(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 DialogState 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 DialogState(string value) { return FindValue(value); } } /// /// Constants used for properties of type FulfillmentState. /// public class FulfillmentState : ConstantClass { /// /// Constant Failed for FulfillmentState /// public static readonly FulfillmentState Failed = new FulfillmentState("Failed"); /// /// Constant Fulfilled for FulfillmentState /// public static readonly FulfillmentState Fulfilled = new FulfillmentState("Fulfilled"); /// /// Constant ReadyForFulfillment for FulfillmentState /// public static readonly FulfillmentState ReadyForFulfillment = new FulfillmentState("ReadyForFulfillment"); /// /// 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 FulfillmentState(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 FulfillmentState 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 FulfillmentState(string value) { return FindValue(value); } } /// /// Constants used for properties of type MessageFormatType. /// public class MessageFormatType : ConstantClass { /// /// Constant Composite for MessageFormatType /// public static readonly MessageFormatType Composite = new MessageFormatType("Composite"); /// /// Constant CustomPayload for MessageFormatType /// public static readonly MessageFormatType CustomPayload = new MessageFormatType("CustomPayload"); /// /// Constant PlainText for MessageFormatType /// public static readonly MessageFormatType PlainText = new MessageFormatType("PlainText"); /// /// Constant SSML for MessageFormatType /// public static readonly MessageFormatType SSML = new MessageFormatType("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 MessageFormatType(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 MessageFormatType 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 MessageFormatType(string value) { return FindValue(value); } } }