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>
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));
156 template <
typename DialogCodeHookT = DialogCodeHookSettings>
158 m_dialogCodeHookHasBeenSet =
true;
159 m_dialogCodeHook = std::forward<DialogCodeHookT>(value);
161 template <
typename DialogCodeHookT = DialogCodeHookSettings>
173 template <
typename FulfillmentCodeHookT = FulfillmentCodeHookSettings>
175 m_fulfillmentCodeHookHasBeenSet =
true;
176 m_fulfillmentCodeHook = std::forward<FulfillmentCodeHookT>(value);
178 template <
typename FulfillmentCodeHookT = FulfillmentCodeHookSettings>
190 template <
typename IntentConfirmationSettingT = IntentConfirmationSetting>
192 m_intentConfirmationSettingHasBeenSet =
true;
193 m_intentConfirmationSetting = std::forward<IntentConfirmationSettingT>(value);
195 template <
typename IntentConfirmationSettingT = IntentConfirmationSetting>
207 template <
typename IntentClosingSettingT = IntentClosingSetting>
209 m_intentClosingSettingHasBeenSet =
true;
210 m_intentClosingSetting = std::forward<IntentClosingSettingT>(value);
212 template <
typename IntentClosingSettingT = IntentClosingSetting>
224 template <
typename InputContextsT = Aws::Vector<InputContext>>
226 m_inputContextsHasBeenSet =
true;
227 m_inputContexts = std::forward<InputContextsT>(value);
229 template <
typename InputContextsT = Aws::Vector<InputContext>>
234 template <
typename InputContextsT = InputContext>
236 m_inputContextsHasBeenSet =
true;
237 m_inputContexts.emplace_back(std::forward<InputContextsT>(value));
247 template <
typename OutputContextsT = Aws::Vector<OutputContext>>
249 m_outputContextsHasBeenSet =
true;
250 m_outputContexts = std::forward<OutputContextsT>(value);
252 template <
typename OutputContextsT = Aws::Vector<OutputContext>>
257 template <
typename OutputContextsT = OutputContext>
259 m_outputContextsHasBeenSet =
true;
260 m_outputContexts.emplace_back(std::forward<OutputContextsT>(value));
271 template <
typename KendraConfigurationT = KendraConfiguration>
273 m_kendraConfigurationHasBeenSet =
true;
274 m_kendraConfiguration = std::forward<KendraConfigurationT>(value);
276 template <
typename KendraConfigurationT = KendraConfiguration>
288 template <
typename BotIdT = Aws::String>
290 m_botIdHasBeenSet =
true;
291 m_botId = std::forward<BotIdT>(value);
293 template <
typename BotIdT = Aws::String>
295 SetBotId(std::forward<BotIdT>(value));
305 template <
typename BotVersionT = Aws::String>
307 m_botVersionHasBeenSet =
true;
308 m_botVersion = std::forward<BotVersionT>(value);
310 template <
typename BotVersionT = Aws::String>
322 template <
typename LocaleIdT = Aws::String>
324 m_localeIdHasBeenSet =
true;
325 m_localeId = std::forward<LocaleIdT>(value);
327 template <
typename LocaleIdT = Aws::String>
339 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
341 m_creationDateTimeHasBeenSet =
true;
342 m_creationDateTime = std::forward<CreationDateTimeT>(value);
344 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
357 template <
typename InitialResponseSettingT = InitialResponseSetting>
359 m_initialResponseSettingHasBeenSet =
true;
360 m_initialResponseSetting = std::forward<InitialResponseSettingT>(value);
362 template <
typename InitialResponseSettingT = InitialResponseSetting>
375 template <
typename QnAIntentConfigurationT = QnAIntentConfiguration>
377 m_qnAIntentConfigurationHasBeenSet =
true;
378 m_qnAIntentConfiguration = std::forward<QnAIntentConfigurationT>(value);
380 template <
typename QnAIntentConfigurationT = QnAIntentConfiguration>
392 template <
typename QInConnectIntentConfigurationT = QInConnectIntentConfiguration>
394 m_qInConnectIntentConfigurationHasBeenSet =
true;
395 m_qInConnectIntentConfiguration = std::forward<QInConnectIntentConfigurationT>(value);
397 template <
typename QInConnectIntentConfigurationT = QInConnectIntentConfiguration>
407 template <
typename RequestIdT = Aws::String>
409 m_requestIdHasBeenSet =
true;
410 m_requestId = std::forward<RequestIdT>(value);
412 template <
typename RequestIdT = Aws::String>
455 InitialResponseSetting m_initialResponseSetting;
457 QnAIntentConfiguration m_qnAIntentConfiguration;
459 QInConnectIntentConfiguration m_qInConnectIntentConfiguration;
463 bool m_intentIdHasBeenSet =
false;
464 bool m_intentNameHasBeenSet =
false;
465 bool m_intentDisplayNameHasBeenSet =
false;
466 bool m_descriptionHasBeenSet =
false;
467 bool m_parentIntentSignatureHasBeenSet =
false;
468 bool m_sampleUtterancesHasBeenSet =
false;
469 bool m_dialogCodeHookHasBeenSet =
false;
470 bool m_fulfillmentCodeHookHasBeenSet =
false;
471 bool m_intentConfirmationSettingHasBeenSet =
false;
472 bool m_intentClosingSettingHasBeenSet =
false;
473 bool m_inputContextsHasBeenSet =
false;
474 bool m_outputContextsHasBeenSet =
false;
475 bool m_kendraConfigurationHasBeenSet =
false;
476 bool m_botIdHasBeenSet =
false;
477 bool m_botVersionHasBeenSet =
false;
478 bool m_localeIdHasBeenSet =
false;
479 bool m_creationDateTimeHasBeenSet =
false;
480 bool m_initialResponseSettingHasBeenSet =
false;
481 bool m_qnAIntentConfigurationHasBeenSet =
false;
482 bool m_qInConnectIntentConfigurationHasBeenSet =
false;
483 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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