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>
48 inline void SetSlotName(
const char* value) { m_slotNameHasBeenSet =
true; m_slotName.assign(value); }
62 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
77 inline void SetSlotTypeId(
const char* value) { m_slotTypeIdHasBeenSet =
true; m_slotTypeId.assign(value); }
120 inline void SetBotId(
const char* value) { m_botIdHasBeenSet =
true; m_botId.assign(value); }
134 inline void SetBotVersion(
const char* value) { m_botVersionHasBeenSet =
true; m_botVersion.assign(value); }
152 inline void SetLocaleId(
const char* value) { m_localeIdHasBeenSet =
true; m_localeId.assign(value); }
166 inline void SetIntentId(
const char* value) { m_intentIdHasBeenSet =
true; m_intentId.assign(value); }
204 bool m_slotNameHasBeenSet =
false;
207 bool m_descriptionHasBeenSet =
false;
210 bool m_slotTypeIdHasBeenSet =
false;
213 bool m_valueElicitationSettingHasBeenSet =
false;
216 bool m_obfuscationSettingHasBeenSet =
false;
219 bool m_botIdHasBeenSet =
false;
222 bool m_botVersionHasBeenSet =
false;
225 bool m_localeIdHasBeenSet =
false;
228 bool m_intentIdHasBeenSet =
false;
231 bool m_multipleValuesSettingHasBeenSet =
false;
234 bool m_subSlotSettingHasBeenSet =
false;
CreateSlotRequest & WithBotVersion(Aws::String &&value)
CreateSlotRequest & WithValueElicitationSetting(SlotValueElicitationSetting &&value)
CreateSlotRequest & WithSubSlotSetting(SubSlotSetting &&value)
CreateSlotRequest & WithBotId(const char *value)
CreateSlotRequest & WithIntentId(Aws::String &&value)
CreateSlotRequest & WithBotVersion(const char *value)
const Aws::String & GetLocaleId() const
bool SlotNameHasBeenSet() const
void SetBotVersion(const char *value)
void SetLocaleId(Aws::String &&value)
void SetSlotName(Aws::String &&value)
void SetSlotTypeId(Aws::String &&value)
bool SubSlotSettingHasBeenSet() const
const Aws::String & GetBotVersion() const
bool BotVersionHasBeenSet() const
const SubSlotSetting & GetSubSlotSetting() const
void SetMultipleValuesSetting(const MultipleValuesSetting &value)
void SetSlotTypeId(const char *value)
void SetSubSlotSetting(SubSlotSetting &&value)
const SlotValueElicitationSetting & GetValueElicitationSetting() const
const MultipleValuesSetting & GetMultipleValuesSetting() const
void SetSubSlotSetting(const SubSlotSetting &value)
CreateSlotRequest & WithLocaleId(Aws::String &&value)
void SetIntentId(const Aws::String &value)
CreateSlotRequest & WithMultipleValuesSetting(MultipleValuesSetting &&value)
CreateSlotRequest & WithSlotTypeId(Aws::String &&value)
CreateSlotRequest & WithDescription(const char *value)
CreateSlotRequest & WithDescription(Aws::String &&value)
CreateSlotRequest & WithBotVersion(const Aws::String &value)
void SetLocaleId(const Aws::String &value)
bool ValueElicitationSettingHasBeenSet() const
CreateSlotRequest & WithValueElicitationSetting(const SlotValueElicitationSetting &value)
CreateSlotRequest & WithIntentId(const Aws::String &value)
CreateSlotRequest & WithSlotName(const Aws::String &value)
CreateSlotRequest & WithBotId(Aws::String &&value)
CreateSlotRequest & WithLocaleId(const Aws::String &value)
bool IntentIdHasBeenSet() const
void SetObfuscationSetting(const ObfuscationSetting &value)
CreateSlotRequest & WithSlotName(const char *value)
CreateSlotRequest & WithIntentId(const char *value)
CreateSlotRequest & WithObfuscationSetting(const ObfuscationSetting &value)
bool ObfuscationSettingHasBeenSet() const
CreateSlotRequest & WithMultipleValuesSetting(const MultipleValuesSetting &value)
const Aws::String & GetSlotName() const
void SetSlotName(const char *value)
const Aws::String & GetBotId() const
bool SlotTypeIdHasBeenSet() const
void SetMultipleValuesSetting(MultipleValuesSetting &&value)
void SetIntentId(const char *value)
bool DescriptionHasBeenSet() const
const ObfuscationSetting & GetObfuscationSetting() const
CreateSlotRequest & WithDescription(const Aws::String &value)
AWS_LEXMODELSV2_API CreateSlotRequest()
void SetLocaleId(const char *value)
bool BotIdHasBeenSet() const
CreateSlotRequest & WithSlotTypeId(const Aws::String &value)
void SetValueElicitationSetting(const SlotValueElicitationSetting &value)
bool LocaleIdHasBeenSet() const
void SetIntentId(Aws::String &&value)
CreateSlotRequest & WithLocaleId(const char *value)
void SetObfuscationSetting(ObfuscationSetting &&value)
CreateSlotRequest & WithSlotTypeId(const char *value)
CreateSlotRequest & WithSubSlotSetting(const SubSlotSetting &value)
void SetBotId(const char *value)
void SetBotId(const Aws::String &value)
CreateSlotRequest & WithSlotName(Aws::String &&value)
void SetBotId(Aws::String &&value)
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
const Aws::String & GetDescription() const
void SetSlotName(const Aws::String &value)
void SetBotVersion(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetDescription(const Aws::String &value)
void SetSlotTypeId(const Aws::String &value)
void SetDescription(const char *value)
void SetBotVersion(const Aws::String &value)
CreateSlotRequest & WithObfuscationSetting(ObfuscationSetting &&value)
const Aws::String & GetSlotTypeId() const
CreateSlotRequest & WithBotId(const Aws::String &value)
void SetDescription(Aws::String &&value)
void SetValueElicitationSetting(SlotValueElicitationSetting &&value)
const Aws::String & GetIntentId() const
bool MultipleValuesSettingHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String