/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.LexRuntimeV2.Model { /// /// The value of a slot. /// public partial class Value { private string _interpretedValue; private string _originalValue; private List _resolvedValues = new List(); /// /// Gets and sets the property InterpretedValue. /// /// The value that Amazon Lex V2 determines for the slot. The actual value depends on /// the setting of the value selection strategy for the bot. You can choose to use the /// value entered by the user, or you can have Amazon Lex V2 choose the first value in /// the resolvedValues list. /// /// [AWSProperty(Required=true, Min=1)] public string InterpretedValue { get { return this._interpretedValue; } set { this._interpretedValue = value; } } // Check to see if InterpretedValue property is set internal bool IsSetInterpretedValue() { return this._interpretedValue != null; } /// /// Gets and sets the property OriginalValue. /// /// The text of the utterance from the user that was entered for the slot. /// /// [AWSProperty(Min=1)] public string OriginalValue { get { return this._originalValue; } set { this._originalValue = value; } } // Check to see if OriginalValue property is set internal bool IsSetOriginalValue() { return this._originalValue != null; } /// /// Gets and sets the property ResolvedValues. /// /// A list of additional values that have been recognized for the slot. /// /// public List ResolvedValues { get { return this._resolvedValues; } set { this._resolvedValues = value; } } // Check to see if ResolvedValues property is set internal bool IsSetResolvedValues() { return this._resolvedValues != null && this._resolvedValues.Count > 0; } } }