AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeIntentResult.h
1
6#pragma once
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>
23#include <utility>
24
25namespace Aws
26{
27template<typename RESULT_TYPE>
28class AmazonWebServiceResult;
29
30namespace Utils
31{
32namespace Json
33{
34 class JsonValue;
35} // namespace Json
36} // namespace Utils
37namespace LexModelsV2
38{
39namespace Model
40{
42 {
43 public:
44 AWS_LEXMODELSV2_API DescribeIntentResult() = default;
47
48
50
53 inline const Aws::String& GetIntentId() const { return m_intentId; }
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>
57 DescribeIntentResult& WithIntentId(IntentIdT&& value) { SetIntentId(std::forward<IntentIdT>(value)); return *this;}
59
61
64 inline const Aws::String& GetIntentName() const { return m_intentName; }
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>
68 DescribeIntentResult& WithIntentName(IntentNameT&& value) { SetIntentName(std::forward<IntentNameT>(value)); return *this;}
70
72
75 inline const Aws::String& GetDescription() const { return m_description; }
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>
79 DescribeIntentResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
81
83
87 inline const Aws::String& GetParentIntentSignature() const { return m_parentIntentSignature; }
88 template<typename ParentIntentSignatureT = Aws::String>
89 void SetParentIntentSignature(ParentIntentSignatureT&& value) { m_parentIntentSignatureHasBeenSet = true; m_parentIntentSignature = std::forward<ParentIntentSignatureT>(value); }
90 template<typename ParentIntentSignatureT = Aws::String>
91 DescribeIntentResult& WithParentIntentSignature(ParentIntentSignatureT&& value) { SetParentIntentSignature(std::forward<ParentIntentSignatureT>(value)); return *this;}
93
95
98 inline const Aws::Vector<SampleUtterance>& GetSampleUtterances() const { return m_sampleUtterances; }
99 template<typename SampleUtterancesT = Aws::Vector<SampleUtterance>>
100 void SetSampleUtterances(SampleUtterancesT&& value) { m_sampleUtterancesHasBeenSet = true; m_sampleUtterances = std::forward<SampleUtterancesT>(value); }
101 template<typename SampleUtterancesT = Aws::Vector<SampleUtterance>>
102 DescribeIntentResult& WithSampleUtterances(SampleUtterancesT&& value) { SetSampleUtterances(std::forward<SampleUtterancesT>(value)); return *this;}
103 template<typename SampleUtterancesT = SampleUtterance>
104 DescribeIntentResult& AddSampleUtterances(SampleUtterancesT&& value) { m_sampleUtterancesHasBeenSet = true; m_sampleUtterances.emplace_back(std::forward<SampleUtterancesT>(value)); return *this; }
106
108
112 inline const DialogCodeHookSettings& GetDialogCodeHook() const { return m_dialogCodeHook; }
113 template<typename DialogCodeHookT = DialogCodeHookSettings>
114 void SetDialogCodeHook(DialogCodeHookT&& value) { m_dialogCodeHookHasBeenSet = true; m_dialogCodeHook = std::forward<DialogCodeHookT>(value); }
115 template<typename DialogCodeHookT = DialogCodeHookSettings>
116 DescribeIntentResult& WithDialogCodeHook(DialogCodeHookT&& value) { SetDialogCodeHook(std::forward<DialogCodeHookT>(value)); return *this;}
118
120
124 inline const FulfillmentCodeHookSettings& GetFulfillmentCodeHook() const { return m_fulfillmentCodeHook; }
125 template<typename FulfillmentCodeHookT = FulfillmentCodeHookSettings>
126 void SetFulfillmentCodeHook(FulfillmentCodeHookT&& value) { m_fulfillmentCodeHookHasBeenSet = true; m_fulfillmentCodeHook = std::forward<FulfillmentCodeHookT>(value); }
127 template<typename FulfillmentCodeHookT = FulfillmentCodeHookSettings>
128 DescribeIntentResult& WithFulfillmentCodeHook(FulfillmentCodeHookT&& value) { SetFulfillmentCodeHook(std::forward<FulfillmentCodeHookT>(value)); return *this;}
130
132
136 inline const Aws::Vector<SlotPriority>& GetSlotPriorities() const { return m_slotPriorities; }
137 template<typename SlotPrioritiesT = Aws::Vector<SlotPriority>>
138 void SetSlotPriorities(SlotPrioritiesT&& value) { m_slotPrioritiesHasBeenSet = true; m_slotPriorities = std::forward<SlotPrioritiesT>(value); }
139 template<typename SlotPrioritiesT = Aws::Vector<SlotPriority>>
140 DescribeIntentResult& WithSlotPriorities(SlotPrioritiesT&& value) { SetSlotPriorities(std::forward<SlotPrioritiesT>(value)); return *this;}
141 template<typename SlotPrioritiesT = SlotPriority>
142 DescribeIntentResult& AddSlotPriorities(SlotPrioritiesT&& value) { m_slotPrioritiesHasBeenSet = true; m_slotPriorities.emplace_back(std::forward<SlotPrioritiesT>(value)); return *this; }
144
146
150 inline const IntentConfirmationSetting& GetIntentConfirmationSetting() const { return m_intentConfirmationSetting; }
151 template<typename IntentConfirmationSettingT = IntentConfirmationSetting>
152 void SetIntentConfirmationSetting(IntentConfirmationSettingT&& value) { m_intentConfirmationSettingHasBeenSet = true; m_intentConfirmationSetting = std::forward<IntentConfirmationSettingT>(value); }
153 template<typename IntentConfirmationSettingT = IntentConfirmationSetting>
154 DescribeIntentResult& WithIntentConfirmationSetting(IntentConfirmationSettingT&& value) { SetIntentConfirmationSetting(std::forward<IntentConfirmationSettingT>(value)); return *this;}
156
158
161 inline const IntentClosingSetting& GetIntentClosingSetting() const { return m_intentClosingSetting; }
162 template<typename IntentClosingSettingT = IntentClosingSetting>
163 void SetIntentClosingSetting(IntentClosingSettingT&& value) { m_intentClosingSettingHasBeenSet = true; m_intentClosingSetting = std::forward<IntentClosingSettingT>(value); }
164 template<typename IntentClosingSettingT = IntentClosingSetting>
165 DescribeIntentResult& WithIntentClosingSetting(IntentClosingSettingT&& value) { SetIntentClosingSetting(std::forward<IntentClosingSettingT>(value)); return *this;}
167
169
173 inline const Aws::Vector<InputContext>& GetInputContexts() const { return m_inputContexts; }
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>>
177 DescribeIntentResult& WithInputContexts(InputContextsT&& value) { SetInputContexts(std::forward<InputContextsT>(value)); return *this;}
178 template<typename InputContextsT = InputContext>
179 DescribeIntentResult& AddInputContexts(InputContextsT&& value) { m_inputContextsHasBeenSet = true; m_inputContexts.emplace_back(std::forward<InputContextsT>(value)); return *this; }
181
183
186 inline const Aws::Vector<OutputContext>& GetOutputContexts() const { return m_outputContexts; }
187 template<typename OutputContextsT = Aws::Vector<OutputContext>>
188 void SetOutputContexts(OutputContextsT&& value) { m_outputContextsHasBeenSet = true; m_outputContexts = std::forward<OutputContextsT>(value); }
189 template<typename OutputContextsT = Aws::Vector<OutputContext>>
190 DescribeIntentResult& WithOutputContexts(OutputContextsT&& value) { SetOutputContexts(std::forward<OutputContextsT>(value)); return *this;}
191 template<typename OutputContextsT = OutputContext>
192 DescribeIntentResult& AddOutputContexts(OutputContextsT&& value) { m_outputContextsHasBeenSet = true; m_outputContexts.emplace_back(std::forward<OutputContextsT>(value)); return *this; }
194
196
200 inline const KendraConfiguration& GetKendraConfiguration() const { return m_kendraConfiguration; }
201 template<typename KendraConfigurationT = KendraConfiguration>
202 void SetKendraConfiguration(KendraConfigurationT&& value) { m_kendraConfigurationHasBeenSet = true; m_kendraConfiguration = std::forward<KendraConfigurationT>(value); }
203 template<typename KendraConfigurationT = KendraConfiguration>
204 DescribeIntentResult& WithKendraConfiguration(KendraConfigurationT&& value) { SetKendraConfiguration(std::forward<KendraConfigurationT>(value)); return *this;}
206
208
211 inline const Aws::String& GetBotId() const { return m_botId; }
212 template<typename BotIdT = Aws::String>
213 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet = true; m_botId = std::forward<BotIdT>(value); }
214 template<typename BotIdT = Aws::String>
215 DescribeIntentResult& WithBotId(BotIdT&& value) { SetBotId(std::forward<BotIdT>(value)); return *this;}
217
219
222 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
223 template<typename BotVersionT = Aws::String>
224 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::forward<BotVersionT>(value); }
225 template<typename BotVersionT = Aws::String>
226 DescribeIntentResult& WithBotVersion(BotVersionT&& value) { SetBotVersion(std::forward<BotVersionT>(value)); return *this;}
228
230
233 inline const Aws::String& GetLocaleId() const { return m_localeId; }
234 template<typename LocaleIdT = Aws::String>
235 void SetLocaleId(LocaleIdT&& value) { m_localeIdHasBeenSet = true; m_localeId = std::forward<LocaleIdT>(value); }
236 template<typename LocaleIdT = Aws::String>
237 DescribeIntentResult& WithLocaleId(LocaleIdT&& value) { SetLocaleId(std::forward<LocaleIdT>(value)); return *this;}
239
241
244 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
245 template<typename CreationDateTimeT = Aws::Utils::DateTime>
246 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
247 template<typename CreationDateTimeT = Aws::Utils::DateTime>
248 DescribeIntentResult& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
250
252
255 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
256 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
257 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
258 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
259 DescribeIntentResult& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
261
263
267 inline const InitialResponseSetting& GetInitialResponseSetting() const { return m_initialResponseSetting; }
268 template<typename InitialResponseSettingT = InitialResponseSetting>
269 void SetInitialResponseSetting(InitialResponseSettingT&& value) { m_initialResponseSettingHasBeenSet = true; m_initialResponseSetting = std::forward<InitialResponseSettingT>(value); }
270 template<typename InitialResponseSettingT = InitialResponseSetting>
271 DescribeIntentResult& WithInitialResponseSetting(InitialResponseSettingT&& value) { SetInitialResponseSetting(std::forward<InitialResponseSettingT>(value)); return *this;}
273
275
279 inline const QnAIntentConfiguration& GetQnAIntentConfiguration() const { return m_qnAIntentConfiguration; }
280 template<typename QnAIntentConfigurationT = QnAIntentConfiguration>
281 void SetQnAIntentConfiguration(QnAIntentConfigurationT&& value) { m_qnAIntentConfigurationHasBeenSet = true; m_qnAIntentConfiguration = std::forward<QnAIntentConfigurationT>(value); }
282 template<typename QnAIntentConfigurationT = QnAIntentConfiguration>
283 DescribeIntentResult& WithQnAIntentConfiguration(QnAIntentConfigurationT&& value) { SetQnAIntentConfiguration(std::forward<QnAIntentConfigurationT>(value)); return *this;}
285
287
290 inline const QInConnectIntentConfiguration& GetQInConnectIntentConfiguration() const { return m_qInConnectIntentConfiguration; }
291 template<typename QInConnectIntentConfigurationT = QInConnectIntentConfiguration>
292 void SetQInConnectIntentConfiguration(QInConnectIntentConfigurationT&& value) { m_qInConnectIntentConfigurationHasBeenSet = true; m_qInConnectIntentConfiguration = std::forward<QInConnectIntentConfigurationT>(value); }
293 template<typename QInConnectIntentConfigurationT = QInConnectIntentConfiguration>
294 DescribeIntentResult& WithQInConnectIntentConfiguration(QInConnectIntentConfigurationT&& value) { SetQInConnectIntentConfiguration(std::forward<QInConnectIntentConfigurationT>(value)); return *this;}
296
298
299 inline const Aws::String& GetRequestId() const { return m_requestId; }
300 template<typename RequestIdT = Aws::String>
301 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
302 template<typename RequestIdT = Aws::String>
303 DescribeIntentResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
305 private:
306
307 Aws::String m_intentId;
308 bool m_intentIdHasBeenSet = false;
309
310 Aws::String m_intentName;
311 bool m_intentNameHasBeenSet = false;
312
313 Aws::String m_description;
314 bool m_descriptionHasBeenSet = false;
315
316 Aws::String m_parentIntentSignature;
317 bool m_parentIntentSignatureHasBeenSet = false;
318
319 Aws::Vector<SampleUtterance> m_sampleUtterances;
320 bool m_sampleUtterancesHasBeenSet = false;
321
322 DialogCodeHookSettings m_dialogCodeHook;
323 bool m_dialogCodeHookHasBeenSet = false;
324
325 FulfillmentCodeHookSettings m_fulfillmentCodeHook;
326 bool m_fulfillmentCodeHookHasBeenSet = false;
327
328 Aws::Vector<SlotPriority> m_slotPriorities;
329 bool m_slotPrioritiesHasBeenSet = false;
330
331 IntentConfirmationSetting m_intentConfirmationSetting;
332 bool m_intentConfirmationSettingHasBeenSet = false;
333
334 IntentClosingSetting m_intentClosingSetting;
335 bool m_intentClosingSettingHasBeenSet = false;
336
337 Aws::Vector<InputContext> m_inputContexts;
338 bool m_inputContextsHasBeenSet = false;
339
340 Aws::Vector<OutputContext> m_outputContexts;
341 bool m_outputContextsHasBeenSet = false;
342
343 KendraConfiguration m_kendraConfiguration;
344 bool m_kendraConfigurationHasBeenSet = false;
345
346 Aws::String m_botId;
347 bool m_botIdHasBeenSet = false;
348
349 Aws::String m_botVersion;
350 bool m_botVersionHasBeenSet = false;
351
352 Aws::String m_localeId;
353 bool m_localeIdHasBeenSet = false;
354
355 Aws::Utils::DateTime m_creationDateTime{};
356 bool m_creationDateTimeHasBeenSet = false;
357
358 Aws::Utils::DateTime m_lastUpdatedDateTime{};
359 bool m_lastUpdatedDateTimeHasBeenSet = false;
360
361 InitialResponseSetting m_initialResponseSetting;
362 bool m_initialResponseSettingHasBeenSet = false;
363
364 QnAIntentConfiguration m_qnAIntentConfiguration;
365 bool m_qnAIntentConfigurationHasBeenSet = false;
366
367 QInConnectIntentConfiguration m_qInConnectIntentConfiguration;
368 bool m_qInConnectIntentConfigurationHasBeenSet = false;
369
370 Aws::String m_requestId;
371 bool m_requestIdHasBeenSet = false;
372 };
373
374} // namespace Model
375} // namespace LexModelsV2
376} // namespace Aws
const Aws::Vector< SampleUtterance > & GetSampleUtterances() const
const Aws::Vector< OutputContext > & GetOutputContexts() const
DescribeIntentResult & WithBotId(BotIdT &&value)
DescribeIntentResult & WithRequestId(RequestIdT &&value)
AWS_LEXMODELSV2_API DescribeIntentResult()=default
void SetSampleUtterances(SampleUtterancesT &&value)
DescribeIntentResult & WithLocaleId(LocaleIdT &&value)
const Aws::Vector< InputContext > & GetInputContexts() const
DescribeIntentResult & WithFulfillmentCodeHook(FulfillmentCodeHookT &&value)
void SetQnAIntentConfiguration(QnAIntentConfigurationT &&value)
const FulfillmentCodeHookSettings & GetFulfillmentCodeHook() const
DescribeIntentResult & WithIntentConfirmationSetting(IntentConfirmationSettingT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
DescribeIntentResult & WithIntentClosingSetting(IntentClosingSettingT &&value)
DescribeIntentResult & WithQnAIntentConfiguration(QnAIntentConfigurationT &&value)
DescribeIntentResult & WithIntentId(IntentIdT &&value)
DescribeIntentResult & WithBotVersion(BotVersionT &&value)
DescribeIntentResult & WithSlotPriorities(SlotPrioritiesT &&value)
DescribeIntentResult & WithDialogCodeHook(DialogCodeHookT &&value)
void SetKendraConfiguration(KendraConfigurationT &&value)
DescribeIntentResult & WithSampleUtterances(SampleUtterancesT &&value)
DescribeIntentResult & WithInitialResponseSetting(InitialResponseSettingT &&value)
DescribeIntentResult & WithKendraConfiguration(KendraConfigurationT &&value)
DescribeIntentResult & AddSlotPriorities(SlotPrioritiesT &&value)
void SetIntentClosingSetting(IntentClosingSettingT &&value)
const DialogCodeHookSettings & GetDialogCodeHook() const
DescribeIntentResult & WithOutputContexts(OutputContextsT &&value)
const QnAIntentConfiguration & GetQnAIntentConfiguration() const
const QInConnectIntentConfiguration & GetQInConnectIntentConfiguration() const
DescribeIntentResult & WithQInConnectIntentConfiguration(QInConnectIntentConfigurationT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
DescribeIntentResult & AddSampleUtterances(SampleUtterancesT &&value)
const IntentConfirmationSetting & GetIntentConfirmationSetting() const
DescribeIntentResult & WithInputContexts(InputContextsT &&value)
const Aws::Vector< SlotPriority > & GetSlotPriorities() const
AWS_LEXMODELSV2_API DescribeIntentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeIntentResult & WithDescription(DescriptionT &&value)
AWS_LEXMODELSV2_API DescribeIntentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const InitialResponseSetting & GetInitialResponseSetting() const
DescribeIntentResult & AddOutputContexts(OutputContextsT &&value)
DescribeIntentResult & WithCreationDateTime(CreationDateTimeT &&value)
void SetParentIntentSignature(ParentIntentSignatureT &&value)
DescribeIntentResult & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
DescribeIntentResult & WithIntentName(IntentNameT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
void SetQInConnectIntentConfiguration(QInConnectIntentConfigurationT &&value)
void SetFulfillmentCodeHook(FulfillmentCodeHookT &&value)
const KendraConfiguration & GetKendraConfiguration() const
DescribeIntentResult & AddInputContexts(InputContextsT &&value)
void SetIntentConfirmationSetting(IntentConfirmationSettingT &&value)
const IntentClosingSetting & GetIntentClosingSetting() const
void SetInitialResponseSetting(InitialResponseSettingT &&value)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
DescribeIntentResult & WithParentIntentSignature(ParentIntentSignatureT &&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