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/core/utils/memory/stl/AWSVector.h>
11#include <aws/lexv2-models/model/DialogCodeHookSettings.h>
12#include <aws/lexv2-models/model/FulfillmentCodeHookSettings.h>
13#include <aws/lexv2-models/model/IntentConfirmationSetting.h>
14#include <aws/lexv2-models/model/IntentClosingSetting.h>
15#include <aws/lexv2-models/model/KendraConfiguration.h>
16#include <aws/lexv2-models/model/InitialResponseSetting.h>
17#include <aws/lexv2-models/model/QnAIntentConfiguration.h>
18#include <aws/lexv2-models/model/SampleUtterance.h>
19#include <aws/lexv2-models/model/InputContext.h>
20#include <aws/lexv2-models/model/OutputContext.h>
55 inline void SetIntentName(
const char* value) { m_intentNameHasBeenSet =
true; m_intentName.assign(value); }
70 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
84 inline void SetParentIntentSignature(
const char* value) { m_parentIntentSignatureHasBeenSet =
true; m_parentIntentSignature.assign(value); }
237 inline void SetBotId(
const char* value) { m_botIdHasBeenSet =
true; m_botId.assign(value); }
251 inline void SetBotVersion(
const char* value) { m_botVersionHasBeenSet =
true; m_botVersion.assign(value); }
269 inline void SetLocaleId(
const char* value) { m_localeIdHasBeenSet =
true; m_localeId.assign(value); }
305 bool m_intentNameHasBeenSet =
false;
308 bool m_descriptionHasBeenSet =
false;
311 bool m_parentIntentSignatureHasBeenSet =
false;
314 bool m_sampleUtterancesHasBeenSet =
false;
317 bool m_dialogCodeHookHasBeenSet =
false;
320 bool m_fulfillmentCodeHookHasBeenSet =
false;
323 bool m_intentConfirmationSettingHasBeenSet =
false;
326 bool m_intentClosingSettingHasBeenSet =
false;
329 bool m_inputContextsHasBeenSet =
false;
332 bool m_outputContextsHasBeenSet =
false;
335 bool m_kendraConfigurationHasBeenSet =
false;
338 bool m_botIdHasBeenSet =
false;
341 bool m_botVersionHasBeenSet =
false;
344 bool m_localeIdHasBeenSet =
false;
347 bool m_initialResponseSettingHasBeenSet =
false;
350 bool m_qnAIntentConfigurationHasBeenSet =
false;
void SetBotVersion(const char *value)
AWS_LEXMODELSV2_API CreateIntentRequest()
CreateIntentRequest & WithDialogCodeHook(DialogCodeHookSettings &&value)
CreateIntentRequest & WithDialogCodeHook(const DialogCodeHookSettings &value)
void SetInitialResponseSetting(const InitialResponseSetting &value)
CreateIntentRequest & WithInitialResponseSetting(InitialResponseSetting &&value)
CreateIntentRequest & WithIntentName(Aws::String &&value)
bool SampleUtterancesHasBeenSet() const
void SetLocaleId(Aws::String &&value)
void SetParentIntentSignature(const char *value)
bool DialogCodeHookHasBeenSet() const
const FulfillmentCodeHookSettings & GetFulfillmentCodeHook() const
const Aws::String & GetBotId() const
CreateIntentRequest & WithDescription(const char *value)
CreateIntentRequest & WithParentIntentSignature(const char *value)
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
CreateIntentRequest & WithBotVersion(const Aws::String &value)
bool OutputContextsHasBeenSet() const
const Aws::String & GetDescription() const
void SetOutputContexts(const Aws::Vector< OutputContext > &value)
CreateIntentRequest & WithOutputContexts(Aws::Vector< OutputContext > &&value)
CreateIntentRequest & WithInputContexts(const Aws::Vector< InputContext > &value)
bool DescriptionHasBeenSet() const
const Aws::Vector< OutputContext > & GetOutputContexts() const
void SetIntentConfirmationSetting(const IntentConfirmationSetting &value)
virtual const char * GetServiceRequestName() const override
void SetBotVersion(const Aws::String &value)
void SetDescription(Aws::String &&value)
CreateIntentRequest & WithBotVersion(const char *value)
void SetDialogCodeHook(const DialogCodeHookSettings &value)
bool QnAIntentConfigurationHasBeenSet() const
void SetIntentConfirmationSetting(IntentConfirmationSetting &&value)
const QnAIntentConfiguration & GetQnAIntentConfiguration() const
void SetBotId(const char *value)
CreateIntentRequest & WithOutputContexts(const Aws::Vector< OutputContext > &value)
CreateIntentRequest & WithBotId(const Aws::String &value)
CreateIntentRequest & WithDescription(const Aws::String &value)
bool BotIdHasBeenSet() const
const Aws::String & GetIntentName() const
void SetQnAIntentConfiguration(const QnAIntentConfiguration &value)
void SetQnAIntentConfiguration(QnAIntentConfiguration &&value)
CreateIntentRequest & WithParentIntentSignature(Aws::String &&value)
CreateIntentRequest & AddOutputContexts(OutputContext &&value)
void SetIntentClosingSetting(IntentClosingSetting &&value)
CreateIntentRequest & WithKendraConfiguration(KendraConfiguration &&value)
void SetKendraConfiguration(KendraConfiguration &&value)
const Aws::Vector< SampleUtterance > & GetSampleUtterances() const
CreateIntentRequest & AddOutputContexts(const OutputContext &value)
CreateIntentRequest & WithIntentConfirmationSetting(IntentConfirmationSetting &&value)
CreateIntentRequest & WithIntentName(const char *value)
void SetFulfillmentCodeHook(const FulfillmentCodeHookSettings &value)
CreateIntentRequest & WithIntentConfirmationSetting(const IntentConfirmationSetting &value)
CreateIntentRequest & WithLocaleId(Aws::String &&value)
CreateIntentRequest & WithQnAIntentConfiguration(QnAIntentConfiguration &&value)
void SetDescription(const char *value)
CreateIntentRequest & WithLocaleId(const Aws::String &value)
void SetInputContexts(Aws::Vector< InputContext > &&value)
void SetIntentClosingSetting(const IntentClosingSetting &value)
CreateIntentRequest & WithParentIntentSignature(const Aws::String &value)
bool ParentIntentSignatureHasBeenSet() const
CreateIntentRequest & AddInputContexts(InputContext &&value)
void SetParentIntentSignature(Aws::String &&value)
const Aws::String & GetBotVersion() const
CreateIntentRequest & WithBotVersion(Aws::String &&value)
void SetSampleUtterances(Aws::Vector< SampleUtterance > &&value)
CreateIntentRequest & WithInputContexts(Aws::Vector< InputContext > &&value)
CreateIntentRequest & WithSampleUtterances(Aws::Vector< SampleUtterance > &&value)
bool KendraConfigurationHasBeenSet() const
void SetParentIntentSignature(const Aws::String &value)
const Aws::Vector< InputContext > & GetInputContexts() const
const IntentClosingSetting & GetIntentClosingSetting() const
CreateIntentRequest & WithIntentName(const Aws::String &value)
const DialogCodeHookSettings & GetDialogCodeHook() const
void SetIntentName(Aws::String &&value)
bool InitialResponseSettingHasBeenSet() const
bool IntentNameHasBeenSet() const
CreateIntentRequest & WithKendraConfiguration(const KendraConfiguration &value)
CreateIntentRequest & AddInputContexts(const InputContext &value)
void SetOutputContexts(Aws::Vector< OutputContext > &&value)
CreateIntentRequest & AddSampleUtterances(SampleUtterance &&value)
CreateIntentRequest & AddSampleUtterances(const SampleUtterance &value)
bool LocaleIdHasBeenSet() const
bool FulfillmentCodeHookHasBeenSet() const
CreateIntentRequest & WithLocaleId(const char *value)
CreateIntentRequest & WithFulfillmentCodeHook(FulfillmentCodeHookSettings &&value)
const IntentConfirmationSetting & GetIntentConfirmationSetting() const
bool IntentConfirmationSettingHasBeenSet() const
void SetSampleUtterances(const Aws::Vector< SampleUtterance > &value)
CreateIntentRequest & WithQnAIntentConfiguration(const QnAIntentConfiguration &value)
CreateIntentRequest & WithIntentClosingSetting(IntentClosingSetting &&value)
const Aws::String & GetLocaleId() const
void SetIntentName(const char *value)
void SetKendraConfiguration(const KendraConfiguration &value)
CreateIntentRequest & WithBotId(const char *value)
void SetLocaleId(const Aws::String &value)
const InitialResponseSetting & GetInitialResponseSetting() const
bool IntentClosingSettingHasBeenSet() const
void SetBotId(Aws::String &&value)
CreateIntentRequest & WithBotId(Aws::String &&value)
void SetInputContexts(const Aws::Vector< InputContext > &value)
void SetInitialResponseSetting(InitialResponseSetting &&value)
CreateIntentRequest & WithIntentClosingSetting(const IntentClosingSetting &value)
CreateIntentRequest & WithSampleUtterances(const Aws::Vector< SampleUtterance > &value)
void SetIntentName(const Aws::String &value)
void SetDialogCodeHook(DialogCodeHookSettings &&value)
CreateIntentRequest & WithInitialResponseSetting(const InitialResponseSetting &value)
bool InputContextsHasBeenSet() const
void SetBotId(const Aws::String &value)
void SetBotVersion(Aws::String &&value)
void SetFulfillmentCodeHook(FulfillmentCodeHookSettings &&value)
bool BotVersionHasBeenSet() const
const KendraConfiguration & GetKendraConfiguration() const
void SetLocaleId(const char *value)
void SetDescription(const Aws::String &value)
CreateIntentRequest & WithFulfillmentCodeHook(const FulfillmentCodeHookSettings &value)
CreateIntentRequest & WithDescription(Aws::String &&value)
const Aws::String & GetParentIntentSignature() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector