AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
38
39
41
44 inline const Aws::String& GetSlotId() const{ return m_slotId; }
45 inline void SetSlotId(const Aws::String& value) { m_slotId = value; }
46 inline void SetSlotId(Aws::String&& value) { m_slotId = std::move(value); }
47 inline void SetSlotId(const char* value) { m_slotId.assign(value); }
48 inline DescribeSlotResult& WithSlotId(const Aws::String& value) { SetSlotId(value); return *this;}
49 inline DescribeSlotResult& WithSlotId(Aws::String&& value) { SetSlotId(std::move(value)); return *this;}
50 inline DescribeSlotResult& WithSlotId(const char* value) { SetSlotId(value); return *this;}
52
54
57 inline const Aws::String& GetSlotName() const{ return m_slotName; }
58 inline void SetSlotName(const Aws::String& value) { m_slotName = value; }
59 inline void SetSlotName(Aws::String&& value) { m_slotName = std::move(value); }
60 inline void SetSlotName(const char* value) { m_slotName.assign(value); }
61 inline DescribeSlotResult& WithSlotName(const Aws::String& value) { SetSlotName(value); return *this;}
62 inline DescribeSlotResult& WithSlotName(Aws::String&& value) { SetSlotName(std::move(value)); return *this;}
63 inline DescribeSlotResult& WithSlotName(const char* value) { SetSlotName(value); return *this;}
65
67
70 inline const Aws::String& GetDescription() const{ return m_description; }
71 inline void SetDescription(const Aws::String& value) { m_description = value; }
72 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
73 inline void SetDescription(const char* value) { m_description.assign(value); }
74 inline DescribeSlotResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
75 inline DescribeSlotResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
76 inline DescribeSlotResult& WithDescription(const char* value) { SetDescription(value); return *this;}
78
80
84 inline const Aws::String& GetSlotTypeId() const{ return m_slotTypeId; }
85 inline void SetSlotTypeId(const Aws::String& value) { m_slotTypeId = value; }
86 inline void SetSlotTypeId(Aws::String&& value) { m_slotTypeId = std::move(value); }
87 inline void SetSlotTypeId(const char* value) { m_slotTypeId.assign(value); }
88 inline DescribeSlotResult& WithSlotTypeId(const Aws::String& value) { SetSlotTypeId(value); return *this;}
89 inline DescribeSlotResult& WithSlotTypeId(Aws::String&& value) { SetSlotTypeId(std::move(value)); return *this;}
90 inline DescribeSlotResult& WithSlotTypeId(const char* value) { SetSlotTypeId(value); return *this;}
92
94
97 inline const SlotValueElicitationSetting& GetValueElicitationSetting() const{ return m_valueElicitationSetting; }
98 inline void SetValueElicitationSetting(const SlotValueElicitationSetting& value) { m_valueElicitationSetting = value; }
99 inline void SetValueElicitationSetting(SlotValueElicitationSetting&& value) { m_valueElicitationSetting = std::move(value); }
103
105
109 inline const ObfuscationSetting& GetObfuscationSetting() const{ return m_obfuscationSetting; }
110 inline void SetObfuscationSetting(const ObfuscationSetting& value) { m_obfuscationSetting = value; }
111 inline void SetObfuscationSetting(ObfuscationSetting&& value) { m_obfuscationSetting = std::move(value); }
113 inline DescribeSlotResult& WithObfuscationSetting(ObfuscationSetting&& value) { SetObfuscationSetting(std::move(value)); return *this;}
115
117
120 inline const Aws::String& GetBotId() const{ return m_botId; }
121 inline void SetBotId(const Aws::String& value) { m_botId = value; }
122 inline void SetBotId(Aws::String&& value) { m_botId = std::move(value); }
123 inline void SetBotId(const char* value) { m_botId.assign(value); }
124 inline DescribeSlotResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
125 inline DescribeSlotResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
126 inline DescribeSlotResult& WithBotId(const char* value) { SetBotId(value); return *this;}
128
130
133 inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
134 inline void SetBotVersion(const Aws::String& value) { m_botVersion = value; }
135 inline void SetBotVersion(Aws::String&& value) { m_botVersion = std::move(value); }
136 inline void SetBotVersion(const char* value) { m_botVersion.assign(value); }
137 inline DescribeSlotResult& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
138 inline DescribeSlotResult& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
139 inline DescribeSlotResult& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
141
143
146 inline const Aws::String& GetLocaleId() const{ return m_localeId; }
147 inline void SetLocaleId(const Aws::String& value) { m_localeId = value; }
148 inline void SetLocaleId(Aws::String&& value) { m_localeId = std::move(value); }
149 inline void SetLocaleId(const char* value) { m_localeId.assign(value); }
150 inline DescribeSlotResult& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
151 inline DescribeSlotResult& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
152 inline DescribeSlotResult& WithLocaleId(const char* value) { SetLocaleId(value); return *this;}
154
156
159 inline const Aws::String& GetIntentId() const{ return m_intentId; }
160 inline void SetIntentId(const Aws::String& value) { m_intentId = value; }
161 inline void SetIntentId(Aws::String&& value) { m_intentId = std::move(value); }
162 inline void SetIntentId(const char* value) { m_intentId.assign(value); }
163 inline DescribeSlotResult& WithIntentId(const Aws::String& value) { SetIntentId(value); return *this;}
164 inline DescribeSlotResult& WithIntentId(Aws::String&& value) { SetIntentId(std::move(value)); return *this;}
165 inline DescribeSlotResult& WithIntentId(const char* value) { SetIntentId(value); return *this;}
167
169
172 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
173 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; }
174 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); }
176 inline DescribeSlotResult& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
178
180
183 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
184 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTime = value; }
185 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTime = std::move(value); }
189
191
196 inline const MultipleValuesSetting& GetMultipleValuesSetting() const{ return m_multipleValuesSetting; }
197 inline void SetMultipleValuesSetting(const MultipleValuesSetting& value) { m_multipleValuesSetting = value; }
198 inline void SetMultipleValuesSetting(MultipleValuesSetting&& value) { m_multipleValuesSetting = std::move(value); }
202
204
208 inline const SubSlotSetting& GetSubSlotSetting() const{ return m_subSlotSetting; }
209 inline void SetSubSlotSetting(const SubSlotSetting& value) { m_subSlotSetting = value; }
210 inline void SetSubSlotSetting(SubSlotSetting&& value) { m_subSlotSetting = std::move(value); }
211 inline DescribeSlotResult& WithSubSlotSetting(const SubSlotSetting& value) { SetSubSlotSetting(value); return *this;}
212 inline DescribeSlotResult& WithSubSlotSetting(SubSlotSetting&& value) { SetSubSlotSetting(std::move(value)); return *this;}
214
216
217 inline const Aws::String& GetRequestId() const{ return m_requestId; }
218 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
219 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
220 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
221 inline DescribeSlotResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
222 inline DescribeSlotResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
223 inline DescribeSlotResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
225 private:
226
227 Aws::String m_slotId;
228
229 Aws::String m_slotName;
230
231 Aws::String m_description;
232
233 Aws::String m_slotTypeId;
234
235 SlotValueElicitationSetting m_valueElicitationSetting;
236
237 ObfuscationSetting m_obfuscationSetting;
238
239 Aws::String m_botId;
240
241 Aws::String m_botVersion;
242
243 Aws::String m_localeId;
244
245 Aws::String m_intentId;
246
247 Aws::Utils::DateTime m_creationDateTime;
248
249 Aws::Utils::DateTime m_lastUpdatedDateTime;
250
251 MultipleValuesSetting m_multipleValuesSetting;
252
253 SubSlotSetting m_subSlotSetting;
254
255 Aws::String m_requestId;
256 };
257
258} // namespace Model
259} // namespace LexModelsV2
260} // namespace Aws
DescribeSlotResult & WithSlotId(const char *value)
const MultipleValuesSetting & GetMultipleValuesSetting() const
DescribeSlotResult & WithBotId(const char *value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
DescribeSlotResult & WithBotVersion(const Aws::String &value)
DescribeSlotResult & WithMultipleValuesSetting(const MultipleValuesSetting &value)
DescribeSlotResult & WithBotVersion(Aws::String &&value)
DescribeSlotResult & WithRequestId(const Aws::String &value)
void SetObfuscationSetting(const ObfuscationSetting &value)
DescribeSlotResult & WithIntentId(const Aws::String &value)
DescribeSlotResult & WithBotId(const Aws::String &value)
void SetSubSlotSetting(const SubSlotSetting &value)
DescribeSlotResult & WithValueElicitationSetting(const SlotValueElicitationSetting &value)
void SetValueElicitationSetting(const SlotValueElicitationSetting &value)
const Aws::Utils::DateTime & GetCreationDateTime() const
DescribeSlotResult & WithSlotName(const char *value)
DescribeSlotResult & WithSubSlotSetting(const SubSlotSetting &value)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
DescribeSlotResult & WithSubSlotSetting(SubSlotSetting &&value)
DescribeSlotResult & WithSlotTypeId(const char *value)
const SubSlotSetting & GetSubSlotSetting() const
DescribeSlotResult & WithDescription(const Aws::String &value)
DescribeSlotResult & WithDescription(Aws::String &&value)
void SetMultipleValuesSetting(const MultipleValuesSetting &value)
void SetMultipleValuesSetting(MultipleValuesSetting &&value)
DescribeSlotResult & WithBotVersion(const char *value)
DescribeSlotResult & WithBotId(Aws::String &&value)
DescribeSlotResult & WithLocaleId(const char *value)
DescribeSlotResult & WithRequestId(Aws::String &&value)
void SetObfuscationSetting(ObfuscationSetting &&value)
DescribeSlotResult & WithLocaleId(const Aws::String &value)
void SetBotVersion(const Aws::String &value)
DescribeSlotResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
DescribeSlotResult & WithObfuscationSetting(ObfuscationSetting &&value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
DescribeSlotResult & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
DescribeSlotResult & WithIntentId(const char *value)
void SetDescription(const Aws::String &value)
void SetRequestId(const Aws::String &value)
void SetSlotTypeId(const Aws::String &value)
DescribeSlotResult & WithIntentId(Aws::String &&value)
DescribeSlotResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
DescribeSlotResult & WithLocaleId(Aws::String &&value)
DescribeSlotResult & WithRequestId(const char *value)
DescribeSlotResult & WithMultipleValuesSetting(MultipleValuesSetting &&value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
const ObfuscationSetting & GetObfuscationSetting() const
const SlotValueElicitationSetting & GetValueElicitationSetting() const
DescribeSlotResult & WithSlotId(const Aws::String &value)
void SetSlotName(const Aws::String &value)
DescribeSlotResult & WithObfuscationSetting(const ObfuscationSetting &value)
DescribeSlotResult & WithSlotTypeId(const Aws::String &value)
DescribeSlotResult & WithSlotTypeId(Aws::String &&value)
AWS_LEXMODELSV2_API DescribeSlotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeSlotResult & WithDescription(const char *value)
DescribeSlotResult & WithSlotId(Aws::String &&value)
DescribeSlotResult & WithValueElicitationSetting(SlotValueElicitationSetting &&value)
void SetValueElicitationSetting(SlotValueElicitationSetting &&value)
DescribeSlotResult & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
AWS_LEXMODELSV2_API DescribeSlotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeSlotResult & WithSlotName(const Aws::String &value)
DescribeSlotResult & WithSlotName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue