7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lexv2-models/LexModelsV2Request.h>
10#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
11#include <aws/lexv2-models/model/DialogCodeHookSettings.h>
12#include <aws/lexv2-models/model/FulfillmentCodeHookSettings.h>
13#include <aws/lexv2-models/model/InitialResponseSetting.h>
14#include <aws/lexv2-models/model/InputContext.h>
15#include <aws/lexv2-models/model/IntentClosingSetting.h>
16#include <aws/lexv2-models/model/IntentConfirmationSetting.h>
17#include <aws/lexv2-models/model/KendraConfiguration.h>
18#include <aws/lexv2-models/model/OutputContext.h>
19#include <aws/lexv2-models/model/QInConnectIntentConfiguration.h>
20#include <aws/lexv2-models/model/QnAIntentConfiguration.h>
21#include <aws/lexv2-models/model/SampleUtterance.h>
26namespace LexModelsV2 {
50 template <
typename IntentNameT = Aws::String>
52 m_intentNameHasBeenSet =
true;
53 m_intentName = std::forward<IntentNameT>(value);
55 template <
typename IntentNameT = Aws::String>
71 template <
typename IntentDisplayNameT = Aws::String>
73 m_intentDisplayNameHasBeenSet =
true;
74 m_intentDisplayName = std::forward<IntentDisplayNameT>(value);
76 template <
typename IntentDisplayNameT = Aws::String>
90 template <
typename DescriptionT = Aws::String>
92 m_descriptionHasBeenSet =
true;
93 m_description = std::forward<DescriptionT>(value);
95 template <
typename DescriptionT = Aws::String>
108 template <
typename ParentIntentSignatureT = Aws::String>
110 m_parentIntentSignatureHasBeenSet =
true;
111 m_parentIntentSignature = std::forward<ParentIntentSignatureT>(value);
113 template <
typename ParentIntentSignatureT = Aws::String>
129 template <
typename SampleUtterancesT = Aws::Vector<SampleUtterance>>
131 m_sampleUtterancesHasBeenSet =
true;
132 m_sampleUtterances = std::forward<SampleUtterancesT>(value);
134 template <
typename SampleUtterancesT = Aws::Vector<SampleUtterance>>
139 template <
typename SampleUtterancesT = SampleUtterance>
141 m_sampleUtterancesHasBeenSet =
true;
142 m_sampleUtterances.emplace_back(std::forward<SampleUtterancesT>(value));
160 template <
typename DialogCodeHookT = DialogCodeHookSettings>
162 m_dialogCodeHookHasBeenSet =
true;
163 m_dialogCodeHook = std::forward<DialogCodeHookT>(value);
165 template <
typename DialogCodeHookT = DialogCodeHookSettings>
182 template <
typename FulfillmentCodeHookT = FulfillmentCodeHookSettings>
184 m_fulfillmentCodeHookHasBeenSet =
true;
185 m_fulfillmentCodeHook = std::forward<FulfillmentCodeHookT>(value);
187 template <
typename FulfillmentCodeHookT = FulfillmentCodeHookSettings>
202 template <
typename IntentConfirmationSettingT = IntentConfirmationSetting>
204 m_intentConfirmationSettingHasBeenSet =
true;
205 m_intentConfirmationSetting = std::forward<IntentConfirmationSettingT>(value);
207 template <
typename IntentConfirmationSettingT = IntentConfirmationSetting>
221 template <
typename IntentClosingSettingT = IntentClosingSetting>
223 m_intentClosingSettingHasBeenSet =
true;
224 m_intentClosingSetting = std::forward<IntentClosingSettingT>(value);
226 template <
typename IntentClosingSettingT = IntentClosingSetting>
249 template <
typename InputContextsT = Aws::Vector<InputContext>>
251 m_inputContextsHasBeenSet =
true;
252 m_inputContexts = std::forward<InputContextsT>(value);
254 template <
typename InputContextsT = Aws::Vector<InputContext>>
259 template <
typename InputContextsT = InputContext>
261 m_inputContextsHasBeenSet =
true;
262 m_inputContexts.emplace_back(std::forward<InputContextsT>(value));
280 template <
typename OutputContextsT = Aws::Vector<OutputContext>>
282 m_outputContextsHasBeenSet =
true;
283 m_outputContexts = std::forward<OutputContextsT>(value);
285 template <
typename OutputContextsT = Aws::Vector<OutputContext>>
290 template <
typename OutputContextsT = OutputContext>
292 m_outputContextsHasBeenSet =
true;
293 m_outputContexts.emplace_back(std::forward<OutputContextsT>(value));
307 template <
typename KendraConfigurationT = KendraConfiguration>
309 m_kendraConfigurationHasBeenSet =
true;
310 m_kendraConfiguration = std::forward<KendraConfigurationT>(value);
312 template <
typename KendraConfigurationT = KendraConfiguration>
325 template <
typename BotIdT = Aws::String>
327 m_botIdHasBeenSet =
true;
328 m_botId = std::forward<BotIdT>(value);
330 template <
typename BotIdT = Aws::String>
332 SetBotId(std::forward<BotIdT>(value));
343 template <
typename BotVersionT = Aws::String>
345 m_botVersionHasBeenSet =
true;
346 m_botVersion = std::forward<BotVersionT>(value);
348 template <
typename BotVersionT = Aws::String>
365 template <
typename LocaleIdT = Aws::String>
367 m_localeIdHasBeenSet =
true;
368 m_localeId = std::forward<LocaleIdT>(value);
370 template <
typename LocaleIdT = Aws::String>
384 template <
typename InitialResponseSettingT = InitialResponseSetting>
386 m_initialResponseSettingHasBeenSet =
true;
387 m_initialResponseSetting = std::forward<InitialResponseSettingT>(value);
389 template <
typename InitialResponseSettingT = InitialResponseSetting>
405 template <
typename QnAIntentConfigurationT = QnAIntentConfiguration>
407 m_qnAIntentConfigurationHasBeenSet =
true;
408 m_qnAIntentConfiguration = std::forward<QnAIntentConfigurationT>(value);
410 template <
typename QnAIntentConfigurationT = QnAIntentConfiguration>
423 template <
typename QInConnectIntentConfigurationT = QInConnectIntentConfiguration>
425 m_qInConnectIntentConfigurationHasBeenSet =
true;
426 m_qInConnectIntentConfiguration = std::forward<QInConnectIntentConfigurationT>(value);
428 template <
typename QInConnectIntentConfigurationT = QInConnectIntentConfiguration>
470 bool m_intentNameHasBeenSet =
false;
471 bool m_intentDisplayNameHasBeenSet =
false;
472 bool m_descriptionHasBeenSet =
false;
473 bool m_parentIntentSignatureHasBeenSet =
false;
474 bool m_sampleUtterancesHasBeenSet =
false;
475 bool m_dialogCodeHookHasBeenSet =
false;
476 bool m_fulfillmentCodeHookHasBeenSet =
false;
477 bool m_intentConfirmationSettingHasBeenSet =
false;
478 bool m_intentClosingSettingHasBeenSet =
false;
479 bool m_inputContextsHasBeenSet =
false;
480 bool m_outputContextsHasBeenSet =
false;
481 bool m_kendraConfigurationHasBeenSet =
false;
482 bool m_botIdHasBeenSet =
false;
483 bool m_botVersionHasBeenSet =
false;
484 bool m_localeIdHasBeenSet =
false;
485 bool m_initialResponseSettingHasBeenSet =
false;
486 bool m_qnAIntentConfigurationHasBeenSet =
false;
487 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
void SetIntentDisplayName(IntentDisplayNameT &&value)
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)
const Aws::String & GetIntentDisplayName() const
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)
bool IntentDisplayNameHasBeenSet() const
void SetParentIntentSignature(ParentIntentSignatureT &&value)
CreateIntentRequest & WithDialogCodeHook(DialogCodeHookT &&value)
bool InputContextsHasBeenSet() const
CreateIntentRequest & WithIntentDisplayName(IntentDisplayNameT &&value)
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