AWS SDK for C++

AWS SDK for C++ Version 1.11.761

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/BotLocaleHistoryEvent.h>
13#include <aws/lexv2-models/model/BotLocaleStatus.h>
14#include <aws/lexv2-models/model/GenerativeAISettings.h>
15#include <aws/lexv2-models/model/SpeechDetectionSensitivity.h>
16#include <aws/lexv2-models/model/SpeechRecognitionSettings.h>
17#include <aws/lexv2-models/model/UnifiedSpeechSettings.h>
18#include <aws/lexv2-models/model/VoiceSettings.h>
19
20#include <utility>
21
22namespace Aws {
23template <typename RESULT_TYPE>
24class AmazonWebServiceResult;
25
26namespace Utils {
27namespace Json {
28class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace LexModelsV2 {
32namespace Model {
34 public:
35 AWS_LEXMODELSV2_API DescribeBotLocaleResult() = default;
38
40
43 inline const Aws::String& GetBotId() const { return m_botId; }
44 template <typename BotIdT = Aws::String>
45 void SetBotId(BotIdT&& value) {
46 m_botIdHasBeenSet = true;
47 m_botId = std::forward<BotIdT>(value);
48 }
49 template <typename BotIdT = Aws::String>
51 SetBotId(std::forward<BotIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
61 template <typename BotVersionT = Aws::String>
62 void SetBotVersion(BotVersionT&& value) {
63 m_botVersionHasBeenSet = true;
64 m_botVersion = std::forward<BotVersionT>(value);
65 }
66 template <typename BotVersionT = Aws::String>
68 SetBotVersion(std::forward<BotVersionT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetLocaleId() const { return m_localeId; }
78 template <typename LocaleIdT = Aws::String>
79 void SetLocaleId(LocaleIdT&& value) {
80 m_localeIdHasBeenSet = true;
81 m_localeId = std::forward<LocaleIdT>(value);
82 }
83 template <typename LocaleIdT = Aws::String>
85 SetLocaleId(std::forward<LocaleIdT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetLocaleName() const { return m_localeName; }
95 template <typename LocaleNameT = Aws::String>
96 void SetLocaleName(LocaleNameT&& value) {
97 m_localeNameHasBeenSet = true;
98 m_localeName = std::forward<LocaleNameT>(value);
99 }
100 template <typename LocaleNameT = Aws::String>
102 SetLocaleName(std::forward<LocaleNameT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetDescription() const { return m_description; }
112 template <typename DescriptionT = Aws::String>
113 void SetDescription(DescriptionT&& value) {
114 m_descriptionHasBeenSet = true;
115 m_description = std::forward<DescriptionT>(value);
116 }
117 template <typename DescriptionT = Aws::String>
119 SetDescription(std::forward<DescriptionT>(value));
120 return *this;
121 }
123
125
130 inline double GetNluIntentConfidenceThreshold() const { return m_nluIntentConfidenceThreshold; }
131 inline void SetNluIntentConfidenceThreshold(double value) {
132 m_nluIntentConfidenceThresholdHasBeenSet = true;
133 m_nluIntentConfidenceThreshold = value;
134 }
137 return *this;
138 }
140
142
146 inline const VoiceSettings& GetVoiceSettings() const { return m_voiceSettings; }
147 template <typename VoiceSettingsT = VoiceSettings>
148 void SetVoiceSettings(VoiceSettingsT&& value) {
149 m_voiceSettingsHasBeenSet = true;
150 m_voiceSettings = std::forward<VoiceSettingsT>(value);
151 }
152 template <typename VoiceSettingsT = VoiceSettings>
154 SetVoiceSettings(std::forward<VoiceSettingsT>(value));
155 return *this;
156 }
158
160
163 inline const UnifiedSpeechSettings& GetUnifiedSpeechSettings() const { return m_unifiedSpeechSettings; }
164 template <typename UnifiedSpeechSettingsT = UnifiedSpeechSettings>
165 void SetUnifiedSpeechSettings(UnifiedSpeechSettingsT&& value) {
166 m_unifiedSpeechSettingsHasBeenSet = true;
167 m_unifiedSpeechSettings = std::forward<UnifiedSpeechSettingsT>(value);
168 }
169 template <typename UnifiedSpeechSettingsT = UnifiedSpeechSettings>
170 DescribeBotLocaleResult& WithUnifiedSpeechSettings(UnifiedSpeechSettingsT&& value) {
171 SetUnifiedSpeechSettings(std::forward<UnifiedSpeechSettingsT>(value));
172 return *this;
173 }
175
177
180 inline const SpeechRecognitionSettings& GetSpeechRecognitionSettings() const { return m_speechRecognitionSettings; }
181 template <typename SpeechRecognitionSettingsT = SpeechRecognitionSettings>
182 void SetSpeechRecognitionSettings(SpeechRecognitionSettingsT&& value) {
183 m_speechRecognitionSettingsHasBeenSet = true;
184 m_speechRecognitionSettings = std::forward<SpeechRecognitionSettingsT>(value);
185 }
186 template <typename SpeechRecognitionSettingsT = SpeechRecognitionSettings>
187 DescribeBotLocaleResult& WithSpeechRecognitionSettings(SpeechRecognitionSettingsT&& value) {
188 SetSpeechRecognitionSettings(std::forward<SpeechRecognitionSettingsT>(value));
189 return *this;
190 }
192
194
197 inline int GetIntentsCount() const { return m_intentsCount; }
198 inline void SetIntentsCount(int value) {
199 m_intentsCountHasBeenSet = true;
200 m_intentsCount = value;
201 }
203 SetIntentsCount(value);
204 return *this;
205 }
207
209
212 inline int GetSlotTypesCount() const { return m_slotTypesCount; }
213 inline void SetSlotTypesCount(int value) {
214 m_slotTypesCountHasBeenSet = true;
215 m_slotTypesCount = value;
216 }
218 SetSlotTypesCount(value);
219 return *this;
220 }
222
224
228 inline BotLocaleStatus GetBotLocaleStatus() const { return m_botLocaleStatus; }
230 m_botLocaleStatusHasBeenSet = true;
231 m_botLocaleStatus = value;
232 }
234 SetBotLocaleStatus(value);
235 return *this;
236 }
238
240
244 inline const Aws::Vector<Aws::String>& GetFailureReasons() const { return m_failureReasons; }
245 template <typename FailureReasonsT = Aws::Vector<Aws::String>>
246 void SetFailureReasons(FailureReasonsT&& value) {
247 m_failureReasonsHasBeenSet = true;
248 m_failureReasons = std::forward<FailureReasonsT>(value);
249 }
250 template <typename FailureReasonsT = Aws::Vector<Aws::String>>
251 DescribeBotLocaleResult& WithFailureReasons(FailureReasonsT&& value) {
252 SetFailureReasons(std::forward<FailureReasonsT>(value));
253 return *this;
254 }
255 template <typename FailureReasonsT = Aws::String>
256 DescribeBotLocaleResult& AddFailureReasons(FailureReasonsT&& value) {
257 m_failureReasonsHasBeenSet = true;
258 m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value));
259 return *this;
260 }
262
264
267 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
268 template <typename CreationDateTimeT = Aws::Utils::DateTime>
269 void SetCreationDateTime(CreationDateTimeT&& value) {
270 m_creationDateTimeHasBeenSet = true;
271 m_creationDateTime = std::forward<CreationDateTimeT>(value);
272 }
273 template <typename CreationDateTimeT = Aws::Utils::DateTime>
274 DescribeBotLocaleResult& WithCreationDateTime(CreationDateTimeT&& value) {
275 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
276 return *this;
277 }
279
281
284 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
285 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
286 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
287 m_lastUpdatedDateTimeHasBeenSet = true;
288 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
289 }
290 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
291 DescribeBotLocaleResult& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
292 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
293 return *this;
294 }
296
298
301 inline const Aws::Utils::DateTime& GetLastBuildSubmittedDateTime() const { return m_lastBuildSubmittedDateTime; }
302 template <typename LastBuildSubmittedDateTimeT = Aws::Utils::DateTime>
303 void SetLastBuildSubmittedDateTime(LastBuildSubmittedDateTimeT&& value) {
304 m_lastBuildSubmittedDateTimeHasBeenSet = true;
305 m_lastBuildSubmittedDateTime = std::forward<LastBuildSubmittedDateTimeT>(value);
306 }
307 template <typename LastBuildSubmittedDateTimeT = Aws::Utils::DateTime>
308 DescribeBotLocaleResult& WithLastBuildSubmittedDateTime(LastBuildSubmittedDateTimeT&& value) {
309 SetLastBuildSubmittedDateTime(std::forward<LastBuildSubmittedDateTimeT>(value));
310 return *this;
311 }
313
315
319 inline const Aws::Vector<BotLocaleHistoryEvent>& GetBotLocaleHistoryEvents() const { return m_botLocaleHistoryEvents; }
320 template <typename BotLocaleHistoryEventsT = Aws::Vector<BotLocaleHistoryEvent>>
321 void SetBotLocaleHistoryEvents(BotLocaleHistoryEventsT&& value) {
322 m_botLocaleHistoryEventsHasBeenSet = true;
323 m_botLocaleHistoryEvents = std::forward<BotLocaleHistoryEventsT>(value);
324 }
325 template <typename BotLocaleHistoryEventsT = Aws::Vector<BotLocaleHistoryEvent>>
326 DescribeBotLocaleResult& WithBotLocaleHistoryEvents(BotLocaleHistoryEventsT&& value) {
327 SetBotLocaleHistoryEvents(std::forward<BotLocaleHistoryEventsT>(value));
328 return *this;
329 }
330 template <typename BotLocaleHistoryEventsT = BotLocaleHistoryEvent>
331 DescribeBotLocaleResult& AddBotLocaleHistoryEvents(BotLocaleHistoryEventsT&& value) {
332 m_botLocaleHistoryEventsHasBeenSet = true;
333 m_botLocaleHistoryEvents.emplace_back(std::forward<BotLocaleHistoryEventsT>(value));
334 return *this;
335 }
337
339
343 inline const Aws::Vector<Aws::String>& GetRecommendedActions() const { return m_recommendedActions; }
344 template <typename RecommendedActionsT = Aws::Vector<Aws::String>>
345 void SetRecommendedActions(RecommendedActionsT&& value) {
346 m_recommendedActionsHasBeenSet = true;
347 m_recommendedActions = std::forward<RecommendedActionsT>(value);
348 }
349 template <typename RecommendedActionsT = Aws::Vector<Aws::String>>
350 DescribeBotLocaleResult& WithRecommendedActions(RecommendedActionsT&& value) {
351 SetRecommendedActions(std::forward<RecommendedActionsT>(value));
352 return *this;
353 }
354 template <typename RecommendedActionsT = Aws::String>
355 DescribeBotLocaleResult& AddRecommendedActions(RecommendedActionsT&& value) {
356 m_recommendedActionsHasBeenSet = true;
357 m_recommendedActions.emplace_back(std::forward<RecommendedActionsT>(value));
358 return *this;
359 }
361
363
367 inline const GenerativeAISettings& GetGenerativeAISettings() const { return m_generativeAISettings; }
368 template <typename GenerativeAISettingsT = GenerativeAISettings>
369 void SetGenerativeAISettings(GenerativeAISettingsT&& value) {
370 m_generativeAISettingsHasBeenSet = true;
371 m_generativeAISettings = std::forward<GenerativeAISettingsT>(value);
372 }
373 template <typename GenerativeAISettingsT = GenerativeAISettings>
374 DescribeBotLocaleResult& WithGenerativeAISettings(GenerativeAISettingsT&& value) {
375 SetGenerativeAISettings(std::forward<GenerativeAISettingsT>(value));
376 return *this;
377 }
379
381
385 inline SpeechDetectionSensitivity GetSpeechDetectionSensitivity() const { return m_speechDetectionSensitivity; }
387 m_speechDetectionSensitivityHasBeenSet = true;
388 m_speechDetectionSensitivity = value;
389 }
392 return *this;
393 }
395
397
398 inline const Aws::String& GetRequestId() const { return m_requestId; }
399 template <typename RequestIdT = Aws::String>
400 void SetRequestId(RequestIdT&& value) {
401 m_requestIdHasBeenSet = true;
402 m_requestId = std::forward<RequestIdT>(value);
403 }
404 template <typename RequestIdT = Aws::String>
406 SetRequestId(std::forward<RequestIdT>(value));
407 return *this;
408 }
410 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
411
412 private:
413 Aws::String m_botId;
414
415 Aws::String m_botVersion;
416
417 Aws::String m_localeId;
418
419 Aws::String m_localeName;
420
421 Aws::String m_description;
422
423 double m_nluIntentConfidenceThreshold{0.0};
424
425 VoiceSettings m_voiceSettings;
426
427 UnifiedSpeechSettings m_unifiedSpeechSettings;
428
429 SpeechRecognitionSettings m_speechRecognitionSettings;
430
431 int m_intentsCount{0};
432
433 int m_slotTypesCount{0};
434
435 BotLocaleStatus m_botLocaleStatus{BotLocaleStatus::NOT_SET};
436
437 Aws::Vector<Aws::String> m_failureReasons;
438
439 Aws::Utils::DateTime m_creationDateTime{};
440
441 Aws::Utils::DateTime m_lastUpdatedDateTime{};
442
443 Aws::Utils::DateTime m_lastBuildSubmittedDateTime{};
444
445 Aws::Vector<BotLocaleHistoryEvent> m_botLocaleHistoryEvents;
446
447 Aws::Vector<Aws::String> m_recommendedActions;
448
449 GenerativeAISettings m_generativeAISettings;
450
452
453 Aws::String m_requestId;
454 Aws::Http::HttpResponseCode m_HttpResponseCode;
455 bool m_botIdHasBeenSet = false;
456 bool m_botVersionHasBeenSet = false;
457 bool m_localeIdHasBeenSet = false;
458 bool m_localeNameHasBeenSet = false;
459 bool m_descriptionHasBeenSet = false;
460 bool m_nluIntentConfidenceThresholdHasBeenSet = false;
461 bool m_voiceSettingsHasBeenSet = false;
462 bool m_unifiedSpeechSettingsHasBeenSet = false;
463 bool m_speechRecognitionSettingsHasBeenSet = false;
464 bool m_intentsCountHasBeenSet = false;
465 bool m_slotTypesCountHasBeenSet = false;
466 bool m_botLocaleStatusHasBeenSet = false;
467 bool m_failureReasonsHasBeenSet = false;
468 bool m_creationDateTimeHasBeenSet = false;
469 bool m_lastUpdatedDateTimeHasBeenSet = false;
470 bool m_lastBuildSubmittedDateTimeHasBeenSet = false;
471 bool m_botLocaleHistoryEventsHasBeenSet = false;
472 bool m_recommendedActionsHasBeenSet = false;
473 bool m_generativeAISettingsHasBeenSet = false;
474 bool m_speechDetectionSensitivityHasBeenSet = false;
475 bool m_requestIdHasBeenSet = false;
476};
477
478} // namespace Model
479} // namespace LexModelsV2
480} // 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
const Aws::Utils::DateTime & GetLastUpdatedDateTime() 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)
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