7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lexv2-models/LexModelsV2Request.h>
9#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
10#include <aws/lexv2-models/model/MultipleValuesSetting.h>
11#include <aws/lexv2-models/model/ObfuscationSetting.h>
12#include <aws/lexv2-models/model/SlotValueElicitationSetting.h>
13#include <aws/lexv2-models/model/SubSlotSetting.h>
18namespace LexModelsV2 {
41 template <
typename SlotIdT = Aws::String>
43 m_slotIdHasBeenSet =
true;
44 m_slotId = std::forward<SlotIdT>(value);
46 template <
typename SlotIdT = Aws::String>
59 template <
typename SlotNameT = Aws::String>
61 m_slotNameHasBeenSet =
true;
62 m_slotName = std::forward<SlotNameT>(value);
64 template <
typename SlotNameT = Aws::String>
77 template <
typename DescriptionT = Aws::String>
79 m_descriptionHasBeenSet =
true;
80 m_description = std::forward<DescriptionT>(value);
82 template <
typename DescriptionT = Aws::String>
95 template <
typename SlotTypeIdT = Aws::String>
97 m_slotTypeIdHasBeenSet =
true;
98 m_slotTypeId = std::forward<SlotTypeIdT>(value);
100 template <
typename SlotTypeIdT = Aws::String>
114 template <
typename ValueElicitationSettingT = SlotValueElicitationSetting>
116 m_valueElicitationSettingHasBeenSet =
true;
117 m_valueElicitationSetting = std::forward<ValueElicitationSettingT>(value);
119 template <
typename ValueElicitationSettingT = SlotValueElicitationSetting>
133 template <
typename ObfuscationSettingT = ObfuscationSetting>
135 m_obfuscationSettingHasBeenSet =
true;
136 m_obfuscationSetting = std::forward<ObfuscationSettingT>(value);
138 template <
typename ObfuscationSettingT = ObfuscationSetting>
151 template <
typename BotIdT = Aws::String>
153 m_botIdHasBeenSet =
true;
154 m_botId = std::forward<BotIdT>(value);
156 template <
typename BotIdT = Aws::String>
158 SetBotId(std::forward<BotIdT>(value));
170 template <
typename BotVersionT = Aws::String>
172 m_botVersionHasBeenSet =
true;
173 m_botVersion = std::forward<BotVersionT>(value);
175 template <
typename BotVersionT = Aws::String>
191 template <
typename LocaleIdT = Aws::String>
193 m_localeIdHasBeenSet =
true;
194 m_localeId = std::forward<LocaleIdT>(value);
196 template <
typename LocaleIdT = Aws::String>
209 template <
typename IntentIdT = Aws::String>
211 m_intentIdHasBeenSet =
true;
212 m_intentId = std::forward<IntentIdT>(value);
214 template <
typename IntentIdT = Aws::String>
232 template <
typename MultipleValuesSettingT = MultipleValuesSetting>
234 m_multipleValuesSettingHasBeenSet =
true;
235 m_multipleValuesSetting = std::forward<MultipleValuesSettingT>(value);
237 template <
typename MultipleValuesSettingT = MultipleValuesSetting>
251 template <
typename SubSlotSettingT = SubSlotSetting>
253 m_subSlotSettingHasBeenSet =
true;
254 m_subSlotSetting = std::forward<SubSlotSettingT>(value);
256 template <
typename SubSlotSettingT = SubSlotSetting>
286 bool m_slotIdHasBeenSet =
false;
287 bool m_slotNameHasBeenSet =
false;
288 bool m_descriptionHasBeenSet =
false;
289 bool m_slotTypeIdHasBeenSet =
false;
290 bool m_valueElicitationSettingHasBeenSet =
false;
291 bool m_obfuscationSettingHasBeenSet =
false;
292 bool m_botIdHasBeenSet =
false;
293 bool m_botVersionHasBeenSet =
false;
294 bool m_localeIdHasBeenSet =
false;
295 bool m_intentIdHasBeenSet =
false;
296 bool m_multipleValuesSettingHasBeenSet =
false;
297 bool m_subSlotSettingHasBeenSet =
false;
void SetBotId(BotIdT &&value)
void SetObfuscationSetting(ObfuscationSettingT &&value)
UpdateSlotRequest & WithObfuscationSetting(ObfuscationSettingT &&value)
const ObfuscationSetting & GetObfuscationSetting() const
bool MultipleValuesSettingHasBeenSet() const
void SetBotVersion(BotVersionT &&value)
UpdateSlotRequest & WithSlotId(SlotIdT &&value)
UpdateSlotRequest & WithDescription(DescriptionT &&value)
bool ObfuscationSettingHasBeenSet() const
const Aws::String & GetSlotTypeId() const
bool SlotTypeIdHasBeenSet() const
const SlotValueElicitationSetting & GetValueElicitationSetting() const
UpdateSlotRequest & WithValueElicitationSetting(ValueElicitationSettingT &&value)
void SetSlotId(SlotIdT &&value)
void SetMultipleValuesSetting(MultipleValuesSettingT &&value)
void SetSlotTypeId(SlotTypeIdT &&value)
bool ValueElicitationSettingHasBeenSet() const
bool SlotNameHasBeenSet() const
const Aws::String & GetLocaleId() const
void SetLocaleId(LocaleIdT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetBotVersion() const
void SetSubSlotSetting(SubSlotSettingT &&value)
UpdateSlotRequest & WithBotId(BotIdT &&value)
AWS_LEXMODELSV2_API UpdateSlotRequest()=default
UpdateSlotRequest & WithMultipleValuesSetting(MultipleValuesSettingT &&value)
UpdateSlotRequest & WithBotVersion(BotVersionT &&value)
bool SlotIdHasBeenSet() const
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
const Aws::String & GetIntentId() const
void SetSlotName(SlotNameT &&value)
UpdateSlotRequest & WithLocaleId(LocaleIdT &&value)
UpdateSlotRequest & WithSlotName(SlotNameT &&value)
UpdateSlotRequest & WithSubSlotSetting(SubSlotSettingT &&value)
virtual const char * GetServiceRequestName() const override
UpdateSlotRequest & WithSlotTypeId(SlotTypeIdT &&value)
bool BotIdHasBeenSet() const
bool IntentIdHasBeenSet() const
const MultipleValuesSetting & GetMultipleValuesSetting() const
const Aws::String & GetSlotName() const
const Aws::String & GetDescription() const
const Aws::String & GetSlotId() const
void SetValueElicitationSetting(ValueElicitationSettingT &&value)
bool BotVersionHasBeenSet() const
bool SubSlotSettingHasBeenSet() const
const Aws::String & GetBotId() const
bool LocaleIdHasBeenSet() const
UpdateSlotRequest & WithIntentId(IntentIdT &&value)
bool DescriptionHasBeenSet() const
void SetIntentId(IntentIdT &&value)
const SubSlotSetting & GetSubSlotSetting() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String