AWS SDK for C++

AWS SDK for C++ Version 1.11.907

Loading...
Searching...
No Matches
UpdateBotLocaleResult.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/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>
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 UpdateBotLocaleResult() = 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>
68 UpdateBotLocaleResult& WithBotVersion(BotVersionT&& value) {
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>
85 UpdateBotLocaleResult& WithLocaleId(LocaleIdT&& value) {
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>
102 UpdateBotLocaleResult& WithLocaleName(LocaleNameT&& value) {
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>
119 UpdateBotLocaleResult& WithDescription(DescriptionT&& value) {
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>
154 UpdateBotLocaleResult& WithVoiceSettings(VoiceSettingsT&& value) {
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 UpdateBotLocaleResult& 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 UpdateBotLocaleResult& 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 UpdateBotLocaleResult& WithSpeechRecognitionSettings(SpeechRecognitionSettingsT&& value) {
206 SetSpeechRecognitionSettings(std::forward<SpeechRecognitionSettingsT>(value));
207 return *this;
208 }
210
212
216 inline BotLocaleStatus GetBotLocaleStatus() const { return m_botLocaleStatus; }
218 m_botLocaleStatusHasBeenSet = true;
219 m_botLocaleStatus = value;
220 }
222 SetBotLocaleStatus(value);
223 return *this;
224 }
226
228
233 inline const Aws::Vector<Aws::String>& GetFailureReasons() const { return m_failureReasons; }
234 template <typename FailureReasonsT = Aws::Vector<Aws::String>>
235 void SetFailureReasons(FailureReasonsT&& value) {
236 m_failureReasonsHasBeenSet = true;
237 m_failureReasons = std::forward<FailureReasonsT>(value);
238 }
239 template <typename FailureReasonsT = Aws::Vector<Aws::String>>
240 UpdateBotLocaleResult& WithFailureReasons(FailureReasonsT&& value) {
241 SetFailureReasons(std::forward<FailureReasonsT>(value));
242 return *this;
243 }
244 template <typename FailureReasonsT = Aws::String>
245 UpdateBotLocaleResult& AddFailureReasons(FailureReasonsT&& value) {
246 m_failureReasonsHasBeenSet = true;
247 m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value));
248 return *this;
249 }
251
253
256 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
257 template <typename CreationDateTimeT = Aws::Utils::DateTime>
258 void SetCreationDateTime(CreationDateTimeT&& value) {
259 m_creationDateTimeHasBeenSet = true;
260 m_creationDateTime = std::forward<CreationDateTimeT>(value);
261 }
262 template <typename CreationDateTimeT = Aws::Utils::DateTime>
263 UpdateBotLocaleResult& WithCreationDateTime(CreationDateTimeT&& value) {
264 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
265 return *this;
266 }
268
270
273 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
274 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
275 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
276 m_lastUpdatedDateTimeHasBeenSet = true;
277 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
278 }
279 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
280 UpdateBotLocaleResult& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
281 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
282 return *this;
283 }
285
287
291 inline const Aws::Vector<Aws::String>& GetRecommendedActions() const { return m_recommendedActions; }
292 template <typename RecommendedActionsT = Aws::Vector<Aws::String>>
293 void SetRecommendedActions(RecommendedActionsT&& value) {
294 m_recommendedActionsHasBeenSet = true;
295 m_recommendedActions = std::forward<RecommendedActionsT>(value);
296 }
297 template <typename RecommendedActionsT = Aws::Vector<Aws::String>>
298 UpdateBotLocaleResult& WithRecommendedActions(RecommendedActionsT&& value) {
299 SetRecommendedActions(std::forward<RecommendedActionsT>(value));
300 return *this;
301 }
302 template <typename RecommendedActionsT = Aws::String>
303 UpdateBotLocaleResult& AddRecommendedActions(RecommendedActionsT&& value) {
304 m_recommendedActionsHasBeenSet = true;
305 m_recommendedActions.emplace_back(std::forward<RecommendedActionsT>(value));
306 return *this;
307 }
309
311
315 inline const GenerativeAISettings& GetGenerativeAISettings() const { return m_generativeAISettings; }
316 template <typename GenerativeAISettingsT = GenerativeAISettings>
317 void SetGenerativeAISettings(GenerativeAISettingsT&& value) {
318 m_generativeAISettingsHasBeenSet = true;
319 m_generativeAISettings = std::forward<GenerativeAISettingsT>(value);
320 }
321 template <typename GenerativeAISettingsT = GenerativeAISettings>
322 UpdateBotLocaleResult& WithGenerativeAISettings(GenerativeAISettingsT&& value) {
323 SetGenerativeAISettings(std::forward<GenerativeAISettingsT>(value));
324 return *this;
325 }
327
329
333 inline SpeechDetectionSensitivity GetSpeechDetectionSensitivity() const { return m_speechDetectionSensitivity; }
335 m_speechDetectionSensitivityHasBeenSet = true;
336 m_speechDetectionSensitivity = value;
337 }
340 return *this;
341 }
343
345
348 inline const SpeakerDiarizationSettings& GetSpeakerDiarizationSettings() const { return m_speakerDiarizationSettings; }
349 template <typename SpeakerDiarizationSettingsT = SpeakerDiarizationSettings>
350 void SetSpeakerDiarizationSettings(SpeakerDiarizationSettingsT&& value) {
351 m_speakerDiarizationSettingsHasBeenSet = true;
352 m_speakerDiarizationSettings = std::forward<SpeakerDiarizationSettingsT>(value);
353 }
354 template <typename SpeakerDiarizationSettingsT = SpeakerDiarizationSettings>
355 UpdateBotLocaleResult& WithSpeakerDiarizationSettings(SpeakerDiarizationSettingsT&& value) {
356 SetSpeakerDiarizationSettings(std::forward<SpeakerDiarizationSettingsT>(value));
357 return *this;
358 }
360
362
363 inline const Aws::String& GetRequestId() const { return m_requestId; }
364 template <typename RequestIdT = Aws::String>
365 void SetRequestId(RequestIdT&& value) {
366 m_requestIdHasBeenSet = true;
367 m_requestId = std::forward<RequestIdT>(value);
368 }
369 template <typename RequestIdT = Aws::String>
371 SetRequestId(std::forward<RequestIdT>(value));
372 return *this;
373 }
375 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
376
377 private:
378 Aws::String m_botId;
379
380 Aws::String m_botVersion;
381
382 Aws::String m_localeId;
383
384 Aws::String m_localeName;
385
386 Aws::String m_description;
387
388 double m_nluIntentConfidenceThreshold{0.0};
389
390 VoiceSettings m_voiceSettings;
391
392 UnifiedSpeechSettings m_unifiedSpeechSettings;
393
394 AudioFillerSettings m_audioFillerSettings;
395
396 SpeechRecognitionSettings m_speechRecognitionSettings;
397
398 BotLocaleStatus m_botLocaleStatus{BotLocaleStatus::NOT_SET};
399
400 Aws::Vector<Aws::String> m_failureReasons;
401
402 Aws::Utils::DateTime m_creationDateTime{};
403
404 Aws::Utils::DateTime m_lastUpdatedDateTime{};
405
406 Aws::Vector<Aws::String> m_recommendedActions;
407
408 GenerativeAISettings m_generativeAISettings;
409
411
412 SpeakerDiarizationSettings m_speakerDiarizationSettings;
413
414 Aws::String m_requestId;
415 Aws::Http::HttpResponseCode m_HttpResponseCode;
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;
435};
436
437} // namespace Model
438} // namespace LexModelsV2
439} // namespace Aws
UpdateBotLocaleResult & WithCreationDateTime(CreationDateTimeT &&value)
void SetSpeechDetectionSensitivity(SpeechDetectionSensitivity value)
UpdateBotLocaleResult & AddFailureReasons(FailureReasonsT &&value)
UpdateBotLocaleResult & WithLocaleName(LocaleNameT &&value)
UpdateBotLocaleResult & WithSpeechDetectionSensitivity(SpeechDetectionSensitivity value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
void SetSpeechRecognitionSettings(SpeechRecognitionSettingsT &&value)
const Aws::Vector< Aws::String > & GetFailureReasons() const
UpdateBotLocaleResult & WithSpeechRecognitionSettings(SpeechRecognitionSettingsT &&value)
const GenerativeAISettings & GetGenerativeAISettings() const
UpdateBotLocaleResult & WithBotVersion(BotVersionT &&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
UpdateBotLocaleResult & WithBotId(BotIdT &&value)
const AudioFillerSettings & GetAudioFillerSettings() const
void SetSpeakerDiarizationSettings(SpeakerDiarizationSettingsT &&value)
SpeechDetectionSensitivity GetSpeechDetectionSensitivity() const
UpdateBotLocaleResult & WithRequestId(RequestIdT &&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
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_LEXMODELSV2_API UpdateBotLocaleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateBotLocaleResult & AddRecommendedActions(RecommendedActionsT &&value)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
AWS_LEXMODELSV2_API UpdateBotLocaleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUnifiedSpeechSettings(UnifiedSpeechSettingsT &&value)
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 SetGenerativeAISettings(GenerativeAISettingsT &&value)
const Aws::Vector< Aws::String > & GetRecommendedActions() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue