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/AudioFillerSettings.h>
11#include <aws/lexv2-models/model/GenerativeAISettings.h>
12#include <aws/lexv2-models/model/SpeechDetectionSensitivity.h>
13#include <aws/lexv2-models/model/SpeechRecognitionSettings.h>
14#include <aws/lexv2-models/model/UnifiedSpeechSettings.h>
15#include <aws/lexv2-models/model/VoiceSettings.h>
20namespace LexModelsV2 {
43 template <
typename BotIdT = Aws::String>
45 m_botIdHasBeenSet =
true;
46 m_botId = std::forward<BotIdT>(value);
48 template <
typename BotIdT = Aws::String>
50 SetBotId(std::forward<BotIdT>(value));
62 template <
typename BotVersionT = Aws::String>
64 m_botVersionHasBeenSet =
true;
65 m_botVersion = std::forward<BotVersionT>(value);
67 template <
typename BotVersionT = Aws::String>
85 template <
typename LocaleIdT = Aws::String>
87 m_localeIdHasBeenSet =
true;
88 m_localeId = std::forward<LocaleIdT>(value);
90 template <
typename LocaleIdT = Aws::String>
104 template <
typename DescriptionT = Aws::String>
106 m_descriptionHasBeenSet =
true;
107 m_description = std::forward<DescriptionT>(value);
109 template <
typename DescriptionT = Aws::String>
132 m_nluIntentConfidenceThresholdHasBeenSet =
true;
133 m_nluIntentConfidenceThreshold = value;
148 template <
typename VoiceSettingsT = VoiceSettings>
150 m_voiceSettingsHasBeenSet =
true;
151 m_voiceSettings = std::forward<VoiceSettingsT>(value);
153 template <
typename VoiceSettingsT = VoiceSettings>
166 template <
typename UnifiedSpeechSettingsT = UnifiedSpeechSettings>
168 m_unifiedSpeechSettingsHasBeenSet =
true;
169 m_unifiedSpeechSettings = std::forward<UnifiedSpeechSettingsT>(value);
171 template <
typename UnifiedSpeechSettingsT = UnifiedSpeechSettings>
188 template <
typename AudioFillerSettingsT = AudioFillerSettings>
190 m_audioFillerSettingsHasBeenSet =
true;
191 m_audioFillerSettings = std::forward<AudioFillerSettingsT>(value);
193 template <
typename AudioFillerSettingsT = AudioFillerSettings>
206 template <
typename SpeechRecognitionSettingsT = SpeechRecognitionSettings>
208 m_speechRecognitionSettingsHasBeenSet =
true;
209 m_speechRecognitionSettings = std::forward<SpeechRecognitionSettingsT>(value);
211 template <
typename SpeechRecognitionSettingsT = SpeechRecognitionSettings>
222 template <
typename GenerativeAISettingsT = GenerativeAISettings>
224 m_generativeAISettingsHasBeenSet =
true;
225 m_generativeAISettings = std::forward<GenerativeAISettingsT>(value);
227 template <
typename GenerativeAISettingsT = GenerativeAISettings>
243 m_speechDetectionSensitivityHasBeenSet =
true;
244 m_speechDetectionSensitivity = value;
260 double m_nluIntentConfidenceThreshold{0.0};
262 VoiceSettings m_voiceSettings;
264 UnifiedSpeechSettings m_unifiedSpeechSettings;
266 AudioFillerSettings m_audioFillerSettings;
268 SpeechRecognitionSettings m_speechRecognitionSettings;
270 GenerativeAISettings m_generativeAISettings;
273 bool m_botIdHasBeenSet =
false;
274 bool m_botVersionHasBeenSet =
false;
275 bool m_localeIdHasBeenSet =
false;
276 bool m_descriptionHasBeenSet =
false;
277 bool m_nluIntentConfidenceThresholdHasBeenSet =
false;
278 bool m_voiceSettingsHasBeenSet =
false;
279 bool m_unifiedSpeechSettingsHasBeenSet =
false;
280 bool m_audioFillerSettingsHasBeenSet =
false;
281 bool m_speechRecognitionSettingsHasBeenSet =
false;
282 bool m_generativeAISettingsHasBeenSet =
false;
283 bool m_speechDetectionSensitivityHasBeenSet =
false;
const VoiceSettings & GetVoiceSettings() const
bool NluIntentConfidenceThresholdHasBeenSet() const
CreateBotLocaleRequest & WithSpeechRecognitionSettings(SpeechRecognitionSettingsT &&value)
CreateBotLocaleRequest & WithLocaleId(LocaleIdT &&value)
void SetAudioFillerSettings(AudioFillerSettingsT &&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
CreateBotLocaleRequest & WithAudioFillerSettings(AudioFillerSettingsT &&value)
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)
bool AudioFillerSettingsHasBeenSet() const
void SetSpeechRecognitionSettings(SpeechRecognitionSettingsT &&value)
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
const AudioFillerSettings & GetAudioFillerSettings() const
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