7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
19namespace LexModelsV2 {
47 m_enabledHasBeenSet =
true;
66 m_maxDisambiguationIntentsHasBeenSet =
true;
67 m_maxDisambiguationIntents = value;
84 template <
typename CustomDisambiguationMessageT = Aws::String>
86 m_customDisambiguationMessageHasBeenSet =
true;
87 m_customDisambiguationMessage = std::forward<CustomDisambiguationMessageT>(value);
89 template <
typename CustomDisambiguationMessageT = Aws::String>
96 bool m_enabled{
false};
98 int m_maxDisambiguationIntents{0};
101 bool m_enabledHasBeenSet =
false;
102 bool m_maxDisambiguationIntentsHasBeenSet =
false;
103 bool m_customDisambiguationMessageHasBeenSet =
false;
int GetMaxDisambiguationIntents() const
IntentDisambiguationSettings & WithCustomDisambiguationMessage(CustomDisambiguationMessageT &&value)
void SetMaxDisambiguationIntents(int value)
const Aws::String & GetCustomDisambiguationMessage() const
void SetEnabled(bool value)
AWS_LEXMODELSV2_API IntentDisambiguationSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
bool EnabledHasBeenSet() const
AWS_LEXMODELSV2_API IntentDisambiguationSettings()=default
bool MaxDisambiguationIntentsHasBeenSet() const
void SetCustomDisambiguationMessage(CustomDisambiguationMessageT &&value)
IntentDisambiguationSettings & WithMaxDisambiguationIntents(int value)
bool CustomDisambiguationMessageHasBeenSet() const
AWS_LEXMODELSV2_API IntentDisambiguationSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
IntentDisambiguationSettings & WithEnabled(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue