/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include You can provide Amazon Lex with hints to the phrases that a customer is
* likely to use for a slot. When a slot with hints is resolved, the phrases in the
* runtime hints are preferred in the resolution. You can provide hints for a
* maximum of 100 intents. You can provide a maximum of 100 slots. Before
* you can use runtime hints with an existing bot, you must first rebuild the
* bot. For more information, see Using
* runtime hints to improve recognition of slot values.See
* Also:
AWS
* API Reference
A list of the slots in the intent that should have runtime hints added, and * the phrases that should be added for each slot.
The first level of the
* slotHints
map is the name of the intent. The second level is the
* name of the slot within the intent. For more information, see Using hints
* to improve accuracy.
The intent name and slot name must exist.
*/ inline const Aws::MapA list of the slots in the intent that should have runtime hints added, and * the phrases that should be added for each slot.
The first level of the
* slotHints
map is the name of the intent. The second level is the
* name of the slot within the intent. For more information, see Using hints
* to improve accuracy.
The intent name and slot name must exist.
*/ inline bool SlotHintsHasBeenSet() const { return m_slotHintsHasBeenSet; } /** *A list of the slots in the intent that should have runtime hints added, and * the phrases that should be added for each slot.
The first level of the
* slotHints
map is the name of the intent. The second level is the
* name of the slot within the intent. For more information, see Using hints
* to improve accuracy.
The intent name and slot name must exist.
*/ inline void SetSlotHints(const Aws::MapA list of the slots in the intent that should have runtime hints added, and * the phrases that should be added for each slot.
The first level of the
* slotHints
map is the name of the intent. The second level is the
* name of the slot within the intent. For more information, see Using hints
* to improve accuracy.
The intent name and slot name must exist.
*/ inline void SetSlotHints(Aws::MapA list of the slots in the intent that should have runtime hints added, and * the phrases that should be added for each slot.
The first level of the
* slotHints
map is the name of the intent. The second level is the
* name of the slot within the intent. For more information, see Using hints
* to improve accuracy.
The intent name and slot name must exist.
*/ inline RuntimeHints& WithSlotHints(const Aws::MapA list of the slots in the intent that should have runtime hints added, and * the phrases that should be added for each slot.
The first level of the
* slotHints
map is the name of the intent. The second level is the
* name of the slot within the intent. For more information, see Using hints
* to improve accuracy.
The intent name and slot name must exist.
*/ inline RuntimeHints& WithSlotHints(Aws::MapA list of the slots in the intent that should have runtime hints added, and * the phrases that should be added for each slot.
The first level of the
* slotHints
map is the name of the intent. The second level is the
* name of the slot within the intent. For more information, see Using hints
* to improve accuracy.
The intent name and slot name must exist.
*/ inline RuntimeHints& AddSlotHints(const Aws::String& key, const Aws::MapA list of the slots in the intent that should have runtime hints added, and * the phrases that should be added for each slot.
The first level of the
* slotHints
map is the name of the intent. The second level is the
* name of the slot within the intent. For more information, see Using hints
* to improve accuracy.
The intent name and slot name must exist.
*/ inline RuntimeHints& AddSlotHints(Aws::String&& key, const Aws::MapA list of the slots in the intent that should have runtime hints added, and * the phrases that should be added for each slot.
The first level of the
* slotHints
map is the name of the intent. The second level is the
* name of the slot within the intent. For more information, see Using hints
* to improve accuracy.
The intent name and slot name must exist.
*/ inline RuntimeHints& AddSlotHints(const Aws::String& key, Aws::MapA list of the slots in the intent that should have runtime hints added, and * the phrases that should be added for each slot.
The first level of the
* slotHints
map is the name of the intent. The second level is the
* name of the slot within the intent. For more information, see Using hints
* to improve accuracy.
The intent name and slot name must exist.
*/ inline RuntimeHints& AddSlotHints(Aws::String&& key, Aws::MapA list of the slots in the intent that should have runtime hints added, and * the phrases that should be added for each slot.
The first level of the
* slotHints
map is the name of the intent. The second level is the
* name of the slot within the intent. For more information, see Using hints
* to improve accuracy.
The intent name and slot name must exist.
*/ inline RuntimeHints& AddSlotHints(const char* key, Aws::MapA list of the slots in the intent that should have runtime hints added, and * the phrases that should be added for each slot.
The first level of the
* slotHints
map is the name of the intent. The second level is the
* name of the slot within the intent. For more information, see Using hints
* to improve accuracy.
The intent name and slot name must exist.
*/ inline RuntimeHints& AddSlotHints(const char* key, const Aws::Map