AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateSlotResult.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 UpdateSlotResult();
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 UpdateSlotResult& WithSlotId(const Aws::String& value) { SetSlotId(value); return *this;}
49 inline UpdateSlotResult& WithSlotId(Aws::String&& value) { SetSlotId(std::move(value)); return *this;}
50 inline UpdateSlotResult& 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 UpdateSlotResult& WithSlotName(const Aws::String& value) { SetSlotName(value); return *this;}
62 inline UpdateSlotResult& WithSlotName(Aws::String&& value) { SetSlotName(std::move(value)); return *this;}
63 inline UpdateSlotResult& 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 UpdateSlotResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
75 inline UpdateSlotResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
76 inline UpdateSlotResult& 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 UpdateSlotResult& WithSlotTypeId(const Aws::String& value) { SetSlotTypeId(value); return *this;}
89 inline UpdateSlotResult& WithSlotTypeId(Aws::String&& value) { SetSlotTypeId(std::move(value)); return *this;}
90 inline UpdateSlotResult& WithSlotTypeId(const char* value) { SetSlotTypeId(value); return *this;}
92
94
98 inline const SlotValueElicitationSetting& GetValueElicitationSetting() const{ return m_valueElicitationSetting; }
99 inline void SetValueElicitationSetting(const SlotValueElicitationSetting& value) { m_valueElicitationSetting = value; }
100 inline void SetValueElicitationSetting(SlotValueElicitationSetting&& value) { m_valueElicitationSetting = std::move(value); }
104
106
110 inline const ObfuscationSetting& GetObfuscationSetting() const{ return m_obfuscationSetting; }
111 inline void SetObfuscationSetting(const ObfuscationSetting& value) { m_obfuscationSetting = value; }
112 inline void SetObfuscationSetting(ObfuscationSetting&& value) { m_obfuscationSetting = std::move(value); }
114 inline UpdateSlotResult& WithObfuscationSetting(ObfuscationSetting&& value) { SetObfuscationSetting(std::move(value)); return *this;}
116
118
121 inline const Aws::String& GetBotId() const{ return m_botId; }
122 inline void SetBotId(const Aws::String& value) { m_botId = value; }
123 inline void SetBotId(Aws::String&& value) { m_botId = std::move(value); }
124 inline void SetBotId(const char* value) { m_botId.assign(value); }
125 inline UpdateSlotResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
126 inline UpdateSlotResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
127 inline UpdateSlotResult& WithBotId(const char* value) { SetBotId(value); return *this;}
129
131
135 inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
136 inline void SetBotVersion(const Aws::String& value) { m_botVersion = value; }
137 inline void SetBotVersion(Aws::String&& value) { m_botVersion = std::move(value); }
138 inline void SetBotVersion(const char* value) { m_botVersion.assign(value); }
139 inline UpdateSlotResult& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
140 inline UpdateSlotResult& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
141 inline UpdateSlotResult& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
143
145
148 inline const Aws::String& GetLocaleId() const{ return m_localeId; }
149 inline void SetLocaleId(const Aws::String& value) { m_localeId = value; }
150 inline void SetLocaleId(Aws::String&& value) { m_localeId = std::move(value); }
151 inline void SetLocaleId(const char* value) { m_localeId.assign(value); }
152 inline UpdateSlotResult& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
153 inline UpdateSlotResult& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
154 inline UpdateSlotResult& WithLocaleId(const char* value) { SetLocaleId(value); return *this;}
156
158
161 inline const Aws::String& GetIntentId() const{ return m_intentId; }
162 inline void SetIntentId(const Aws::String& value) { m_intentId = value; }
163 inline void SetIntentId(Aws::String&& value) { m_intentId = std::move(value); }
164 inline void SetIntentId(const char* value) { m_intentId.assign(value); }
165 inline UpdateSlotResult& WithIntentId(const Aws::String& value) { SetIntentId(value); return *this;}
166 inline UpdateSlotResult& WithIntentId(Aws::String&& value) { SetIntentId(std::move(value)); return *this;}
167 inline UpdateSlotResult& WithIntentId(const char* value) { SetIntentId(value); return *this;}
169
171
174 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
175 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; }
176 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); }
178 inline UpdateSlotResult& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
180
182
185 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
186 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTime = value; }
187 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTime = std::move(value); }
189 inline UpdateSlotResult& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
191
193
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 UpdateSlotResult& WithSubSlotSetting(const SubSlotSetting& value) { SetSubSlotSetting(value); return *this;}
212 inline UpdateSlotResult& 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 UpdateSlotResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
222 inline UpdateSlotResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
223 inline UpdateSlotResult& 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
UpdateSlotResult & WithDescription(const char *value)
UpdateSlotResult & WithLocaleId(const Aws::String &value)
UpdateSlotResult & WithMultipleValuesSetting(MultipleValuesSetting &&value)
const ObfuscationSetting & GetObfuscationSetting() const
UpdateSlotResult & WithBotVersion(const Aws::String &value)
UpdateSlotResult & WithRequestId(const char *value)
const Aws::String & GetBotVersion() const
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
UpdateSlotResult & WithBotId(const Aws::String &value)
const SubSlotSetting & GetSubSlotSetting() const
UpdateSlotResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
UpdateSlotResult & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
UpdateSlotResult & WithRequestId(const Aws::String &value)
UpdateSlotResult & WithSlotTypeId(Aws::String &&value)
UpdateSlotResult & WithBotId(Aws::String &&value)
void SetSlotTypeId(const Aws::String &value)
UpdateSlotResult & WithSubSlotSetting(const SubSlotSetting &value)
void SetSubSlotSetting(SubSlotSetting &&value)
UpdateSlotResult & WithValueElicitationSetting(const SlotValueElicitationSetting &value)
UpdateSlotResult & WithIntentId(const Aws::String &value)
UpdateSlotResult & WithLocaleId(const char *value)
UpdateSlotResult & WithRequestId(Aws::String &&value)
UpdateSlotResult & WithSubSlotSetting(SubSlotSetting &&value)
UpdateSlotResult & WithIntentId(const char *value)
void SetDescription(const Aws::String &value)
UpdateSlotResult & WithValueElicitationSetting(SlotValueElicitationSetting &&value)
UpdateSlotResult & WithMultipleValuesSetting(const MultipleValuesSetting &value)
void SetValueElicitationSetting(SlotValueElicitationSetting &&value)
UpdateSlotResult & WithBotId(const char *value)
void SetIntentId(const Aws::String &value)
const Aws::String & GetSlotName() const
AWS_LEXMODELSV2_API UpdateSlotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetValueElicitationSetting(const SlotValueElicitationSetting &value)
UpdateSlotResult & WithSlotId(const char *value)
UpdateSlotResult & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
void SetSlotId(const Aws::String &value)
void SetBotId(const Aws::String &value)
const SlotValueElicitationSetting & GetValueElicitationSetting() const
void SetRequestId(const Aws::String &value)
void SetMultipleValuesSetting(const MultipleValuesSetting &value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
void SetBotVersion(const Aws::String &value)
const Aws::String & GetSlotTypeId() const
const Aws::String & GetDescription() const
UpdateSlotResult & WithIntentId(Aws::String &&value)
UpdateSlotResult & WithBotVersion(Aws::String &&value)
void SetObfuscationSetting(const ObfuscationSetting &value)
void SetMultipleValuesSetting(MultipleValuesSetting &&value)
UpdateSlotResult & WithSlotId(const Aws::String &value)
UpdateSlotResult & WithObfuscationSetting(const ObfuscationSetting &value)
UpdateSlotResult & WithBotVersion(const char *value)
const Aws::Utils::DateTime & GetCreationDateTime() const
UpdateSlotResult & WithSlotName(Aws::String &&value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
UpdateSlotResult & WithLocaleId(Aws::String &&value)
UpdateSlotResult & WithSlotName(const Aws::String &value)
UpdateSlotResult & WithSlotId(Aws::String &&value)
const MultipleValuesSetting & GetMultipleValuesSetting() const
void SetCreationDateTime(const Aws::Utils::DateTime &value)
UpdateSlotResult & WithDescription(const Aws::String &value)
void SetLocaleId(const Aws::String &value)
AWS_LEXMODELSV2_API UpdateSlotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSlotResult & WithSlotTypeId(const char *value)
UpdateSlotResult & WithSlotName(const char *value)
void SetObfuscationSetting(ObfuscationSetting &&value)
void SetSlotName(const Aws::String &value)
UpdateSlotResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
UpdateSlotResult & WithDescription(Aws::String &&value)
void SetSubSlotSetting(const SubSlotSetting &value)
UpdateSlotResult & WithObfuscationSetting(ObfuscationSetting &&value)
UpdateSlotResult & WithSlotTypeId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue