AWS SDK for C++

AWS SDK for C++ Version 1.11.788

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/BotLocaleStatus.h>
13#include <aws/lexv2-models/model/GenerativeAISettings.h>
14#include <aws/lexv2-models/model/SpeechDetectionSensitivity.h>
15#include <aws/lexv2-models/model/SpeechRecognitionSettings.h>
16#include <aws/lexv2-models/model/UnifiedSpeechSettings.h>
17#include <aws/lexv2-models/model/VoiceSettings.h>
18
19#include <utility>
20
21namespace Aws {
22template <typename RESULT_TYPE>
23class AmazonWebServiceResult;
24
25namespace Utils {
26namespace Json {
27class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace LexModelsV2 {
31namespace Model {
33 public:
34 AWS_LEXMODELSV2_API UpdateBotLocaleResult() = default;
37
39
42 inline const Aws::String& GetBotId() const { return m_botId; }
43 template <typename BotIdT = Aws::String>
44 void SetBotId(BotIdT&& value) {
45 m_botIdHasBeenSet = true;
46 m_botId = std::forward<BotIdT>(value);
47 }
48 template <typename BotIdT = Aws::String>
50 SetBotId(std::forward<BotIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
60 template <typename BotVersionT = Aws::String>
61 void SetBotVersion(BotVersionT&& value) {
62 m_botVersionHasBeenSet = true;
63 m_botVersion = std::forward<BotVersionT>(value);
64 }
65 template <typename BotVersionT = Aws::String>
66 UpdateBotLocaleResult& WithBotVersion(BotVersionT&& value) {
67 SetBotVersion(std::forward<BotVersionT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetLocaleId() const { return m_localeId; }
77 template <typename LocaleIdT = Aws::String>
78 void SetLocaleId(LocaleIdT&& value) {
79 m_localeIdHasBeenSet = true;
80 m_localeId = std::forward<LocaleIdT>(value);
81 }
82 template <typename LocaleIdT = Aws::String>
83 UpdateBotLocaleResult& WithLocaleId(LocaleIdT&& value) {
84 SetLocaleId(std::forward<LocaleIdT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetLocaleName() const { return m_localeName; }
94 template <typename LocaleNameT = Aws::String>
95 void SetLocaleName(LocaleNameT&& value) {
96 m_localeNameHasBeenSet = true;
97 m_localeName = std::forward<LocaleNameT>(value);
98 }
99 template <typename LocaleNameT = Aws::String>
100 UpdateBotLocaleResult& WithLocaleName(LocaleNameT&& value) {
101 SetLocaleName(std::forward<LocaleNameT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetDescription() const { return m_description; }
111 template <typename DescriptionT = Aws::String>
112 void SetDescription(DescriptionT&& value) {
113 m_descriptionHasBeenSet = true;
114 m_description = std::forward<DescriptionT>(value);
115 }
116 template <typename DescriptionT = Aws::String>
117 UpdateBotLocaleResult& WithDescription(DescriptionT&& value) {
118 SetDescription(std::forward<DescriptionT>(value));
119 return *this;
120 }
122
124
129 inline double GetNluIntentConfidenceThreshold() const { return m_nluIntentConfidenceThreshold; }
130 inline void SetNluIntentConfidenceThreshold(double value) {
131 m_nluIntentConfidenceThresholdHasBeenSet = true;
132 m_nluIntentConfidenceThreshold = value;
133 }
136 return *this;
137 }
139
141
145 inline const VoiceSettings& GetVoiceSettings() const { return m_voiceSettings; }
146 template <typename VoiceSettingsT = VoiceSettings>
147 void SetVoiceSettings(VoiceSettingsT&& value) {
148 m_voiceSettingsHasBeenSet = true;
149 m_voiceSettings = std::forward<VoiceSettingsT>(value);
150 }
151 template <typename VoiceSettingsT = VoiceSettings>
152 UpdateBotLocaleResult& WithVoiceSettings(VoiceSettingsT&& value) {
153 SetVoiceSettings(std::forward<VoiceSettingsT>(value));
154 return *this;
155 }
157
159
162 inline const UnifiedSpeechSettings& GetUnifiedSpeechSettings() const { return m_unifiedSpeechSettings; }
163 template <typename UnifiedSpeechSettingsT = UnifiedSpeechSettings>
164 void SetUnifiedSpeechSettings(UnifiedSpeechSettingsT&& value) {
165 m_unifiedSpeechSettingsHasBeenSet = true;
166 m_unifiedSpeechSettings = std::forward<UnifiedSpeechSettingsT>(value);
167 }
168 template <typename UnifiedSpeechSettingsT = UnifiedSpeechSettings>
169 UpdateBotLocaleResult& WithUnifiedSpeechSettings(UnifiedSpeechSettingsT&& value) {
170 SetUnifiedSpeechSettings(std::forward<UnifiedSpeechSettingsT>(value));
171 return *this;
172 }
174
176
179 inline const SpeechRecognitionSettings& GetSpeechRecognitionSettings() const { return m_speechRecognitionSettings; }
180 template <typename SpeechRecognitionSettingsT = SpeechRecognitionSettings>
181 void SetSpeechRecognitionSettings(SpeechRecognitionSettingsT&& value) {
182 m_speechRecognitionSettingsHasBeenSet = true;
183 m_speechRecognitionSettings = std::forward<SpeechRecognitionSettingsT>(value);
184 }
185 template <typename SpeechRecognitionSettingsT = SpeechRecognitionSettings>
186 UpdateBotLocaleResult& WithSpeechRecognitionSettings(SpeechRecognitionSettingsT&& value) {
187 SetSpeechRecognitionSettings(std::forward<SpeechRecognitionSettingsT>(value));
188 return *this;
189 }
191
193
197 inline BotLocaleStatus GetBotLocaleStatus() const { return m_botLocaleStatus; }
199 m_botLocaleStatusHasBeenSet = true;
200 m_botLocaleStatus = value;
201 }
203 SetBotLocaleStatus(value);
204 return *this;
205 }
207
209
214 inline const Aws::Vector<Aws::String>& GetFailureReasons() const { return m_failureReasons; }
215 template <typename FailureReasonsT = Aws::Vector<Aws::String>>
216 void SetFailureReasons(FailureReasonsT&& value) {
217 m_failureReasonsHasBeenSet = true;
218 m_failureReasons = std::forward<FailureReasonsT>(value);
219 }
220 template <typename FailureReasonsT = Aws::Vector<Aws::String>>
221 UpdateBotLocaleResult& WithFailureReasons(FailureReasonsT&& value) {
222 SetFailureReasons(std::forward<FailureReasonsT>(value));
223 return *this;
224 }
225 template <typename FailureReasonsT = Aws::String>
226 UpdateBotLocaleResult& AddFailureReasons(FailureReasonsT&& value) {
227 m_failureReasonsHasBeenSet = true;
228 m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value));
229 return *this;
230 }
232
234
237 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
238 template <typename CreationDateTimeT = Aws::Utils::DateTime>
239 void SetCreationDateTime(CreationDateTimeT&& value) {
240 m_creationDateTimeHasBeenSet = true;
241 m_creationDateTime = std::forward<CreationDateTimeT>(value);
242 }
243 template <typename CreationDateTimeT = Aws::Utils::DateTime>
244 UpdateBotLocaleResult& WithCreationDateTime(CreationDateTimeT&& value) {
245 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
246 return *this;
247 }
249
251
254 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
255 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
256 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
257 m_lastUpdatedDateTimeHasBeenSet = true;
258 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
259 }
260 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
261 UpdateBotLocaleResult& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
262 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
263 return *this;
264 }
266
268
272 inline const Aws::Vector<Aws::String>& GetRecommendedActions() const { return m_recommendedActions; }
273 template <typename RecommendedActionsT = Aws::Vector<Aws::String>>
274 void SetRecommendedActions(RecommendedActionsT&& value) {
275 m_recommendedActionsHasBeenSet = true;
276 m_recommendedActions = std::forward<RecommendedActionsT>(value);
277 }
278 template <typename RecommendedActionsT = Aws::Vector<Aws::String>>
279 UpdateBotLocaleResult& WithRecommendedActions(RecommendedActionsT&& value) {
280 SetRecommendedActions(std::forward<RecommendedActionsT>(value));
281 return *this;
282 }
283 template <typename RecommendedActionsT = Aws::String>
284 UpdateBotLocaleResult& AddRecommendedActions(RecommendedActionsT&& value) {
285 m_recommendedActionsHasBeenSet = true;
286 m_recommendedActions.emplace_back(std::forward<RecommendedActionsT>(value));
287 return *this;
288 }
290
292
296 inline const GenerativeAISettings& GetGenerativeAISettings() const { return m_generativeAISettings; }
297 template <typename GenerativeAISettingsT = GenerativeAISettings>
298 void SetGenerativeAISettings(GenerativeAISettingsT&& value) {
299 m_generativeAISettingsHasBeenSet = true;
300 m_generativeAISettings = std::forward<GenerativeAISettingsT>(value);
301 }
302 template <typename GenerativeAISettingsT = GenerativeAISettings>
303 UpdateBotLocaleResult& WithGenerativeAISettings(GenerativeAISettingsT&& value) {
304 SetGenerativeAISettings(std::forward<GenerativeAISettingsT>(value));
305 return *this;
306 }
308
310
314 inline SpeechDetectionSensitivity GetSpeechDetectionSensitivity() const { return m_speechDetectionSensitivity; }
316 m_speechDetectionSensitivityHasBeenSet = true;
317 m_speechDetectionSensitivity = value;
318 }
321 return *this;
322 }
324
326
327 inline const Aws::String& GetRequestId() const { return m_requestId; }
328 template <typename RequestIdT = Aws::String>
329 void SetRequestId(RequestIdT&& value) {
330 m_requestIdHasBeenSet = true;
331 m_requestId = std::forward<RequestIdT>(value);
332 }
333 template <typename RequestIdT = Aws::String>
335 SetRequestId(std::forward<RequestIdT>(value));
336 return *this;
337 }
339 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
340
341 private:
342 Aws::String m_botId;
343
344 Aws::String m_botVersion;
345
346 Aws::String m_localeId;
347
348 Aws::String m_localeName;
349
350 Aws::String m_description;
351
352 double m_nluIntentConfidenceThreshold{0.0};
353
354 VoiceSettings m_voiceSettings;
355
356 UnifiedSpeechSettings m_unifiedSpeechSettings;
357
358 SpeechRecognitionSettings m_speechRecognitionSettings;
359
360 BotLocaleStatus m_botLocaleStatus{BotLocaleStatus::NOT_SET};
361
362 Aws::Vector<Aws::String> m_failureReasons;
363
364 Aws::Utils::DateTime m_creationDateTime{};
365
366 Aws::Utils::DateTime m_lastUpdatedDateTime{};
367
368 Aws::Vector<Aws::String> m_recommendedActions;
369
370 GenerativeAISettings m_generativeAISettings;
371
373
374 Aws::String m_requestId;
375 Aws::Http::HttpResponseCode m_HttpResponseCode;
376 bool m_botIdHasBeenSet = false;
377 bool m_botVersionHasBeenSet = false;
378 bool m_localeIdHasBeenSet = false;
379 bool m_localeNameHasBeenSet = false;
380 bool m_descriptionHasBeenSet = false;
381 bool m_nluIntentConfidenceThresholdHasBeenSet = false;
382 bool m_voiceSettingsHasBeenSet = false;
383 bool m_unifiedSpeechSettingsHasBeenSet = false;
384 bool m_speechRecognitionSettingsHasBeenSet = false;
385 bool m_botLocaleStatusHasBeenSet = false;
386 bool m_failureReasonsHasBeenSet = false;
387 bool m_creationDateTimeHasBeenSet = false;
388 bool m_lastUpdatedDateTimeHasBeenSet = false;
389 bool m_recommendedActionsHasBeenSet = false;
390 bool m_generativeAISettingsHasBeenSet = false;
391 bool m_speechDetectionSensitivityHasBeenSet = false;
392 bool m_requestIdHasBeenSet = false;
393};
394
395} // namespace Model
396} // namespace LexModelsV2
397} // 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)
AWS_LEXMODELSV2_API UpdateBotLocaleResult()=default
UpdateBotLocaleResult & WithBotId(BotIdT &&value)
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 & 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