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/SlotPriority.h>
21#include <aws/lexv2-models/model/InputContext.h>
22#include <aws/lexv2-models/model/OutputContext.h>
54 template<
typename IntentIdT = Aws::String>
55 void SetIntentId(IntentIdT&& value) { m_intentIdHasBeenSet =
true; m_intentId = std::forward<IntentIdT>(value); }
56 template<
typename IntentIdT = Aws::String>
66 template<
typename IntentNameT = Aws::String>
67 void SetIntentName(IntentNameT&& value) { m_intentNameHasBeenSet =
true; m_intentName = std::forward<IntentNameT>(value); }
68 template<
typename IntentNameT = Aws::String>
78 template<
typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
80 template<
typename DescriptionT = Aws::String>
91 template<
typename ParentIntentSignatureT = Aws::String>
92 void SetParentIntentSignature(ParentIntentSignatureT&& value) { m_parentIntentSignatureHasBeenSet =
true; m_parentIntentSignature = std::forward<ParentIntentSignatureT>(value); }
93 template<
typename ParentIntentSignatureT = Aws::String>
103 template<
typename SampleUtterancesT = Aws::Vector<SampleUtterance>>
104 void SetSampleUtterances(SampleUtterancesT&& value) { m_sampleUtterancesHasBeenSet =
true; m_sampleUtterances = std::forward<SampleUtterancesT>(value); }
105 template<
typename SampleUtterancesT = Aws::Vector<SampleUtterance>>
107 template<
typename SampleUtterancesT = SampleUtterance>
118 template<
typename DialogCodeHookT = DialogCodeHookSettings>
119 void SetDialogCodeHook(DialogCodeHookT&& value) { m_dialogCodeHookHasBeenSet =
true; m_dialogCodeHook = std::forward<DialogCodeHookT>(value); }
120 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>
144 template<
typename SlotPrioritiesT = Aws::Vector<SlotPriority>>
145 void SetSlotPriorities(SlotPrioritiesT&& value) { m_slotPrioritiesHasBeenSet =
true; m_slotPriorities = std::forward<SlotPrioritiesT>(value); }
146 template<
typename SlotPrioritiesT = Aws::Vector<SlotPriority>>
148 template<
typename SlotPrioritiesT = SlotPriority>
159 template<
typename IntentConfirmationSettingT = IntentConfirmationSetting>
160 void SetIntentConfirmationSetting(IntentConfirmationSettingT&& value) { m_intentConfirmationSettingHasBeenSet =
true; m_intentConfirmationSetting = std::forward<IntentConfirmationSettingT>(value); }
161 template<
typename IntentConfirmationSettingT = IntentConfirmationSetting>
172 template<
typename IntentClosingSettingT = IntentClosingSetting>
173 void SetIntentClosingSetting(IntentClosingSettingT&& value) { m_intentClosingSettingHasBeenSet =
true; m_intentClosingSetting = std::forward<IntentClosingSettingT>(value); }
174 template<
typename IntentClosingSettingT = IntentClosingSetting>
185 template<
typename InputContextsT = Aws::Vector<InputContext>>
186 void SetInputContexts(InputContextsT&& value) { m_inputContextsHasBeenSet =
true; m_inputContexts = std::forward<InputContextsT>(value); }
187 template<
typename InputContextsT = Aws::Vector<InputContext>>
189 template<
typename InputContextsT = InputContext>
200 template<
typename OutputContextsT = Aws::Vector<OutputContext>>
201 void SetOutputContexts(OutputContextsT&& value) { m_outputContextsHasBeenSet =
true; m_outputContexts = std::forward<OutputContextsT>(value); }
202 template<
typename OutputContextsT = Aws::Vector<OutputContext>>
204 template<
typename OutputContextsT = OutputContext>
214 template<
typename KendraConfigurationT = KendraConfiguration>
215 void SetKendraConfiguration(KendraConfigurationT&& value) { m_kendraConfigurationHasBeenSet =
true; m_kendraConfiguration = std::forward<KendraConfigurationT>(value); }
216 template<
typename KendraConfigurationT = KendraConfiguration>
226 template<
typename BotIdT = Aws::String>
227 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet =
true; m_botId = std::forward<BotIdT>(value); }
228 template<
typename BotIdT = Aws::String>
239 template<
typename BotVersionT = Aws::String>
240 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet =
true; m_botVersion = std::forward<BotVersionT>(value); }
241 template<
typename BotVersionT = Aws::String>
254 template<
typename LocaleIdT = Aws::String>
255 void SetLocaleId(LocaleIdT&& value) { m_localeIdHasBeenSet =
true; m_localeId = std::forward<LocaleIdT>(value); }
256 template<
typename LocaleIdT = Aws::String>
267 template<
typename InitialResponseSettingT = InitialResponseSetting>
268 void SetInitialResponseSetting(InitialResponseSettingT&& value) { m_initialResponseSettingHasBeenSet =
true; m_initialResponseSetting = std::forward<InitialResponseSettingT>(value); }
269 template<
typename InitialResponseSettingT = InitialResponseSetting>
282 template<
typename QnAIntentConfigurationT = QnAIntentConfiguration>
283 void SetQnAIntentConfiguration(QnAIntentConfigurationT&& value) { m_qnAIntentConfigurationHasBeenSet =
true; m_qnAIntentConfiguration = std::forward<QnAIntentConfigurationT>(value); }
284 template<
typename QnAIntentConfigurationT = QnAIntentConfiguration>
294 template<
typename QInConnectIntentConfigurationT = QInConnectIntentConfiguration>
295 void SetQInConnectIntentConfiguration(QInConnectIntentConfigurationT&& value) { m_qInConnectIntentConfigurationHasBeenSet =
true; m_qInConnectIntentConfiguration = std::forward<QInConnectIntentConfigurationT>(value); }
296 template<
typename QInConnectIntentConfigurationT = QInConnectIntentConfiguration>
302 bool m_intentIdHasBeenSet =
false;
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_slotPrioritiesHasBeenSet =
false;
326 bool m_intentConfirmationSettingHasBeenSet =
false;
329 bool m_intentClosingSettingHasBeenSet =
false;
332 bool m_inputContextsHasBeenSet =
false;
335 bool m_outputContextsHasBeenSet =
false;
338 bool m_kendraConfigurationHasBeenSet =
false;
341 bool m_botIdHasBeenSet =
false;
344 bool m_botVersionHasBeenSet =
false;
347 bool m_localeIdHasBeenSet =
false;
350 bool m_initialResponseSettingHasBeenSet =
false;
353 bool m_qnAIntentConfigurationHasBeenSet =
false;
356 bool m_qInConnectIntentConfigurationHasBeenSet =
false;
const QnAIntentConfiguration & GetQnAIntentConfiguration() const
void SetParentIntentSignature(ParentIntentSignatureT &&value)
void SetSampleUtterances(SampleUtterancesT &&value)
bool OutputContextsHasBeenSet() const
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
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
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)
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