AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeSlotResult.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/model/SlotValueElicitationSetting.h>
10#include <aws/lexv2-models/model/ObfuscationSetting.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/lexv2-models/model/MultipleValuesSetting.h>
13#include <aws/lexv2-models/model/SubSlotSetting.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace LexModelsV2
29{
30namespace Model
31{
33 {
34 public:
35 AWS_LEXMODELSV2_API DescribeSlotResult() = default;
38
39
41
44 inline const Aws::String& GetSlotId() const { return m_slotId; }
45 template<typename SlotIdT = Aws::String>
46 void SetSlotId(SlotIdT&& value) { m_slotIdHasBeenSet = true; m_slotId = std::forward<SlotIdT>(value); }
47 template<typename SlotIdT = Aws::String>
48 DescribeSlotResult& WithSlotId(SlotIdT&& value) { SetSlotId(std::forward<SlotIdT>(value)); return *this;}
50
52
55 inline const Aws::String& GetSlotName() const { return m_slotName; }
56 template<typename SlotNameT = Aws::String>
57 void SetSlotName(SlotNameT&& value) { m_slotNameHasBeenSet = true; m_slotName = std::forward<SlotNameT>(value); }
58 template<typename SlotNameT = Aws::String>
59 DescribeSlotResult& WithSlotName(SlotNameT&& value) { SetSlotName(std::forward<SlotNameT>(value)); return *this;}
61
63
66 inline const Aws::String& GetDescription() const { return m_description; }
67 template<typename DescriptionT = Aws::String>
68 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
69 template<typename DescriptionT = Aws::String>
70 DescribeSlotResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
72
74
78 inline const Aws::String& GetSlotTypeId() const { return m_slotTypeId; }
79 template<typename SlotTypeIdT = Aws::String>
80 void SetSlotTypeId(SlotTypeIdT&& value) { m_slotTypeIdHasBeenSet = true; m_slotTypeId = std::forward<SlotTypeIdT>(value); }
81 template<typename SlotTypeIdT = Aws::String>
82 DescribeSlotResult& WithSlotTypeId(SlotTypeIdT&& value) { SetSlotTypeId(std::forward<SlotTypeIdT>(value)); return *this;}
84
86
89 inline const SlotValueElicitationSetting& GetValueElicitationSetting() const { return m_valueElicitationSetting; }
90 template<typename ValueElicitationSettingT = SlotValueElicitationSetting>
91 void SetValueElicitationSetting(ValueElicitationSettingT&& value) { m_valueElicitationSettingHasBeenSet = true; m_valueElicitationSetting = std::forward<ValueElicitationSettingT>(value); }
92 template<typename ValueElicitationSettingT = SlotValueElicitationSetting>
93 DescribeSlotResult& WithValueElicitationSetting(ValueElicitationSettingT&& value) { SetValueElicitationSetting(std::forward<ValueElicitationSettingT>(value)); return *this;}
95
97
101 inline const ObfuscationSetting& GetObfuscationSetting() const { return m_obfuscationSetting; }
102 template<typename ObfuscationSettingT = ObfuscationSetting>
103 void SetObfuscationSetting(ObfuscationSettingT&& value) { m_obfuscationSettingHasBeenSet = true; m_obfuscationSetting = std::forward<ObfuscationSettingT>(value); }
104 template<typename ObfuscationSettingT = ObfuscationSetting>
105 DescribeSlotResult& WithObfuscationSetting(ObfuscationSettingT&& value) { SetObfuscationSetting(std::forward<ObfuscationSettingT>(value)); return *this;}
107
109
112 inline const Aws::String& GetBotId() const { return m_botId; }
113 template<typename BotIdT = Aws::String>
114 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet = true; m_botId = std::forward<BotIdT>(value); }
115 template<typename BotIdT = Aws::String>
116 DescribeSlotResult& WithBotId(BotIdT&& value) { SetBotId(std::forward<BotIdT>(value)); return *this;}
118
120
123 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
124 template<typename BotVersionT = Aws::String>
125 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::forward<BotVersionT>(value); }
126 template<typename BotVersionT = Aws::String>
127 DescribeSlotResult& WithBotVersion(BotVersionT&& value) { SetBotVersion(std::forward<BotVersionT>(value)); return *this;}
129
131
134 inline const Aws::String& GetLocaleId() const { return m_localeId; }
135 template<typename LocaleIdT = Aws::String>
136 void SetLocaleId(LocaleIdT&& value) { m_localeIdHasBeenSet = true; m_localeId = std::forward<LocaleIdT>(value); }
137 template<typename LocaleIdT = Aws::String>
138 DescribeSlotResult& WithLocaleId(LocaleIdT&& value) { SetLocaleId(std::forward<LocaleIdT>(value)); return *this;}
140
142
145 inline const Aws::String& GetIntentId() const { return m_intentId; }
146 template<typename IntentIdT = Aws::String>
147 void SetIntentId(IntentIdT&& value) { m_intentIdHasBeenSet = true; m_intentId = std::forward<IntentIdT>(value); }
148 template<typename IntentIdT = Aws::String>
149 DescribeSlotResult& WithIntentId(IntentIdT&& value) { SetIntentId(std::forward<IntentIdT>(value)); return *this;}
151
153
156 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
157 template<typename CreationDateTimeT = Aws::Utils::DateTime>
158 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
159 template<typename CreationDateTimeT = Aws::Utils::DateTime>
160 DescribeSlotResult& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
162
164
167 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
168 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
169 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
170 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
171 DescribeSlotResult& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
173
175
180 inline const MultipleValuesSetting& GetMultipleValuesSetting() const { return m_multipleValuesSetting; }
181 template<typename MultipleValuesSettingT = MultipleValuesSetting>
182 void SetMultipleValuesSetting(MultipleValuesSettingT&& value) { m_multipleValuesSettingHasBeenSet = true; m_multipleValuesSetting = std::forward<MultipleValuesSettingT>(value); }
183 template<typename MultipleValuesSettingT = MultipleValuesSetting>
184 DescribeSlotResult& WithMultipleValuesSetting(MultipleValuesSettingT&& value) { SetMultipleValuesSetting(std::forward<MultipleValuesSettingT>(value)); return *this;}
186
188
192 inline const SubSlotSetting& GetSubSlotSetting() const { return m_subSlotSetting; }
193 template<typename SubSlotSettingT = SubSlotSetting>
194 void SetSubSlotSetting(SubSlotSettingT&& value) { m_subSlotSettingHasBeenSet = true; m_subSlotSetting = std::forward<SubSlotSettingT>(value); }
195 template<typename SubSlotSettingT = SubSlotSetting>
196 DescribeSlotResult& WithSubSlotSetting(SubSlotSettingT&& value) { SetSubSlotSetting(std::forward<SubSlotSettingT>(value)); return *this;}
198
200
201 inline const Aws::String& GetRequestId() const { return m_requestId; }
202 template<typename RequestIdT = Aws::String>
203 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
204 template<typename RequestIdT = Aws::String>
205 DescribeSlotResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
207 private:
208
209 Aws::String m_slotId;
210 bool m_slotIdHasBeenSet = false;
211
212 Aws::String m_slotName;
213 bool m_slotNameHasBeenSet = false;
214
215 Aws::String m_description;
216 bool m_descriptionHasBeenSet = false;
217
218 Aws::String m_slotTypeId;
219 bool m_slotTypeIdHasBeenSet = false;
220
221 SlotValueElicitationSetting m_valueElicitationSetting;
222 bool m_valueElicitationSettingHasBeenSet = false;
223
224 ObfuscationSetting m_obfuscationSetting;
225 bool m_obfuscationSettingHasBeenSet = false;
226
227 Aws::String m_botId;
228 bool m_botIdHasBeenSet = false;
229
230 Aws::String m_botVersion;
231 bool m_botVersionHasBeenSet = false;
232
233 Aws::String m_localeId;
234 bool m_localeIdHasBeenSet = false;
235
236 Aws::String m_intentId;
237 bool m_intentIdHasBeenSet = false;
238
239 Aws::Utils::DateTime m_creationDateTime{};
240 bool m_creationDateTimeHasBeenSet = false;
241
242 Aws::Utils::DateTime m_lastUpdatedDateTime{};
243 bool m_lastUpdatedDateTimeHasBeenSet = false;
244
245 MultipleValuesSetting m_multipleValuesSetting;
246 bool m_multipleValuesSettingHasBeenSet = false;
247
248 SubSlotSetting m_subSlotSetting;
249 bool m_subSlotSettingHasBeenSet = false;
250
251 Aws::String m_requestId;
252 bool m_requestIdHasBeenSet = false;
253 };
254
255} // namespace Model
256} // namespace LexModelsV2
257} // 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
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