AWS SDK for C++

AWS SDK for C++ Version 1.11.788

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/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 CreateBotLocaleResult() = 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 CreateBotLocaleResult& WithBotVersion(BotVersionT&& value) {
66 SetBotVersion(std::forward<BotVersionT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetLocaleName() const { return m_localeName; }
76 template <typename LocaleNameT = Aws::String>
77 void SetLocaleName(LocaleNameT&& value) {
78 m_localeNameHasBeenSet = true;
79 m_localeName = std::forward<LocaleNameT>(value);
80 }
81 template <typename LocaleNameT = Aws::String>
82 CreateBotLocaleResult& WithLocaleName(LocaleNameT&& value) {
83 SetLocaleName(std::forward<LocaleNameT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetLocaleId() const { return m_localeId; }
93 template <typename LocaleIdT = Aws::String>
94 void SetLocaleId(LocaleIdT&& value) {
95 m_localeIdHasBeenSet = true;
96 m_localeId = std::forward<LocaleIdT>(value);
97 }
98 template <typename LocaleIdT = Aws::String>
99 CreateBotLocaleResult& WithLocaleId(LocaleIdT&& value) {
100 SetLocaleId(std::forward<LocaleIdT>(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 CreateBotLocaleResult& 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 CreateBotLocaleResult& 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 CreateBotLocaleResult& 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 CreateBotLocaleResult& WithSpeechRecognitionSettings(SpeechRecognitionSettingsT&& value) {
186 SetSpeechRecognitionSettings(std::forward<SpeechRecognitionSettingsT>(value));
187 return *this;
188 }
190
192
202 inline BotLocaleStatus GetBotLocaleStatus() const { return m_botLocaleStatus; }
204 m_botLocaleStatusHasBeenSet = true;
205 m_botLocaleStatus = value;
206 }
208 SetBotLocaleStatus(value);
209 return *this;
210 }
212
214
217 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
218 template <typename CreationDateTimeT = Aws::Utils::DateTime>
219 void SetCreationDateTime(CreationDateTimeT&& value) {
220 m_creationDateTimeHasBeenSet = true;
221 m_creationDateTime = std::forward<CreationDateTimeT>(value);
222 }
223 template <typename CreationDateTimeT = Aws::Utils::DateTime>
224 CreateBotLocaleResult& WithCreationDateTime(CreationDateTimeT&& value) {
225 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
226 return *this;
227 }
229
231
232 inline const GenerativeAISettings& GetGenerativeAISettings() const { return m_generativeAISettings; }
233 template <typename GenerativeAISettingsT = GenerativeAISettings>
234 void SetGenerativeAISettings(GenerativeAISettingsT&& value) {
235 m_generativeAISettingsHasBeenSet = true;
236 m_generativeAISettings = std::forward<GenerativeAISettingsT>(value);
237 }
238 template <typename GenerativeAISettingsT = GenerativeAISettings>
239 CreateBotLocaleResult& WithGenerativeAISettings(GenerativeAISettingsT&& value) {
240 SetGenerativeAISettings(std::forward<GenerativeAISettingsT>(value));
241 return *this;
242 }
244
246
250 inline SpeechDetectionSensitivity GetSpeechDetectionSensitivity() const { return m_speechDetectionSensitivity; }
252 m_speechDetectionSensitivityHasBeenSet = true;
253 m_speechDetectionSensitivity = value;
254 }
257 return *this;
258 }
260
262
263 inline const Aws::String& GetRequestId() const { return m_requestId; }
264 template <typename RequestIdT = Aws::String>
265 void SetRequestId(RequestIdT&& value) {
266 m_requestIdHasBeenSet = true;
267 m_requestId = std::forward<RequestIdT>(value);
268 }
269 template <typename RequestIdT = Aws::String>
271 SetRequestId(std::forward<RequestIdT>(value));
272 return *this;
273 }
275 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
276
277 private:
278 Aws::String m_botId;
279
280 Aws::String m_botVersion;
281
282 Aws::String m_localeName;
283
284 Aws::String m_localeId;
285
286 Aws::String m_description;
287
288 double m_nluIntentConfidenceThreshold{0.0};
289
290 VoiceSettings m_voiceSettings;
291
292 UnifiedSpeechSettings m_unifiedSpeechSettings;
293
294 SpeechRecognitionSettings m_speechRecognitionSettings;
295
296 BotLocaleStatus m_botLocaleStatus{BotLocaleStatus::NOT_SET};
297
298 Aws::Utils::DateTime m_creationDateTime{};
299
300 GenerativeAISettings m_generativeAISettings;
301
303
304 Aws::String m_requestId;
305 Aws::Http::HttpResponseCode m_HttpResponseCode;
306 bool m_botIdHasBeenSet = false;
307 bool m_botVersionHasBeenSet = false;
308 bool m_localeNameHasBeenSet = false;
309 bool m_localeIdHasBeenSet = false;
310 bool m_descriptionHasBeenSet = false;
311 bool m_nluIntentConfidenceThresholdHasBeenSet = false;
312 bool m_voiceSettingsHasBeenSet = false;
313 bool m_unifiedSpeechSettingsHasBeenSet = false;
314 bool m_speechRecognitionSettingsHasBeenSet = false;
315 bool m_botLocaleStatusHasBeenSet = false;
316 bool m_creationDateTimeHasBeenSet = false;
317 bool m_generativeAISettingsHasBeenSet = false;
318 bool m_speechDetectionSensitivityHasBeenSet = false;
319 bool m_requestIdHasBeenSet = false;
320};
321
322} // namespace Model
323} // namespace LexModelsV2
324} // 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 SetUnifiedSpeechSettings(UnifiedSpeechSettingsT &&value)
CreateBotLocaleResult & WithNluIntentConfidenceThreshold(double value)
CreateBotLocaleResult & WithGenerativeAISettings(GenerativeAISettingsT &&value)
CreateBotLocaleResult & WithLocaleId(LocaleIdT &&value)
AWS_LEXMODELSV2_API CreateBotLocaleResult()=default
CreateBotLocaleResult & WithUnifiedSpeechSettings(UnifiedSpeechSettingsT &&value)
CreateBotLocaleResult & WithBotVersion(BotVersionT &&value)
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