AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
UpdateSlotResult.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/MultipleValuesSetting.h>
12#include <aws/lexv2-models/model/ObfuscationSetting.h>
13#include <aws/lexv2-models/model/SlotValueElicitationSetting.h>
14#include <aws/lexv2-models/model/SubSlotSetting.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace LexModelsV2 {
28namespace Model {
30 public:
31 AWS_LEXMODELSV2_API UpdateSlotResult() = default;
34
36
39 inline const Aws::String& GetSlotId() const { return m_slotId; }
40 template <typename SlotIdT = Aws::String>
41 void SetSlotId(SlotIdT&& value) {
42 m_slotIdHasBeenSet = true;
43 m_slotId = std::forward<SlotIdT>(value);
44 }
45 template <typename SlotIdT = Aws::String>
46 UpdateSlotResult& WithSlotId(SlotIdT&& value) {
47 SetSlotId(std::forward<SlotIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetSlotName() const { return m_slotName; }
57 template <typename SlotNameT = Aws::String>
58 void SetSlotName(SlotNameT&& value) {
59 m_slotNameHasBeenSet = true;
60 m_slotName = std::forward<SlotNameT>(value);
61 }
62 template <typename SlotNameT = Aws::String>
63 UpdateSlotResult& WithSlotName(SlotNameT&& value) {
64 SetSlotName(std::forward<SlotNameT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetDescription() const { return m_description; }
74 template <typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) {
76 m_descriptionHasBeenSet = true;
77 m_description = std::forward<DescriptionT>(value);
78 }
79 template <typename DescriptionT = Aws::String>
80 UpdateSlotResult& WithDescription(DescriptionT&& value) {
81 SetDescription(std::forward<DescriptionT>(value));
82 return *this;
83 }
85
87
91 inline const Aws::String& GetSlotTypeId() const { return m_slotTypeId; }
92 template <typename SlotTypeIdT = Aws::String>
93 void SetSlotTypeId(SlotTypeIdT&& value) {
94 m_slotTypeIdHasBeenSet = true;
95 m_slotTypeId = std::forward<SlotTypeIdT>(value);
96 }
97 template <typename SlotTypeIdT = Aws::String>
98 UpdateSlotResult& WithSlotTypeId(SlotTypeIdT&& value) {
99 SetSlotTypeId(std::forward<SlotTypeIdT>(value));
100 return *this;
101 }
103
105
109 inline const SlotValueElicitationSetting& GetValueElicitationSetting() const { return m_valueElicitationSetting; }
110 template <typename ValueElicitationSettingT = SlotValueElicitationSetting>
111 void SetValueElicitationSetting(ValueElicitationSettingT&& value) {
112 m_valueElicitationSettingHasBeenSet = true;
113 m_valueElicitationSetting = std::forward<ValueElicitationSettingT>(value);
114 }
115 template <typename ValueElicitationSettingT = SlotValueElicitationSetting>
116 UpdateSlotResult& WithValueElicitationSetting(ValueElicitationSettingT&& value) {
117 SetValueElicitationSetting(std::forward<ValueElicitationSettingT>(value));
118 return *this;
119 }
121
123
127 inline const ObfuscationSetting& GetObfuscationSetting() const { return m_obfuscationSetting; }
128 template <typename ObfuscationSettingT = ObfuscationSetting>
129 void SetObfuscationSetting(ObfuscationSettingT&& value) {
130 m_obfuscationSettingHasBeenSet = true;
131 m_obfuscationSetting = std::forward<ObfuscationSettingT>(value);
132 }
133 template <typename ObfuscationSettingT = ObfuscationSetting>
134 UpdateSlotResult& WithObfuscationSetting(ObfuscationSettingT&& value) {
135 SetObfuscationSetting(std::forward<ObfuscationSettingT>(value));
136 return *this;
137 }
139
141
144 inline const Aws::String& GetBotId() const { return m_botId; }
145 template <typename BotIdT = Aws::String>
146 void SetBotId(BotIdT&& value) {
147 m_botIdHasBeenSet = true;
148 m_botId = std::forward<BotIdT>(value);
149 }
150 template <typename BotIdT = Aws::String>
151 UpdateSlotResult& WithBotId(BotIdT&& value) {
152 SetBotId(std::forward<BotIdT>(value));
153 return *this;
154 }
156
158
162 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
163 template <typename BotVersionT = Aws::String>
164 void SetBotVersion(BotVersionT&& value) {
165 m_botVersionHasBeenSet = true;
166 m_botVersion = std::forward<BotVersionT>(value);
167 }
168 template <typename BotVersionT = Aws::String>
169 UpdateSlotResult& WithBotVersion(BotVersionT&& value) {
170 SetBotVersion(std::forward<BotVersionT>(value));
171 return *this;
172 }
174
176
179 inline const Aws::String& GetLocaleId() const { return m_localeId; }
180 template <typename LocaleIdT = Aws::String>
181 void SetLocaleId(LocaleIdT&& value) {
182 m_localeIdHasBeenSet = true;
183 m_localeId = std::forward<LocaleIdT>(value);
184 }
185 template <typename LocaleIdT = Aws::String>
186 UpdateSlotResult& WithLocaleId(LocaleIdT&& value) {
187 SetLocaleId(std::forward<LocaleIdT>(value));
188 return *this;
189 }
191
193
196 inline const Aws::String& GetIntentId() const { return m_intentId; }
197 template <typename IntentIdT = Aws::String>
198 void SetIntentId(IntentIdT&& value) {
199 m_intentIdHasBeenSet = true;
200 m_intentId = std::forward<IntentIdT>(value);
201 }
202 template <typename IntentIdT = Aws::String>
203 UpdateSlotResult& WithIntentId(IntentIdT&& value) {
204 SetIntentId(std::forward<IntentIdT>(value));
205 return *this;
206 }
208
210
213 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
214 template <typename CreationDateTimeT = Aws::Utils::DateTime>
215 void SetCreationDateTime(CreationDateTimeT&& value) {
216 m_creationDateTimeHasBeenSet = true;
217 m_creationDateTime = std::forward<CreationDateTimeT>(value);
218 }
219 template <typename CreationDateTimeT = Aws::Utils::DateTime>
220 UpdateSlotResult& WithCreationDateTime(CreationDateTimeT&& value) {
221 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
222 return *this;
223 }
225
227
230 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
231 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
232 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
233 m_lastUpdatedDateTimeHasBeenSet = true;
234 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
235 }
236 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
237 UpdateSlotResult& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
238 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
239 return *this;
240 }
242
244
247 inline const MultipleValuesSetting& GetMultipleValuesSetting() const { return m_multipleValuesSetting; }
248 template <typename MultipleValuesSettingT = MultipleValuesSetting>
249 void SetMultipleValuesSetting(MultipleValuesSettingT&& value) {
250 m_multipleValuesSettingHasBeenSet = true;
251 m_multipleValuesSetting = std::forward<MultipleValuesSettingT>(value);
252 }
253 template <typename MultipleValuesSettingT = MultipleValuesSetting>
254 UpdateSlotResult& WithMultipleValuesSetting(MultipleValuesSettingT&& value) {
255 SetMultipleValuesSetting(std::forward<MultipleValuesSettingT>(value));
256 return *this;
257 }
259
261
265 inline const SubSlotSetting& GetSubSlotSetting() const { return m_subSlotSetting; }
266 template <typename SubSlotSettingT = SubSlotSetting>
267 void SetSubSlotSetting(SubSlotSettingT&& value) {
268 m_subSlotSettingHasBeenSet = true;
269 m_subSlotSetting = std::forward<SubSlotSettingT>(value);
270 }
271 template <typename SubSlotSettingT = SubSlotSetting>
272 UpdateSlotResult& WithSubSlotSetting(SubSlotSettingT&& value) {
273 SetSubSlotSetting(std::forward<SubSlotSettingT>(value));
274 return *this;
275 }
277
279
280 inline const Aws::String& GetRequestId() const { return m_requestId; }
281 template <typename RequestIdT = Aws::String>
282 void SetRequestId(RequestIdT&& value) {
283 m_requestIdHasBeenSet = true;
284 m_requestId = std::forward<RequestIdT>(value);
285 }
286 template <typename RequestIdT = Aws::String>
287 UpdateSlotResult& WithRequestId(RequestIdT&& value) {
288 SetRequestId(std::forward<RequestIdT>(value));
289 return *this;
290 }
292 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
293
294 private:
295 Aws::String m_slotId;
296
297 Aws::String m_slotName;
298
299 Aws::String m_description;
300
301 Aws::String m_slotTypeId;
302
303 SlotValueElicitationSetting m_valueElicitationSetting;
304
305 ObfuscationSetting m_obfuscationSetting;
306
307 Aws::String m_botId;
308
309 Aws::String m_botVersion;
310
311 Aws::String m_localeId;
312
313 Aws::String m_intentId;
314
315 Aws::Utils::DateTime m_creationDateTime{};
316
317 Aws::Utils::DateTime m_lastUpdatedDateTime{};
318
319 MultipleValuesSetting m_multipleValuesSetting;
320
321 SubSlotSetting m_subSlotSetting;
322
323 Aws::String m_requestId;
324 Aws::Http::HttpResponseCode m_HttpResponseCode;
325 bool m_slotIdHasBeenSet = false;
326 bool m_slotNameHasBeenSet = false;
327 bool m_descriptionHasBeenSet = false;
328 bool m_slotTypeIdHasBeenSet = false;
329 bool m_valueElicitationSettingHasBeenSet = false;
330 bool m_obfuscationSettingHasBeenSet = false;
331 bool m_botIdHasBeenSet = false;
332 bool m_botVersionHasBeenSet = false;
333 bool m_localeIdHasBeenSet = false;
334 bool m_intentIdHasBeenSet = false;
335 bool m_creationDateTimeHasBeenSet = false;
336 bool m_lastUpdatedDateTimeHasBeenSet = false;
337 bool m_multipleValuesSettingHasBeenSet = false;
338 bool m_subSlotSettingHasBeenSet = false;
339 bool m_requestIdHasBeenSet = false;
340};
341
342} // namespace Model
343} // namespace LexModelsV2
344} // 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
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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