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/InputContext.h>
21#include <aws/lexv2-models/model/OutputContext.h>
26template<
typename RESULT_TYPE>
27class AmazonWebServiceResult;
53 template<
typename IntentIdT = Aws::String>
54 void SetIntentId(IntentIdT&& value) { m_intentIdHasBeenSet =
true; m_intentId = std::forward<IntentIdT>(value); }
55 template<
typename IntentIdT = Aws::String>
64 template<
typename IntentNameT = Aws::String>
65 void SetIntentName(IntentNameT&& value) { m_intentNameHasBeenSet =
true; m_intentName = std::forward<IntentNameT>(value); }
66 template<
typename IntentNameT = Aws::String>
75 template<
typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
77 template<
typename DescriptionT = Aws::String>
86 template<
typename ParentIntentSignatureT = Aws::String>
87 void SetParentIntentSignature(ParentIntentSignatureT&& value) { m_parentIntentSignatureHasBeenSet =
true; m_parentIntentSignature = std::forward<ParentIntentSignatureT>(value); }
88 template<
typename ParentIntentSignatureT = Aws::String>
97 template<
typename SampleUtterancesT = Aws::Vector<SampleUtterance>>
98 void SetSampleUtterances(SampleUtterancesT&& value) { m_sampleUtterancesHasBeenSet =
true; m_sampleUtterances = std::forward<SampleUtterancesT>(value); }
99 template<
typename SampleUtterancesT = Aws::Vector<SampleUtterance>>
101 template<
typename SampleUtterancesT = SampleUtterance>
110 template<
typename DialogCodeHookT = DialogCodeHookSettings>
111 void SetDialogCodeHook(DialogCodeHookT&& value) { m_dialogCodeHookHasBeenSet =
true; m_dialogCodeHook = std::forward<DialogCodeHookT>(value); }
112 template<
typename DialogCodeHookT = DialogCodeHookSettings>
121 template<
typename FulfillmentCodeHookT = FulfillmentCodeHookSettings>
122 void SetFulfillmentCodeHook(FulfillmentCodeHookT&& value) { m_fulfillmentCodeHookHasBeenSet =
true; m_fulfillmentCodeHook = std::forward<FulfillmentCodeHookT>(value); }
123 template<
typename FulfillmentCodeHookT = FulfillmentCodeHookSettings>
132 template<
typename IntentConfirmationSettingT = IntentConfirmationSetting>
133 void SetIntentConfirmationSetting(IntentConfirmationSettingT&& value) { m_intentConfirmationSettingHasBeenSet =
true; m_intentConfirmationSetting = std::forward<IntentConfirmationSettingT>(value); }
134 template<
typename IntentConfirmationSettingT = IntentConfirmationSetting>
143 template<
typename IntentClosingSettingT = IntentClosingSetting>
144 void SetIntentClosingSetting(IntentClosingSettingT&& value) { m_intentClosingSettingHasBeenSet =
true; m_intentClosingSetting = std::forward<IntentClosingSettingT>(value); }
145 template<
typename IntentClosingSettingT = IntentClosingSetting>
154 template<
typename InputContextsT = Aws::Vector<InputContext>>
155 void SetInputContexts(InputContextsT&& value) { m_inputContextsHasBeenSet =
true; m_inputContexts = std::forward<InputContextsT>(value); }
156 template<
typename InputContextsT = Aws::Vector<InputContext>>
158 template<
typename InputContextsT = InputContext>
167 template<
typename OutputContextsT = Aws::Vector<OutputContext>>
168 void SetOutputContexts(OutputContextsT&& value) { m_outputContextsHasBeenSet =
true; m_outputContexts = std::forward<OutputContextsT>(value); }
169 template<
typename OutputContextsT = Aws::Vector<OutputContext>>
171 template<
typename OutputContextsT = OutputContext>
181 template<
typename KendraConfigurationT = KendraConfiguration>
182 void SetKendraConfiguration(KendraConfigurationT&& value) { m_kendraConfigurationHasBeenSet =
true; m_kendraConfiguration = std::forward<KendraConfigurationT>(value); }
183 template<
typename KendraConfigurationT = KendraConfiguration>
192 template<
typename BotIdT = Aws::String>
193 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet =
true; m_botId = std::forward<BotIdT>(value); }
194 template<
typename BotIdT = Aws::String>
203 template<
typename BotVersionT = Aws::String>
204 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet =
true; m_botVersion = std::forward<BotVersionT>(value); }
205 template<
typename BotVersionT = Aws::String>
214 template<
typename LocaleIdT = Aws::String>
215 void SetLocaleId(LocaleIdT&& value) { m_localeIdHasBeenSet =
true; m_localeId = std::forward<LocaleIdT>(value); }
216 template<
typename LocaleIdT = Aws::String>
225 template<
typename CreationDateTimeT = Aws::Utils::DateTime>
226 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet =
true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
227 template<
typename CreationDateTimeT = Aws::Utils::DateTime>
237 template<
typename InitialResponseSettingT = InitialResponseSetting>
238 void SetInitialResponseSetting(InitialResponseSettingT&& value) { m_initialResponseSettingHasBeenSet =
true; m_initialResponseSetting = std::forward<InitialResponseSettingT>(value); }
239 template<
typename InitialResponseSettingT = InitialResponseSetting>
249 template<
typename QnAIntentConfigurationT = QnAIntentConfiguration>
250 void SetQnAIntentConfiguration(QnAIntentConfigurationT&& value) { m_qnAIntentConfigurationHasBeenSet =
true; m_qnAIntentConfiguration = std::forward<QnAIntentConfigurationT>(value); }
251 template<
typename QnAIntentConfigurationT = QnAIntentConfiguration>
260 template<
typename QInConnectIntentConfigurationT = QInConnectIntentConfiguration>
261 void SetQInConnectIntentConfiguration(QInConnectIntentConfigurationT&& value) { m_qInConnectIntentConfigurationHasBeenSet =
true; m_qInConnectIntentConfiguration = std::forward<QInConnectIntentConfigurationT>(value); }
262 template<
typename QInConnectIntentConfigurationT = QInConnectIntentConfiguration>
269 template<
typename RequestIdT = Aws::String>
270 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
271 template<
typename RequestIdT = Aws::String>
277 bool m_intentIdHasBeenSet =
false;
280 bool m_intentNameHasBeenSet =
false;
283 bool m_descriptionHasBeenSet =
false;
286 bool m_parentIntentSignatureHasBeenSet =
false;
289 bool m_sampleUtterancesHasBeenSet =
false;
292 bool m_dialogCodeHookHasBeenSet =
false;
295 bool m_fulfillmentCodeHookHasBeenSet =
false;
298 bool m_intentConfirmationSettingHasBeenSet =
false;
301 bool m_intentClosingSettingHasBeenSet =
false;
304 bool m_inputContextsHasBeenSet =
false;
307 bool m_outputContextsHasBeenSet =
false;
310 bool m_kendraConfigurationHasBeenSet =
false;
313 bool m_botIdHasBeenSet =
false;
316 bool m_botVersionHasBeenSet =
false;
319 bool m_localeIdHasBeenSet =
false;
322 bool m_creationDateTimeHasBeenSet =
false;
324 InitialResponseSetting m_initialResponseSetting;
325 bool m_initialResponseSettingHasBeenSet =
false;
327 QnAIntentConfiguration m_qnAIntentConfiguration;
328 bool m_qnAIntentConfigurationHasBeenSet =
false;
330 QInConnectIntentConfiguration m_qInConnectIntentConfiguration;
331 bool m_qInConnectIntentConfigurationHasBeenSet =
false;
334 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)
AWS_LEXMODELSV2_API CreateIntentResult()=default
void SetCreationDateTime(CreationDateTimeT &&value)
void SetLocaleId(LocaleIdT &&value)
CreateIntentResult & WithIntentClosingSetting(IntentClosingSettingT &&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)
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