7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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>
27template <
typename RESULT_TYPE>
28class AmazonWebServiceResult;
35namespace LexModelsV2 {
48 template <
typename IntentIdT = Aws::String>
50 m_intentIdHasBeenSet =
true;
51 m_intentId = std::forward<IntentIdT>(value);
53 template <
typename IntentIdT = Aws::String>
65 template <
typename IntentNameT = Aws::String>
67 m_intentNameHasBeenSet =
true;
68 m_intentName = std::forward<IntentNameT>(value);
70 template <
typename IntentNameT = Aws::String>
82 template <
typename IntentDisplayNameT = Aws::String>
84 m_intentDisplayNameHasBeenSet =
true;
85 m_intentDisplayName = std::forward<IntentDisplayNameT>(value);
87 template <
typename IntentDisplayNameT = Aws::String>
99 template <
typename DescriptionT = Aws::String>
101 m_descriptionHasBeenSet =
true;
102 m_description = std::forward<DescriptionT>(value);
104 template <
typename DescriptionT = Aws::String>
116 template <
typename ParentIntentSignatureT = Aws::String>
118 m_parentIntentSignatureHasBeenSet =
true;
119 m_parentIntentSignature = std::forward<ParentIntentSignatureT>(value);
121 template <
typename ParentIntentSignatureT = Aws::String>
133 template <
typename SampleUtterancesT = Aws::Vector<SampleUtterance>>
135 m_sampleUtterancesHasBeenSet =
true;
136 m_sampleUtterances = std::forward<SampleUtterancesT>(value);
138 template <
typename SampleUtterancesT = Aws::Vector<SampleUtterance>>
143 template <
typename SampleUtterancesT = SampleUtterance>
145 m_sampleUtterancesHasBeenSet =
true;
146 m_sampleUtterances.emplace_back(std::forward<SampleUtterancesT>(value));
157 template <
typename DialogCodeHookT = DialogCodeHookSettings>
159 m_dialogCodeHookHasBeenSet =
true;
160 m_dialogCodeHook = std::forward<DialogCodeHookT>(value);
162 template <
typename DialogCodeHookT = DialogCodeHookSettings>
175 template <
typename FulfillmentCodeHookT = FulfillmentCodeHookSettings>
177 m_fulfillmentCodeHookHasBeenSet =
true;
178 m_fulfillmentCodeHook = std::forward<FulfillmentCodeHookT>(value);
180 template <
typename FulfillmentCodeHookT = FulfillmentCodeHookSettings>
193 template <
typename SlotPrioritiesT = Aws::Vector<SlotPriority>>
195 m_slotPrioritiesHasBeenSet =
true;
196 m_slotPriorities = std::forward<SlotPrioritiesT>(value);
198 template <
typename SlotPrioritiesT = Aws::Vector<SlotPriority>>
203 template <
typename SlotPrioritiesT = SlotPriority>
205 m_slotPrioritiesHasBeenSet =
true;
206 m_slotPriorities.emplace_back(std::forward<SlotPrioritiesT>(value));
217 template <
typename IntentConfirmationSettingT = IntentConfirmationSetting>
219 m_intentConfirmationSettingHasBeenSet =
true;
220 m_intentConfirmationSetting = std::forward<IntentConfirmationSettingT>(value);
222 template <
typename IntentConfirmationSettingT = IntentConfirmationSetting>
235 template <
typename IntentClosingSettingT = IntentClosingSetting>
237 m_intentClosingSettingHasBeenSet =
true;
238 m_intentClosingSetting = std::forward<IntentClosingSettingT>(value);
240 template <
typename IntentClosingSettingT = IntentClosingSetting>
253 template <
typename InputContextsT = Aws::Vector<InputContext>>
255 m_inputContextsHasBeenSet =
true;
256 m_inputContexts = std::forward<InputContextsT>(value);
258 template <
typename InputContextsT = Aws::Vector<InputContext>>
263 template <
typename InputContextsT = InputContext>
265 m_inputContextsHasBeenSet =
true;
266 m_inputContexts.emplace_back(std::forward<InputContextsT>(value));
277 template <
typename OutputContextsT = Aws::Vector<OutputContext>>
279 m_outputContextsHasBeenSet =
true;
280 m_outputContexts = std::forward<OutputContextsT>(value);
282 template <
typename OutputContextsT = Aws::Vector<OutputContext>>
287 template <
typename OutputContextsT = OutputContext>
289 m_outputContextsHasBeenSet =
true;
290 m_outputContexts.emplace_back(std::forward<OutputContextsT>(value));
301 template <
typename KendraConfigurationT = KendraConfiguration>
303 m_kendraConfigurationHasBeenSet =
true;
304 m_kendraConfiguration = std::forward<KendraConfigurationT>(value);
306 template <
typename KendraConfigurationT = KendraConfiguration>
318 template <
typename BotIdT = Aws::String>
320 m_botIdHasBeenSet =
true;
321 m_botId = std::forward<BotIdT>(value);
323 template <
typename BotIdT = Aws::String>
325 SetBotId(std::forward<BotIdT>(value));
336 template <
typename BotVersionT = Aws::String>
338 m_botVersionHasBeenSet =
true;
339 m_botVersion = std::forward<BotVersionT>(value);
341 template <
typename BotVersionT = Aws::String>
353 template <
typename LocaleIdT = Aws::String>
355 m_localeIdHasBeenSet =
true;
356 m_localeId = std::forward<LocaleIdT>(value);
358 template <
typename LocaleIdT = Aws::String>
370 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
372 m_creationDateTimeHasBeenSet =
true;
373 m_creationDateTime = std::forward<CreationDateTimeT>(value);
375 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
387 template <
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
389 m_lastUpdatedDateTimeHasBeenSet =
true;
390 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
392 template <
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
405 template <
typename InitialResponseSettingT = InitialResponseSetting>
407 m_initialResponseSettingHasBeenSet =
true;
408 m_initialResponseSetting = std::forward<InitialResponseSettingT>(value);
410 template <
typename InitialResponseSettingT = InitialResponseSetting>
423 template <
typename QnAIntentConfigurationT = QnAIntentConfiguration>
425 m_qnAIntentConfigurationHasBeenSet =
true;
426 m_qnAIntentConfiguration = std::forward<QnAIntentConfigurationT>(value);
428 template <
typename QnAIntentConfigurationT = QnAIntentConfiguration>
440 template <
typename QInConnectIntentConfigurationT = QInConnectIntentConfiguration>
442 m_qInConnectIntentConfigurationHasBeenSet =
true;
443 m_qInConnectIntentConfiguration = std::forward<QInConnectIntentConfigurationT>(value);
445 template <
typename QInConnectIntentConfigurationT = QInConnectIntentConfiguration>
455 template <
typename RequestIdT = Aws::String>
457 m_requestIdHasBeenSet =
true;
458 m_requestId = std::forward<RequestIdT>(value);
460 template <
typename RequestIdT = Aws::String>
505 InitialResponseSetting m_initialResponseSetting;
507 QnAIntentConfiguration m_qnAIntentConfiguration;
509 QInConnectIntentConfiguration m_qInConnectIntentConfiguration;
512 bool m_intentIdHasBeenSet =
false;
513 bool m_intentNameHasBeenSet =
false;
514 bool m_intentDisplayNameHasBeenSet =
false;
515 bool m_descriptionHasBeenSet =
false;
516 bool m_parentIntentSignatureHasBeenSet =
false;
517 bool m_sampleUtterancesHasBeenSet =
false;
518 bool m_dialogCodeHookHasBeenSet =
false;
519 bool m_fulfillmentCodeHookHasBeenSet =
false;
520 bool m_slotPrioritiesHasBeenSet =
false;
521 bool m_intentConfirmationSettingHasBeenSet =
false;
522 bool m_intentClosingSettingHasBeenSet =
false;
523 bool m_inputContextsHasBeenSet =
false;
524 bool m_outputContextsHasBeenSet =
false;
525 bool m_kendraConfigurationHasBeenSet =
false;
526 bool m_botIdHasBeenSet =
false;
527 bool m_botVersionHasBeenSet =
false;
528 bool m_localeIdHasBeenSet =
false;
529 bool m_creationDateTimeHasBeenSet =
false;
530 bool m_lastUpdatedDateTimeHasBeenSet =
false;
531 bool m_initialResponseSettingHasBeenSet =
false;
532 bool m_qnAIntentConfigurationHasBeenSet =
false;
533 bool m_qInConnectIntentConfigurationHasBeenSet =
false;
534 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)
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