/* * 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 models.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.LexModelsV2.Model { /// /// Provides an array of phrases that should be given preference when resolving values /// for a slot. /// public partial class RuntimeHintDetails { private List _runtimeHintValues = new List(); private Dictionary _subSlotHints = new Dictionary(); /// /// Gets and sets the property RuntimeHintValues. /// /// One or more strings that Amazon Lex should look for in the input to the bot. Each /// phrase is given preference when deciding on slot values. /// /// [AWSProperty(Min=1, Max=100)] public List RuntimeHintValues { get { return this._runtimeHintValues; } set { this._runtimeHintValues = value; } } // Check to see if RuntimeHintValues property is set internal bool IsSetRuntimeHintValues() { return this._runtimeHintValues != null && this._runtimeHintValues.Count > 0; } /// /// Gets and sets the property SubSlotHints. /// /// A map of constituent sub slot names inside a composite slot in the intent and the /// phrases that should be added for each sub slot. Inside each composite slot hints, /// this structure provides a mechanism to add granular sub slot phrases. Only sub slot /// hints are supported for composite slots. The intent name, composite slot name and /// the constituent sub slot names must exist. /// /// public Dictionary SubSlotHints { get { return this._subSlotHints; } set { this._subSlotHints = value; } } // Check to see if SubSlotHints property is set internal bool IsSetSubSlotHints() { return this._subSlotHints != null && this._subSlotHints.Count > 0; } } }