AWS SDK for C++

AWS SDK for C++ Version 1.11.907

Loading...
Searching...
No Matches
DescribeBotLocaleResult.h
1
6#pragma once
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/BotLocaleHistoryEvent.h>
14#include <aws/lexv2-models/model/BotLocaleStatus.h>
15#include <aws/lexv2-models/model/GenerativeAISettings.h>
16#include <aws/lexv2-models/model/SpeakerDiarizationSettings.h>
17#include <aws/lexv2-models/model/SpeechDetectionSensitivity.h>
18#include <aws/lexv2-models/model/SpeechRecognitionSettings.h>
19#include <aws/lexv2-models/model/UnifiedSpeechSettings.h>
20#include <aws/lexv2-models/model/VoiceSettings.h>
21
22#include <utility>
23
24namespace Aws {
25template <typename RESULT_TYPE>
26class AmazonWebServiceResult;
27
28namespace Utils {
29namespace Json {
30class JsonValue;
31} // namespace Json
32} // namespace Utils
33namespace LexModelsV2 {
34namespace Model {
36 public:
37 AWS_LEXMODELSV2_API DescribeBotLocaleResult() = default;
40
42
45 inline const Aws::String& GetBotId() const { return m_botId; }
46 template <typename BotIdT = Aws::String>
47 void SetBotId(BotIdT&& value) {
48 m_botIdHasBeenSet = true;
49 m_botId = std::forward<BotIdT>(value);
50 }
51 template <typename BotIdT = Aws::String>
53 SetBotId(std::forward<BotIdT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
63 template <typename BotVersionT = Aws::String>
64 void SetBotVersion(BotVersionT&& value) {
65 m_botVersionHasBeenSet = true;
66 m_botVersion = std::forward<BotVersionT>(value);
67 }
68 template <typename BotVersionT = Aws::String>
70 SetBotVersion(std::forward<BotVersionT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetLocaleId() const { return m_localeId; }
80 template <typename LocaleIdT = Aws::String>
81 void SetLocaleId(LocaleIdT&& value) {
82 m_localeIdHasBeenSet = true;
83 m_localeId = std::forward<LocaleIdT>(value);
84 }
85 template <typename LocaleIdT = Aws::String>
87 SetLocaleId(std::forward<LocaleIdT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetLocaleName() const { return m_localeName; }
97 template <typename LocaleNameT = Aws::String>
98 void SetLocaleName(LocaleNameT&& value) {
99 m_localeNameHasBeenSet = true;
100 m_localeName = std::forward<LocaleNameT>(value);
101 }
102 template <typename LocaleNameT = Aws::String>
104 SetLocaleName(std::forward<LocaleNameT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::String& GetDescription() const { return m_description; }
114 template <typename DescriptionT = Aws::String>
115 void SetDescription(DescriptionT&& value) {
116 m_descriptionHasBeenSet = true;
117 m_description = std::forward<DescriptionT>(value);
118 }
119 template <typename DescriptionT = Aws::String>
121 SetDescription(std::forward<DescriptionT>(value));
122 return *this;
123 }
125
127
132 inline double GetNluIntentConfidenceThreshold() const { return m_nluIntentConfidenceThreshold; }
133 inline void SetNluIntentConfidenceThreshold(double value) {
134 m_nluIntentConfidenceThresholdHasBeenSet = true;
135 m_nluIntentConfidenceThreshold = value;
136 }
139 return *this;
140 }
142
144
148 inline const VoiceSettings& GetVoiceSettings() const { return m_voiceSettings; }
149 template <typename VoiceSettingsT = VoiceSettings>
150 void SetVoiceSettings(VoiceSettingsT&& value) {
151 m_voiceSettingsHasBeenSet = true;
152 m_voiceSettings = std::forward<VoiceSettingsT>(value);
153 }
154 template <typename VoiceSettingsT = VoiceSettings>
156 SetVoiceSettings(std::forward<VoiceSettingsT>(value));
157 return *this;
158 }
160
162
165 inline const UnifiedSpeechSettings& GetUnifiedSpeechSettings() const { return m_unifiedSpeechSettings; }
166 template <typename UnifiedSpeechSettingsT = UnifiedSpeechSettings>
167 void SetUnifiedSpeechSettings(UnifiedSpeechSettingsT&& value) {
168 m_unifiedSpeechSettingsHasBeenSet = true;
169 m_unifiedSpeechSettings = std::forward<UnifiedSpeechSettingsT>(value);
170 }
171 template <typename UnifiedSpeechSettingsT = UnifiedSpeechSettings>
172 DescribeBotLocaleResult& WithUnifiedSpeechSettings(UnifiedSpeechSettingsT&& value) {
173 SetUnifiedSpeechSettings(std::forward<UnifiedSpeechSettingsT>(value));
174 return *this;
175 }
177
179
182 inline const AudioFillerSettings& GetAudioFillerSettings() const { return m_audioFillerSettings; }
183 template <typename AudioFillerSettingsT = AudioFillerSettings>
184 void SetAudioFillerSettings(AudioFillerSettingsT&& value) {
185 m_audioFillerSettingsHasBeenSet = true;
186 m_audioFillerSettings = std::forward<AudioFillerSettingsT>(value);
187 }
188 template <typename AudioFillerSettingsT = AudioFillerSettings>
189 DescribeBotLocaleResult& WithAudioFillerSettings(AudioFillerSettingsT&& value) {
190 SetAudioFillerSettings(std::forward<AudioFillerSettingsT>(value));
191 return *this;
192 }
194
196
199 inline const SpeechRecognitionSettings& GetSpeechRecognitionSettings() const { return m_speechRecognitionSettings; }
200 template <typename SpeechRecognitionSettingsT = SpeechRecognitionSettings>
201 void SetSpeechRecognitionSettings(SpeechRecognitionSettingsT&& value) {
202 m_speechRecognitionSettingsHasBeenSet = true;
203 m_speechRecognitionSettings = std::forward<SpeechRecognitionSettingsT>(value);
204 }
205 template <typename SpeechRecognitionSettingsT = SpeechRecognitionSettings>
206 DescribeBotLocaleResult& WithSpeechRecognitionSettings(SpeechRecognitionSettingsT&& value) {
207 SetSpeechRecognitionSettings(std::forward<SpeechRecognitionSettingsT>(value));
208 return *this;
209 }
211
213
216 inline int GetIntentsCount() const { return m_intentsCount; }
217 inline void SetIntentsCount(int value) {
218 m_intentsCountHasBeenSet = true;
219 m_intentsCount = value;
220 }
222 SetIntentsCount(value);
223 return *this;
224 }
226
228
231 inline int GetSlotTypesCount() const { return m_slotTypesCount; }
232 inline void SetSlotTypesCount(int value) {
233 m_slotTypesCountHasBeenSet = true;
234 m_slotTypesCount = value;
235 }
237 SetSlotTypesCount(value);
238 return *this;
239 }
241
243
247 inline BotLocaleStatus GetBotLocaleStatus() const { return m_botLocaleStatus; }
249 m_botLocaleStatusHasBeenSet = true;
250 m_botLocaleStatus = value;
251 }
253 SetBotLocaleStatus(value);
254 return *this;
255 }
257
259
263 inline const Aws::Vector<Aws::String>& GetFailureReasons() const { return m_failureReasons; }
264 template <typename FailureReasonsT = Aws::Vector<Aws::String>>
265 void SetFailureReasons(FailureReasonsT&& value) {
266 m_failureReasonsHasBeenSet = true;
267 m_failureReasons = std::forward<FailureReasonsT>(value);
268 }
269 template <typename FailureReasonsT = Aws::Vector<Aws::String>>
270 DescribeBotLocaleResult& WithFailureReasons(FailureReasonsT&& value) {
271 SetFailureReasons(std::forward<FailureReasonsT>(value));
272 return *this;
273 }
274 template <typename FailureReasonsT = Aws::String>
275 DescribeBotLocaleResult& AddFailureReasons(FailureReasonsT&& value) {
276 m_failureReasonsHasBeenSet = true;
277 m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value));
278 return *this;
279 }
281
283
286 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
287 template <typename CreationDateTimeT = Aws::Utils::DateTime>
288 void SetCreationDateTime(CreationDateTimeT&& value) {
289 m_creationDateTimeHasBeenSet = true;
290 m_creationDateTime = std::forward<CreationDateTimeT>(value);
291 }
292 template <typename CreationDateTimeT = Aws::Utils::DateTime>
293 DescribeBotLocaleResult& WithCreationDateTime(CreationDateTimeT&& value) {
294 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
295 return *this;
296 }
298
300
303 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
304 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
305 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
306 m_lastUpdatedDateTimeHasBeenSet = true;
307 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
308 }
309 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
310 DescribeBotLocaleResult& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
311 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
312 return *this;
313 }
315
317
320 inline const Aws::Utils::DateTime& GetLastBuildSubmittedDateTime() const { return m_lastBuildSubmittedDateTime; }
321 template <typename LastBuildSubmittedDateTimeT = Aws::Utils::DateTime>
322 void SetLastBuildSubmittedDateTime(LastBuildSubmittedDateTimeT&& value) {
323 m_lastBuildSubmittedDateTimeHasBeenSet = true;
324 m_lastBuildSubmittedDateTime = std::forward<LastBuildSubmittedDateTimeT>(value);
325 }
326 template <typename LastBuildSubmittedDateTimeT = Aws::Utils::DateTime>
327 DescribeBotLocaleResult& WithLastBuildSubmittedDateTime(LastBuildSubmittedDateTimeT&& value) {
328 SetLastBuildSubmittedDateTime(std::forward<LastBuildSubmittedDateTimeT>(value));
329 return *this;
330 }
332
334
338 inline const Aws::Vector<BotLocaleHistoryEvent>& GetBotLocaleHistoryEvents() const { return m_botLocaleHistoryEvents; }
339 template <typename BotLocaleHistoryEventsT = Aws::Vector<BotLocaleHistoryEvent>>
340 void SetBotLocaleHistoryEvents(BotLocaleHistoryEventsT&& value) {
341 m_botLocaleHistoryEventsHasBeenSet = true;
342 m_botLocaleHistoryEvents = std::forward<BotLocaleHistoryEventsT>(value);
343 }
344 template <typename BotLocaleHistoryEventsT = Aws::Vector<BotLocaleHistoryEvent>>
345 DescribeBotLocaleResult& WithBotLocaleHistoryEvents(BotLocaleHistoryEventsT&& value) {
346 SetBotLocaleHistoryEvents(std::forward<BotLocaleHistoryEventsT>(value));
347 return *this;
348 }
349 template <typename BotLocaleHistoryEventsT = BotLocaleHistoryEvent>
350 DescribeBotLocaleResult& AddBotLocaleHistoryEvents(BotLocaleHistoryEventsT&& value) {
351 m_botLocaleHistoryEventsHasBeenSet = true;
352 m_botLocaleHistoryEvents.emplace_back(std::forward<BotLocaleHistoryEventsT>(value));
353 return *this;
354 }
356
358
362 inline const Aws::Vector<Aws::String>& GetRecommendedActions() const { return m_recommendedActions; }
363 template <typename RecommendedActionsT = Aws::Vector<Aws::String>>
364 void SetRecommendedActions(RecommendedActionsT&& value) {
365 m_recommendedActionsHasBeenSet = true;
366 m_recommendedActions = std::forward<RecommendedActionsT>(value);
367 }
368 template <typename RecommendedActionsT = Aws::Vector<Aws::String>>
369 DescribeBotLocaleResult& WithRecommendedActions(RecommendedActionsT&& value) {
370 SetRecommendedActions(std::forward<RecommendedActionsT>(value));
371 return *this;
372 }
373 template <typename RecommendedActionsT = Aws::String>
374 DescribeBotLocaleResult& AddRecommendedActions(RecommendedActionsT&& value) {
375 m_recommendedActionsHasBeenSet = true;
376 m_recommendedActions.emplace_back(std::forward<RecommendedActionsT>(value));
377 return *this;
378 }
380
382
386 inline const GenerativeAISettings& GetGenerativeAISettings() const { return m_generativeAISettings; }
387 template <typename GenerativeAISettingsT = GenerativeAISettings>
388 void SetGenerativeAISettings(GenerativeAISettingsT&& value) {
389 m_generativeAISettingsHasBeenSet = true;
390 m_generativeAISettings = std::forward<GenerativeAISettingsT>(value);
391 }
392 template <typename GenerativeAISettingsT = GenerativeAISettings>
393 DescribeBotLocaleResult& WithGenerativeAISettings(GenerativeAISettingsT&& value) {
394 SetGenerativeAISettings(std::forward<GenerativeAISettingsT>(value));
395 return *this;
396 }
398
400
404 inline SpeechDetectionSensitivity GetSpeechDetectionSensitivity() const { return m_speechDetectionSensitivity; }
406 m_speechDetectionSensitivityHasBeenSet = true;
407 m_speechDetectionSensitivity = value;
408 }
411 return *this;
412 }
414
416
419 inline const SpeakerDiarizationSettings& GetSpeakerDiarizationSettings() const { return m_speakerDiarizationSettings; }
420 template <typename SpeakerDiarizationSettingsT = SpeakerDiarizationSettings>
421 void SetSpeakerDiarizationSettings(SpeakerDiarizationSettingsT&& value) {
422 m_speakerDiarizationSettingsHasBeenSet = true;
423 m_speakerDiarizationSettings = std::forward<SpeakerDiarizationSettingsT>(value);
424 }
425 template <typename SpeakerDiarizationSettingsT = SpeakerDiarizationSettings>
426 DescribeBotLocaleResult& WithSpeakerDiarizationSettings(SpeakerDiarizationSettingsT&& value) {
427 SetSpeakerDiarizationSettings(std::forward<SpeakerDiarizationSettingsT>(value));
428 return *this;
429 }
431
433
434 inline const Aws::String& GetRequestId() const { return m_requestId; }
435 template <typename RequestIdT = Aws::String>
436 void SetRequestId(RequestIdT&& value) {
437 m_requestIdHasBeenSet = true;
438 m_requestId = std::forward<RequestIdT>(value);
439 }
440 template <typename RequestIdT = Aws::String>
442 SetRequestId(std::forward<RequestIdT>(value));
443 return *this;
444 }
446 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
447
448 private:
449 Aws::String m_botId;
450
451 Aws::String m_botVersion;
452
453 Aws::String m_localeId;
454
455 Aws::String m_localeName;
456
457 Aws::String m_description;
458
459 double m_nluIntentConfidenceThreshold{0.0};
460
461 VoiceSettings m_voiceSettings;
462
463 UnifiedSpeechSettings m_unifiedSpeechSettings;
464
465 AudioFillerSettings m_audioFillerSettings;
466
467 SpeechRecognitionSettings m_speechRecognitionSettings;
468
469 int m_intentsCount{0};
470
471 int m_slotTypesCount{0};
472
473 BotLocaleStatus m_botLocaleStatus{BotLocaleStatus::NOT_SET};
474
475 Aws::Vector<Aws::String> m_failureReasons;
476
477 Aws::Utils::DateTime m_creationDateTime{};
478
479 Aws::Utils::DateTime m_lastUpdatedDateTime{};
480
481 Aws::Utils::DateTime m_lastBuildSubmittedDateTime{};
482
483 Aws::Vector<BotLocaleHistoryEvent> m_botLocaleHistoryEvents;
484
485 Aws::Vector<Aws::String> m_recommendedActions;
486
487 GenerativeAISettings m_generativeAISettings;
488
490
491 SpeakerDiarizationSettings m_speakerDiarizationSettings;
492
493 Aws::String m_requestId;
494 Aws::Http::HttpResponseCode m_HttpResponseCode;
495 bool m_botIdHasBeenSet = false;
496 bool m_botVersionHasBeenSet = false;
497 bool m_localeIdHasBeenSet = false;
498 bool m_localeNameHasBeenSet = false;
499 bool m_descriptionHasBeenSet = false;
500 bool m_nluIntentConfidenceThresholdHasBeenSet = false;
501 bool m_voiceSettingsHasBeenSet = false;
502 bool m_unifiedSpeechSettingsHasBeenSet = false;
503 bool m_audioFillerSettingsHasBeenSet = false;
504 bool m_speechRecognitionSettingsHasBeenSet = false;
505 bool m_intentsCountHasBeenSet = false;
506 bool m_slotTypesCountHasBeenSet = false;
507 bool m_botLocaleStatusHasBeenSet = false;
508 bool m_failureReasonsHasBeenSet = false;
509 bool m_creationDateTimeHasBeenSet = false;
510 bool m_lastUpdatedDateTimeHasBeenSet = false;
511 bool m_lastBuildSubmittedDateTimeHasBeenSet = false;
512 bool m_botLocaleHistoryEventsHasBeenSet = false;
513 bool m_recommendedActionsHasBeenSet = false;
514 bool m_generativeAISettingsHasBeenSet = false;
515 bool m_speechDetectionSensitivityHasBeenSet = false;
516 bool m_speakerDiarizationSettingsHasBeenSet = false;
517 bool m_requestIdHasBeenSet = false;
518};
519
520} // namespace Model
521} // namespace LexModelsV2
522} // namespace Aws
DescribeBotLocaleResult & WithLocaleName(LocaleNameT &&value)
DescribeBotLocaleResult & WithRecommendedActions(RecommendedActionsT &&value)
DescribeBotLocaleResult & WithSlotTypesCount(int value)
DescribeBotLocaleResult & WithSpeechRecognitionSettings(SpeechRecognitionSettingsT &&value)
DescribeBotLocaleResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DescribeBotLocaleResult & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
DescribeBotLocaleResult & WithNluIntentConfidenceThreshold(double value)
const GenerativeAISettings & GetGenerativeAISettings() const
const Aws::Vector< Aws::String > & GetRecommendedActions() const
DescribeBotLocaleResult & WithCreationDateTime(CreationDateTimeT &&value)
SpeechDetectionSensitivity GetSpeechDetectionSensitivity() const
DescribeBotLocaleResult & WithLastBuildSubmittedDateTime(LastBuildSubmittedDateTimeT &&value)
DescribeBotLocaleResult & WithFailureReasons(FailureReasonsT &&value)
void SetSpeechDetectionSensitivity(SpeechDetectionSensitivity value)
DescribeBotLocaleResult & WithVoiceSettings(VoiceSettingsT &&value)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
AWS_LEXMODELSV2_API DescribeBotLocaleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUnifiedSpeechSettings(UnifiedSpeechSettingsT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetGenerativeAISettings(GenerativeAISettingsT &&value)
DescribeBotLocaleResult & WithSpeechDetectionSensitivity(SpeechDetectionSensitivity value)
const SpeakerDiarizationSettings & GetSpeakerDiarizationSettings() const
const Aws::Vector< BotLocaleHistoryEvent > & GetBotLocaleHistoryEvents() const
const UnifiedSpeechSettings & GetUnifiedSpeechSettings() const
DescribeBotLocaleResult & WithBotLocaleStatus(BotLocaleStatus value)
DescribeBotLocaleResult & WithGenerativeAISettings(GenerativeAISettingsT &&value)
const Aws::Utils::DateTime & GetLastBuildSubmittedDateTime() const
const SpeechRecognitionSettings & GetSpeechRecognitionSettings() const
DescribeBotLocaleResult & WithAudioFillerSettings(AudioFillerSettingsT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
const AudioFillerSettings & GetAudioFillerSettings() const
void SetSpeakerDiarizationSettings(SpeakerDiarizationSettingsT &&value)
DescribeBotLocaleResult & WithLocaleId(LocaleIdT &&value)
void SetBotLocaleHistoryEvents(BotLocaleHistoryEventsT &&value)
void SetLastBuildSubmittedDateTime(LastBuildSubmittedDateTimeT &&value)
AWS_LEXMODELSV2_API DescribeBotLocaleResult()=default
AWS_LEXMODELSV2_API DescribeBotLocaleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeBotLocaleResult & WithDescription(DescriptionT &&value)
DescribeBotLocaleResult & AddRecommendedActions(RecommendedActionsT &&value)
const Aws::Vector< Aws::String > & GetFailureReasons() const
DescribeBotLocaleResult & WithBotId(BotIdT &&value)
DescribeBotLocaleResult & WithBotVersion(BotVersionT &&value)
DescribeBotLocaleResult & AddFailureReasons(FailureReasonsT &&value)
void SetSpeechRecognitionSettings(SpeechRecognitionSettingsT &&value)
DescribeBotLocaleResult & WithSpeakerDiarizationSettings(SpeakerDiarizationSettingsT &&value)
DescribeBotLocaleResult & WithBotLocaleHistoryEvents(BotLocaleHistoryEventsT &&value)
void SetAudioFillerSettings(AudioFillerSettingsT &&value)
DescribeBotLocaleResult & WithIntentsCount(int value)
DescribeBotLocaleResult & AddBotLocaleHistoryEvents(BotLocaleHistoryEventsT &&value)
DescribeBotLocaleResult & WithUnifiedSpeechSettings(UnifiedSpeechSettingsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue