7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lexv2-models/LexModelsV2Request.h>
9#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
10#include <aws/lexv2-models/model/GenerativeAISettings.h>
11#include <aws/lexv2-models/model/SpeechDetectionSensitivity.h>
12#include <aws/lexv2-models/model/SpeechRecognitionSettings.h>
13#include <aws/lexv2-models/model/UnifiedSpeechSettings.h>
14#include <aws/lexv2-models/model/VoiceSettings.h>
19namespace LexModelsV2 {
42 template <
typename BotIdT = Aws::String>
44 m_botIdHasBeenSet =
true;
45 m_botId = std::forward<BotIdT>(value);
47 template <
typename BotIdT = Aws::String>
49 SetBotId(std::forward<BotIdT>(value));
61 template <
typename BotVersionT = Aws::String>
63 m_botVersionHasBeenSet =
true;
64 m_botVersion = std::forward<BotVersionT>(value);
66 template <
typename BotVersionT = Aws::String>
82 template <
typename LocaleIdT = Aws::String>
84 m_localeIdHasBeenSet =
true;
85 m_localeId = std::forward<LocaleIdT>(value);
87 template <
typename LocaleIdT = Aws::String>
100 template <
typename DescriptionT = Aws::String>
102 m_descriptionHasBeenSet =
true;
103 m_description = std::forward<DescriptionT>(value);
105 template <
typename DescriptionT = Aws::String>
121 m_nluIntentConfidenceThresholdHasBeenSet =
true;
122 m_nluIntentConfidenceThreshold = value;
137 template <
typename VoiceSettingsT = VoiceSettings>
139 m_voiceSettingsHasBeenSet =
true;
140 m_voiceSettings = std::forward<VoiceSettingsT>(value);
142 template <
typename VoiceSettingsT = VoiceSettings>
155 template <
typename UnifiedSpeechSettingsT = UnifiedSpeechSettings>
157 m_unifiedSpeechSettingsHasBeenSet =
true;
158 m_unifiedSpeechSettings = std::forward<UnifiedSpeechSettingsT>(value);
160 template <
typename UnifiedSpeechSettingsT = UnifiedSpeechSettings>
173 template <
typename SpeechRecognitionSettingsT = SpeechRecognitionSettings>
175 m_speechRecognitionSettingsHasBeenSet =
true;
176 m_speechRecognitionSettings = std::forward<SpeechRecognitionSettingsT>(value);
178 template <
typename SpeechRecognitionSettingsT = SpeechRecognitionSettings>
193 template <
typename GenerativeAISettingsT = GenerativeAISettings>
195 m_generativeAISettingsHasBeenSet =
true;
196 m_generativeAISettings = std::forward<GenerativeAISettingsT>(value);
198 template <
typename GenerativeAISettingsT = GenerativeAISettings>
214 m_speechDetectionSensitivityHasBeenSet =
true;
215 m_speechDetectionSensitivity = value;
231 double m_nluIntentConfidenceThreshold{0.0};
233 VoiceSettings m_voiceSettings;
235 UnifiedSpeechSettings m_unifiedSpeechSettings;
237 SpeechRecognitionSettings m_speechRecognitionSettings;
239 GenerativeAISettings m_generativeAISettings;
242 bool m_botIdHasBeenSet =
false;
243 bool m_botVersionHasBeenSet =
false;
244 bool m_localeIdHasBeenSet =
false;
245 bool m_descriptionHasBeenSet =
false;
246 bool m_nluIntentConfidenceThresholdHasBeenSet =
false;
247 bool m_voiceSettingsHasBeenSet =
false;
248 bool m_unifiedSpeechSettingsHasBeenSet =
false;
249 bool m_speechRecognitionSettingsHasBeenSet =
false;
250 bool m_generativeAISettingsHasBeenSet =
false;
251 bool m_speechDetectionSensitivityHasBeenSet =
false;
bool SpeechRecognitionSettingsHasBeenSet() const
UpdateBotLocaleRequest & WithUnifiedSpeechSettings(UnifiedSpeechSettingsT &&value)
const Aws::String & GetBotVersion() const
UpdateBotLocaleRequest & WithSpeechDetectionSensitivity(SpeechDetectionSensitivity value)
void SetGenerativeAISettings(GenerativeAISettingsT &&value)
const GenerativeAISettings & GetGenerativeAISettings() const
bool NluIntentConfidenceThresholdHasBeenSet() const
bool DescriptionHasBeenSet() const
UpdateBotLocaleRequest & WithBotId(BotIdT &&value)
bool BotVersionHasBeenSet() const
void SetBotId(BotIdT &&value)
SpeechDetectionSensitivity GetSpeechDetectionSensitivity() const
bool BotIdHasBeenSet() const
void SetSpeechDetectionSensitivity(SpeechDetectionSensitivity value)
void SetLocaleId(LocaleIdT &&value)
const UnifiedSpeechSettings & GetUnifiedSpeechSettings() const
const Aws::String & GetBotId() const
void SetDescription(DescriptionT &&value)
bool VoiceSettingsHasBeenSet() const
UpdateBotLocaleRequest & WithVoiceSettings(VoiceSettingsT &&value)
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
AWS_LEXMODELSV2_API UpdateBotLocaleRequest()=default
virtual const char * GetServiceRequestName() const override
bool SpeechDetectionSensitivityHasBeenSet() const
UpdateBotLocaleRequest & WithDescription(DescriptionT &&value)
double GetNluIntentConfidenceThreshold() const
void SetVoiceSettings(VoiceSettingsT &&value)
UpdateBotLocaleRequest & WithGenerativeAISettings(GenerativeAISettingsT &&value)
const Aws::String & GetDescription() const
UpdateBotLocaleRequest & WithBotVersion(BotVersionT &&value)
UpdateBotLocaleRequest & WithNluIntentConfidenceThreshold(double value)
void SetUnifiedSpeechSettings(UnifiedSpeechSettingsT &&value)
const Aws::String & GetLocaleId() const
void SetBotVersion(BotVersionT &&value)
bool GenerativeAISettingsHasBeenSet() const
UpdateBotLocaleRequest & WithLocaleId(LocaleIdT &&value)
const VoiceSettings & GetVoiceSettings() const
bool LocaleIdHasBeenSet() const
void SetNluIntentConfidenceThreshold(double value)
bool UnifiedSpeechSettingsHasBeenSet() const
void SetSpeechRecognitionSettings(SpeechRecognitionSettingsT &&value)
UpdateBotLocaleRequest & WithSpeechRecognitionSettings(SpeechRecognitionSettingsT &&value)
const SpeechRecognitionSettings & GetSpeechRecognitionSettings() const
SpeechDetectionSensitivity
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String