AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateIntentResult.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/SampleUtterance.h>
19#include <aws/lexv2-models/model/SlotPriority.h>
20#include <aws/lexv2-models/model/InputContext.h>
21#include <aws/lexv2-models/model/OutputContext.h>
22#include <utility>
23
24namespace Aws
25{
26template<typename RESULT_TYPE>
27class AmazonWebServiceResult;
28
29namespace Utils
30{
31namespace Json
32{
33 class JsonValue;
34} // namespace Json
35} // namespace Utils
36namespace LexModelsV2
37{
38namespace Model
39{
41 {
42 public:
43 AWS_LEXMODELSV2_API UpdateIntentResult();
46
47
49
52 inline const Aws::String& GetIntentId() const{ return m_intentId; }
53 inline void SetIntentId(const Aws::String& value) { m_intentId = value; }
54 inline void SetIntentId(Aws::String&& value) { m_intentId = std::move(value); }
55 inline void SetIntentId(const char* value) { m_intentId.assign(value); }
56 inline UpdateIntentResult& WithIntentId(const Aws::String& value) { SetIntentId(value); return *this;}
57 inline UpdateIntentResult& WithIntentId(Aws::String&& value) { SetIntentId(std::move(value)); return *this;}
58 inline UpdateIntentResult& WithIntentId(const char* value) { SetIntentId(value); return *this;}
60
62
65 inline const Aws::String& GetIntentName() const{ return m_intentName; }
66 inline void SetIntentName(const Aws::String& value) { m_intentName = value; }
67 inline void SetIntentName(Aws::String&& value) { m_intentName = std::move(value); }
68 inline void SetIntentName(const char* value) { m_intentName.assign(value); }
69 inline UpdateIntentResult& WithIntentName(const Aws::String& value) { SetIntentName(value); return *this;}
70 inline UpdateIntentResult& WithIntentName(Aws::String&& value) { SetIntentName(std::move(value)); return *this;}
71 inline UpdateIntentResult& WithIntentName(const char* value) { SetIntentName(value); return *this;}
73
75
78 inline const Aws::String& GetDescription() const{ return m_description; }
79 inline void SetDescription(const Aws::String& value) { m_description = value; }
80 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
81 inline void SetDescription(const char* value) { m_description.assign(value); }
82 inline UpdateIntentResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
83 inline UpdateIntentResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
84 inline UpdateIntentResult& WithDescription(const char* value) { SetDescription(value); return *this;}
86
88
91 inline const Aws::String& GetParentIntentSignature() const{ return m_parentIntentSignature; }
92 inline void SetParentIntentSignature(const Aws::String& value) { m_parentIntentSignature = value; }
93 inline void SetParentIntentSignature(Aws::String&& value) { m_parentIntentSignature = std::move(value); }
94 inline void SetParentIntentSignature(const char* value) { m_parentIntentSignature.assign(value); }
96 inline UpdateIntentResult& WithParentIntentSignature(Aws::String&& value) { SetParentIntentSignature(std::move(value)); return *this;}
97 inline UpdateIntentResult& WithParentIntentSignature(const char* value) { SetParentIntentSignature(value); return *this;}
99
101
104 inline const Aws::Vector<SampleUtterance>& GetSampleUtterances() const{ return m_sampleUtterances; }
105 inline void SetSampleUtterances(const Aws::Vector<SampleUtterance>& value) { m_sampleUtterances = value; }
106 inline void SetSampleUtterances(Aws::Vector<SampleUtterance>&& value) { m_sampleUtterances = std::move(value); }
109 inline UpdateIntentResult& AddSampleUtterances(const SampleUtterance& value) { m_sampleUtterances.push_back(value); return *this; }
110 inline UpdateIntentResult& AddSampleUtterances(SampleUtterance&& value) { m_sampleUtterances.push_back(std::move(value)); return *this; }
112
114
118 inline const DialogCodeHookSettings& GetDialogCodeHook() const{ return m_dialogCodeHook; }
119 inline void SetDialogCodeHook(const DialogCodeHookSettings& value) { m_dialogCodeHook = value; }
120 inline void SetDialogCodeHook(DialogCodeHookSettings&& value) { m_dialogCodeHook = std::move(value); }
122 inline UpdateIntentResult& WithDialogCodeHook(DialogCodeHookSettings&& value) { SetDialogCodeHook(std::move(value)); return *this;}
124
126
130 inline const FulfillmentCodeHookSettings& GetFulfillmentCodeHook() const{ return m_fulfillmentCodeHook; }
131 inline void SetFulfillmentCodeHook(const FulfillmentCodeHookSettings& value) { m_fulfillmentCodeHook = value; }
132 inline void SetFulfillmentCodeHook(FulfillmentCodeHookSettings&& value) { m_fulfillmentCodeHook = std::move(value); }
136
138
142 inline const Aws::Vector<SlotPriority>& GetSlotPriorities() const{ return m_slotPriorities; }
143 inline void SetSlotPriorities(const Aws::Vector<SlotPriority>& value) { m_slotPriorities = value; }
144 inline void SetSlotPriorities(Aws::Vector<SlotPriority>&& value) { m_slotPriorities = std::move(value); }
146 inline UpdateIntentResult& WithSlotPriorities(Aws::Vector<SlotPriority>&& value) { SetSlotPriorities(std::move(value)); return *this;}
147 inline UpdateIntentResult& AddSlotPriorities(const SlotPriority& value) { m_slotPriorities.push_back(value); return *this; }
148 inline UpdateIntentResult& AddSlotPriorities(SlotPriority&& value) { m_slotPriorities.push_back(std::move(value)); return *this; }
150
152
156 inline const IntentConfirmationSetting& GetIntentConfirmationSetting() const{ return m_intentConfirmationSetting; }
157 inline void SetIntentConfirmationSetting(const IntentConfirmationSetting& value) { m_intentConfirmationSetting = value; }
158 inline void SetIntentConfirmationSetting(IntentConfirmationSetting&& value) { m_intentConfirmationSetting = std::move(value); }
162
164
168 inline const IntentClosingSetting& GetIntentClosingSetting() const{ return m_intentClosingSetting; }
169 inline void SetIntentClosingSetting(const IntentClosingSetting& value) { m_intentClosingSetting = value; }
170 inline void SetIntentClosingSetting(IntentClosingSetting&& value) { m_intentClosingSetting = std::move(value); }
174
176
180 inline const Aws::Vector<InputContext>& GetInputContexts() const{ return m_inputContexts; }
181 inline void SetInputContexts(const Aws::Vector<InputContext>& value) { m_inputContexts = value; }
182 inline void SetInputContexts(Aws::Vector<InputContext>&& value) { m_inputContexts = std::move(value); }
184 inline UpdateIntentResult& WithInputContexts(Aws::Vector<InputContext>&& value) { SetInputContexts(std::move(value)); return *this;}
185 inline UpdateIntentResult& AddInputContexts(const InputContext& value) { m_inputContexts.push_back(value); return *this; }
186 inline UpdateIntentResult& AddInputContexts(InputContext&& value) { m_inputContexts.push_back(std::move(value)); return *this; }
188
190
194 inline const Aws::Vector<OutputContext>& GetOutputContexts() const{ return m_outputContexts; }
195 inline void SetOutputContexts(const Aws::Vector<OutputContext>& value) { m_outputContexts = value; }
196 inline void SetOutputContexts(Aws::Vector<OutputContext>&& value) { m_outputContexts = std::move(value); }
198 inline UpdateIntentResult& WithOutputContexts(Aws::Vector<OutputContext>&& value) { SetOutputContexts(std::move(value)); return *this;}
199 inline UpdateIntentResult& AddOutputContexts(const OutputContext& value) { m_outputContexts.push_back(value); return *this; }
200 inline UpdateIntentResult& AddOutputContexts(OutputContext&& value) { m_outputContexts.push_back(std::move(value)); return *this; }
202
204
208 inline const KendraConfiguration& GetKendraConfiguration() const{ return m_kendraConfiguration; }
209 inline void SetKendraConfiguration(const KendraConfiguration& value) { m_kendraConfiguration = value; }
210 inline void SetKendraConfiguration(KendraConfiguration&& value) { m_kendraConfiguration = std::move(value); }
214
216
219 inline const Aws::String& GetBotId() const{ return m_botId; }
220 inline void SetBotId(const Aws::String& value) { m_botId = value; }
221 inline void SetBotId(Aws::String&& value) { m_botId = std::move(value); }
222 inline void SetBotId(const char* value) { m_botId.assign(value); }
223 inline UpdateIntentResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
224 inline UpdateIntentResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
225 inline UpdateIntentResult& WithBotId(const char* value) { SetBotId(value); return *this;}
227
229
233 inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
234 inline void SetBotVersion(const Aws::String& value) { m_botVersion = value; }
235 inline void SetBotVersion(Aws::String&& value) { m_botVersion = std::move(value); }
236 inline void SetBotVersion(const char* value) { m_botVersion.assign(value); }
237 inline UpdateIntentResult& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
238 inline UpdateIntentResult& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
239 inline UpdateIntentResult& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
241
243
246 inline const Aws::String& GetLocaleId() const{ return m_localeId; }
247 inline void SetLocaleId(const Aws::String& value) { m_localeId = value; }
248 inline void SetLocaleId(Aws::String&& value) { m_localeId = std::move(value); }
249 inline void SetLocaleId(const char* value) { m_localeId.assign(value); }
250 inline UpdateIntentResult& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
251 inline UpdateIntentResult& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
252 inline UpdateIntentResult& WithLocaleId(const char* value) { SetLocaleId(value); return *this;}
254
256
259 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
260 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; }
261 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); }
263 inline UpdateIntentResult& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
265
267
270 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
271 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTime = value; }
272 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTime = std::move(value); }
276
278
282 inline const InitialResponseSetting& GetInitialResponseSetting() const{ return m_initialResponseSetting; }
283 inline void SetInitialResponseSetting(const InitialResponseSetting& value) { m_initialResponseSetting = value; }
284 inline void SetInitialResponseSetting(InitialResponseSetting&& value) { m_initialResponseSetting = std::move(value); }
288
290
294 inline const QnAIntentConfiguration& GetQnAIntentConfiguration() const{ return m_qnAIntentConfiguration; }
295 inline void SetQnAIntentConfiguration(const QnAIntentConfiguration& value) { m_qnAIntentConfiguration = value; }
296 inline void SetQnAIntentConfiguration(QnAIntentConfiguration&& value) { m_qnAIntentConfiguration = std::move(value); }
300
302
303 inline const Aws::String& GetRequestId() const{ return m_requestId; }
304 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
305 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
306 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
307 inline UpdateIntentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
308 inline UpdateIntentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
309 inline UpdateIntentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
311 private:
312
313 Aws::String m_intentId;
314
315 Aws::String m_intentName;
316
317 Aws::String m_description;
318
319 Aws::String m_parentIntentSignature;
320
321 Aws::Vector<SampleUtterance> m_sampleUtterances;
322
323 DialogCodeHookSettings m_dialogCodeHook;
324
325 FulfillmentCodeHookSettings m_fulfillmentCodeHook;
326
327 Aws::Vector<SlotPriority> m_slotPriorities;
328
329 IntentConfirmationSetting m_intentConfirmationSetting;
330
331 IntentClosingSetting m_intentClosingSetting;
332
333 Aws::Vector<InputContext> m_inputContexts;
334
335 Aws::Vector<OutputContext> m_outputContexts;
336
337 KendraConfiguration m_kendraConfiguration;
338
339 Aws::String m_botId;
340
341 Aws::String m_botVersion;
342
343 Aws::String m_localeId;
344
345 Aws::Utils::DateTime m_creationDateTime;
346
347 Aws::Utils::DateTime m_lastUpdatedDateTime;
348
349 InitialResponseSetting m_initialResponseSetting;
350
351 QnAIntentConfiguration m_qnAIntentConfiguration;
352
353 Aws::String m_requestId;
354 };
355
356} // namespace Model
357} // namespace LexModelsV2
358} // namespace Aws
UpdateIntentResult & WithIntentName(const Aws::String &value)
UpdateIntentResult & WithBotVersion(const Aws::String &value)
UpdateIntentResult & WithInitialResponseSetting(InitialResponseSetting &&value)
void SetKendraConfiguration(const KendraConfiguration &value)
UpdateIntentResult & WithLocaleId(const Aws::String &value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
UpdateIntentResult & AddOutputContexts(const OutputContext &value)
UpdateIntentResult & WithBotId(const char *value)
void SetIntentClosingSetting(IntentClosingSetting &&value)
UpdateIntentResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
UpdateIntentResult & AddInputContexts(InputContext &&value)
UpdateIntentResult & WithInitialResponseSetting(const InitialResponseSetting &value)
const Aws::Vector< SampleUtterance > & GetSampleUtterances() const
void SetRequestId(const Aws::String &value)
UpdateIntentResult & WithDialogCodeHook(const DialogCodeHookSettings &value)
void SetDescription(const Aws::String &value)
UpdateIntentResult & WithDialogCodeHook(DialogCodeHookSettings &&value)
const Aws::Vector< SlotPriority > & GetSlotPriorities() const
UpdateIntentResult & WithIntentId(Aws::String &&value)
UpdateIntentResult & WithLocaleId(Aws::String &&value)
UpdateIntentResult & WithBotId(Aws::String &&value)
UpdateIntentResult & WithSampleUtterances(Aws::Vector< SampleUtterance > &&value)
UpdateIntentResult & AddInputContexts(const InputContext &value)
UpdateIntentResult & WithOutputContexts(const Aws::Vector< OutputContext > &value)
UpdateIntentResult & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
void SetSlotPriorities(Aws::Vector< SlotPriority > &&value)
void SetQnAIntentConfiguration(const QnAIntentConfiguration &value)
void SetParentIntentSignature(const Aws::String &value)
void SetSlotPriorities(const Aws::Vector< SlotPriority > &value)
void SetKendraConfiguration(KendraConfiguration &&value)
void SetQnAIntentConfiguration(QnAIntentConfiguration &&value)
const FulfillmentCodeHookSettings & GetFulfillmentCodeHook() const
UpdateIntentResult & AddSlotPriorities(SlotPriority &&value)
UpdateIntentResult & WithDescription(const Aws::String &value)
UpdateIntentResult & WithOutputContexts(Aws::Vector< OutputContext > &&value)
void SetDialogCodeHook(DialogCodeHookSettings &&value)
void SetInputContexts(Aws::Vector< InputContext > &&value)
AWS_LEXMODELSV2_API UpdateIntentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateIntentResult & WithSlotPriorities(const Aws::Vector< SlotPriority > &value)
const KendraConfiguration & GetKendraConfiguration() const
void SetFulfillmentCodeHook(FulfillmentCodeHookSettings &&value)
UpdateIntentResult & WithInputContexts(Aws::Vector< InputContext > &&value)
UpdateIntentResult & WithBotId(const Aws::String &value)
UpdateIntentResult & WithQnAIntentConfiguration(const QnAIntentConfiguration &value)
UpdateIntentResult & WithIntentId(const Aws::String &value)
UpdateIntentResult & AddOutputContexts(OutputContext &&value)
UpdateIntentResult & WithRequestId(const char *value)
UpdateIntentResult & WithIntentId(const char *value)
UpdateIntentResult & WithKendraConfiguration(const KendraConfiguration &value)
UpdateIntentResult & WithParentIntentSignature(const char *value)
UpdateIntentResult & WithSlotPriorities(Aws::Vector< SlotPriority > &&value)
const Aws::Vector< OutputContext > & GetOutputContexts() const
UpdateIntentResult & WithSampleUtterances(const Aws::Vector< SampleUtterance > &value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
const QnAIntentConfiguration & GetQnAIntentConfiguration() const
UpdateIntentResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
UpdateIntentResult & WithParentIntentSignature(Aws::String &&value)
void SetIntentClosingSetting(const IntentClosingSetting &value)
UpdateIntentResult & WithFulfillmentCodeHook(FulfillmentCodeHookSettings &&value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
void SetOutputContexts(const Aws::Vector< OutputContext > &value)
UpdateIntentResult & WithParentIntentSignature(const Aws::String &value)
void SetInitialResponseSetting(InitialResponseSetting &&value)
UpdateIntentResult & WithIntentClosingSetting(IntentClosingSetting &&value)
UpdateIntentResult & WithIntentName(Aws::String &&value)
const InitialResponseSetting & GetInitialResponseSetting() const
UpdateIntentResult & WithIntentConfirmationSetting(IntentConfirmationSetting &&value)
UpdateIntentResult & WithKendraConfiguration(KendraConfiguration &&value)
UpdateIntentResult & WithIntentClosingSetting(const IntentClosingSetting &value)
UpdateIntentResult & AddSampleUtterances(SampleUtterance &&value)
const IntentClosingSetting & GetIntentClosingSetting() const
UpdateIntentResult & AddSampleUtterances(const SampleUtterance &value)
void SetBotVersion(const Aws::String &value)
void SetIntentId(const Aws::String &value)
UpdateIntentResult & WithBotVersion(Aws::String &&value)
UpdateIntentResult & WithDescription(const char *value)
UpdateIntentResult & WithFulfillmentCodeHook(const FulfillmentCodeHookSettings &value)
void SetOutputContexts(Aws::Vector< OutputContext > &&value)
AWS_LEXMODELSV2_API UpdateIntentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
void SetIntentName(const Aws::String &value)
void SetIntentConfirmationSetting(IntentConfirmationSetting &&value)
void SetInputContexts(const Aws::Vector< InputContext > &value)
void SetFulfillmentCodeHook(const FulfillmentCodeHookSettings &value)
void SetSampleUtterances(const Aws::Vector< SampleUtterance > &value)
const DialogCodeHookSettings & GetDialogCodeHook() const
UpdateIntentResult & WithRequestId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
UpdateIntentResult & WithQnAIntentConfiguration(QnAIntentConfiguration &&value)
void SetInitialResponseSetting(const InitialResponseSetting &value)
UpdateIntentResult & WithRequestId(const Aws::String &value)
const IntentConfirmationSetting & GetIntentConfirmationSetting() const
UpdateIntentResult & WithIntentConfirmationSetting(const IntentConfirmationSetting &value)
const Aws::Vector< InputContext > & GetInputContexts() const
UpdateIntentResult & WithInputContexts(const Aws::Vector< InputContext > &value)
UpdateIntentResult & WithIntentName(const char *value)
UpdateIntentResult & WithLocaleId(const char *value)
void SetDialogCodeHook(const DialogCodeHookSettings &value)
UpdateIntentResult & AddSlotPriorities(const SlotPriority &value)
const Aws::String & GetParentIntentSignature() const
void SetSampleUtterances(Aws::Vector< SampleUtterance > &&value)
UpdateIntentResult & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
UpdateIntentResult & WithDescription(Aws::String &&value)
void SetIntentConfirmationSetting(const IntentConfirmationSetting &value)
UpdateIntentResult & WithBotVersion(const char *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