AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
CreateBotLocaleResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
10#include <aws/lexv2-models/model/BotLocaleStatus.h>
11#include <aws/lexv2-models/model/GenerativeAISettings.h>
12#include <aws/lexv2-models/model/SpeechDetectionSensitivity.h>
13#include <aws/lexv2-models/model/SpeechRecognitionSettings.h>
14#include <aws/lexv2-models/model/UnifiedSpeechSettings.h>
15#include <aws/lexv2-models/model/VoiceSettings.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace LexModelsV2 {
29namespace Model {
31 public:
32 AWS_LEXMODELSV2_API CreateBotLocaleResult() = default;
35
37
40 inline const Aws::String& GetBotId() const { return m_botId; }
41 template <typename BotIdT = Aws::String>
42 void SetBotId(BotIdT&& value) {
43 m_botIdHasBeenSet = true;
44 m_botId = std::forward<BotIdT>(value);
45 }
46 template <typename BotIdT = Aws::String>
48 SetBotId(std::forward<BotIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
58 template <typename BotVersionT = Aws::String>
59 void SetBotVersion(BotVersionT&& value) {
60 m_botVersionHasBeenSet = true;
61 m_botVersion = std::forward<BotVersionT>(value);
62 }
63 template <typename BotVersionT = Aws::String>
64 CreateBotLocaleResult& WithBotVersion(BotVersionT&& value) {
65 SetBotVersion(std::forward<BotVersionT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetLocaleName() const { return m_localeName; }
75 template <typename LocaleNameT = Aws::String>
76 void SetLocaleName(LocaleNameT&& value) {
77 m_localeNameHasBeenSet = true;
78 m_localeName = std::forward<LocaleNameT>(value);
79 }
80 template <typename LocaleNameT = Aws::String>
81 CreateBotLocaleResult& WithLocaleName(LocaleNameT&& value) {
82 SetLocaleName(std::forward<LocaleNameT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetLocaleId() const { return m_localeId; }
92 template <typename LocaleIdT = Aws::String>
93 void SetLocaleId(LocaleIdT&& value) {
94 m_localeIdHasBeenSet = true;
95 m_localeId = std::forward<LocaleIdT>(value);
96 }
97 template <typename LocaleIdT = Aws::String>
98 CreateBotLocaleResult& WithLocaleId(LocaleIdT&& value) {
99 SetLocaleId(std::forward<LocaleIdT>(value));
100 return *this;
101 }
103
105
108 inline const Aws::String& GetDescription() const { return m_description; }
109 template <typename DescriptionT = Aws::String>
110 void SetDescription(DescriptionT&& value) {
111 m_descriptionHasBeenSet = true;
112 m_description = std::forward<DescriptionT>(value);
113 }
114 template <typename DescriptionT = Aws::String>
115 CreateBotLocaleResult& WithDescription(DescriptionT&& value) {
116 SetDescription(std::forward<DescriptionT>(value));
117 return *this;
118 }
120
122
127 inline double GetNluIntentConfidenceThreshold() const { return m_nluIntentConfidenceThreshold; }
128 inline void SetNluIntentConfidenceThreshold(double value) {
129 m_nluIntentConfidenceThresholdHasBeenSet = true;
130 m_nluIntentConfidenceThreshold = value;
131 }
134 return *this;
135 }
137
139
143 inline const VoiceSettings& GetVoiceSettings() const { return m_voiceSettings; }
144 template <typename VoiceSettingsT = VoiceSettings>
145 void SetVoiceSettings(VoiceSettingsT&& value) {
146 m_voiceSettingsHasBeenSet = true;
147 m_voiceSettings = std::forward<VoiceSettingsT>(value);
148 }
149 template <typename VoiceSettingsT = VoiceSettings>
150 CreateBotLocaleResult& WithVoiceSettings(VoiceSettingsT&& value) {
151 SetVoiceSettings(std::forward<VoiceSettingsT>(value));
152 return *this;
153 }
155
157
160 inline const UnifiedSpeechSettings& GetUnifiedSpeechSettings() const { return m_unifiedSpeechSettings; }
161 template <typename UnifiedSpeechSettingsT = UnifiedSpeechSettings>
162 void SetUnifiedSpeechSettings(UnifiedSpeechSettingsT&& value) {
163 m_unifiedSpeechSettingsHasBeenSet = true;
164 m_unifiedSpeechSettings = std::forward<UnifiedSpeechSettingsT>(value);
165 }
166 template <typename UnifiedSpeechSettingsT = UnifiedSpeechSettings>
167 CreateBotLocaleResult& WithUnifiedSpeechSettings(UnifiedSpeechSettingsT&& value) {
168 SetUnifiedSpeechSettings(std::forward<UnifiedSpeechSettingsT>(value));
169 return *this;
170 }
172
174
177 inline const SpeechRecognitionSettings& GetSpeechRecognitionSettings() const { return m_speechRecognitionSettings; }
178 template <typename SpeechRecognitionSettingsT = SpeechRecognitionSettings>
179 void SetSpeechRecognitionSettings(SpeechRecognitionSettingsT&& value) {
180 m_speechRecognitionSettingsHasBeenSet = true;
181 m_speechRecognitionSettings = std::forward<SpeechRecognitionSettingsT>(value);
182 }
183 template <typename SpeechRecognitionSettingsT = SpeechRecognitionSettings>
184 CreateBotLocaleResult& WithSpeechRecognitionSettings(SpeechRecognitionSettingsT&& value) {
185 SetSpeechRecognitionSettings(std::forward<SpeechRecognitionSettingsT>(value));
186 return *this;
187 }
189
191
201 inline BotLocaleStatus GetBotLocaleStatus() const { return m_botLocaleStatus; }
203 m_botLocaleStatusHasBeenSet = true;
204 m_botLocaleStatus = value;
205 }
207 SetBotLocaleStatus(value);
208 return *this;
209 }
211
213
216 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
217 template <typename CreationDateTimeT = Aws::Utils::DateTime>
218 void SetCreationDateTime(CreationDateTimeT&& value) {
219 m_creationDateTimeHasBeenSet = true;
220 m_creationDateTime = std::forward<CreationDateTimeT>(value);
221 }
222 template <typename CreationDateTimeT = Aws::Utils::DateTime>
223 CreateBotLocaleResult& WithCreationDateTime(CreationDateTimeT&& value) {
224 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
225 return *this;
226 }
228
230
231 inline const GenerativeAISettings& GetGenerativeAISettings() const { return m_generativeAISettings; }
232 template <typename GenerativeAISettingsT = GenerativeAISettings>
233 void SetGenerativeAISettings(GenerativeAISettingsT&& value) {
234 m_generativeAISettingsHasBeenSet = true;
235 m_generativeAISettings = std::forward<GenerativeAISettingsT>(value);
236 }
237 template <typename GenerativeAISettingsT = GenerativeAISettings>
238 CreateBotLocaleResult& WithGenerativeAISettings(GenerativeAISettingsT&& value) {
239 SetGenerativeAISettings(std::forward<GenerativeAISettingsT>(value));
240 return *this;
241 }
243
245
249 inline SpeechDetectionSensitivity GetSpeechDetectionSensitivity() const { return m_speechDetectionSensitivity; }
251 m_speechDetectionSensitivityHasBeenSet = true;
252 m_speechDetectionSensitivity = value;
253 }
256 return *this;
257 }
259
261
262 inline const Aws::String& GetRequestId() const { return m_requestId; }
263 template <typename RequestIdT = Aws::String>
264 void SetRequestId(RequestIdT&& value) {
265 m_requestIdHasBeenSet = true;
266 m_requestId = std::forward<RequestIdT>(value);
267 }
268 template <typename RequestIdT = Aws::String>
270 SetRequestId(std::forward<RequestIdT>(value));
271 return *this;
272 }
274 private:
275 Aws::String m_botId;
276
277 Aws::String m_botVersion;
278
279 Aws::String m_localeName;
280
281 Aws::String m_localeId;
282
283 Aws::String m_description;
284
285 double m_nluIntentConfidenceThreshold{0.0};
286
287 VoiceSettings m_voiceSettings;
288
289 UnifiedSpeechSettings m_unifiedSpeechSettings;
290
291 SpeechRecognitionSettings m_speechRecognitionSettings;
292
293 BotLocaleStatus m_botLocaleStatus{BotLocaleStatus::NOT_SET};
294
295 Aws::Utils::DateTime m_creationDateTime{};
296
297 GenerativeAISettings m_generativeAISettings;
298
300
301 Aws::String m_requestId;
302 bool m_botIdHasBeenSet = false;
303 bool m_botVersionHasBeenSet = false;
304 bool m_localeNameHasBeenSet = false;
305 bool m_localeIdHasBeenSet = false;
306 bool m_descriptionHasBeenSet = false;
307 bool m_nluIntentConfidenceThresholdHasBeenSet = false;
308 bool m_voiceSettingsHasBeenSet = false;
309 bool m_unifiedSpeechSettingsHasBeenSet = false;
310 bool m_speechRecognitionSettingsHasBeenSet = false;
311 bool m_botLocaleStatusHasBeenSet = false;
312 bool m_creationDateTimeHasBeenSet = false;
313 bool m_generativeAISettingsHasBeenSet = false;
314 bool m_speechDetectionSensitivityHasBeenSet = false;
315 bool m_requestIdHasBeenSet = false;
316};
317
318} // namespace Model
319} // namespace LexModelsV2
320} // 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
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