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/QInConnectIntentConfiguration.h>
19#include <aws/lexv2-models/model/SampleUtterance.h>
20#include <aws/lexv2-models/model/InputContext.h>
21#include <aws/lexv2-models/model/OutputContext.h>
54 template<
typename IntentNameT = Aws::String>
55 void SetIntentName(IntentNameT&& value) { m_intentNameHasBeenSet =
true; m_intentName = std::forward<IntentNameT>(value); }
56 template<
typename IntentNameT = Aws::String>
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>
79 template<
typename ParentIntentSignatureT = Aws::String>
80 void SetParentIntentSignature(ParentIntentSignatureT&& value) { m_parentIntentSignatureHasBeenSet =
true; m_parentIntentSignature = std::forward<ParentIntentSignatureT>(value); }
81 template<
typename ParentIntentSignatureT = Aws::String>
94 template<
typename SampleUtterancesT = Aws::Vector<SampleUtterance>>
95 void SetSampleUtterances(SampleUtterancesT&& value) { m_sampleUtterancesHasBeenSet =
true; m_sampleUtterances = std::forward<SampleUtterancesT>(value); }
96 template<
typename SampleUtterancesT = Aws::Vector<SampleUtterance>>
98 template<
typename SampleUtterancesT = SampleUtterance>
115 template<
typename DialogCodeHookT = DialogCodeHookSettings>
116 void SetDialogCodeHook(DialogCodeHookT&& value) { m_dialogCodeHookHasBeenSet =
true; m_dialogCodeHook = std::forward<DialogCodeHookT>(value); }
117 template<
typename DialogCodeHookT = DialogCodeHookSettings>
131 template<
typename FulfillmentCodeHookT = FulfillmentCodeHookSettings>
132 void SetFulfillmentCodeHook(FulfillmentCodeHookT&& value) { m_fulfillmentCodeHookHasBeenSet =
true; m_fulfillmentCodeHook = std::forward<FulfillmentCodeHookT>(value); }
133 template<
typename FulfillmentCodeHookT = FulfillmentCodeHookSettings>
145 template<
typename IntentConfirmationSettingT = IntentConfirmationSetting>
146 void SetIntentConfirmationSetting(IntentConfirmationSettingT&& value) { m_intentConfirmationSettingHasBeenSet =
true; m_intentConfirmationSetting = std::forward<IntentConfirmationSettingT>(value); }
147 template<
typename IntentConfirmationSettingT = IntentConfirmationSetting>
158 template<
typename IntentClosingSettingT = IntentClosingSetting>
159 void SetIntentClosingSetting(IntentClosingSettingT&& value) { m_intentClosingSettingHasBeenSet =
true; m_intentClosingSetting = std::forward<IntentClosingSettingT>(value); }
160 template<
typename IntentClosingSettingT = IntentClosingSetting>
180 template<
typename InputContextsT = Aws::Vector<InputContext>>
181 void SetInputContexts(InputContextsT&& value) { m_inputContextsHasBeenSet =
true; m_inputContexts = std::forward<InputContextsT>(value); }
182 template<
typename InputContextsT = Aws::Vector<InputContext>>
184 template<
typename InputContextsT = InputContext>
201 template<
typename OutputContextsT = Aws::Vector<OutputContext>>
202 void SetOutputContexts(OutputContextsT&& value) { m_outputContextsHasBeenSet =
true; m_outputContexts = std::forward<OutputContextsT>(value); }
203 template<
typename OutputContextsT = Aws::Vector<OutputContext>>
205 template<
typename OutputContextsT = OutputContext>
218 template<
typename KendraConfigurationT = KendraConfiguration>
219 void SetKendraConfiguration(KendraConfigurationT&& value) { m_kendraConfigurationHasBeenSet =
true; m_kendraConfiguration = std::forward<KendraConfigurationT>(value); }
220 template<
typename KendraConfigurationT = KendraConfiguration>
230 template<
typename BotIdT = Aws::String>
231 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet =
true; m_botId = std::forward<BotIdT>(value); }
232 template<
typename BotIdT = Aws::String>
242 template<
typename BotVersionT = Aws::String>
243 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet =
true; m_botVersion = std::forward<BotVersionT>(value); }
244 template<
typename BotVersionT = Aws::String>
258 template<
typename LocaleIdT = Aws::String>
259 void SetLocaleId(LocaleIdT&& value) { m_localeIdHasBeenSet =
true; m_localeId = std::forward<LocaleIdT>(value); }
260 template<
typename LocaleIdT = Aws::String>
271 template<
typename InitialResponseSettingT = InitialResponseSetting>
272 void SetInitialResponseSetting(InitialResponseSettingT&& value) { m_initialResponseSettingHasBeenSet =
true; m_initialResponseSetting = std::forward<InitialResponseSettingT>(value); }
273 template<
typename InitialResponseSettingT = InitialResponseSetting>
286 template<
typename QnAIntentConfigurationT = QnAIntentConfiguration>
287 void SetQnAIntentConfiguration(QnAIntentConfigurationT&& value) { m_qnAIntentConfigurationHasBeenSet =
true; m_qnAIntentConfiguration = std::forward<QnAIntentConfigurationT>(value); }
288 template<
typename QnAIntentConfigurationT = QnAIntentConfiguration>
298 template<
typename QInConnectIntentConfigurationT = QInConnectIntentConfiguration>
299 void SetQInConnectIntentConfiguration(QInConnectIntentConfigurationT&& value) { m_qInConnectIntentConfigurationHasBeenSet =
true; m_qInConnectIntentConfiguration = std::forward<QInConnectIntentConfigurationT>(value); }
300 template<
typename QInConnectIntentConfigurationT = QInConnectIntentConfiguration>
306 bool m_intentNameHasBeenSet =
false;
309 bool m_descriptionHasBeenSet =
false;
312 bool m_parentIntentSignatureHasBeenSet =
false;
315 bool m_sampleUtterancesHasBeenSet =
false;
318 bool m_dialogCodeHookHasBeenSet =
false;
321 bool m_fulfillmentCodeHookHasBeenSet =
false;
324 bool m_intentConfirmationSettingHasBeenSet =
false;
327 bool m_intentClosingSettingHasBeenSet =
false;
330 bool m_inputContextsHasBeenSet =
false;
333 bool m_outputContextsHasBeenSet =
false;
336 bool m_kendraConfigurationHasBeenSet =
false;
339 bool m_botIdHasBeenSet =
false;
342 bool m_botVersionHasBeenSet =
false;
345 bool m_localeIdHasBeenSet =
false;
348 bool m_initialResponseSettingHasBeenSet =
false;
351 bool m_qnAIntentConfigurationHasBeenSet =
false;
354 bool m_qInConnectIntentConfigurationHasBeenSet =
false;
CreateIntentRequest & WithIntentConfirmationSetting(IntentConfirmationSettingT &&value)
CreateIntentRequest & AddOutputContexts(OutputContextsT &&value)
CreateIntentRequest & WithQnAIntentConfiguration(QnAIntentConfigurationT &&value)
CreateIntentRequest & AddSampleUtterances(SampleUtterancesT &&value)
void SetInputContexts(InputContextsT &&value)
AWS_LEXMODELSV2_API CreateIntentRequest()=default
void SetDescription(DescriptionT &&value)
void SetDialogCodeHook(DialogCodeHookT &&value)
CreateIntentRequest & WithQInConnectIntentConfiguration(QInConnectIntentConfigurationT &&value)
CreateIntentRequest & WithBotId(BotIdT &&value)
bool SampleUtterancesHasBeenSet() const
bool DialogCodeHookHasBeenSet() const
void SetBotVersion(BotVersionT &&value)
const FulfillmentCodeHookSettings & GetFulfillmentCodeHook() const
const Aws::String & GetBotId() const
CreateIntentRequest & AddInputContexts(InputContextsT &&value)
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
CreateIntentRequest & WithOutputContexts(OutputContextsT &&value)
bool OutputContextsHasBeenSet() const
const Aws::String & GetDescription() const
CreateIntentRequest & WithLocaleId(LocaleIdT &&value)
bool DescriptionHasBeenSet() const
const Aws::Vector< OutputContext > & GetOutputContexts() const
CreateIntentRequest & WithIntentClosingSetting(IntentClosingSettingT &&value)
virtual const char * GetServiceRequestName() const override
CreateIntentRequest & WithParentIntentSignature(ParentIntentSignatureT &&value)
bool QnAIntentConfigurationHasBeenSet() const
void SetBotId(BotIdT &&value)
const QnAIntentConfiguration & GetQnAIntentConfiguration() const
bool BotIdHasBeenSet() const
const Aws::String & GetIntentName() const
CreateIntentRequest & WithInitialResponseSetting(InitialResponseSettingT &&value)
const Aws::Vector< SampleUtterance > & GetSampleUtterances() const
void SetIntentName(IntentNameT &&value)
void SetKendraConfiguration(KendraConfigurationT &&value)
void SetQInConnectIntentConfiguration(QInConnectIntentConfigurationT &&value)
CreateIntentRequest & WithIntentName(IntentNameT &&value)
const QInConnectIntentConfiguration & GetQInConnectIntentConfiguration() const
bool ParentIntentSignatureHasBeenSet() const
void SetOutputContexts(OutputContextsT &&value)
const Aws::String & GetBotVersion() const
void SetFulfillmentCodeHook(FulfillmentCodeHookT &&value)
void SetQnAIntentConfiguration(QnAIntentConfigurationT &&value)
bool KendraConfigurationHasBeenSet() const
const Aws::Vector< InputContext > & GetInputContexts() const
const IntentClosingSetting & GetIntentClosingSetting() const
CreateIntentRequest & WithSampleUtterances(SampleUtterancesT &&value)
const DialogCodeHookSettings & GetDialogCodeHook() const
CreateIntentRequest & WithInputContexts(InputContextsT &&value)
CreateIntentRequest & WithFulfillmentCodeHook(FulfillmentCodeHookT &&value)
bool InitialResponseSettingHasBeenSet() const
bool IntentNameHasBeenSet() const
void SetIntentConfirmationSetting(IntentConfirmationSettingT &&value)
bool LocaleIdHasBeenSet() const
bool FulfillmentCodeHookHasBeenSet() const
const IntentConfirmationSetting & GetIntentConfirmationSetting() const
bool IntentConfirmationSettingHasBeenSet() const
void SetIntentClosingSetting(IntentClosingSettingT &&value)
bool QInConnectIntentConfigurationHasBeenSet() const
void SetInitialResponseSetting(InitialResponseSettingT &&value)
CreateIntentRequest & WithBotVersion(BotVersionT &&value)
const Aws::String & GetLocaleId() const
const InitialResponseSetting & GetInitialResponseSetting() const
bool IntentClosingSettingHasBeenSet() const
void SetSampleUtterances(SampleUtterancesT &&value)
CreateIntentRequest & WithKendraConfiguration(KendraConfigurationT &&value)
CreateIntentRequest & WithDescription(DescriptionT &&value)
void SetParentIntentSignature(ParentIntentSignatureT &&value)
CreateIntentRequest & WithDialogCodeHook(DialogCodeHookT &&value)
bool InputContextsHasBeenSet() const
bool BotVersionHasBeenSet() const
const KendraConfiguration & GetKendraConfiguration() const
void SetLocaleId(LocaleIdT &&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