AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateSlotResult.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 CreateSlotResult();
38
39
41
45 inline const Aws::String& GetSlotId() const{ return m_slotId; }
46 inline void SetSlotId(const Aws::String& value) { m_slotId = value; }
47 inline void SetSlotId(Aws::String&& value) { m_slotId = std::move(value); }
48 inline void SetSlotId(const char* value) { m_slotId.assign(value); }
49 inline CreateSlotResult& WithSlotId(const Aws::String& value) { SetSlotId(value); return *this;}
50 inline CreateSlotResult& WithSlotId(Aws::String&& value) { SetSlotId(std::move(value)); return *this;}
51 inline CreateSlotResult& WithSlotId(const char* value) { SetSlotId(value); return *this;}
53
55
58 inline const Aws::String& GetSlotName() const{ return m_slotName; }
59 inline void SetSlotName(const Aws::String& value) { m_slotName = value; }
60 inline void SetSlotName(Aws::String&& value) { m_slotName = std::move(value); }
61 inline void SetSlotName(const char* value) { m_slotName.assign(value); }
62 inline CreateSlotResult& WithSlotName(const Aws::String& value) { SetSlotName(value); return *this;}
63 inline CreateSlotResult& WithSlotName(Aws::String&& value) { SetSlotName(std::move(value)); return *this;}
64 inline CreateSlotResult& WithSlotName(const char* value) { SetSlotName(value); return *this;}
66
68
71 inline const Aws::String& GetDescription() const{ return m_description; }
72 inline void SetDescription(const Aws::String& value) { m_description = value; }
73 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
74 inline void SetDescription(const char* value) { m_description.assign(value); }
75 inline CreateSlotResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
76 inline CreateSlotResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
77 inline CreateSlotResult& WithDescription(const char* value) { SetDescription(value); return *this;}
79
81
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 CreateSlotResult& WithSlotTypeId(const Aws::String& value) { SetSlotTypeId(value); return *this;}
89 inline CreateSlotResult& WithSlotTypeId(Aws::String&& value) { SetSlotTypeId(std::move(value)); return *this;}
90 inline CreateSlotResult& 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 CreateSlotResult& 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 CreateSlotResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
125 inline CreateSlotResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
126 inline CreateSlotResult& 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 CreateSlotResult& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
138 inline CreateSlotResult& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
139 inline CreateSlotResult& 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 CreateSlotResult& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
151 inline CreateSlotResult& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
152 inline CreateSlotResult& 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 CreateSlotResult& WithIntentId(const Aws::String& value) { SetIntentId(value); return *this;}
164 inline CreateSlotResult& WithIntentId(Aws::String&& value) { SetIntentId(std::move(value)); return *this;}
165 inline CreateSlotResult& 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 CreateSlotResult& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
178
180
183 inline const MultipleValuesSetting& GetMultipleValuesSetting() const{ return m_multipleValuesSetting; }
184 inline void SetMultipleValuesSetting(const MultipleValuesSetting& value) { m_multipleValuesSetting = value; }
185 inline void SetMultipleValuesSetting(MultipleValuesSetting&& value) { m_multipleValuesSetting = std::move(value); }
189
191
195 inline const SubSlotSetting& GetSubSlotSetting() const{ return m_subSlotSetting; }
196 inline void SetSubSlotSetting(const SubSlotSetting& value) { m_subSlotSetting = value; }
197 inline void SetSubSlotSetting(SubSlotSetting&& value) { m_subSlotSetting = std::move(value); }
198 inline CreateSlotResult& WithSubSlotSetting(const SubSlotSetting& value) { SetSubSlotSetting(value); return *this;}
199 inline CreateSlotResult& WithSubSlotSetting(SubSlotSetting&& value) { SetSubSlotSetting(std::move(value)); return *this;}
201
203
204 inline const Aws::String& GetRequestId() const{ return m_requestId; }
205 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
206 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
207 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
208 inline CreateSlotResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
209 inline CreateSlotResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
210 inline CreateSlotResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
212 private:
213
214 Aws::String m_slotId;
215
216 Aws::String m_slotName;
217
218 Aws::String m_description;
219
220 Aws::String m_slotTypeId;
221
222 SlotValueElicitationSetting m_valueElicitationSetting;
223
224 ObfuscationSetting m_obfuscationSetting;
225
226 Aws::String m_botId;
227
228 Aws::String m_botVersion;
229
230 Aws::String m_localeId;
231
232 Aws::String m_intentId;
233
234 Aws::Utils::DateTime m_creationDateTime;
235
236 MultipleValuesSetting m_multipleValuesSetting;
237
238 SubSlotSetting m_subSlotSetting;
239
240 Aws::String m_requestId;
241 };
242
243} // namespace Model
244} // namespace LexModelsV2
245} // namespace Aws
CreateSlotResult & WithRequestId(const Aws::String &value)
CreateSlotResult & WithMultipleValuesSetting(const MultipleValuesSetting &value)
void SetValueElicitationSetting(const SlotValueElicitationSetting &value)
const SlotValueElicitationSetting & GetValueElicitationSetting() const
const Aws::String & GetBotVersion() const
CreateSlotResult & WithSlotName(const Aws::String &value)
CreateSlotResult & WithValueElicitationSetting(const SlotValueElicitationSetting &value)
CreateSlotResult & WithIntentId(const Aws::String &value)
void SetSlotId(const Aws::String &value)
void SetMultipleValuesSetting(const MultipleValuesSetting &value)
void SetValueElicitationSetting(SlotValueElicitationSetting &&value)
CreateSlotResult & WithRequestId(Aws::String &&value)
CreateSlotResult & WithSlotId(const char *value)
const Aws::String & GetSlotTypeId() const
CreateSlotResult & WithIntentId(const char *value)
void SetObfuscationSetting(ObfuscationSetting &&value)
AWS_LEXMODELSV2_API CreateSlotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetDescription() const
CreateSlotResult & WithBotVersion(Aws::String &&value)
CreateSlotResult & WithLocaleId(const char *value)
void SetMultipleValuesSetting(MultipleValuesSetting &&value)
CreateSlotResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
CreateSlotResult & WithObfuscationSetting(const ObfuscationSetting &value)
CreateSlotResult & WithLocaleId(const Aws::String &value)
CreateSlotResult & WithSlotTypeId(const char *value)
void SetSlotName(const Aws::String &value)
const SubSlotSetting & GetSubSlotSetting() const
CreateSlotResult & WithSubSlotSetting(const SubSlotSetting &value)
void SetBotVersion(const Aws::String &value)
CreateSlotResult & WithSlotId(Aws::String &&value)
CreateSlotResult & WithBotId(const char *value)
CreateSlotResult & WithSlotName(Aws::String &&value)
CreateSlotResult & WithSlotName(const char *value)
AWS_LEXMODELSV2_API CreateSlotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSubSlotSetting(const SubSlotSetting &value)
void SetDescription(const Aws::String &value)
void SetBotId(const Aws::String &value)
CreateSlotResult & WithSlotId(const Aws::String &value)
void SetObfuscationSetting(const ObfuscationSetting &value)
void SetIntentId(const Aws::String &value)
CreateSlotResult & WithBotId(Aws::String &&value)
CreateSlotResult & WithObfuscationSetting(ObfuscationSetting &&value)
CreateSlotResult & WithSlotTypeId(Aws::String &&value)
CreateSlotResult & WithMultipleValuesSetting(MultipleValuesSetting &&value)
CreateSlotResult & WithDescription(Aws::String &&value)
void SetSubSlotSetting(SubSlotSetting &&value)
void SetRequestId(const Aws::String &value)
CreateSlotResult & WithSlotTypeId(const Aws::String &value)
CreateSlotResult & WithRequestId(const char *value)
const Aws::String & GetSlotName() const
void SetCreationDateTime(const Aws::Utils::DateTime &value)
CreateSlotResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
CreateSlotResult & WithDescription(const Aws::String &value)
const ObfuscationSetting & GetObfuscationSetting() const
const MultipleValuesSetting & GetMultipleValuesSetting() const
CreateSlotResult & WithValueElicitationSetting(SlotValueElicitationSetting &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
CreateSlotResult & WithBotVersion(const char *value)
CreateSlotResult & WithBotId(const Aws::String &value)
CreateSlotResult & WithSubSlotSetting(SubSlotSetting &&value)
CreateSlotResult & WithLocaleId(Aws::String &&value)
CreateSlotResult & WithIntentId(Aws::String &&value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
void SetSlotTypeId(const Aws::String &value)
CreateSlotResult & WithBotVersion(const Aws::String &value)
CreateSlotResult & WithDescription(const char *value)
void SetLocaleId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue