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>
84 template <
typename LocaleIdT = Aws::String>
86 m_localeIdHasBeenSet =
true;
87 m_localeId = std::forward<LocaleIdT>(value);
89 template <
typename LocaleIdT = Aws::String>
103 template <
typename DescriptionT = Aws::String>
105 m_descriptionHasBeenSet =
true;
106 m_description = std::forward<DescriptionT>(value);
108 template <
typename DescriptionT = Aws::String>
131 m_nluIntentConfidenceThresholdHasBeenSet =
true;
132 m_nluIntentConfidenceThreshold = value;
147 template <
typename VoiceSettingsT = VoiceSettings>
149 m_voiceSettingsHasBeenSet =
true;
150 m_voiceSettings = std::forward<VoiceSettingsT>(value);
152 template <
typename VoiceSettingsT = VoiceSettings>
165 template <
typename UnifiedSpeechSettingsT = UnifiedSpeechSettings>
167 m_unifiedSpeechSettingsHasBeenSet =
true;
168 m_unifiedSpeechSettings = std::forward<UnifiedSpeechSettingsT>(value);
170 template <
typename UnifiedSpeechSettingsT = UnifiedSpeechSettings>
183 template <
typename SpeechRecognitionSettingsT = SpeechRecognitionSettings>
185 m_speechRecognitionSettingsHasBeenSet =
true;
186 m_speechRecognitionSettings = std::forward<SpeechRecognitionSettingsT>(value);
188 template <
typename SpeechRecognitionSettingsT = SpeechRecognitionSettings>
199 template <
typename GenerativeAISettingsT = GenerativeAISettings>
201 m_generativeAISettingsHasBeenSet =
true;
202 m_generativeAISettings = std::forward<GenerativeAISettingsT>(value);
204 template <
typename GenerativeAISettingsT = GenerativeAISettings>
220 m_speechDetectionSensitivityHasBeenSet =
true;
221 m_speechDetectionSensitivity = value;
237 double m_nluIntentConfidenceThreshold{0.0};
239 VoiceSettings m_voiceSettings;
241 UnifiedSpeechSettings m_unifiedSpeechSettings;
243 SpeechRecognitionSettings m_speechRecognitionSettings;
245 GenerativeAISettings m_generativeAISettings;
248 bool m_botIdHasBeenSet =
false;
249 bool m_botVersionHasBeenSet =
false;
250 bool m_localeIdHasBeenSet =
false;
251 bool m_descriptionHasBeenSet =
false;
252 bool m_nluIntentConfidenceThresholdHasBeenSet =
false;
253 bool m_voiceSettingsHasBeenSet =
false;
254 bool m_unifiedSpeechSettingsHasBeenSet =
false;
255 bool m_speechRecognitionSettingsHasBeenSet =
false;
256 bool m_generativeAISettingsHasBeenSet =
false;
257 bool m_speechDetectionSensitivityHasBeenSet =
false;
const VoiceSettings & GetVoiceSettings() const
bool NluIntentConfidenceThresholdHasBeenSet() const
CreateBotLocaleRequest & WithSpeechRecognitionSettings(SpeechRecognitionSettingsT &&value)
CreateBotLocaleRequest & WithLocaleId(LocaleIdT &&value)
AWS_LEXMODELSV2_API CreateBotLocaleRequest()=default
const Aws::String & GetDescription() const
CreateBotLocaleRequest & WithNluIntentConfidenceThreshold(double value)
void SetUnifiedSpeechSettings(UnifiedSpeechSettingsT &&value)
SpeechDetectionSensitivity GetSpeechDetectionSensitivity() const
CreateBotLocaleRequest & WithUnifiedSpeechSettings(UnifiedSpeechSettingsT &&value)
const UnifiedSpeechSettings & GetUnifiedSpeechSettings() const
CreateBotLocaleRequest & WithBotVersion(BotVersionT &&value)
bool SpeechRecognitionSettingsHasBeenSet() const
void SetSpeechDetectionSensitivity(SpeechDetectionSensitivity value)
void SetVoiceSettings(VoiceSettingsT &&value)
const SpeechRecognitionSettings & GetSpeechRecognitionSettings() const
bool BotIdHasBeenSet() const
CreateBotLocaleRequest & WithGenerativeAISettings(GenerativeAISettingsT &&value)
bool DescriptionHasBeenSet() const
CreateBotLocaleRequest & WithSpeechDetectionSensitivity(SpeechDetectionSensitivity value)
void SetBotVersion(BotVersionT &&value)
const Aws::String & GetBotId() const
void SetLocaleId(LocaleIdT &&value)
virtual const char * GetServiceRequestName() const override
void SetBotId(BotIdT &&value)
bool GenerativeAISettingsHasBeenSet() const
bool LocaleIdHasBeenSet() const
void SetNluIntentConfidenceThreshold(double value)
bool UnifiedSpeechSettingsHasBeenSet() const
CreateBotLocaleRequest & WithDescription(DescriptionT &&value)
const Aws::String & GetLocaleId() const
const GenerativeAISettings & GetGenerativeAISettings() const
void SetDescription(DescriptionT &&value)
void SetSpeechRecognitionSettings(SpeechRecognitionSettingsT &&value)
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
void SetGenerativeAISettings(GenerativeAISettingsT &&value)
const Aws::String & GetBotVersion() const
bool VoiceSettingsHasBeenSet() const
CreateBotLocaleRequest & WithBotId(BotIdT &&value)
bool SpeechDetectionSensitivityHasBeenSet() const
bool BotVersionHasBeenSet() const
CreateBotLocaleRequest & WithVoiceSettings(VoiceSettingsT &&value)
double GetNluIntentConfidenceThreshold() const
SpeechDetectionSensitivity
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String