AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
DescribeSlotResult.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 DescribeSlotResult() = 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 DescribeSlotResult& 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 DescribeSlotResult& 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 DescribeSlotResult& 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 DescribeSlotResult& WithSlotTypeId(SlotTypeIdT&& value) {
99 SetSlotTypeId(std::forward<SlotTypeIdT>(value));
100 return *this;
101 }
103
105
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 DescribeSlotResult& 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 DescribeSlotResult& 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 DescribeSlotResult& WithBotId(BotIdT&& value) {
151 SetBotId(std::forward<BotIdT>(value));
152 return *this;
153 }
155
157
160 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
161 template <typename BotVersionT = Aws::String>
162 void SetBotVersion(BotVersionT&& value) {
163 m_botVersionHasBeenSet = true;
164 m_botVersion = std::forward<BotVersionT>(value);
165 }
166 template <typename BotVersionT = Aws::String>
167 DescribeSlotResult& WithBotVersion(BotVersionT&& value) {
168 SetBotVersion(std::forward<BotVersionT>(value));
169 return *this;
170 }
172
174
177 inline const Aws::String& GetLocaleId() const { return m_localeId; }
178 template <typename LocaleIdT = Aws::String>
179 void SetLocaleId(LocaleIdT&& value) {
180 m_localeIdHasBeenSet = true;
181 m_localeId = std::forward<LocaleIdT>(value);
182 }
183 template <typename LocaleIdT = Aws::String>
184 DescribeSlotResult& WithLocaleId(LocaleIdT&& value) {
185 SetLocaleId(std::forward<LocaleIdT>(value));
186 return *this;
187 }
189
191
194 inline const Aws::String& GetIntentId() const { return m_intentId; }
195 template <typename IntentIdT = Aws::String>
196 void SetIntentId(IntentIdT&& value) {
197 m_intentIdHasBeenSet = true;
198 m_intentId = std::forward<IntentIdT>(value);
199 }
200 template <typename IntentIdT = Aws::String>
201 DescribeSlotResult& WithIntentId(IntentIdT&& value) {
202 SetIntentId(std::forward<IntentIdT>(value));
203 return *this;
204 }
206
208
211 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
212 template <typename CreationDateTimeT = Aws::Utils::DateTime>
213 void SetCreationDateTime(CreationDateTimeT&& value) {
214 m_creationDateTimeHasBeenSet = true;
215 m_creationDateTime = std::forward<CreationDateTimeT>(value);
216 }
217 template <typename CreationDateTimeT = Aws::Utils::DateTime>
218 DescribeSlotResult& WithCreationDateTime(CreationDateTimeT&& value) {
219 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
220 return *this;
221 }
223
225
228 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
229 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
230 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
231 m_lastUpdatedDateTimeHasBeenSet = true;
232 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
233 }
234 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
235 DescribeSlotResult& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
236 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
237 return *this;
238 }
240
242
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 DescribeSlotResult& 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 DescribeSlotResult& 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 DescribeSlotResult& 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
DescribeSlotResult & WithRequestId(RequestIdT &&value)
void SetValueElicitationSetting(ValueElicitationSettingT &&value)
DescribeSlotResult & WithBotVersion(BotVersionT &&value)
const MultipleValuesSetting & GetMultipleValuesSetting() const
void SetObfuscationSetting(ObfuscationSettingT &&value)
void SetMultipleValuesSetting(MultipleValuesSettingT &&value)
void SetSubSlotSetting(SubSlotSettingT &&value)
DescribeSlotResult & WithSlotId(SlotIdT &&value)
DescribeSlotResult & WithCreationDateTime(CreationDateTimeT &&value)
DescribeSlotResult & WithMultipleValuesSetting(MultipleValuesSettingT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
DescribeSlotResult & WithObfuscationSetting(ObfuscationSettingT &&value)
DescribeSlotResult & WithDescription(DescriptionT &&value)
const SubSlotSetting & GetSubSlotSetting() const
DescribeSlotResult & WithLocaleId(LocaleIdT &&value)
DescribeSlotResult & WithSubSlotSetting(SubSlotSettingT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
DescribeSlotResult & WithIntentId(IntentIdT &&value)
DescribeSlotResult & WithValueElicitationSetting(ValueElicitationSettingT &&value)
const ObfuscationSetting & GetObfuscationSetting() const
const SlotValueElicitationSetting & GetValueElicitationSetting() const
DescribeSlotResult & WithSlotName(SlotNameT &&value)
DescribeSlotResult & WithSlotTypeId(SlotTypeIdT &&value)
AWS_LEXMODELSV2_API DescribeSlotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LEXMODELSV2_API DescribeSlotResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DescribeSlotResult & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
DescribeSlotResult & WithBotId(BotIdT &&value)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
AWS_LEXMODELSV2_API DescribeSlotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue