7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
12#include <aws/lexv2-models/model/AudioFillerSettings.h>
13#include <aws/lexv2-models/model/BotLocaleStatus.h>
14#include <aws/lexv2-models/model/GenerativeAISettings.h>
15#include <aws/lexv2-models/model/SpeakerDiarizationSettings.h>
16#include <aws/lexv2-models/model/SpeechDetectionSensitivity.h>
17#include <aws/lexv2-models/model/SpeechRecognitionSettings.h>
18#include <aws/lexv2-models/model/UnifiedSpeechSettings.h>
19#include <aws/lexv2-models/model/VoiceSettings.h>
24template <
typename RESULT_TYPE>
25class AmazonWebServiceResult;
32namespace LexModelsV2 {
45 template <
typename BotIdT = Aws::String>
47 m_botIdHasBeenSet =
true;
48 m_botId = std::forward<BotIdT>(value);
50 template <
typename BotIdT = Aws::String>
52 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>
79 template <
typename LocaleIdT = Aws::String>
81 m_localeIdHasBeenSet =
true;
82 m_localeId = std::forward<LocaleIdT>(value);
84 template <
typename LocaleIdT = Aws::String>
96 template <
typename LocaleNameT = Aws::String>
98 m_localeNameHasBeenSet =
true;
99 m_localeName = std::forward<LocaleNameT>(value);
101 template <
typename LocaleNameT = Aws::String>
113 template <
typename DescriptionT = Aws::String>
115 m_descriptionHasBeenSet =
true;
116 m_description = std::forward<DescriptionT>(value);
118 template <
typename DescriptionT = Aws::String>
133 m_nluIntentConfidenceThresholdHasBeenSet =
true;
134 m_nluIntentConfidenceThreshold = value;
148 template <
typename VoiceSettingsT = VoiceSettings>
150 m_voiceSettingsHasBeenSet =
true;
151 m_voiceSettings = std::forward<VoiceSettingsT>(value);
153 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>
182 template <
typename AudioFillerSettingsT = AudioFillerSettings>
184 m_audioFillerSettingsHasBeenSet =
true;
185 m_audioFillerSettings = std::forward<AudioFillerSettingsT>(value);
187 template <
typename AudioFillerSettingsT = AudioFillerSettings>
199 template <
typename SpeechRecognitionSettingsT = SpeechRecognitionSettings>
201 m_speechRecognitionSettingsHasBeenSet =
true;
202 m_speechRecognitionSettings = std::forward<SpeechRecognitionSettingsT>(value);
204 template <
typename SpeechRecognitionSettingsT = SpeechRecognitionSettings>
218 m_botLocaleStatusHasBeenSet =
true;
219 m_botLocaleStatus = value;
234 template <
typename FailureReasonsT = Aws::Vector<Aws::String>>
236 m_failureReasonsHasBeenSet =
true;
237 m_failureReasons = std::forward<FailureReasonsT>(value);
239 template <
typename FailureReasonsT = Aws::Vector<Aws::String>>
244 template <
typename FailureReasonsT = Aws::String>
246 m_failureReasonsHasBeenSet =
true;
247 m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value));
257 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
259 m_creationDateTimeHasBeenSet =
true;
260 m_creationDateTime = std::forward<CreationDateTimeT>(value);
262 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
274 template <
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
276 m_lastUpdatedDateTimeHasBeenSet =
true;
277 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
279 template <
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
292 template <
typename RecommendedActionsT = Aws::Vector<Aws::String>>
294 m_recommendedActionsHasBeenSet =
true;
295 m_recommendedActions = std::forward<RecommendedActionsT>(value);
297 template <
typename RecommendedActionsT = Aws::Vector<Aws::String>>
302 template <
typename RecommendedActionsT = Aws::String>
304 m_recommendedActionsHasBeenSet =
true;
305 m_recommendedActions.emplace_back(std::forward<RecommendedActionsT>(value));
316 template <
typename GenerativeAISettingsT = GenerativeAISettings>
318 m_generativeAISettingsHasBeenSet =
true;
319 m_generativeAISettings = std::forward<GenerativeAISettingsT>(value);
321 template <
typename GenerativeAISettingsT = GenerativeAISettings>
335 m_speechDetectionSensitivityHasBeenSet =
true;
336 m_speechDetectionSensitivity = value;
349 template <
typename SpeakerDiarizationSettingsT = SpeakerDiarizationSettings>
351 m_speakerDiarizationSettingsHasBeenSet =
true;
352 m_speakerDiarizationSettings = std::forward<SpeakerDiarizationSettingsT>(value);
354 template <
typename SpeakerDiarizationSettingsT = SpeakerDiarizationSettings>
364 template <
typename RequestIdT = Aws::String>
366 m_requestIdHasBeenSet =
true;
367 m_requestId = std::forward<RequestIdT>(value);
369 template <
typename RequestIdT = Aws::String>
388 double m_nluIntentConfidenceThreshold{0.0};
390 VoiceSettings m_voiceSettings;
392 UnifiedSpeechSettings m_unifiedSpeechSettings;
394 AudioFillerSettings m_audioFillerSettings;
396 SpeechRecognitionSettings m_speechRecognitionSettings;
408 GenerativeAISettings m_generativeAISettings;
412 SpeakerDiarizationSettings m_speakerDiarizationSettings;
416 bool m_botIdHasBeenSet =
false;
417 bool m_botVersionHasBeenSet =
false;
418 bool m_localeIdHasBeenSet =
false;
419 bool m_localeNameHasBeenSet =
false;
420 bool m_descriptionHasBeenSet =
false;
421 bool m_nluIntentConfidenceThresholdHasBeenSet =
false;
422 bool m_voiceSettingsHasBeenSet =
false;
423 bool m_unifiedSpeechSettingsHasBeenSet =
false;
424 bool m_audioFillerSettingsHasBeenSet =
false;
425 bool m_speechRecognitionSettingsHasBeenSet =
false;
426 bool m_botLocaleStatusHasBeenSet =
false;
427 bool m_failureReasonsHasBeenSet =
false;
428 bool m_creationDateTimeHasBeenSet =
false;
429 bool m_lastUpdatedDateTimeHasBeenSet =
false;
430 bool m_recommendedActionsHasBeenSet =
false;
431 bool m_generativeAISettingsHasBeenSet =
false;
432 bool m_speechDetectionSensitivityHasBeenSet =
false;
433 bool m_speakerDiarizationSettingsHasBeenSet =
false;
434 bool m_requestIdHasBeenSet =
false;
UpdateBotLocaleResult & WithCreationDateTime(CreationDateTimeT &&value)
void SetSpeechDetectionSensitivity(SpeechDetectionSensitivity value)
UpdateBotLocaleResult & AddFailureReasons(FailureReasonsT &&value)
UpdateBotLocaleResult & WithLocaleName(LocaleNameT &&value)
const Aws::String & GetLocaleId() const
UpdateBotLocaleResult & WithSpeechDetectionSensitivity(SpeechDetectionSensitivity value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
void SetSpeechRecognitionSettings(SpeechRecognitionSettingsT &&value)
const Aws::String & GetBotId() const
const Aws::Vector< Aws::String > & GetFailureReasons() const
UpdateBotLocaleResult & WithSpeechRecognitionSettings(SpeechRecognitionSettingsT &&value)
void SetNluIntentConfidenceThreshold(double value)
const GenerativeAISettings & GetGenerativeAISettings() const
UpdateBotLocaleResult & WithBotVersion(BotVersionT &&value)
void SetBotLocaleStatus(BotLocaleStatus value)
void SetRecommendedActions(RecommendedActionsT &&value)
UpdateBotLocaleResult & WithFailureReasons(FailureReasonsT &&value)
const UnifiedSpeechSettings & GetUnifiedSpeechSettings() const
UpdateBotLocaleResult & WithUnifiedSpeechSettings(UnifiedSpeechSettingsT &&value)
UpdateBotLocaleResult & WithRecommendedActions(RecommendedActionsT &&value)
void SetAudioFillerSettings(AudioFillerSettingsT &&value)
AWS_LEXMODELSV2_API UpdateBotLocaleResult()=default
void SetFailureReasons(FailureReasonsT &&value)
void SetRequestId(RequestIdT &&value)
UpdateBotLocaleResult & WithBotId(BotIdT &&value)
void SetLocaleId(LocaleIdT &&value)
const AudioFillerSettings & GetAudioFillerSettings() const
double GetNluIntentConfidenceThreshold() const
const Aws::String & GetBotVersion() const
const Aws::String & GetDescription() const
void SetSpeakerDiarizationSettings(SpeakerDiarizationSettingsT &&value)
SpeechDetectionSensitivity GetSpeechDetectionSensitivity() const
UpdateBotLocaleResult & WithRequestId(RequestIdT &&value)
void SetLocaleName(LocaleNameT &&value)
UpdateBotLocaleResult & WithSpeakerDiarizationSettings(SpeakerDiarizationSettingsT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
UpdateBotLocaleResult & WithVoiceSettings(VoiceSettingsT &&value)
UpdateBotLocaleResult & WithGenerativeAISettings(GenerativeAISettingsT &&value)
UpdateBotLocaleResult & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
const SpeechRecognitionSettings & GetSpeechRecognitionSettings() const
const Aws::String & GetLocaleName() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetDescription(DescriptionT &&value)
AWS_LEXMODELSV2_API UpdateBotLocaleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateBotLocaleResult & AddRecommendedActions(RecommendedActionsT &&value)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
BotLocaleStatus GetBotLocaleStatus() const
const Aws::String & GetRequestId() const
AWS_LEXMODELSV2_API UpdateBotLocaleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUnifiedSpeechSettings(UnifiedSpeechSettingsT &&value)
void SetVoiceSettings(VoiceSettingsT &&value)
const VoiceSettings & GetVoiceSettings() const
UpdateBotLocaleResult & WithBotLocaleStatus(BotLocaleStatus value)
const SpeakerDiarizationSettings & GetSpeakerDiarizationSettings() const
UpdateBotLocaleResult & WithAudioFillerSettings(AudioFillerSettingsT &&value)
UpdateBotLocaleResult & WithDescription(DescriptionT &&value)
UpdateBotLocaleResult & WithNluIntentConfidenceThreshold(double value)
UpdateBotLocaleResult & WithLocaleId(LocaleIdT &&value)
void SetBotId(BotIdT &&value)
void SetGenerativeAISettings(GenerativeAISettingsT &&value)
void SetBotVersion(BotVersionT &&value)
const Aws::Vector< Aws::String > & GetRecommendedActions() const
SpeechDetectionSensitivity
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue