AWS SDK for C++

AWS SDK for C++ Version 1.11.827

Loading...
Searching...
No Matches
CreateBotLocaleResult.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/lexv2-models/LexModelsV2_EXPORTS.h>
11#include <aws/lexv2-models/model/AudioFillerSettings.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 CreateBotLocaleResult() = 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 CreateBotLocaleResult& WithBotVersion(BotVersionT&& value) {
67 SetBotVersion(std::forward<BotVersionT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetLocaleName() const { return m_localeName; }
77 template <typename LocaleNameT = Aws::String>
78 void SetLocaleName(LocaleNameT&& value) {
79 m_localeNameHasBeenSet = true;
80 m_localeName = std::forward<LocaleNameT>(value);
81 }
82 template <typename LocaleNameT = Aws::String>
83 CreateBotLocaleResult& WithLocaleName(LocaleNameT&& value) {
84 SetLocaleName(std::forward<LocaleNameT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetLocaleId() const { return m_localeId; }
94 template <typename LocaleIdT = Aws::String>
95 void SetLocaleId(LocaleIdT&& value) {
96 m_localeIdHasBeenSet = true;
97 m_localeId = std::forward<LocaleIdT>(value);
98 }
99 template <typename LocaleIdT = Aws::String>
101 SetLocaleId(std::forward<LocaleIdT>(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 CreateBotLocaleResult& 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 CreateBotLocaleResult& 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 CreateBotLocaleResult& WithUnifiedSpeechSettings(UnifiedSpeechSettingsT&& value) {
170 SetUnifiedSpeechSettings(std::forward<UnifiedSpeechSettingsT>(value));
171 return *this;
172 }
174
176
179 inline const AudioFillerSettings& GetAudioFillerSettings() const { return m_audioFillerSettings; }
180 template <typename AudioFillerSettingsT = AudioFillerSettings>
181 void SetAudioFillerSettings(AudioFillerSettingsT&& value) {
182 m_audioFillerSettingsHasBeenSet = true;
183 m_audioFillerSettings = std::forward<AudioFillerSettingsT>(value);
184 }
185 template <typename AudioFillerSettingsT = AudioFillerSettings>
186 CreateBotLocaleResult& WithAudioFillerSettings(AudioFillerSettingsT&& value) {
187 SetAudioFillerSettings(std::forward<AudioFillerSettingsT>(value));
188 return *this;
189 }
191
193
196 inline const SpeechRecognitionSettings& GetSpeechRecognitionSettings() const { return m_speechRecognitionSettings; }
197 template <typename SpeechRecognitionSettingsT = SpeechRecognitionSettings>
198 void SetSpeechRecognitionSettings(SpeechRecognitionSettingsT&& value) {
199 m_speechRecognitionSettingsHasBeenSet = true;
200 m_speechRecognitionSettings = std::forward<SpeechRecognitionSettingsT>(value);
201 }
202 template <typename SpeechRecognitionSettingsT = SpeechRecognitionSettings>
203 CreateBotLocaleResult& WithSpeechRecognitionSettings(SpeechRecognitionSettingsT&& value) {
204 SetSpeechRecognitionSettings(std::forward<SpeechRecognitionSettingsT>(value));
205 return *this;
206 }
208
210
220 inline BotLocaleStatus GetBotLocaleStatus() const { return m_botLocaleStatus; }
222 m_botLocaleStatusHasBeenSet = true;
223 m_botLocaleStatus = value;
224 }
226 SetBotLocaleStatus(value);
227 return *this;
228 }
230
232
235 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
236 template <typename CreationDateTimeT = Aws::Utils::DateTime>
237 void SetCreationDateTime(CreationDateTimeT&& value) {
238 m_creationDateTimeHasBeenSet = true;
239 m_creationDateTime = std::forward<CreationDateTimeT>(value);
240 }
241 template <typename CreationDateTimeT = Aws::Utils::DateTime>
242 CreateBotLocaleResult& WithCreationDateTime(CreationDateTimeT&& value) {
243 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
244 return *this;
245 }
247
249
250 inline const GenerativeAISettings& GetGenerativeAISettings() const { return m_generativeAISettings; }
251 template <typename GenerativeAISettingsT = GenerativeAISettings>
252 void SetGenerativeAISettings(GenerativeAISettingsT&& value) {
253 m_generativeAISettingsHasBeenSet = true;
254 m_generativeAISettings = std::forward<GenerativeAISettingsT>(value);
255 }
256 template <typename GenerativeAISettingsT = GenerativeAISettings>
257 CreateBotLocaleResult& WithGenerativeAISettings(GenerativeAISettingsT&& value) {
258 SetGenerativeAISettings(std::forward<GenerativeAISettingsT>(value));
259 return *this;
260 }
262
264
268 inline SpeechDetectionSensitivity GetSpeechDetectionSensitivity() const { return m_speechDetectionSensitivity; }
270 m_speechDetectionSensitivityHasBeenSet = true;
271 m_speechDetectionSensitivity = value;
272 }
275 return *this;
276 }
278
280
281 inline const Aws::String& GetRequestId() const { return m_requestId; }
282 template <typename RequestIdT = Aws::String>
283 void SetRequestId(RequestIdT&& value) {
284 m_requestIdHasBeenSet = true;
285 m_requestId = std::forward<RequestIdT>(value);
286 }
287 template <typename RequestIdT = Aws::String>
289 SetRequestId(std::forward<RequestIdT>(value));
290 return *this;
291 }
293 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
294
295 private:
296 Aws::String m_botId;
297
298 Aws::String m_botVersion;
299
300 Aws::String m_localeName;
301
302 Aws::String m_localeId;
303
304 Aws::String m_description;
305
306 double m_nluIntentConfidenceThreshold{0.0};
307
308 VoiceSettings m_voiceSettings;
309
310 UnifiedSpeechSettings m_unifiedSpeechSettings;
311
312 AudioFillerSettings m_audioFillerSettings;
313
314 SpeechRecognitionSettings m_speechRecognitionSettings;
315
316 BotLocaleStatus m_botLocaleStatus{BotLocaleStatus::NOT_SET};
317
318 Aws::Utils::DateTime m_creationDateTime{};
319
320 GenerativeAISettings m_generativeAISettings;
321
323
324 Aws::String m_requestId;
325 Aws::Http::HttpResponseCode m_HttpResponseCode;
326 bool m_botIdHasBeenSet = false;
327 bool m_botVersionHasBeenSet = false;
328 bool m_localeNameHasBeenSet = false;
329 bool m_localeIdHasBeenSet = false;
330 bool m_descriptionHasBeenSet = false;
331 bool m_nluIntentConfidenceThresholdHasBeenSet = false;
332 bool m_voiceSettingsHasBeenSet = false;
333 bool m_unifiedSpeechSettingsHasBeenSet = false;
334 bool m_audioFillerSettingsHasBeenSet = false;
335 bool m_speechRecognitionSettingsHasBeenSet = false;
336 bool m_botLocaleStatusHasBeenSet = false;
337 bool m_creationDateTimeHasBeenSet = false;
338 bool m_generativeAISettingsHasBeenSet = false;
339 bool m_speechDetectionSensitivityHasBeenSet = false;
340 bool m_requestIdHasBeenSet = false;
341};
342
343} // namespace Model
344} // namespace LexModelsV2
345} // namespace Aws
const Aws::Utils::DateTime & GetCreationDateTime() const
CreateBotLocaleResult & WithSpeechDetectionSensitivity(SpeechDetectionSensitivity value)
CreateBotLocaleResult & WithLocaleName(LocaleNameT &&value)
CreateBotLocaleResult & WithDescription(DescriptionT &&value)
const UnifiedSpeechSettings & GetUnifiedSpeechSettings() const
CreateBotLocaleResult & WithRequestId(RequestIdT &&value)
const GenerativeAISettings & GetGenerativeAISettings() const
void SetSpeechDetectionSensitivity(SpeechDetectionSensitivity value)
CreateBotLocaleResult & WithCreationDateTime(CreationDateTimeT &&value)
CreateBotLocaleResult & WithBotId(BotIdT &&value)
const SpeechRecognitionSettings & GetSpeechRecognitionSettings() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetAudioFillerSettings(AudioFillerSettingsT &&value)
void SetUnifiedSpeechSettings(UnifiedSpeechSettingsT &&value)
CreateBotLocaleResult & WithNluIntentConfidenceThreshold(double value)
CreateBotLocaleResult & WithAudioFillerSettings(AudioFillerSettingsT &&value)
CreateBotLocaleResult & WithGenerativeAISettings(GenerativeAISettingsT &&value)
CreateBotLocaleResult & WithLocaleId(LocaleIdT &&value)
AWS_LEXMODELSV2_API CreateBotLocaleResult()=default
CreateBotLocaleResult & WithUnifiedSpeechSettings(UnifiedSpeechSettingsT &&value)
CreateBotLocaleResult & WithBotVersion(BotVersionT &&value)
const AudioFillerSettings & GetAudioFillerSettings() const
AWS_LEXMODELSV2_API CreateBotLocaleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateBotLocaleResult & WithVoiceSettings(VoiceSettingsT &&value)
AWS_LEXMODELSV2_API CreateBotLocaleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSpeechRecognitionSettings(SpeechRecognitionSettingsT &&value)
SpeechDetectionSensitivity GetSpeechDetectionSensitivity() const
void SetGenerativeAISettings(GenerativeAISettingsT &&value)
CreateBotLocaleResult & WithBotLocaleStatus(BotLocaleStatus value)
CreateBotLocaleResult & WithSpeechRecognitionSettings(SpeechRecognitionSettingsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue