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>
26template <
typename RESULT_TYPE>
27class AmazonWebServiceResult;
34namespace LexModelsV2 {
47 template <
typename IntentIdT = Aws::String>
49 m_intentIdHasBeenSet =
true;
50 m_intentId = std::forward<IntentIdT>(value);
52 template <
typename IntentIdT = Aws::String>
64 template <
typename IntentNameT = Aws::String>
66 m_intentNameHasBeenSet =
true;
67 m_intentName = std::forward<IntentNameT>(value);
69 template <
typename IntentNameT = Aws::String>
81 template <
typename IntentDisplayNameT = Aws::String>
83 m_intentDisplayNameHasBeenSet =
true;
84 m_intentDisplayName = std::forward<IntentDisplayNameT>(value);
86 template <
typename IntentDisplayNameT = Aws::String>
98 template <
typename DescriptionT = Aws::String>
100 m_descriptionHasBeenSet =
true;
101 m_description = std::forward<DescriptionT>(value);
103 template <
typename DescriptionT = Aws::String>
115 template <
typename ParentIntentSignatureT = Aws::String>
117 m_parentIntentSignatureHasBeenSet =
true;
118 m_parentIntentSignature = std::forward<ParentIntentSignatureT>(value);
120 template <
typename ParentIntentSignatureT = Aws::String>
132 template <
typename SampleUtterancesT = Aws::Vector<SampleUtterance>>
134 m_sampleUtterancesHasBeenSet =
true;
135 m_sampleUtterances = std::forward<SampleUtterancesT>(value);
137 template <
typename SampleUtterancesT = Aws::Vector<SampleUtterance>>
142 template <
typename SampleUtterancesT = SampleUtterance>
144 m_sampleUtterancesHasBeenSet =
true;
145 m_sampleUtterances.emplace_back(std::forward<SampleUtterancesT>(value));
155 template <
typename DialogCodeHookT = DialogCodeHookSettings>
157 m_dialogCodeHookHasBeenSet =
true;
158 m_dialogCodeHook = std::forward<DialogCodeHookT>(value);
160 template <
typename DialogCodeHookT = DialogCodeHookSettings>
172 template <
typename FulfillmentCodeHookT = FulfillmentCodeHookSettings>
174 m_fulfillmentCodeHookHasBeenSet =
true;
175 m_fulfillmentCodeHook = std::forward<FulfillmentCodeHookT>(value);
177 template <
typename FulfillmentCodeHookT = FulfillmentCodeHookSettings>
189 template <
typename IntentConfirmationSettingT = IntentConfirmationSetting>
191 m_intentConfirmationSettingHasBeenSet =
true;
192 m_intentConfirmationSetting = std::forward<IntentConfirmationSettingT>(value);
194 template <
typename IntentConfirmationSettingT = IntentConfirmationSetting>
206 template <
typename IntentClosingSettingT = IntentClosingSetting>
208 m_intentClosingSettingHasBeenSet =
true;
209 m_intentClosingSetting = std::forward<IntentClosingSettingT>(value);
211 template <
typename IntentClosingSettingT = IntentClosingSetting>
223 template <
typename InputContextsT = Aws::Vector<InputContext>>
225 m_inputContextsHasBeenSet =
true;
226 m_inputContexts = std::forward<InputContextsT>(value);
228 template <
typename InputContextsT = Aws::Vector<InputContext>>
233 template <
typename InputContextsT = InputContext>
235 m_inputContextsHasBeenSet =
true;
236 m_inputContexts.emplace_back(std::forward<InputContextsT>(value));
246 template <
typename OutputContextsT = Aws::Vector<OutputContext>>
248 m_outputContextsHasBeenSet =
true;
249 m_outputContexts = std::forward<OutputContextsT>(value);
251 template <
typename OutputContextsT = Aws::Vector<OutputContext>>
256 template <
typename OutputContextsT = OutputContext>
258 m_outputContextsHasBeenSet =
true;
259 m_outputContexts.emplace_back(std::forward<OutputContextsT>(value));
270 template <
typename KendraConfigurationT = KendraConfiguration>
272 m_kendraConfigurationHasBeenSet =
true;
273 m_kendraConfiguration = std::forward<KendraConfigurationT>(value);
275 template <
typename KendraConfigurationT = KendraConfiguration>
287 template <
typename BotIdT = Aws::String>
289 m_botIdHasBeenSet =
true;
290 m_botId = std::forward<BotIdT>(value);
292 template <
typename BotIdT = Aws::String>
294 SetBotId(std::forward<BotIdT>(value));
304 template <
typename BotVersionT = Aws::String>
306 m_botVersionHasBeenSet =
true;
307 m_botVersion = std::forward<BotVersionT>(value);
309 template <
typename BotVersionT = Aws::String>
321 template <
typename LocaleIdT = Aws::String>
323 m_localeIdHasBeenSet =
true;
324 m_localeId = std::forward<LocaleIdT>(value);
326 template <
typename LocaleIdT = Aws::String>
338 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
340 m_creationDateTimeHasBeenSet =
true;
341 m_creationDateTime = std::forward<CreationDateTimeT>(value);
343 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
356 template <
typename InitialResponseSettingT = InitialResponseSetting>
358 m_initialResponseSettingHasBeenSet =
true;
359 m_initialResponseSetting = std::forward<InitialResponseSettingT>(value);
361 template <
typename InitialResponseSettingT = InitialResponseSetting>
374 template <
typename QnAIntentConfigurationT = QnAIntentConfiguration>
376 m_qnAIntentConfigurationHasBeenSet =
true;
377 m_qnAIntentConfiguration = std::forward<QnAIntentConfigurationT>(value);
379 template <
typename QnAIntentConfigurationT = QnAIntentConfiguration>
391 template <
typename QInConnectIntentConfigurationT = QInConnectIntentConfiguration>
393 m_qInConnectIntentConfigurationHasBeenSet =
true;
394 m_qInConnectIntentConfiguration = std::forward<QInConnectIntentConfigurationT>(value);
396 template <
typename QInConnectIntentConfigurationT = QInConnectIntentConfiguration>
406 template <
typename RequestIdT = Aws::String>
408 m_requestIdHasBeenSet =
true;
409 m_requestId = std::forward<RequestIdT>(value);
411 template <
typename RequestIdT = Aws::String>
452 InitialResponseSetting m_initialResponseSetting;
454 QnAIntentConfiguration m_qnAIntentConfiguration;
456 QInConnectIntentConfiguration m_qInConnectIntentConfiguration;
459 bool m_intentIdHasBeenSet =
false;
460 bool m_intentNameHasBeenSet =
false;
461 bool m_intentDisplayNameHasBeenSet =
false;
462 bool m_descriptionHasBeenSet =
false;
463 bool m_parentIntentSignatureHasBeenSet =
false;
464 bool m_sampleUtterancesHasBeenSet =
false;
465 bool m_dialogCodeHookHasBeenSet =
false;
466 bool m_fulfillmentCodeHookHasBeenSet =
false;
467 bool m_intentConfirmationSettingHasBeenSet =
false;
468 bool m_intentClosingSettingHasBeenSet =
false;
469 bool m_inputContextsHasBeenSet =
false;
470 bool m_outputContextsHasBeenSet =
false;
471 bool m_kendraConfigurationHasBeenSet =
false;
472 bool m_botIdHasBeenSet =
false;
473 bool m_botVersionHasBeenSet =
false;
474 bool m_localeIdHasBeenSet =
false;
475 bool m_creationDateTimeHasBeenSet =
false;
476 bool m_initialResponseSettingHasBeenSet =
false;
477 bool m_qnAIntentConfigurationHasBeenSet =
false;
478 bool m_qInConnectIntentConfigurationHasBeenSet =
false;
479 bool m_requestIdHasBeenSet =
false;
CreateIntentResult & WithParentIntentSignature(ParentIntentSignatureT &&value)
void SetIntentName(IntentNameT &&value)
void SetInitialResponseSetting(InitialResponseSettingT &&value)
CreateIntentResult & WithBotVersion(BotVersionT &&value)
const KendraConfiguration & GetKendraConfiguration() const
CreateIntentResult & WithSampleUtterances(SampleUtterancesT &&value)
const FulfillmentCodeHookSettings & GetFulfillmentCodeHook() const
const DialogCodeHookSettings & GetDialogCodeHook() const
void SetBotVersion(BotVersionT &&value)
const InitialResponseSetting & GetInitialResponseSetting() const
CreateIntentResult & AddOutputContexts(OutputContextsT &&value)
CreateIntentResult & WithQInConnectIntentConfiguration(QInConnectIntentConfigurationT &&value)
CreateIntentResult & WithBotId(BotIdT &&value)
CreateIntentResult & WithLocaleId(LocaleIdT &&value)
const Aws::String & GetParentIntentSignature() const
const QInConnectIntentConfiguration & GetQInConnectIntentConfiguration() const
const Aws::String & GetBotVersion() const
void SetIntentConfirmationSetting(IntentConfirmationSettingT &&value)
void SetQInConnectIntentConfiguration(QInConnectIntentConfigurationT &&value)
CreateIntentResult & WithDialogCodeHook(DialogCodeHookT &&value)
void SetQnAIntentConfiguration(QnAIntentConfigurationT &&value)
CreateIntentResult & WithIntentName(IntentNameT &&value)
void SetIntentDisplayName(IntentDisplayNameT &&value)
AWS_LEXMODELSV2_API CreateIntentResult()=default
void SetCreationDateTime(CreationDateTimeT &&value)
void SetLocaleId(LocaleIdT &&value)
CreateIntentResult & WithIntentClosingSetting(IntentClosingSettingT &&value)
CreateIntentResult & WithIntentDisplayName(IntentDisplayNameT &&value)
AWS_LEXMODELSV2_API CreateIntentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetIntentId(IntentIdT &&value)
void SetFulfillmentCodeHook(FulfillmentCodeHookT &&value)
const Aws::String & GetRequestId() const
const IntentClosingSetting & GetIntentClosingSetting() const
const Aws::Vector< OutputContext > & GetOutputContexts() const
const Aws::Vector< InputContext > & GetInputContexts() const
CreateIntentResult & WithInputContexts(InputContextsT &&value)
const Aws::Vector< SampleUtterance > & GetSampleUtterances() const
CreateIntentResult & WithCreationDateTime(CreationDateTimeT &&value)
CreateIntentResult & WithIntentId(IntentIdT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetIntentName() const
void SetDialogCodeHook(DialogCodeHookT &&value)
void SetInputContexts(InputContextsT &&value)
CreateIntentResult & AddInputContexts(InputContextsT &&value)
const Aws::String & GetIntentId() const
void SetDescription(DescriptionT &&value)
void SetParentIntentSignature(ParentIntentSignatureT &&value)
void SetOutputContexts(OutputContextsT &&value)
CreateIntentResult & WithQnAIntentConfiguration(QnAIntentConfigurationT &&value)
void SetBotId(BotIdT &&value)
CreateIntentResult & WithIntentConfirmationSetting(IntentConfirmationSettingT &&value)
const Aws::String & GetIntentDisplayName() const
void SetSampleUtterances(SampleUtterancesT &&value)
CreateIntentResult & WithFulfillmentCodeHook(FulfillmentCodeHookT &&value)
const IntentConfirmationSetting & GetIntentConfirmationSetting() const
CreateIntentResult & WithInitialResponseSetting(InitialResponseSettingT &&value)
const Aws::String & GetDescription() const
void SetKendraConfiguration(KendraConfigurationT &&value)
CreateIntentResult & WithKendraConfiguration(KendraConfigurationT &&value)
const QnAIntentConfiguration & GetQnAIntentConfiguration() const
CreateIntentResult & AddSampleUtterances(SampleUtterancesT &&value)
const Aws::String & GetLocaleId() const
void SetIntentClosingSetting(IntentClosingSettingT &&value)
AWS_LEXMODELSV2_API CreateIntentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateIntentResult & WithDescription(DescriptionT &&value)
CreateIntentResult & WithRequestId(RequestIdT &&value)
CreateIntentResult & WithOutputContexts(OutputContextsT &&value)
const Aws::String & GetBotId() const
const Aws::Utils::DateTime & GetCreationDateTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue