7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lexv2-models/model/DialogCodeHookSettings.h>
11#include <aws/lexv2-models/model/FulfillmentCodeHookSettings.h>
12#include <aws/lexv2-models/model/IntentConfirmationSetting.h>
13#include <aws/lexv2-models/model/IntentClosingSetting.h>
14#include <aws/lexv2-models/model/KendraConfiguration.h>
15#include <aws/core/utils/DateTime.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>
27template<
typename RESULT_TYPE>
28class AmazonWebServiceResult;
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>
65 template<
typename IntentNameT = Aws::String>
66 void SetIntentName(IntentNameT&& value) { m_intentNameHasBeenSet =
true; m_intentName = std::forward<IntentNameT>(value); }
67 template<
typename IntentNameT = Aws::String>
76 template<
typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
78 template<
typename DescriptionT = Aws::String>
87 template<
typename ParentIntentSignatureT = Aws::String>
88 void SetParentIntentSignature(ParentIntentSignatureT&& value) { m_parentIntentSignatureHasBeenSet =
true; m_parentIntentSignature = std::forward<ParentIntentSignatureT>(value); }
89 template<
typename ParentIntentSignatureT = Aws::String>
98 template<
typename SampleUtterancesT = Aws::Vector<SampleUtterance>>
99 void SetSampleUtterances(SampleUtterancesT&& value) { m_sampleUtterancesHasBeenSet =
true; m_sampleUtterances = std::forward<SampleUtterancesT>(value); }
100 template<
typename SampleUtterancesT = Aws::Vector<SampleUtterance>>
102 template<
typename SampleUtterancesT = SampleUtterance>
112 template<
typename DialogCodeHookT = DialogCodeHookSettings>
113 void SetDialogCodeHook(DialogCodeHookT&& value) { m_dialogCodeHookHasBeenSet =
true; m_dialogCodeHook = std::forward<DialogCodeHookT>(value); }
114 template<
typename DialogCodeHookT = DialogCodeHookSettings>
124 template<
typename FulfillmentCodeHookT = FulfillmentCodeHookSettings>
125 void SetFulfillmentCodeHook(FulfillmentCodeHookT&& value) { m_fulfillmentCodeHookHasBeenSet =
true; m_fulfillmentCodeHook = std::forward<FulfillmentCodeHookT>(value); }
126 template<
typename FulfillmentCodeHookT = FulfillmentCodeHookSettings>
136 template<
typename SlotPrioritiesT = Aws::Vector<SlotPriority>>
137 void SetSlotPriorities(SlotPrioritiesT&& value) { m_slotPrioritiesHasBeenSet =
true; m_slotPriorities = std::forward<SlotPrioritiesT>(value); }
138 template<
typename SlotPrioritiesT = Aws::Vector<SlotPriority>>
140 template<
typename SlotPrioritiesT = SlotPriority>
150 template<
typename IntentConfirmationSettingT = IntentConfirmationSetting>
151 void SetIntentConfirmationSetting(IntentConfirmationSettingT&& value) { m_intentConfirmationSettingHasBeenSet =
true; m_intentConfirmationSetting = std::forward<IntentConfirmationSettingT>(value); }
152 template<
typename IntentConfirmationSettingT = IntentConfirmationSetting>
162 template<
typename IntentClosingSettingT = IntentClosingSetting>
163 void SetIntentClosingSetting(IntentClosingSettingT&& value) { m_intentClosingSettingHasBeenSet =
true; m_intentClosingSetting = std::forward<IntentClosingSettingT>(value); }
164 template<
typename IntentClosingSettingT = IntentClosingSetting>
174 template<
typename InputContextsT = Aws::Vector<InputContext>>
175 void SetInputContexts(InputContextsT&& value) { m_inputContextsHasBeenSet =
true; m_inputContexts = std::forward<InputContextsT>(value); }
176 template<
typename InputContextsT = Aws::Vector<InputContext>>
178 template<
typename InputContextsT = InputContext>
188 template<
typename OutputContextsT = Aws::Vector<OutputContext>>
189 void SetOutputContexts(OutputContextsT&& value) { m_outputContextsHasBeenSet =
true; m_outputContexts = std::forward<OutputContextsT>(value); }
190 template<
typename OutputContextsT = Aws::Vector<OutputContext>>
192 template<
typename OutputContextsT = OutputContext>
202 template<
typename KendraConfigurationT = KendraConfiguration>
203 void SetKendraConfiguration(KendraConfigurationT&& value) { m_kendraConfigurationHasBeenSet =
true; m_kendraConfiguration = std::forward<KendraConfigurationT>(value); }
204 template<
typename KendraConfigurationT = KendraConfiguration>
213 template<
typename BotIdT = Aws::String>
214 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet =
true; m_botId = std::forward<BotIdT>(value); }
215 template<
typename BotIdT = Aws::String>
225 template<
typename BotVersionT = Aws::String>
226 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet =
true; m_botVersion = std::forward<BotVersionT>(value); }
227 template<
typename BotVersionT = Aws::String>
236 template<
typename LocaleIdT = Aws::String>
237 void SetLocaleId(LocaleIdT&& value) { m_localeIdHasBeenSet =
true; m_localeId = std::forward<LocaleIdT>(value); }
238 template<
typename LocaleIdT = Aws::String>
247 template<
typename CreationDateTimeT = Aws::Utils::DateTime>
248 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet =
true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
249 template<
typename CreationDateTimeT = Aws::Utils::DateTime>
258 template<
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
259 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet =
true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
260 template<
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
270 template<
typename InitialResponseSettingT = InitialResponseSetting>
271 void SetInitialResponseSetting(InitialResponseSettingT&& value) { m_initialResponseSettingHasBeenSet =
true; m_initialResponseSetting = std::forward<InitialResponseSettingT>(value); }
272 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>
293 template<
typename QInConnectIntentConfigurationT = QInConnectIntentConfiguration>
294 void SetQInConnectIntentConfiguration(QInConnectIntentConfigurationT&& value) { m_qInConnectIntentConfigurationHasBeenSet =
true; m_qInConnectIntentConfiguration = std::forward<QInConnectIntentConfigurationT>(value); }
295 template<
typename QInConnectIntentConfigurationT = QInConnectIntentConfiguration>
302 template<
typename RequestIdT = Aws::String>
303 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
304 template<
typename RequestIdT = Aws::String>
310 bool m_intentIdHasBeenSet =
false;
313 bool m_intentNameHasBeenSet =
false;
316 bool m_descriptionHasBeenSet =
false;
319 bool m_parentIntentSignatureHasBeenSet =
false;
322 bool m_sampleUtterancesHasBeenSet =
false;
325 bool m_dialogCodeHookHasBeenSet =
false;
328 bool m_fulfillmentCodeHookHasBeenSet =
false;
331 bool m_slotPrioritiesHasBeenSet =
false;
334 bool m_intentConfirmationSettingHasBeenSet =
false;
337 bool m_intentClosingSettingHasBeenSet =
false;
340 bool m_inputContextsHasBeenSet =
false;
343 bool m_outputContextsHasBeenSet =
false;
346 bool m_kendraConfigurationHasBeenSet =
false;
349 bool m_botIdHasBeenSet =
false;
352 bool m_botVersionHasBeenSet =
false;
355 bool m_localeIdHasBeenSet =
false;
358 bool m_creationDateTimeHasBeenSet =
false;
361 bool m_lastUpdatedDateTimeHasBeenSet =
false;
363 InitialResponseSetting m_initialResponseSetting;
364 bool m_initialResponseSettingHasBeenSet =
false;
366 QnAIntentConfiguration m_qnAIntentConfiguration;
367 bool m_qnAIntentConfigurationHasBeenSet =
false;
369 QInConnectIntentConfiguration m_qInConnectIntentConfiguration;
370 bool m_qInConnectIntentConfigurationHasBeenSet =
false;
373 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)
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
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 & 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