AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
UpdateBotLocaleResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
11#include <aws/lexv2-models/model/BotLocaleStatus.h>
12#include <aws/lexv2-models/model/GenerativeAISettings.h>
13#include <aws/lexv2-models/model/SpeechDetectionSensitivity.h>
14#include <aws/lexv2-models/model/SpeechRecognitionSettings.h>
15#include <aws/lexv2-models/model/UnifiedSpeechSettings.h>
16#include <aws/lexv2-models/model/VoiceSettings.h>
17
18#include <utility>
19
20namespace Aws {
21template <typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils {
25namespace Json {
26class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace LexModelsV2 {
30namespace Model {
32 public:
33 AWS_LEXMODELSV2_API UpdateBotLocaleResult() = default;
36
38
41 inline const Aws::String& GetBotId() const { return m_botId; }
42 template <typename BotIdT = Aws::String>
43 void SetBotId(BotIdT&& value) {
44 m_botIdHasBeenSet = true;
45 m_botId = std::forward<BotIdT>(value);
46 }
47 template <typename BotIdT = Aws::String>
49 SetBotId(std::forward<BotIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
59 template <typename BotVersionT = Aws::String>
60 void SetBotVersion(BotVersionT&& value) {
61 m_botVersionHasBeenSet = true;
62 m_botVersion = std::forward<BotVersionT>(value);
63 }
64 template <typename BotVersionT = Aws::String>
65 UpdateBotLocaleResult& WithBotVersion(BotVersionT&& value) {
66 SetBotVersion(std::forward<BotVersionT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetLocaleId() const { return m_localeId; }
76 template <typename LocaleIdT = Aws::String>
77 void SetLocaleId(LocaleIdT&& value) {
78 m_localeIdHasBeenSet = true;
79 m_localeId = std::forward<LocaleIdT>(value);
80 }
81 template <typename LocaleIdT = Aws::String>
82 UpdateBotLocaleResult& WithLocaleId(LocaleIdT&& value) {
83 SetLocaleId(std::forward<LocaleIdT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetLocaleName() const { return m_localeName; }
93 template <typename LocaleNameT = Aws::String>
94 void SetLocaleName(LocaleNameT&& value) {
95 m_localeNameHasBeenSet = true;
96 m_localeName = std::forward<LocaleNameT>(value);
97 }
98 template <typename LocaleNameT = Aws::String>
99 UpdateBotLocaleResult& WithLocaleName(LocaleNameT&& value) {
100 SetLocaleName(std::forward<LocaleNameT>(value));
101 return *this;
102 }
104
106
109 inline const Aws::String& GetDescription() const { return m_description; }
110 template <typename DescriptionT = Aws::String>
111 void SetDescription(DescriptionT&& value) {
112 m_descriptionHasBeenSet = true;
113 m_description = std::forward<DescriptionT>(value);
114 }
115 template <typename DescriptionT = Aws::String>
116 UpdateBotLocaleResult& WithDescription(DescriptionT&& value) {
117 SetDescription(std::forward<DescriptionT>(value));
118 return *this;
119 }
121
123
128 inline double GetNluIntentConfidenceThreshold() const { return m_nluIntentConfidenceThreshold; }
129 inline void SetNluIntentConfidenceThreshold(double value) {
130 m_nluIntentConfidenceThresholdHasBeenSet = true;
131 m_nluIntentConfidenceThreshold = value;
132 }
135 return *this;
136 }
138
140
144 inline const VoiceSettings& GetVoiceSettings() const { return m_voiceSettings; }
145 template <typename VoiceSettingsT = VoiceSettings>
146 void SetVoiceSettings(VoiceSettingsT&& value) {
147 m_voiceSettingsHasBeenSet = true;
148 m_voiceSettings = std::forward<VoiceSettingsT>(value);
149 }
150 template <typename VoiceSettingsT = VoiceSettings>
151 UpdateBotLocaleResult& WithVoiceSettings(VoiceSettingsT&& value) {
152 SetVoiceSettings(std::forward<VoiceSettingsT>(value));
153 return *this;
154 }
156
158
161 inline const UnifiedSpeechSettings& GetUnifiedSpeechSettings() const { return m_unifiedSpeechSettings; }
162 template <typename UnifiedSpeechSettingsT = UnifiedSpeechSettings>
163 void SetUnifiedSpeechSettings(UnifiedSpeechSettingsT&& value) {
164 m_unifiedSpeechSettingsHasBeenSet = true;
165 m_unifiedSpeechSettings = std::forward<UnifiedSpeechSettingsT>(value);
166 }
167 template <typename UnifiedSpeechSettingsT = UnifiedSpeechSettings>
168 UpdateBotLocaleResult& WithUnifiedSpeechSettings(UnifiedSpeechSettingsT&& value) {
169 SetUnifiedSpeechSettings(std::forward<UnifiedSpeechSettingsT>(value));
170 return *this;
171 }
173
175
178 inline const SpeechRecognitionSettings& GetSpeechRecognitionSettings() const { return m_speechRecognitionSettings; }
179 template <typename SpeechRecognitionSettingsT = SpeechRecognitionSettings>
180 void SetSpeechRecognitionSettings(SpeechRecognitionSettingsT&& value) {
181 m_speechRecognitionSettingsHasBeenSet = true;
182 m_speechRecognitionSettings = std::forward<SpeechRecognitionSettingsT>(value);
183 }
184 template <typename SpeechRecognitionSettingsT = SpeechRecognitionSettings>
185 UpdateBotLocaleResult& WithSpeechRecognitionSettings(SpeechRecognitionSettingsT&& value) {
186 SetSpeechRecognitionSettings(std::forward<SpeechRecognitionSettingsT>(value));
187 return *this;
188 }
190
192
196 inline BotLocaleStatus GetBotLocaleStatus() const { return m_botLocaleStatus; }
198 m_botLocaleStatusHasBeenSet = true;
199 m_botLocaleStatus = value;
200 }
202 SetBotLocaleStatus(value);
203 return *this;
204 }
206
208
213 inline const Aws::Vector<Aws::String>& GetFailureReasons() const { return m_failureReasons; }
214 template <typename FailureReasonsT = Aws::Vector<Aws::String>>
215 void SetFailureReasons(FailureReasonsT&& value) {
216 m_failureReasonsHasBeenSet = true;
217 m_failureReasons = std::forward<FailureReasonsT>(value);
218 }
219 template <typename FailureReasonsT = Aws::Vector<Aws::String>>
220 UpdateBotLocaleResult& WithFailureReasons(FailureReasonsT&& value) {
221 SetFailureReasons(std::forward<FailureReasonsT>(value));
222 return *this;
223 }
224 template <typename FailureReasonsT = Aws::String>
225 UpdateBotLocaleResult& AddFailureReasons(FailureReasonsT&& value) {
226 m_failureReasonsHasBeenSet = true;
227 m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value));
228 return *this;
229 }
231
233
236 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
237 template <typename CreationDateTimeT = Aws::Utils::DateTime>
238 void SetCreationDateTime(CreationDateTimeT&& value) {
239 m_creationDateTimeHasBeenSet = true;
240 m_creationDateTime = std::forward<CreationDateTimeT>(value);
241 }
242 template <typename CreationDateTimeT = Aws::Utils::DateTime>
243 UpdateBotLocaleResult& WithCreationDateTime(CreationDateTimeT&& value) {
244 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
245 return *this;
246 }
248
250
253 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
254 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
255 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
256 m_lastUpdatedDateTimeHasBeenSet = true;
257 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
258 }
259 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
260 UpdateBotLocaleResult& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
261 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
262 return *this;
263 }
265
267
271 inline const Aws::Vector<Aws::String>& GetRecommendedActions() const { return m_recommendedActions; }
272 template <typename RecommendedActionsT = Aws::Vector<Aws::String>>
273 void SetRecommendedActions(RecommendedActionsT&& value) {
274 m_recommendedActionsHasBeenSet = true;
275 m_recommendedActions = std::forward<RecommendedActionsT>(value);
276 }
277 template <typename RecommendedActionsT = Aws::Vector<Aws::String>>
278 UpdateBotLocaleResult& WithRecommendedActions(RecommendedActionsT&& value) {
279 SetRecommendedActions(std::forward<RecommendedActionsT>(value));
280 return *this;
281 }
282 template <typename RecommendedActionsT = Aws::String>
283 UpdateBotLocaleResult& AddRecommendedActions(RecommendedActionsT&& value) {
284 m_recommendedActionsHasBeenSet = true;
285 m_recommendedActions.emplace_back(std::forward<RecommendedActionsT>(value));
286 return *this;
287 }
289
291
295 inline const GenerativeAISettings& GetGenerativeAISettings() const { return m_generativeAISettings; }
296 template <typename GenerativeAISettingsT = GenerativeAISettings>
297 void SetGenerativeAISettings(GenerativeAISettingsT&& value) {
298 m_generativeAISettingsHasBeenSet = true;
299 m_generativeAISettings = std::forward<GenerativeAISettingsT>(value);
300 }
301 template <typename GenerativeAISettingsT = GenerativeAISettings>
302 UpdateBotLocaleResult& WithGenerativeAISettings(GenerativeAISettingsT&& value) {
303 SetGenerativeAISettings(std::forward<GenerativeAISettingsT>(value));
304 return *this;
305 }
307
309
313 inline SpeechDetectionSensitivity GetSpeechDetectionSensitivity() const { return m_speechDetectionSensitivity; }
315 m_speechDetectionSensitivityHasBeenSet = true;
316 m_speechDetectionSensitivity = value;
317 }
320 return *this;
321 }
323
325
326 inline const Aws::String& GetRequestId() const { return m_requestId; }
327 template <typename RequestIdT = Aws::String>
328 void SetRequestId(RequestIdT&& value) {
329 m_requestIdHasBeenSet = true;
330 m_requestId = std::forward<RequestIdT>(value);
331 }
332 template <typename RequestIdT = Aws::String>
334 SetRequestId(std::forward<RequestIdT>(value));
335 return *this;
336 }
338 private:
339 Aws::String m_botId;
340
341 Aws::String m_botVersion;
342
343 Aws::String m_localeId;
344
345 Aws::String m_localeName;
346
347 Aws::String m_description;
348
349 double m_nluIntentConfidenceThreshold{0.0};
350
351 VoiceSettings m_voiceSettings;
352
353 UnifiedSpeechSettings m_unifiedSpeechSettings;
354
355 SpeechRecognitionSettings m_speechRecognitionSettings;
356
357 BotLocaleStatus m_botLocaleStatus{BotLocaleStatus::NOT_SET};
358
359 Aws::Vector<Aws::String> m_failureReasons;
360
361 Aws::Utils::DateTime m_creationDateTime{};
362
363 Aws::Utils::DateTime m_lastUpdatedDateTime{};
364
365 Aws::Vector<Aws::String> m_recommendedActions;
366
367 GenerativeAISettings m_generativeAISettings;
368
370
371 Aws::String m_requestId;
372 bool m_botIdHasBeenSet = false;
373 bool m_botVersionHasBeenSet = false;
374 bool m_localeIdHasBeenSet = false;
375 bool m_localeNameHasBeenSet = false;
376 bool m_descriptionHasBeenSet = false;
377 bool m_nluIntentConfidenceThresholdHasBeenSet = false;
378 bool m_voiceSettingsHasBeenSet = false;
379 bool m_unifiedSpeechSettingsHasBeenSet = false;
380 bool m_speechRecognitionSettingsHasBeenSet = false;
381 bool m_botLocaleStatusHasBeenSet = false;
382 bool m_failureReasonsHasBeenSet = false;
383 bool m_creationDateTimeHasBeenSet = false;
384 bool m_lastUpdatedDateTimeHasBeenSet = false;
385 bool m_recommendedActionsHasBeenSet = false;
386 bool m_generativeAISettingsHasBeenSet = false;
387 bool m_speechDetectionSensitivityHasBeenSet = false;
388 bool m_requestIdHasBeenSet = false;
389};
390
391} // namespace Model
392} // namespace LexModelsV2
393} // 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_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