AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
UpdateSlotResult.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/MultipleValuesSetting.h>
11#include <aws/lexv2-models/model/ObfuscationSetting.h>
12#include <aws/lexv2-models/model/SlotValueElicitationSetting.h>
13#include <aws/lexv2-models/model/SubSlotSetting.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace LexModelsV2 {
27namespace Model {
29 public:
30 AWS_LEXMODELSV2_API UpdateSlotResult() = default;
33
35
38 inline const Aws::String& GetSlotId() const { return m_slotId; }
39 template <typename SlotIdT = Aws::String>
40 void SetSlotId(SlotIdT&& value) {
41 m_slotIdHasBeenSet = true;
42 m_slotId = std::forward<SlotIdT>(value);
43 }
44 template <typename SlotIdT = Aws::String>
45 UpdateSlotResult& WithSlotId(SlotIdT&& value) {
46 SetSlotId(std::forward<SlotIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetSlotName() const { return m_slotName; }
56 template <typename SlotNameT = Aws::String>
57 void SetSlotName(SlotNameT&& value) {
58 m_slotNameHasBeenSet = true;
59 m_slotName = std::forward<SlotNameT>(value);
60 }
61 template <typename SlotNameT = Aws::String>
62 UpdateSlotResult& WithSlotName(SlotNameT&& value) {
63 SetSlotName(std::forward<SlotNameT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetDescription() const { return m_description; }
73 template <typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) {
75 m_descriptionHasBeenSet = true;
76 m_description = std::forward<DescriptionT>(value);
77 }
78 template <typename DescriptionT = Aws::String>
79 UpdateSlotResult& WithDescription(DescriptionT&& value) {
80 SetDescription(std::forward<DescriptionT>(value));
81 return *this;
82 }
84
86
90 inline const Aws::String& GetSlotTypeId() const { return m_slotTypeId; }
91 template <typename SlotTypeIdT = Aws::String>
92 void SetSlotTypeId(SlotTypeIdT&& value) {
93 m_slotTypeIdHasBeenSet = true;
94 m_slotTypeId = std::forward<SlotTypeIdT>(value);
95 }
96 template <typename SlotTypeIdT = Aws::String>
97 UpdateSlotResult& WithSlotTypeId(SlotTypeIdT&& value) {
98 SetSlotTypeId(std::forward<SlotTypeIdT>(value));
99 return *this;
100 }
102
104
108 inline const SlotValueElicitationSetting& GetValueElicitationSetting() const { return m_valueElicitationSetting; }
109 template <typename ValueElicitationSettingT = SlotValueElicitationSetting>
110 void SetValueElicitationSetting(ValueElicitationSettingT&& value) {
111 m_valueElicitationSettingHasBeenSet = true;
112 m_valueElicitationSetting = std::forward<ValueElicitationSettingT>(value);
113 }
114 template <typename ValueElicitationSettingT = SlotValueElicitationSetting>
115 UpdateSlotResult& WithValueElicitationSetting(ValueElicitationSettingT&& value) {
116 SetValueElicitationSetting(std::forward<ValueElicitationSettingT>(value));
117 return *this;
118 }
120
122
126 inline const ObfuscationSetting& GetObfuscationSetting() const { return m_obfuscationSetting; }
127 template <typename ObfuscationSettingT = ObfuscationSetting>
128 void SetObfuscationSetting(ObfuscationSettingT&& value) {
129 m_obfuscationSettingHasBeenSet = true;
130 m_obfuscationSetting = std::forward<ObfuscationSettingT>(value);
131 }
132 template <typename ObfuscationSettingT = ObfuscationSetting>
133 UpdateSlotResult& WithObfuscationSetting(ObfuscationSettingT&& value) {
134 SetObfuscationSetting(std::forward<ObfuscationSettingT>(value));
135 return *this;
136 }
138
140
143 inline const Aws::String& GetBotId() const { return m_botId; }
144 template <typename BotIdT = Aws::String>
145 void SetBotId(BotIdT&& value) {
146 m_botIdHasBeenSet = true;
147 m_botId = std::forward<BotIdT>(value);
148 }
149 template <typename BotIdT = Aws::String>
150 UpdateSlotResult& WithBotId(BotIdT&& value) {
151 SetBotId(std::forward<BotIdT>(value));
152 return *this;
153 }
155
157
161 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
162 template <typename BotVersionT = Aws::String>
163 void SetBotVersion(BotVersionT&& value) {
164 m_botVersionHasBeenSet = true;
165 m_botVersion = std::forward<BotVersionT>(value);
166 }
167 template <typename BotVersionT = Aws::String>
168 UpdateSlotResult& WithBotVersion(BotVersionT&& value) {
169 SetBotVersion(std::forward<BotVersionT>(value));
170 return *this;
171 }
173
175
178 inline const Aws::String& GetLocaleId() const { return m_localeId; }
179 template <typename LocaleIdT = Aws::String>
180 void SetLocaleId(LocaleIdT&& value) {
181 m_localeIdHasBeenSet = true;
182 m_localeId = std::forward<LocaleIdT>(value);
183 }
184 template <typename LocaleIdT = Aws::String>
185 UpdateSlotResult& WithLocaleId(LocaleIdT&& value) {
186 SetLocaleId(std::forward<LocaleIdT>(value));
187 return *this;
188 }
190
192
195 inline const Aws::String& GetIntentId() const { return m_intentId; }
196 template <typename IntentIdT = Aws::String>
197 void SetIntentId(IntentIdT&& value) {
198 m_intentIdHasBeenSet = true;
199 m_intentId = std::forward<IntentIdT>(value);
200 }
201 template <typename IntentIdT = Aws::String>
202 UpdateSlotResult& WithIntentId(IntentIdT&& value) {
203 SetIntentId(std::forward<IntentIdT>(value));
204 return *this;
205 }
207
209
212 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
213 template <typename CreationDateTimeT = Aws::Utils::DateTime>
214 void SetCreationDateTime(CreationDateTimeT&& value) {
215 m_creationDateTimeHasBeenSet = true;
216 m_creationDateTime = std::forward<CreationDateTimeT>(value);
217 }
218 template <typename CreationDateTimeT = Aws::Utils::DateTime>
219 UpdateSlotResult& WithCreationDateTime(CreationDateTimeT&& value) {
220 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
221 return *this;
222 }
224
226
229 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
230 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
231 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
232 m_lastUpdatedDateTimeHasBeenSet = true;
233 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
234 }
235 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
236 UpdateSlotResult& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
237 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
238 return *this;
239 }
241
243
246 inline const MultipleValuesSetting& GetMultipleValuesSetting() const { return m_multipleValuesSetting; }
247 template <typename MultipleValuesSettingT = MultipleValuesSetting>
248 void SetMultipleValuesSetting(MultipleValuesSettingT&& value) {
249 m_multipleValuesSettingHasBeenSet = true;
250 m_multipleValuesSetting = std::forward<MultipleValuesSettingT>(value);
251 }
252 template <typename MultipleValuesSettingT = MultipleValuesSetting>
253 UpdateSlotResult& WithMultipleValuesSetting(MultipleValuesSettingT&& value) {
254 SetMultipleValuesSetting(std::forward<MultipleValuesSettingT>(value));
255 return *this;
256 }
258
260
264 inline const SubSlotSetting& GetSubSlotSetting() const { return m_subSlotSetting; }
265 template <typename SubSlotSettingT = SubSlotSetting>
266 void SetSubSlotSetting(SubSlotSettingT&& value) {
267 m_subSlotSettingHasBeenSet = true;
268 m_subSlotSetting = std::forward<SubSlotSettingT>(value);
269 }
270 template <typename SubSlotSettingT = SubSlotSetting>
271 UpdateSlotResult& WithSubSlotSetting(SubSlotSettingT&& value) {
272 SetSubSlotSetting(std::forward<SubSlotSettingT>(value));
273 return *this;
274 }
276
278
279 inline const Aws::String& GetRequestId() const { return m_requestId; }
280 template <typename RequestIdT = Aws::String>
281 void SetRequestId(RequestIdT&& value) {
282 m_requestIdHasBeenSet = true;
283 m_requestId = std::forward<RequestIdT>(value);
284 }
285 template <typename RequestIdT = Aws::String>
286 UpdateSlotResult& WithRequestId(RequestIdT&& value) {
287 SetRequestId(std::forward<RequestIdT>(value));
288 return *this;
289 }
291 private:
292 Aws::String m_slotId;
293
294 Aws::String m_slotName;
295
296 Aws::String m_description;
297
298 Aws::String m_slotTypeId;
299
300 SlotValueElicitationSetting m_valueElicitationSetting;
301
302 ObfuscationSetting m_obfuscationSetting;
303
304 Aws::String m_botId;
305
306 Aws::String m_botVersion;
307
308 Aws::String m_localeId;
309
310 Aws::String m_intentId;
311
312 Aws::Utils::DateTime m_creationDateTime{};
313
314 Aws::Utils::DateTime m_lastUpdatedDateTime{};
315
316 MultipleValuesSetting m_multipleValuesSetting;
317
318 SubSlotSetting m_subSlotSetting;
319
320 Aws::String m_requestId;
321 bool m_slotIdHasBeenSet = false;
322 bool m_slotNameHasBeenSet = false;
323 bool m_descriptionHasBeenSet = false;
324 bool m_slotTypeIdHasBeenSet = false;
325 bool m_valueElicitationSettingHasBeenSet = false;
326 bool m_obfuscationSettingHasBeenSet = false;
327 bool m_botIdHasBeenSet = false;
328 bool m_botVersionHasBeenSet = false;
329 bool m_localeIdHasBeenSet = false;
330 bool m_intentIdHasBeenSet = false;
331 bool m_creationDateTimeHasBeenSet = false;
332 bool m_lastUpdatedDateTimeHasBeenSet = false;
333 bool m_multipleValuesSettingHasBeenSet = false;
334 bool m_subSlotSettingHasBeenSet = false;
335 bool m_requestIdHasBeenSet = false;
336};
337
338} // namespace Model
339} // namespace LexModelsV2
340} // namespace Aws
UpdateSlotResult & WithMultipleValuesSetting(MultipleValuesSettingT &&value)
const ObfuscationSetting & GetObfuscationSetting() const
const Aws::String & GetBotVersion() const
const SubSlotSetting & GetSubSlotSetting() const
UpdateSlotResult & WithValueElicitationSetting(ValueElicitationSettingT &&value)
void SetSubSlotSetting(SubSlotSettingT &&value)
void SetObfuscationSetting(ObfuscationSettingT &&value)
void SetDescription(DescriptionT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
UpdateSlotResult & WithLocaleId(LocaleIdT &&value)
UpdateSlotResult & WithSlotName(SlotNameT &&value)
UpdateSlotResult & WithRequestId(RequestIdT &&value)
UpdateSlotResult & WithSlotId(SlotIdT &&value)
UpdateSlotResult & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
const Aws::String & GetSlotName() const
AWS_LEXMODELSV2_API UpdateSlotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSlotResult & WithObfuscationSetting(ObfuscationSettingT &&value)
const SlotValueElicitationSetting & GetValueElicitationSetting() const
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
const Aws::String & GetSlotTypeId() const
void SetValueElicitationSetting(ValueElicitationSettingT &&value)
const Aws::String & GetDescription() const
UpdateSlotResult & WithBotId(BotIdT &&value)
AWS_LEXMODELSV2_API UpdateSlotResult()=default
UpdateSlotResult & WithBotVersion(BotVersionT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
const MultipleValuesSetting & GetMultipleValuesSetting() const
UpdateSlotResult & WithCreationDateTime(CreationDateTimeT &&value)
AWS_LEXMODELSV2_API UpdateSlotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSlotResult & WithSubSlotSetting(SubSlotSettingT &&value)
void SetMultipleValuesSetting(MultipleValuesSettingT &&value)
UpdateSlotResult & WithIntentId(IntentIdT &&value)
UpdateSlotResult & WithDescription(DescriptionT &&value)
UpdateSlotResult & WithSlotTypeId(SlotTypeIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue