AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = 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 UpdateSlotResult& 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 UpdateSlotResult& 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 UpdateSlotResult& 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 UpdateSlotResult& WithSlotTypeId(SlotTypeIdT&& value) { SetSlotTypeId(std::forward<SlotTypeIdT>(value)); return *this;}
84
86
90 inline const SlotValueElicitationSetting& GetValueElicitationSetting() const { return m_valueElicitationSetting; }
91 template<typename ValueElicitationSettingT = SlotValueElicitationSetting>
92 void SetValueElicitationSetting(ValueElicitationSettingT&& value) { m_valueElicitationSettingHasBeenSet = true; m_valueElicitationSetting = std::forward<ValueElicitationSettingT>(value); }
93 template<typename ValueElicitationSettingT = SlotValueElicitationSetting>
94 UpdateSlotResult& WithValueElicitationSetting(ValueElicitationSettingT&& value) { SetValueElicitationSetting(std::forward<ValueElicitationSettingT>(value)); return *this;}
96
98
102 inline const ObfuscationSetting& GetObfuscationSetting() const { return m_obfuscationSetting; }
103 template<typename ObfuscationSettingT = ObfuscationSetting>
104 void SetObfuscationSetting(ObfuscationSettingT&& value) { m_obfuscationSettingHasBeenSet = true; m_obfuscationSetting = std::forward<ObfuscationSettingT>(value); }
105 template<typename ObfuscationSettingT = ObfuscationSetting>
106 UpdateSlotResult& WithObfuscationSetting(ObfuscationSettingT&& value) { SetObfuscationSetting(std::forward<ObfuscationSettingT>(value)); return *this;}
108
110
113 inline const Aws::String& GetBotId() const { return m_botId; }
114 template<typename BotIdT = Aws::String>
115 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet = true; m_botId = std::forward<BotIdT>(value); }
116 template<typename BotIdT = Aws::String>
117 UpdateSlotResult& WithBotId(BotIdT&& value) { SetBotId(std::forward<BotIdT>(value)); return *this;}
119
121
125 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
126 template<typename BotVersionT = Aws::String>
127 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::forward<BotVersionT>(value); }
128 template<typename BotVersionT = Aws::String>
129 UpdateSlotResult& WithBotVersion(BotVersionT&& value) { SetBotVersion(std::forward<BotVersionT>(value)); return *this;}
131
133
136 inline const Aws::String& GetLocaleId() const { return m_localeId; }
137 template<typename LocaleIdT = Aws::String>
138 void SetLocaleId(LocaleIdT&& value) { m_localeIdHasBeenSet = true; m_localeId = std::forward<LocaleIdT>(value); }
139 template<typename LocaleIdT = Aws::String>
140 UpdateSlotResult& WithLocaleId(LocaleIdT&& value) { SetLocaleId(std::forward<LocaleIdT>(value)); return *this;}
142
144
147 inline const Aws::String& GetIntentId() const { return m_intentId; }
148 template<typename IntentIdT = Aws::String>
149 void SetIntentId(IntentIdT&& value) { m_intentIdHasBeenSet = true; m_intentId = std::forward<IntentIdT>(value); }
150 template<typename IntentIdT = Aws::String>
151 UpdateSlotResult& WithIntentId(IntentIdT&& value) { SetIntentId(std::forward<IntentIdT>(value)); return *this;}
153
155
158 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
159 template<typename CreationDateTimeT = Aws::Utils::DateTime>
160 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
161 template<typename CreationDateTimeT = Aws::Utils::DateTime>
162 UpdateSlotResult& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
164
166
169 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
170 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
171 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
172 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
173 UpdateSlotResult& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
175
177
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 UpdateSlotResult& 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 UpdateSlotResult& 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 UpdateSlotResult& 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
UpdateSlotResult & WithMultipleValuesSetting(MultipleValuesSettingT &&value)
const ObfuscationSetting & GetObfuscationSetting() const
const Aws::String & GetBotVersion() const
const SubSlotSetting & GetSubSlotSetting() const
UpdateSlotResult & WithValueElicitationSetting(ValueElicitationSettingT &&value)
void SetSubSlotSetting(SubSlotSettingT &&value)
void SetObfuscationSetting(ObfuscationSettingT &&value)
void SetDescription(DescriptionT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
UpdateSlotResult & WithLocaleId(LocaleIdT &&value)
UpdateSlotResult & WithSlotName(SlotNameT &&value)
UpdateSlotResult & WithRequestId(RequestIdT &&value)
UpdateSlotResult & WithSlotId(SlotIdT &&value)
UpdateSlotResult & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
const Aws::String & GetSlotName() const
AWS_LEXMODELSV2_API UpdateSlotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSlotResult & WithObfuscationSetting(ObfuscationSettingT &&value)
const SlotValueElicitationSetting & GetValueElicitationSetting() const
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
const Aws::String & GetSlotTypeId() const
void SetValueElicitationSetting(ValueElicitationSettingT &&value)
const Aws::String & GetDescription() const
UpdateSlotResult & WithBotId(BotIdT &&value)
AWS_LEXMODELSV2_API UpdateSlotResult()=default
UpdateSlotResult & WithBotVersion(BotVersionT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
const MultipleValuesSetting & GetMultipleValuesSetting() const
UpdateSlotResult & WithCreationDateTime(CreationDateTimeT &&value)
AWS_LEXMODELSV2_API UpdateSlotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSlotResult & WithSubSlotSetting(SubSlotSettingT &&value)
void SetMultipleValuesSetting(MultipleValuesSettingT &&value)
UpdateSlotResult & WithIntentId(IntentIdT &&value)
UpdateSlotResult & WithDescription(DescriptionT &&value)
UpdateSlotResult & WithSlotTypeId(SlotTypeIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue