7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/LexModelsV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lexv2-models/model/SlotValueElicitationSetting.h>
11#include <aws/lexv2-models/model/ObfuscationSetting.h>
12#include <aws/lexv2-models/model/MultipleValuesSetting.h>
13#include <aws/lexv2-models/model/SubSlotSetting.h>
46 template<
typename SlotNameT = Aws::String>
47 void SetSlotName(SlotNameT&& value) { m_slotNameHasBeenSet =
true; m_slotName = std::forward<SlotNameT>(value); }
48 template<
typename SlotNameT = Aws::String>
58 template<
typename DescriptionT = Aws::String>
59 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
60 template<
typename DescriptionT = Aws::String>
71 template<
typename SlotTypeIdT = Aws::String>
72 void SetSlotTypeId(SlotTypeIdT&& value) { m_slotTypeIdHasBeenSet =
true; m_slotTypeId = std::forward<SlotTypeIdT>(value); }
73 template<
typename SlotTypeIdT = Aws::String>
84 template<
typename ValueElicitationSettingT = SlotValueElicitationSetting>
85 void SetValueElicitationSetting(ValueElicitationSettingT&& value) { m_valueElicitationSettingHasBeenSet =
true; m_valueElicitationSetting = std::forward<ValueElicitationSettingT>(value); }
86 template<
typename ValueElicitationSettingT = SlotValueElicitationSetting>
100 template<
typename ObfuscationSettingT = ObfuscationSetting>
101 void SetObfuscationSetting(ObfuscationSettingT&& value) { m_obfuscationSettingHasBeenSet =
true; m_obfuscationSetting = std::forward<ObfuscationSettingT>(value); }
102 template<
typename ObfuscationSettingT = ObfuscationSetting>
112 template<
typename BotIdT = Aws::String>
113 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet =
true; m_botId = std::forward<BotIdT>(value); }
114 template<
typename BotIdT = Aws::String>
124 template<
typename BotVersionT = Aws::String>
125 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet =
true; m_botVersion = std::forward<BotVersionT>(value); }
126 template<
typename BotVersionT = Aws::String>
140 template<
typename LocaleIdT = Aws::String>
141 void SetLocaleId(LocaleIdT&& value) { m_localeIdHasBeenSet =
true; m_localeId = std::forward<LocaleIdT>(value); }
142 template<
typename LocaleIdT = Aws::String>
152 template<
typename IntentIdT = Aws::String>
153 void SetIntentId(IntentIdT&& value) { m_intentIdHasBeenSet =
true; m_intentId = std::forward<IntentIdT>(value); }
154 template<
typename IntentIdT = Aws::String>
169 template<
typename MultipleValuesSettingT = MultipleValuesSetting>
170 void SetMultipleValuesSetting(MultipleValuesSettingT&& value) { m_multipleValuesSettingHasBeenSet =
true; m_multipleValuesSetting = std::forward<MultipleValuesSettingT>(value); }
171 template<
typename MultipleValuesSettingT = MultipleValuesSetting>
182 template<
typename SubSlotSettingT = SubSlotSetting>
183 void SetSubSlotSetting(SubSlotSettingT&& value) { m_subSlotSettingHasBeenSet =
true; m_subSlotSetting = std::forward<SubSlotSettingT>(value); }
184 template<
typename SubSlotSettingT = SubSlotSetting>
190 bool m_slotNameHasBeenSet =
false;
193 bool m_descriptionHasBeenSet =
false;
196 bool m_slotTypeIdHasBeenSet =
false;
199 bool m_valueElicitationSettingHasBeenSet =
false;
202 bool m_obfuscationSettingHasBeenSet =
false;
205 bool m_botIdHasBeenSet =
false;
208 bool m_botVersionHasBeenSet =
false;
211 bool m_localeIdHasBeenSet =
false;
214 bool m_intentIdHasBeenSet =
false;
217 bool m_multipleValuesSettingHasBeenSet =
false;
220 bool m_subSlotSettingHasBeenSet =
false;
void SetBotVersion(BotVersionT &&value)
void SetSlotTypeId(SlotTypeIdT &&value)
const Aws::String & GetLocaleId() const
bool SlotNameHasBeenSet() const
bool SubSlotSettingHasBeenSet() const
const Aws::String & GetBotVersion() const
CreateSlotRequest & WithSlotTypeId(SlotTypeIdT &&value)
bool BotVersionHasBeenSet() const
const SubSlotSetting & GetSubSlotSetting() const
const SlotValueElicitationSetting & GetValueElicitationSetting() const
const MultipleValuesSetting & GetMultipleValuesSetting() const
CreateSlotRequest & WithSubSlotSetting(SubSlotSettingT &&value)
void SetBotId(BotIdT &&value)
bool ValueElicitationSettingHasBeenSet() const
void SetObfuscationSetting(ObfuscationSettingT &&value)
void SetValueElicitationSetting(ValueElicitationSettingT &&value)
CreateSlotRequest & WithObfuscationSetting(ObfuscationSettingT &&value)
CreateSlotRequest & WithBotVersion(BotVersionT &&value)
void SetLocaleId(LocaleIdT &&value)
bool IntentIdHasBeenSet() const
CreateSlotRequest & WithDescription(DescriptionT &&value)
bool ObfuscationSettingHasBeenSet() const
void SetSubSlotSetting(SubSlotSettingT &&value)
const Aws::String & GetSlotName() const
void SetSlotName(SlotNameT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetBotId() const
AWS_LEXMODELSV2_API CreateSlotRequest()=default
bool SlotTypeIdHasBeenSet() const
bool DescriptionHasBeenSet() const
const ObfuscationSetting & GetObfuscationSetting() const
CreateSlotRequest & WithValueElicitationSetting(ValueElicitationSettingT &&value)
bool BotIdHasBeenSet() const
void SetMultipleValuesSetting(MultipleValuesSettingT &&value)
bool LocaleIdHasBeenSet() const
CreateSlotRequest & WithIntentId(IntentIdT &&value)
CreateSlotRequest & WithBotId(BotIdT &&value)
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
void SetIntentId(IntentIdT &&value)
const Aws::String & GetDescription() const
virtual const char * GetServiceRequestName() const override
CreateSlotRequest & WithMultipleValuesSetting(MultipleValuesSettingT &&value)
CreateSlotRequest & WithSlotName(SlotNameT &&value)
const Aws::String & GetSlotTypeId() const
CreateSlotRequest & WithLocaleId(LocaleIdT &&value)
const Aws::String & GetIntentId() const
bool MultipleValuesSettingHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String