AWS SDK for C++

AWS SDK for C++ Version 1.11.827

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/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 UpdateBotLocaleResult() = 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>
67 UpdateBotLocaleResult& WithBotVersion(BotVersionT&& value) {
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>
84 UpdateBotLocaleResult& WithLocaleId(LocaleIdT&& value) {
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>
101 UpdateBotLocaleResult& WithLocaleName(LocaleNameT&& value) {
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>
118 UpdateBotLocaleResult& WithDescription(DescriptionT&& value) {
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>
153 UpdateBotLocaleResult& WithVoiceSettings(VoiceSettingsT&& value) {
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 UpdateBotLocaleResult& WithUnifiedSpeechSettings(UnifiedSpeechSettingsT&& value) {
171 SetUnifiedSpeechSettings(std::forward<UnifiedSpeechSettingsT>(value));
172 return *this;
173 }
175
177
180 inline const AudioFillerSettings& GetAudioFillerSettings() const { return m_audioFillerSettings; }
181 template <typename AudioFillerSettingsT = AudioFillerSettings>
182 void SetAudioFillerSettings(AudioFillerSettingsT&& value) {
183 m_audioFillerSettingsHasBeenSet = true;
184 m_audioFillerSettings = std::forward<AudioFillerSettingsT>(value);
185 }
186 template <typename AudioFillerSettingsT = AudioFillerSettings>
187 UpdateBotLocaleResult& WithAudioFillerSettings(AudioFillerSettingsT&& value) {
188 SetAudioFillerSettings(std::forward<AudioFillerSettingsT>(value));
189 return *this;
190 }
192
194
197 inline const SpeechRecognitionSettings& GetSpeechRecognitionSettings() const { return m_speechRecognitionSettings; }
198 template <typename SpeechRecognitionSettingsT = SpeechRecognitionSettings>
199 void SetSpeechRecognitionSettings(SpeechRecognitionSettingsT&& value) {
200 m_speechRecognitionSettingsHasBeenSet = true;
201 m_speechRecognitionSettings = std::forward<SpeechRecognitionSettingsT>(value);
202 }
203 template <typename SpeechRecognitionSettingsT = SpeechRecognitionSettings>
204 UpdateBotLocaleResult& WithSpeechRecognitionSettings(SpeechRecognitionSettingsT&& value) {
205 SetSpeechRecognitionSettings(std::forward<SpeechRecognitionSettingsT>(value));
206 return *this;
207 }
209
211
215 inline BotLocaleStatus GetBotLocaleStatus() const { return m_botLocaleStatus; }
217 m_botLocaleStatusHasBeenSet = true;
218 m_botLocaleStatus = value;
219 }
221 SetBotLocaleStatus(value);
222 return *this;
223 }
225
227
232 inline const Aws::Vector<Aws::String>& GetFailureReasons() const { return m_failureReasons; }
233 template <typename FailureReasonsT = Aws::Vector<Aws::String>>
234 void SetFailureReasons(FailureReasonsT&& value) {
235 m_failureReasonsHasBeenSet = true;
236 m_failureReasons = std::forward<FailureReasonsT>(value);
237 }
238 template <typename FailureReasonsT = Aws::Vector<Aws::String>>
239 UpdateBotLocaleResult& WithFailureReasons(FailureReasonsT&& value) {
240 SetFailureReasons(std::forward<FailureReasonsT>(value));
241 return *this;
242 }
243 template <typename FailureReasonsT = Aws::String>
244 UpdateBotLocaleResult& AddFailureReasons(FailureReasonsT&& value) {
245 m_failureReasonsHasBeenSet = true;
246 m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value));
247 return *this;
248 }
250
252
255 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
256 template <typename CreationDateTimeT = Aws::Utils::DateTime>
257 void SetCreationDateTime(CreationDateTimeT&& value) {
258 m_creationDateTimeHasBeenSet = true;
259 m_creationDateTime = std::forward<CreationDateTimeT>(value);
260 }
261 template <typename CreationDateTimeT = Aws::Utils::DateTime>
262 UpdateBotLocaleResult& WithCreationDateTime(CreationDateTimeT&& value) {
263 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
264 return *this;
265 }
267
269
272 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
273 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
274 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
275 m_lastUpdatedDateTimeHasBeenSet = true;
276 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
277 }
278 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
279 UpdateBotLocaleResult& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
280 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
281 return *this;
282 }
284
286
290 inline const Aws::Vector<Aws::String>& GetRecommendedActions() const { return m_recommendedActions; }
291 template <typename RecommendedActionsT = Aws::Vector<Aws::String>>
292 void SetRecommendedActions(RecommendedActionsT&& value) {
293 m_recommendedActionsHasBeenSet = true;
294 m_recommendedActions = std::forward<RecommendedActionsT>(value);
295 }
296 template <typename RecommendedActionsT = Aws::Vector<Aws::String>>
297 UpdateBotLocaleResult& WithRecommendedActions(RecommendedActionsT&& value) {
298 SetRecommendedActions(std::forward<RecommendedActionsT>(value));
299 return *this;
300 }
301 template <typename RecommendedActionsT = Aws::String>
302 UpdateBotLocaleResult& AddRecommendedActions(RecommendedActionsT&& value) {
303 m_recommendedActionsHasBeenSet = true;
304 m_recommendedActions.emplace_back(std::forward<RecommendedActionsT>(value));
305 return *this;
306 }
308
310
314 inline const GenerativeAISettings& GetGenerativeAISettings() const { return m_generativeAISettings; }
315 template <typename GenerativeAISettingsT = GenerativeAISettings>
316 void SetGenerativeAISettings(GenerativeAISettingsT&& value) {
317 m_generativeAISettingsHasBeenSet = true;
318 m_generativeAISettings = std::forward<GenerativeAISettingsT>(value);
319 }
320 template <typename GenerativeAISettingsT = GenerativeAISettings>
321 UpdateBotLocaleResult& WithGenerativeAISettings(GenerativeAISettingsT&& value) {
322 SetGenerativeAISettings(std::forward<GenerativeAISettingsT>(value));
323 return *this;
324 }
326
328
332 inline SpeechDetectionSensitivity GetSpeechDetectionSensitivity() const { return m_speechDetectionSensitivity; }
334 m_speechDetectionSensitivityHasBeenSet = true;
335 m_speechDetectionSensitivity = value;
336 }
339 return *this;
340 }
342
344
345 inline const Aws::String& GetRequestId() const { return m_requestId; }
346 template <typename RequestIdT = Aws::String>
347 void SetRequestId(RequestIdT&& value) {
348 m_requestIdHasBeenSet = true;
349 m_requestId = std::forward<RequestIdT>(value);
350 }
351 template <typename RequestIdT = Aws::String>
353 SetRequestId(std::forward<RequestIdT>(value));
354 return *this;
355 }
357 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
358
359 private:
360 Aws::String m_botId;
361
362 Aws::String m_botVersion;
363
364 Aws::String m_localeId;
365
366 Aws::String m_localeName;
367
368 Aws::String m_description;
369
370 double m_nluIntentConfidenceThreshold{0.0};
371
372 VoiceSettings m_voiceSettings;
373
374 UnifiedSpeechSettings m_unifiedSpeechSettings;
375
376 AudioFillerSettings m_audioFillerSettings;
377
378 SpeechRecognitionSettings m_speechRecognitionSettings;
379
380 BotLocaleStatus m_botLocaleStatus{BotLocaleStatus::NOT_SET};
381
382 Aws::Vector<Aws::String> m_failureReasons;
383
384 Aws::Utils::DateTime m_creationDateTime{};
385
386 Aws::Utils::DateTime m_lastUpdatedDateTime{};
387
388 Aws::Vector<Aws::String> m_recommendedActions;
389
390 GenerativeAISettings m_generativeAISettings;
391
393
394 Aws::String m_requestId;
395 Aws::Http::HttpResponseCode m_HttpResponseCode;
396 bool m_botIdHasBeenSet = false;
397 bool m_botVersionHasBeenSet = false;
398 bool m_localeIdHasBeenSet = false;
399 bool m_localeNameHasBeenSet = false;
400 bool m_descriptionHasBeenSet = false;
401 bool m_nluIntentConfidenceThresholdHasBeenSet = false;
402 bool m_voiceSettingsHasBeenSet = false;
403 bool m_unifiedSpeechSettingsHasBeenSet = false;
404 bool m_audioFillerSettingsHasBeenSet = false;
405 bool m_speechRecognitionSettingsHasBeenSet = false;
406 bool m_botLocaleStatusHasBeenSet = false;
407 bool m_failureReasonsHasBeenSet = false;
408 bool m_creationDateTimeHasBeenSet = false;
409 bool m_lastUpdatedDateTimeHasBeenSet = false;
410 bool m_recommendedActionsHasBeenSet = false;
411 bool m_generativeAISettingsHasBeenSet = false;
412 bool m_speechDetectionSensitivityHasBeenSet = false;
413 bool m_requestIdHasBeenSet = false;
414};
415
416} // namespace Model
417} // namespace LexModelsV2
418} // 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
SpeechDetectionSensitivity GetSpeechDetectionSensitivity() const
UpdateBotLocaleResult & WithRequestId(RequestIdT &&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)
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