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>
22#include <aws/lexv2-models/model/SlotPriority.h>
27namespace LexModelsV2 {
50 template <
typename IntentIdT = Aws::String>
52 m_intentIdHasBeenSet =
true;
53 m_intentId = std::forward<IntentIdT>(value);
55 template <
typename IntentIdT = Aws::String>
68 template <
typename IntentNameT = Aws::String>
70 m_intentNameHasBeenSet =
true;
71 m_intentName = std::forward<IntentNameT>(value);
73 template <
typename IntentNameT = Aws::String>
86 template <
typename IntentDisplayNameT = Aws::String>
88 m_intentDisplayNameHasBeenSet =
true;
89 m_intentDisplayName = std::forward<IntentDisplayNameT>(value);
91 template <
typename IntentDisplayNameT = Aws::String>
104 template <
typename DescriptionT = Aws::String>
106 m_descriptionHasBeenSet =
true;
107 m_description = std::forward<DescriptionT>(value);
109 template <
typename DescriptionT = Aws::String>
123 template <
typename ParentIntentSignatureT = Aws::String>
125 m_parentIntentSignatureHasBeenSet =
true;
126 m_parentIntentSignature = std::forward<ParentIntentSignatureT>(value);
128 template <
typename ParentIntentSignatureT = Aws::String>
141 template <
typename SampleUtterancesT = Aws::Vector<SampleUtterance>>
143 m_sampleUtterancesHasBeenSet =
true;
144 m_sampleUtterances = std::forward<SampleUtterancesT>(value);
146 template <
typename SampleUtterancesT = Aws::Vector<SampleUtterance>>
151 template <
typename SampleUtterancesT = SampleUtterance>
153 m_sampleUtterancesHasBeenSet =
true;
154 m_sampleUtterances.emplace_back(std::forward<SampleUtterancesT>(value));
166 template <
typename DialogCodeHookT = DialogCodeHookSettings>
168 m_dialogCodeHookHasBeenSet =
true;
169 m_dialogCodeHook = std::forward<DialogCodeHookT>(value);
171 template <
typename DialogCodeHookT = DialogCodeHookSettings>
185 template <
typename FulfillmentCodeHookT = FulfillmentCodeHookSettings>
187 m_fulfillmentCodeHookHasBeenSet =
true;
188 m_fulfillmentCodeHook = std::forward<FulfillmentCodeHookT>(value);
190 template <
typename FulfillmentCodeHookT = FulfillmentCodeHookSettings>
204 template <
typename SlotPrioritiesT = Aws::Vector<SlotPriority>>
206 m_slotPrioritiesHasBeenSet =
true;
207 m_slotPriorities = std::forward<SlotPrioritiesT>(value);
209 template <
typename SlotPrioritiesT = Aws::Vector<SlotPriority>>
214 template <
typename SlotPrioritiesT = SlotPriority>
216 m_slotPrioritiesHasBeenSet =
true;
217 m_slotPriorities.emplace_back(std::forward<SlotPrioritiesT>(value));
229 template <
typename IntentConfirmationSettingT = IntentConfirmationSetting>
231 m_intentConfirmationSettingHasBeenSet =
true;
232 m_intentConfirmationSetting = std::forward<IntentConfirmationSettingT>(value);
234 template <
typename IntentConfirmationSettingT = IntentConfirmationSetting>
248 template <
typename IntentClosingSettingT = IntentClosingSetting>
250 m_intentClosingSettingHasBeenSet =
true;
251 m_intentClosingSetting = std::forward<IntentClosingSettingT>(value);
253 template <
typename IntentClosingSettingT = IntentClosingSetting>
267 template <
typename InputContextsT = Aws::Vector<InputContext>>
269 m_inputContextsHasBeenSet =
true;
270 m_inputContexts = std::forward<InputContextsT>(value);
272 template <
typename InputContextsT = Aws::Vector<InputContext>>
277 template <
typename InputContextsT = InputContext>
279 m_inputContextsHasBeenSet =
true;
280 m_inputContexts.emplace_back(std::forward<InputContextsT>(value));
292 template <
typename OutputContextsT = Aws::Vector<OutputContext>>
294 m_outputContextsHasBeenSet =
true;
295 m_outputContexts = std::forward<OutputContextsT>(value);
297 template <
typename OutputContextsT = Aws::Vector<OutputContext>>
302 template <
typename OutputContextsT = OutputContext>
304 m_outputContextsHasBeenSet =
true;
305 m_outputContexts.emplace_back(std::forward<OutputContextsT>(value));
316 template <
typename KendraConfigurationT = KendraConfiguration>
318 m_kendraConfigurationHasBeenSet =
true;
319 m_kendraConfiguration = std::forward<KendraConfigurationT>(value);
321 template <
typename KendraConfigurationT = KendraConfiguration>
334 template <
typename BotIdT = Aws::String>
336 m_botIdHasBeenSet =
true;
337 m_botId = std::forward<BotIdT>(value);
339 template <
typename BotIdT = Aws::String>
341 SetBotId(std::forward<BotIdT>(value));
353 template <
typename BotVersionT = Aws::String>
355 m_botVersionHasBeenSet =
true;
356 m_botVersion = std::forward<BotVersionT>(value);
358 template <
typename BotVersionT = Aws::String>
374 template <
typename LocaleIdT = Aws::String>
376 m_localeIdHasBeenSet =
true;
377 m_localeId = std::forward<LocaleIdT>(value);
379 template <
typename LocaleIdT = Aws::String>
393 template <
typename InitialResponseSettingT = InitialResponseSetting>
395 m_initialResponseSettingHasBeenSet =
true;
396 m_initialResponseSetting = std::forward<InitialResponseSettingT>(value);
398 template <
typename InitialResponseSettingT = InitialResponseSetting>
414 template <
typename QnAIntentConfigurationT = QnAIntentConfiguration>
416 m_qnAIntentConfigurationHasBeenSet =
true;
417 m_qnAIntentConfiguration = std::forward<QnAIntentConfigurationT>(value);
419 template <
typename QnAIntentConfigurationT = QnAIntentConfiguration>
432 template <
typename QInConnectIntentConfigurationT = QInConnectIntentConfiguration>
434 m_qInConnectIntentConfigurationHasBeenSet =
true;
435 m_qInConnectIntentConfiguration = std::forward<QInConnectIntentConfigurationT>(value);
437 template <
typename QInConnectIntentConfigurationT = QInConnectIntentConfiguration>
483 bool m_intentIdHasBeenSet =
false;
484 bool m_intentNameHasBeenSet =
false;
485 bool m_intentDisplayNameHasBeenSet =
false;
486 bool m_descriptionHasBeenSet =
false;
487 bool m_parentIntentSignatureHasBeenSet =
false;
488 bool m_sampleUtterancesHasBeenSet =
false;
489 bool m_dialogCodeHookHasBeenSet =
false;
490 bool m_fulfillmentCodeHookHasBeenSet =
false;
491 bool m_slotPrioritiesHasBeenSet =
false;
492 bool m_intentConfirmationSettingHasBeenSet =
false;
493 bool m_intentClosingSettingHasBeenSet =
false;
494 bool m_inputContextsHasBeenSet =
false;
495 bool m_outputContextsHasBeenSet =
false;
496 bool m_kendraConfigurationHasBeenSet =
false;
497 bool m_botIdHasBeenSet =
false;
498 bool m_botVersionHasBeenSet =
false;
499 bool m_localeIdHasBeenSet =
false;
500 bool m_initialResponseSettingHasBeenSet =
false;
501 bool m_qnAIntentConfigurationHasBeenSet =
false;
502 bool m_qInConnectIntentConfigurationHasBeenSet =
false;
const QnAIntentConfiguration & GetQnAIntentConfiguration() const
void SetParentIntentSignature(ParentIntentSignatureT &&value)
void SetSampleUtterances(SampleUtterancesT &&value)
bool OutputContextsHasBeenSet() const
void SetIntentDisplayName(IntentDisplayNameT &&value)
void SetDescription(DescriptionT &&value)
bool IntentNameHasBeenSet() const
bool BotIdHasBeenSet() const
bool DescriptionHasBeenSet() const
const Aws::String & GetBotId() const
const FulfillmentCodeHookSettings & GetFulfillmentCodeHook() const
bool InputContextsHasBeenSet() const
const Aws::String & GetLocaleId() const
UpdateIntentRequest & WithBotId(BotIdT &&value)
bool SampleUtterancesHasBeenSet() const
void SetSlotPriorities(SlotPrioritiesT &&value)
void SetQInConnectIntentConfiguration(QInConnectIntentConfigurationT &&value)
UpdateIntentRequest & AddSlotPriorities(SlotPrioritiesT &&value)
const InitialResponseSetting & GetInitialResponseSetting() const
UpdateIntentRequest & WithSampleUtterances(SampleUtterancesT &&value)
void SetIntentConfirmationSetting(IntentConfirmationSettingT &&value)
UpdateIntentRequest & WithKendraConfiguration(KendraConfigurationT &&value)
bool FulfillmentCodeHookHasBeenSet() const
UpdateIntentRequest & WithOutputContexts(OutputContextsT &&value)
const IntentClosingSetting & GetIntentClosingSetting() const
bool IntentDisplayNameHasBeenSet() const
UpdateIntentRequest & WithInputContexts(InputContextsT &&value)
void SetInitialResponseSetting(InitialResponseSettingT &&value)
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateIntentRequest & WithIntentId(IntentIdT &&value)
void SetDialogCodeHook(DialogCodeHookT &&value)
const Aws::String & GetDescription() const
bool QInConnectIntentConfigurationHasBeenSet() const
const Aws::String & GetIntentDisplayName() const
bool QnAIntentConfigurationHasBeenSet() const
const KendraConfiguration & GetKendraConfiguration() const
void SetOutputContexts(OutputContextsT &&value)
bool SlotPrioritiesHasBeenSet() const
void SetIntentId(IntentIdT &&value)
UpdateIntentRequest & WithDialogCodeHook(DialogCodeHookT &&value)
UpdateIntentRequest & WithFulfillmentCodeHook(FulfillmentCodeHookT &&value)
UpdateIntentRequest & WithLocaleId(LocaleIdT &&value)
UpdateIntentRequest & WithIntentDisplayName(IntentDisplayNameT &&value)
const Aws::String & GetBotVersion() const
bool DialogCodeHookHasBeenSet() const
bool LocaleIdHasBeenSet() const
void SetIntentName(IntentNameT &&value)
bool ParentIntentSignatureHasBeenSet() const
void SetKendraConfiguration(KendraConfigurationT &&value)
AWS_LEXMODELSV2_API UpdateIntentRequest()=default
UpdateIntentRequest & WithIntentConfirmationSetting(IntentConfirmationSettingT &&value)
const IntentConfirmationSetting & GetIntentConfirmationSetting() const
const QInConnectIntentConfiguration & GetQInConnectIntentConfiguration() const
bool IntentIdHasBeenSet() const
bool IntentConfirmationSettingHasBeenSet() const
void SetInputContexts(InputContextsT &&value)
UpdateIntentRequest & WithParentIntentSignature(ParentIntentSignatureT &&value)
UpdateIntentRequest & AddSampleUtterances(SampleUtterancesT &&value)
UpdateIntentRequest & AddInputContexts(InputContextsT &&value)
const Aws::Vector< OutputContext > & GetOutputContexts() const
void SetBotId(BotIdT &&value)
UpdateIntentRequest & WithInitialResponseSetting(InitialResponseSettingT &&value)
UpdateIntentRequest & AddOutputContexts(OutputContextsT &&value)
UpdateIntentRequest & WithDescription(DescriptionT &&value)
void SetIntentClosingSetting(IntentClosingSettingT &&value)
bool IntentClosingSettingHasBeenSet() const
UpdateIntentRequest & WithIntentName(IntentNameT &&value)
UpdateIntentRequest & WithQnAIntentConfiguration(QnAIntentConfigurationT &&value)
const Aws::String & GetIntentName() const
bool InitialResponseSettingHasBeenSet() const
void SetBotVersion(BotVersionT &&value)
void SetLocaleId(LocaleIdT &&value)
bool BotVersionHasBeenSet() const
const Aws::Vector< SampleUtterance > & GetSampleUtterances() const
bool KendraConfigurationHasBeenSet() const
const Aws::Vector< InputContext > & GetInputContexts() const
const Aws::String & GetIntentId() const
UpdateIntentRequest & WithIntentClosingSetting(IntentClosingSettingT &&value)
void SetFulfillmentCodeHook(FulfillmentCodeHookT &&value)
const Aws::String & GetParentIntentSignature() const
void SetQnAIntentConfiguration(QnAIntentConfigurationT &&value)
const Aws::Vector< SlotPriority > & GetSlotPriorities() const
const DialogCodeHookSettings & GetDialogCodeHook() const
UpdateIntentRequest & WithBotVersion(BotVersionT &&value)
UpdateIntentRequest & WithQInConnectIntentConfiguration(QInConnectIntentConfigurationT &&value)
UpdateIntentRequest & WithSlotPriorities(SlotPrioritiesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector