AWS SDK for C++

AWS SDK for C++ Version 1.11.827

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/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>
20
21#include <utility>
22
23namespace Aws {
24template <typename RESULT_TYPE>
25class AmazonWebServiceResult;
26
27namespace Utils {
28namespace Json {
29class JsonValue;
30} // namespace Json
31} // namespace Utils
32namespace LexModelsV2 {
33namespace Model {
35 public:
36 AWS_LEXMODELSV2_API DescribeBotLocaleResult() = default;
39
41
44 inline const Aws::String& GetBotId() const { return m_botId; }
45 template <typename BotIdT = Aws::String>
46 void SetBotId(BotIdT&& value) {
47 m_botIdHasBeenSet = true;
48 m_botId = std::forward<BotIdT>(value);
49 }
50 template <typename BotIdT = Aws::String>
52 SetBotId(std::forward<BotIdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
62 template <typename BotVersionT = Aws::String>
63 void SetBotVersion(BotVersionT&& value) {
64 m_botVersionHasBeenSet = true;
65 m_botVersion = std::forward<BotVersionT>(value);
66 }
67 template <typename BotVersionT = Aws::String>
69 SetBotVersion(std::forward<BotVersionT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetLocaleId() const { return m_localeId; }
79 template <typename LocaleIdT = Aws::String>
80 void SetLocaleId(LocaleIdT&& value) {
81 m_localeIdHasBeenSet = true;
82 m_localeId = std::forward<LocaleIdT>(value);
83 }
84 template <typename LocaleIdT = Aws::String>
86 SetLocaleId(std::forward<LocaleIdT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetLocaleName() const { return m_localeName; }
96 template <typename LocaleNameT = Aws::String>
97 void SetLocaleName(LocaleNameT&& value) {
98 m_localeNameHasBeenSet = true;
99 m_localeName = std::forward<LocaleNameT>(value);
100 }
101 template <typename LocaleNameT = Aws::String>
103 SetLocaleName(std::forward<LocaleNameT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetDescription() const { return m_description; }
113 template <typename DescriptionT = Aws::String>
114 void SetDescription(DescriptionT&& value) {
115 m_descriptionHasBeenSet = true;
116 m_description = std::forward<DescriptionT>(value);
117 }
118 template <typename DescriptionT = Aws::String>
120 SetDescription(std::forward<DescriptionT>(value));
121 return *this;
122 }
124
126
131 inline double GetNluIntentConfidenceThreshold() const { return m_nluIntentConfidenceThreshold; }
132 inline void SetNluIntentConfidenceThreshold(double value) {
133 m_nluIntentConfidenceThresholdHasBeenSet = true;
134 m_nluIntentConfidenceThreshold = value;
135 }
138 return *this;
139 }
141
143
147 inline const VoiceSettings& GetVoiceSettings() const { return m_voiceSettings; }
148 template <typename VoiceSettingsT = VoiceSettings>
149 void SetVoiceSettings(VoiceSettingsT&& value) {
150 m_voiceSettingsHasBeenSet = true;
151 m_voiceSettings = std::forward<VoiceSettingsT>(value);
152 }
153 template <typename VoiceSettingsT = VoiceSettings>
155 SetVoiceSettings(std::forward<VoiceSettingsT>(value));
156 return *this;
157 }
159
161
164 inline const UnifiedSpeechSettings& GetUnifiedSpeechSettings() const { return m_unifiedSpeechSettings; }
165 template <typename UnifiedSpeechSettingsT = UnifiedSpeechSettings>
166 void SetUnifiedSpeechSettings(UnifiedSpeechSettingsT&& value) {
167 m_unifiedSpeechSettingsHasBeenSet = true;
168 m_unifiedSpeechSettings = std::forward<UnifiedSpeechSettingsT>(value);
169 }
170 template <typename UnifiedSpeechSettingsT = UnifiedSpeechSettings>
171 DescribeBotLocaleResult& WithUnifiedSpeechSettings(UnifiedSpeechSettingsT&& value) {
172 SetUnifiedSpeechSettings(std::forward<UnifiedSpeechSettingsT>(value));
173 return *this;
174 }
176
178
181 inline const AudioFillerSettings& GetAudioFillerSettings() const { return m_audioFillerSettings; }
182 template <typename AudioFillerSettingsT = AudioFillerSettings>
183 void SetAudioFillerSettings(AudioFillerSettingsT&& value) {
184 m_audioFillerSettingsHasBeenSet = true;
185 m_audioFillerSettings = std::forward<AudioFillerSettingsT>(value);
186 }
187 template <typename AudioFillerSettingsT = AudioFillerSettings>
188 DescribeBotLocaleResult& WithAudioFillerSettings(AudioFillerSettingsT&& value) {
189 SetAudioFillerSettings(std::forward<AudioFillerSettingsT>(value));
190 return *this;
191 }
193
195
198 inline const SpeechRecognitionSettings& GetSpeechRecognitionSettings() const { return m_speechRecognitionSettings; }
199 template <typename SpeechRecognitionSettingsT = SpeechRecognitionSettings>
200 void SetSpeechRecognitionSettings(SpeechRecognitionSettingsT&& value) {
201 m_speechRecognitionSettingsHasBeenSet = true;
202 m_speechRecognitionSettings = std::forward<SpeechRecognitionSettingsT>(value);
203 }
204 template <typename SpeechRecognitionSettingsT = SpeechRecognitionSettings>
205 DescribeBotLocaleResult& WithSpeechRecognitionSettings(SpeechRecognitionSettingsT&& value) {
206 SetSpeechRecognitionSettings(std::forward<SpeechRecognitionSettingsT>(value));
207 return *this;
208 }
210
212
215 inline int GetIntentsCount() const { return m_intentsCount; }
216 inline void SetIntentsCount(int value) {
217 m_intentsCountHasBeenSet = true;
218 m_intentsCount = value;
219 }
221 SetIntentsCount(value);
222 return *this;
223 }
225
227
230 inline int GetSlotTypesCount() const { return m_slotTypesCount; }
231 inline void SetSlotTypesCount(int value) {
232 m_slotTypesCountHasBeenSet = true;
233 m_slotTypesCount = value;
234 }
236 SetSlotTypesCount(value);
237 return *this;
238 }
240
242
246 inline BotLocaleStatus GetBotLocaleStatus() const { return m_botLocaleStatus; }
248 m_botLocaleStatusHasBeenSet = true;
249 m_botLocaleStatus = value;
250 }
252 SetBotLocaleStatus(value);
253 return *this;
254 }
256
258
262 inline const Aws::Vector<Aws::String>& GetFailureReasons() const { return m_failureReasons; }
263 template <typename FailureReasonsT = Aws::Vector<Aws::String>>
264 void SetFailureReasons(FailureReasonsT&& value) {
265 m_failureReasonsHasBeenSet = true;
266 m_failureReasons = std::forward<FailureReasonsT>(value);
267 }
268 template <typename FailureReasonsT = Aws::Vector<Aws::String>>
269 DescribeBotLocaleResult& WithFailureReasons(FailureReasonsT&& value) {
270 SetFailureReasons(std::forward<FailureReasonsT>(value));
271 return *this;
272 }
273 template <typename FailureReasonsT = Aws::String>
274 DescribeBotLocaleResult& AddFailureReasons(FailureReasonsT&& value) {
275 m_failureReasonsHasBeenSet = true;
276 m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value));
277 return *this;
278 }
280
282
285 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
286 template <typename CreationDateTimeT = Aws::Utils::DateTime>
287 void SetCreationDateTime(CreationDateTimeT&& value) {
288 m_creationDateTimeHasBeenSet = true;
289 m_creationDateTime = std::forward<CreationDateTimeT>(value);
290 }
291 template <typename CreationDateTimeT = Aws::Utils::DateTime>
292 DescribeBotLocaleResult& WithCreationDateTime(CreationDateTimeT&& value) {
293 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
294 return *this;
295 }
297
299
302 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
303 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
304 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
305 m_lastUpdatedDateTimeHasBeenSet = true;
306 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
307 }
308 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
309 DescribeBotLocaleResult& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
310 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
311 return *this;
312 }
314
316
319 inline const Aws::Utils::DateTime& GetLastBuildSubmittedDateTime() const { return m_lastBuildSubmittedDateTime; }
320 template <typename LastBuildSubmittedDateTimeT = Aws::Utils::DateTime>
321 void SetLastBuildSubmittedDateTime(LastBuildSubmittedDateTimeT&& value) {
322 m_lastBuildSubmittedDateTimeHasBeenSet = true;
323 m_lastBuildSubmittedDateTime = std::forward<LastBuildSubmittedDateTimeT>(value);
324 }
325 template <typename LastBuildSubmittedDateTimeT = Aws::Utils::DateTime>
326 DescribeBotLocaleResult& WithLastBuildSubmittedDateTime(LastBuildSubmittedDateTimeT&& value) {
327 SetLastBuildSubmittedDateTime(std::forward<LastBuildSubmittedDateTimeT>(value));
328 return *this;
329 }
331
333
337 inline const Aws::Vector<BotLocaleHistoryEvent>& GetBotLocaleHistoryEvents() const { return m_botLocaleHistoryEvents; }
338 template <typename BotLocaleHistoryEventsT = Aws::Vector<BotLocaleHistoryEvent>>
339 void SetBotLocaleHistoryEvents(BotLocaleHistoryEventsT&& value) {
340 m_botLocaleHistoryEventsHasBeenSet = true;
341 m_botLocaleHistoryEvents = std::forward<BotLocaleHistoryEventsT>(value);
342 }
343 template <typename BotLocaleHistoryEventsT = Aws::Vector<BotLocaleHistoryEvent>>
344 DescribeBotLocaleResult& WithBotLocaleHistoryEvents(BotLocaleHistoryEventsT&& value) {
345 SetBotLocaleHistoryEvents(std::forward<BotLocaleHistoryEventsT>(value));
346 return *this;
347 }
348 template <typename BotLocaleHistoryEventsT = BotLocaleHistoryEvent>
349 DescribeBotLocaleResult& AddBotLocaleHistoryEvents(BotLocaleHistoryEventsT&& value) {
350 m_botLocaleHistoryEventsHasBeenSet = true;
351 m_botLocaleHistoryEvents.emplace_back(std::forward<BotLocaleHistoryEventsT>(value));
352 return *this;
353 }
355
357
361 inline const Aws::Vector<Aws::String>& GetRecommendedActions() const { return m_recommendedActions; }
362 template <typename RecommendedActionsT = Aws::Vector<Aws::String>>
363 void SetRecommendedActions(RecommendedActionsT&& value) {
364 m_recommendedActionsHasBeenSet = true;
365 m_recommendedActions = std::forward<RecommendedActionsT>(value);
366 }
367 template <typename RecommendedActionsT = Aws::Vector<Aws::String>>
368 DescribeBotLocaleResult& WithRecommendedActions(RecommendedActionsT&& value) {
369 SetRecommendedActions(std::forward<RecommendedActionsT>(value));
370 return *this;
371 }
372 template <typename RecommendedActionsT = Aws::String>
373 DescribeBotLocaleResult& AddRecommendedActions(RecommendedActionsT&& value) {
374 m_recommendedActionsHasBeenSet = true;
375 m_recommendedActions.emplace_back(std::forward<RecommendedActionsT>(value));
376 return *this;
377 }
379
381
385 inline const GenerativeAISettings& GetGenerativeAISettings() const { return m_generativeAISettings; }
386 template <typename GenerativeAISettingsT = GenerativeAISettings>
387 void SetGenerativeAISettings(GenerativeAISettingsT&& value) {
388 m_generativeAISettingsHasBeenSet = true;
389 m_generativeAISettings = std::forward<GenerativeAISettingsT>(value);
390 }
391 template <typename GenerativeAISettingsT = GenerativeAISettings>
392 DescribeBotLocaleResult& WithGenerativeAISettings(GenerativeAISettingsT&& value) {
393 SetGenerativeAISettings(std::forward<GenerativeAISettingsT>(value));
394 return *this;
395 }
397
399
403 inline SpeechDetectionSensitivity GetSpeechDetectionSensitivity() const { return m_speechDetectionSensitivity; }
405 m_speechDetectionSensitivityHasBeenSet = true;
406 m_speechDetectionSensitivity = value;
407 }
410 return *this;
411 }
413
415
416 inline const Aws::String& GetRequestId() const { return m_requestId; }
417 template <typename RequestIdT = Aws::String>
418 void SetRequestId(RequestIdT&& value) {
419 m_requestIdHasBeenSet = true;
420 m_requestId = std::forward<RequestIdT>(value);
421 }
422 template <typename RequestIdT = Aws::String>
424 SetRequestId(std::forward<RequestIdT>(value));
425 return *this;
426 }
428 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
429
430 private:
431 Aws::String m_botId;
432
433 Aws::String m_botVersion;
434
435 Aws::String m_localeId;
436
437 Aws::String m_localeName;
438
439 Aws::String m_description;
440
441 double m_nluIntentConfidenceThreshold{0.0};
442
443 VoiceSettings m_voiceSettings;
444
445 UnifiedSpeechSettings m_unifiedSpeechSettings;
446
447 AudioFillerSettings m_audioFillerSettings;
448
449 SpeechRecognitionSettings m_speechRecognitionSettings;
450
451 int m_intentsCount{0};
452
453 int m_slotTypesCount{0};
454
455 BotLocaleStatus m_botLocaleStatus{BotLocaleStatus::NOT_SET};
456
457 Aws::Vector<Aws::String> m_failureReasons;
458
459 Aws::Utils::DateTime m_creationDateTime{};
460
461 Aws::Utils::DateTime m_lastUpdatedDateTime{};
462
463 Aws::Utils::DateTime m_lastBuildSubmittedDateTime{};
464
465 Aws::Vector<BotLocaleHistoryEvent> m_botLocaleHistoryEvents;
466
467 Aws::Vector<Aws::String> m_recommendedActions;
468
469 GenerativeAISettings m_generativeAISettings;
470
472
473 Aws::String m_requestId;
474 Aws::Http::HttpResponseCode m_HttpResponseCode;
475 bool m_botIdHasBeenSet = false;
476 bool m_botVersionHasBeenSet = false;
477 bool m_localeIdHasBeenSet = false;
478 bool m_localeNameHasBeenSet = false;
479 bool m_descriptionHasBeenSet = false;
480 bool m_nluIntentConfidenceThresholdHasBeenSet = false;
481 bool m_voiceSettingsHasBeenSet = false;
482 bool m_unifiedSpeechSettingsHasBeenSet = false;
483 bool m_audioFillerSettingsHasBeenSet = false;
484 bool m_speechRecognitionSettingsHasBeenSet = false;
485 bool m_intentsCountHasBeenSet = false;
486 bool m_slotTypesCountHasBeenSet = false;
487 bool m_botLocaleStatusHasBeenSet = false;
488 bool m_failureReasonsHasBeenSet = false;
489 bool m_creationDateTimeHasBeenSet = false;
490 bool m_lastUpdatedDateTimeHasBeenSet = false;
491 bool m_lastBuildSubmittedDateTimeHasBeenSet = false;
492 bool m_botLocaleHistoryEventsHasBeenSet = false;
493 bool m_recommendedActionsHasBeenSet = false;
494 bool m_generativeAISettingsHasBeenSet = false;
495 bool m_speechDetectionSensitivityHasBeenSet = false;
496 bool m_requestIdHasBeenSet = false;
497};
498
499} // namespace Model
500} // namespace LexModelsV2
501} // 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 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
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 & 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