7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
12#include <aws/lexv2-models/model/DialogCodeHookSettings.h>
13#include <aws/lexv2-models/model/FulfillmentCodeHookSettings.h>
14#include <aws/lexv2-models/model/InitialResponseSetting.h>
15#include <aws/lexv2-models/model/InputContext.h>
16#include <aws/lexv2-models/model/IntentClosingSetting.h>
17#include <aws/lexv2-models/model/IntentConfirmationSetting.h>
18#include <aws/lexv2-models/model/KendraConfiguration.h>
19#include <aws/lexv2-models/model/OutputContext.h>
20#include <aws/lexv2-models/model/QInConnectIntentConfiguration.h>
21#include <aws/lexv2-models/model/QnAIntentConfiguration.h>
22#include <aws/lexv2-models/model/SampleUtterance.h>
23#include <aws/lexv2-models/model/SlotPriority.h>
28template <
typename RESULT_TYPE>
29class AmazonWebServiceResult;
36namespace LexModelsV2 {
49 template <
typename IntentIdT = Aws::String>
51 m_intentIdHasBeenSet =
true;
52 m_intentId = std::forward<IntentIdT>(value);
54 template <
typename IntentIdT = Aws::String>
66 template <
typename IntentNameT = Aws::String>
68 m_intentNameHasBeenSet =
true;
69 m_intentName = std::forward<IntentNameT>(value);
71 template <
typename IntentNameT = Aws::String>
83 template <
typename IntentDisplayNameT = Aws::String>
85 m_intentDisplayNameHasBeenSet =
true;
86 m_intentDisplayName = std::forward<IntentDisplayNameT>(value);
88 template <
typename IntentDisplayNameT = Aws::String>
100 template <
typename DescriptionT = Aws::String>
102 m_descriptionHasBeenSet =
true;
103 m_description = std::forward<DescriptionT>(value);
105 template <
typename DescriptionT = Aws::String>
117 template <
typename ParentIntentSignatureT = Aws::String>
119 m_parentIntentSignatureHasBeenSet =
true;
120 m_parentIntentSignature = std::forward<ParentIntentSignatureT>(value);
122 template <
typename ParentIntentSignatureT = Aws::String>
134 template <
typename SampleUtterancesT = Aws::Vector<SampleUtterance>>
136 m_sampleUtterancesHasBeenSet =
true;
137 m_sampleUtterances = std::forward<SampleUtterancesT>(value);
139 template <
typename SampleUtterancesT = Aws::Vector<SampleUtterance>>
144 template <
typename SampleUtterancesT = SampleUtterance>
146 m_sampleUtterancesHasBeenSet =
true;
147 m_sampleUtterances.emplace_back(std::forward<SampleUtterancesT>(value));
158 template <
typename DialogCodeHookT = DialogCodeHookSettings>
160 m_dialogCodeHookHasBeenSet =
true;
161 m_dialogCodeHook = std::forward<DialogCodeHookT>(value);
163 template <
typename DialogCodeHookT = DialogCodeHookSettings>
176 template <
typename FulfillmentCodeHookT = FulfillmentCodeHookSettings>
178 m_fulfillmentCodeHookHasBeenSet =
true;
179 m_fulfillmentCodeHook = std::forward<FulfillmentCodeHookT>(value);
181 template <
typename FulfillmentCodeHookT = FulfillmentCodeHookSettings>
194 template <
typename SlotPrioritiesT = Aws::Vector<SlotPriority>>
196 m_slotPrioritiesHasBeenSet =
true;
197 m_slotPriorities = std::forward<SlotPrioritiesT>(value);
199 template <
typename SlotPrioritiesT = Aws::Vector<SlotPriority>>
204 template <
typename SlotPrioritiesT = SlotPriority>
206 m_slotPrioritiesHasBeenSet =
true;
207 m_slotPriorities.emplace_back(std::forward<SlotPrioritiesT>(value));
218 template <
typename IntentConfirmationSettingT = IntentConfirmationSetting>
220 m_intentConfirmationSettingHasBeenSet =
true;
221 m_intentConfirmationSetting = std::forward<IntentConfirmationSettingT>(value);
223 template <
typename IntentConfirmationSettingT = IntentConfirmationSetting>
236 template <
typename IntentClosingSettingT = IntentClosingSetting>
238 m_intentClosingSettingHasBeenSet =
true;
239 m_intentClosingSetting = std::forward<IntentClosingSettingT>(value);
241 template <
typename IntentClosingSettingT = IntentClosingSetting>
254 template <
typename InputContextsT = Aws::Vector<InputContext>>
256 m_inputContextsHasBeenSet =
true;
257 m_inputContexts = std::forward<InputContextsT>(value);
259 template <
typename InputContextsT = Aws::Vector<InputContext>>
264 template <
typename InputContextsT = InputContext>
266 m_inputContextsHasBeenSet =
true;
267 m_inputContexts.emplace_back(std::forward<InputContextsT>(value));
278 template <
typename OutputContextsT = Aws::Vector<OutputContext>>
280 m_outputContextsHasBeenSet =
true;
281 m_outputContexts = std::forward<OutputContextsT>(value);
283 template <
typename OutputContextsT = Aws::Vector<OutputContext>>
288 template <
typename OutputContextsT = OutputContext>
290 m_outputContextsHasBeenSet =
true;
291 m_outputContexts.emplace_back(std::forward<OutputContextsT>(value));
302 template <
typename KendraConfigurationT = KendraConfiguration>
304 m_kendraConfigurationHasBeenSet =
true;
305 m_kendraConfiguration = std::forward<KendraConfigurationT>(value);
307 template <
typename KendraConfigurationT = KendraConfiguration>
319 template <
typename BotIdT = Aws::String>
321 m_botIdHasBeenSet =
true;
322 m_botId = std::forward<BotIdT>(value);
324 template <
typename BotIdT = Aws::String>
326 SetBotId(std::forward<BotIdT>(value));
337 template <
typename BotVersionT = Aws::String>
339 m_botVersionHasBeenSet =
true;
340 m_botVersion = std::forward<BotVersionT>(value);
342 template <
typename BotVersionT = Aws::String>
354 template <
typename LocaleIdT = Aws::String>
356 m_localeIdHasBeenSet =
true;
357 m_localeId = std::forward<LocaleIdT>(value);
359 template <
typename LocaleIdT = Aws::String>
371 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
373 m_creationDateTimeHasBeenSet =
true;
374 m_creationDateTime = std::forward<CreationDateTimeT>(value);
376 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
388 template <
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
390 m_lastUpdatedDateTimeHasBeenSet =
true;
391 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
393 template <
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
406 template <
typename InitialResponseSettingT = InitialResponseSetting>
408 m_initialResponseSettingHasBeenSet =
true;
409 m_initialResponseSetting = std::forward<InitialResponseSettingT>(value);
411 template <
typename InitialResponseSettingT = InitialResponseSetting>
424 template <
typename QnAIntentConfigurationT = QnAIntentConfiguration>
426 m_qnAIntentConfigurationHasBeenSet =
true;
427 m_qnAIntentConfiguration = std::forward<QnAIntentConfigurationT>(value);
429 template <
typename QnAIntentConfigurationT = QnAIntentConfiguration>
441 template <
typename QInConnectIntentConfigurationT = QInConnectIntentConfiguration>
443 m_qInConnectIntentConfigurationHasBeenSet =
true;
444 m_qInConnectIntentConfiguration = std::forward<QInConnectIntentConfigurationT>(value);
446 template <
typename QInConnectIntentConfigurationT = QInConnectIntentConfiguration>
456 template <
typename RequestIdT = Aws::String>
458 m_requestIdHasBeenSet =
true;
459 m_requestId = std::forward<RequestIdT>(value);
461 template <
typename RequestIdT = Aws::String>
508 InitialResponseSetting m_initialResponseSetting;
510 QnAIntentConfiguration m_qnAIntentConfiguration;
512 QInConnectIntentConfiguration m_qInConnectIntentConfiguration;
516 bool m_intentIdHasBeenSet =
false;
517 bool m_intentNameHasBeenSet =
false;
518 bool m_intentDisplayNameHasBeenSet =
false;
519 bool m_descriptionHasBeenSet =
false;
520 bool m_parentIntentSignatureHasBeenSet =
false;
521 bool m_sampleUtterancesHasBeenSet =
false;
522 bool m_dialogCodeHookHasBeenSet =
false;
523 bool m_fulfillmentCodeHookHasBeenSet =
false;
524 bool m_slotPrioritiesHasBeenSet =
false;
525 bool m_intentConfirmationSettingHasBeenSet =
false;
526 bool m_intentClosingSettingHasBeenSet =
false;
527 bool m_inputContextsHasBeenSet =
false;
528 bool m_outputContextsHasBeenSet =
false;
529 bool m_kendraConfigurationHasBeenSet =
false;
530 bool m_botIdHasBeenSet =
false;
531 bool m_botVersionHasBeenSet =
false;
532 bool m_localeIdHasBeenSet =
false;
533 bool m_creationDateTimeHasBeenSet =
false;
534 bool m_lastUpdatedDateTimeHasBeenSet =
false;
535 bool m_initialResponseSettingHasBeenSet =
false;
536 bool m_qnAIntentConfigurationHasBeenSet =
false;
537 bool m_qInConnectIntentConfigurationHasBeenSet =
false;
538 bool m_requestIdHasBeenSet =
false;
void SetQInConnectIntentConfiguration(QInConnectIntentConfigurationT &&value)
void SetFulfillmentCodeHook(FulfillmentCodeHookT &&value)
void SetIntentId(IntentIdT &&value)
void SetIntentConfirmationSetting(IntentConfirmationSettingT &&value)
const Aws::String & GetLocaleId() const
void SetInitialResponseSetting(InitialResponseSettingT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
const Aws::Vector< SampleUtterance > & GetSampleUtterances() const
UpdateIntentResult & AddInputContexts(InputContextsT &&value)
void SetLocaleId(LocaleIdT &&value)
UpdateIntentResult & WithQInConnectIntentConfiguration(QInConnectIntentConfigurationT &&value)
const Aws::String & GetRequestId() const
UpdateIntentResult & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
void SetIntentDisplayName(IntentDisplayNameT &&value)
const Aws::String & GetDescription() const
const Aws::Vector< SlotPriority > & GetSlotPriorities() const
UpdateIntentResult & WithDialogCodeHook(DialogCodeHookT &&value)
void SetBotId(BotIdT &&value)
UpdateIntentResult & WithKendraConfiguration(KendraConfigurationT &&value)
AWS_LEXMODELSV2_API UpdateIntentResult()=default
UpdateIntentResult & AddSlotPriorities(SlotPrioritiesT &&value)
const FulfillmentCodeHookSettings & GetFulfillmentCodeHook() const
const Aws::String & GetIntentDisplayName() const
UpdateIntentResult & WithIntentId(IntentIdT &&value)
void SetParentIntentSignature(ParentIntentSignatureT &&value)
AWS_LEXMODELSV2_API UpdateIntentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetBotVersion(BotVersionT &&value)
const KendraConfiguration & GetKendraConfiguration() const
UpdateIntentResult & WithLocaleId(LocaleIdT &&value)
UpdateIntentResult & WithInitialResponseSetting(InitialResponseSettingT &&value)
UpdateIntentResult & WithBotVersion(BotVersionT &&value)
void SetSampleUtterances(SampleUtterancesT &&value)
UpdateIntentResult & AddOutputContexts(OutputContextsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Vector< OutputContext > & GetOutputContexts() const
void SetQnAIntentConfiguration(QnAIntentConfigurationT &&value)
const QInConnectIntentConfiguration & GetQInConnectIntentConfiguration() const
void SetKendraConfiguration(KendraConfigurationT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
const QnAIntentConfiguration & GetQnAIntentConfiguration() const
UpdateIntentResult & WithIntentClosingSetting(IntentClosingSettingT &&value)
UpdateIntentResult & WithOutputContexts(OutputContextsT &&value)
const InitialResponseSetting & GetInitialResponseSetting() const
void SetDialogCodeHook(DialogCodeHookT &&value)
UpdateIntentResult & WithSampleUtterances(SampleUtterancesT &&value)
const Aws::String & GetBotId() const
UpdateIntentResult & WithParentIntentSignature(ParentIntentSignatureT &&value)
const IntentClosingSetting & GetIntentClosingSetting() const
UpdateIntentResult & WithQnAIntentConfiguration(QnAIntentConfigurationT &&value)
UpdateIntentResult & WithSlotPriorities(SlotPrioritiesT &&value)
void SetRequestId(RequestIdT &&value)
UpdateIntentResult & WithIntentName(IntentNameT &&value)
void SetSlotPriorities(SlotPrioritiesT &&value)
void SetOutputContexts(OutputContextsT &&value)
UpdateIntentResult & WithInputContexts(InputContextsT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetBotVersion() const
UpdateIntentResult & WithRequestId(RequestIdT &&value)
AWS_LEXMODELSV2_API UpdateIntentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateIntentResult & WithCreationDateTime(CreationDateTimeT &&value)
const DialogCodeHookSettings & GetDialogCodeHook() const
void SetIntentName(IntentNameT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetInputContexts(InputContextsT &&value)
const Aws::String & GetIntentName() const
const IntentConfirmationSetting & GetIntentConfirmationSetting() const
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
UpdateIntentResult & WithBotId(BotIdT &&value)
const Aws::Vector< InputContext > & GetInputContexts() const
UpdateIntentResult & WithIntentDisplayName(IntentDisplayNameT &&value)
UpdateIntentResult & WithIntentConfirmationSetting(IntentConfirmationSettingT &&value)
const Aws::String & GetIntentId() const
const Aws::String & GetParentIntentSignature() const
void SetIntentClosingSetting(IntentClosingSettingT &&value)
UpdateIntentResult & WithFulfillmentCodeHook(FulfillmentCodeHookT &&value)
UpdateIntentResult & AddSampleUtterances(SampleUtterancesT &&value)
UpdateIntentResult & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue