AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateIntentResult.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/InputContext.h>
20#include <aws/lexv2-models/model/OutputContext.h>
21#include <utility>
22
23namespace Aws
24{
25template<typename RESULT_TYPE>
26class AmazonWebServiceResult;
27
28namespace Utils
29{
30namespace Json
31{
32 class JsonValue;
33} // namespace Json
34} // namespace Utils
35namespace LexModelsV2
36{
37namespace Model
38{
40 {
41 public:
42 AWS_LEXMODELSV2_API CreateIntentResult();
45
46
48
51 inline const Aws::String& GetIntentId() const{ return m_intentId; }
52 inline void SetIntentId(const Aws::String& value) { m_intentId = value; }
53 inline void SetIntentId(Aws::String&& value) { m_intentId = std::move(value); }
54 inline void SetIntentId(const char* value) { m_intentId.assign(value); }
55 inline CreateIntentResult& WithIntentId(const Aws::String& value) { SetIntentId(value); return *this;}
56 inline CreateIntentResult& WithIntentId(Aws::String&& value) { SetIntentId(std::move(value)); return *this;}
57 inline CreateIntentResult& WithIntentId(const char* value) { SetIntentId(value); return *this;}
59
61
64 inline const Aws::String& GetIntentName() const{ return m_intentName; }
65 inline void SetIntentName(const Aws::String& value) { m_intentName = value; }
66 inline void SetIntentName(Aws::String&& value) { m_intentName = std::move(value); }
67 inline void SetIntentName(const char* value) { m_intentName.assign(value); }
68 inline CreateIntentResult& WithIntentName(const Aws::String& value) { SetIntentName(value); return *this;}
69 inline CreateIntentResult& WithIntentName(Aws::String&& value) { SetIntentName(std::move(value)); return *this;}
70 inline CreateIntentResult& WithIntentName(const char* value) { SetIntentName(value); return *this;}
72
74
77 inline const Aws::String& GetDescription() const{ return m_description; }
78 inline void SetDescription(const Aws::String& value) { m_description = value; }
79 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
80 inline void SetDescription(const char* value) { m_description.assign(value); }
81 inline CreateIntentResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
82 inline CreateIntentResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
83 inline CreateIntentResult& WithDescription(const char* value) { SetDescription(value); return *this;}
85
87
90 inline const Aws::String& GetParentIntentSignature() const{ return m_parentIntentSignature; }
91 inline void SetParentIntentSignature(const Aws::String& value) { m_parentIntentSignature = value; }
92 inline void SetParentIntentSignature(Aws::String&& value) { m_parentIntentSignature = std::move(value); }
93 inline void SetParentIntentSignature(const char* value) { m_parentIntentSignature.assign(value); }
95 inline CreateIntentResult& WithParentIntentSignature(Aws::String&& value) { SetParentIntentSignature(std::move(value)); return *this;}
96 inline CreateIntentResult& WithParentIntentSignature(const char* value) { SetParentIntentSignature(value); return *this;}
98
100
103 inline const Aws::Vector<SampleUtterance>& GetSampleUtterances() const{ return m_sampleUtterances; }
104 inline void SetSampleUtterances(const Aws::Vector<SampleUtterance>& value) { m_sampleUtterances = value; }
105 inline void SetSampleUtterances(Aws::Vector<SampleUtterance>&& value) { m_sampleUtterances = std::move(value); }
108 inline CreateIntentResult& AddSampleUtterances(const SampleUtterance& value) { m_sampleUtterances.push_back(value); return *this; }
109 inline CreateIntentResult& AddSampleUtterances(SampleUtterance&& value) { m_sampleUtterances.push_back(std::move(value)); return *this; }
111
113
116 inline const DialogCodeHookSettings& GetDialogCodeHook() const{ return m_dialogCodeHook; }
117 inline void SetDialogCodeHook(const DialogCodeHookSettings& value) { m_dialogCodeHook = value; }
118 inline void SetDialogCodeHook(DialogCodeHookSettings&& value) { m_dialogCodeHook = std::move(value); }
120 inline CreateIntentResult& WithDialogCodeHook(DialogCodeHookSettings&& value) { SetDialogCodeHook(std::move(value)); return *this;}
122
124
127 inline const FulfillmentCodeHookSettings& GetFulfillmentCodeHook() const{ return m_fulfillmentCodeHook; }
128 inline void SetFulfillmentCodeHook(const FulfillmentCodeHookSettings& value) { m_fulfillmentCodeHook = value; }
129 inline void SetFulfillmentCodeHook(FulfillmentCodeHookSettings&& value) { m_fulfillmentCodeHook = std::move(value); }
133
135
138 inline const IntentConfirmationSetting& GetIntentConfirmationSetting() const{ return m_intentConfirmationSetting; }
139 inline void SetIntentConfirmationSetting(const IntentConfirmationSetting& value) { m_intentConfirmationSetting = value; }
140 inline void SetIntentConfirmationSetting(IntentConfirmationSetting&& value) { m_intentConfirmationSetting = std::move(value); }
144
146
149 inline const IntentClosingSetting& GetIntentClosingSetting() const{ return m_intentClosingSetting; }
150 inline void SetIntentClosingSetting(const IntentClosingSetting& value) { m_intentClosingSetting = value; }
151 inline void SetIntentClosingSetting(IntentClosingSetting&& value) { m_intentClosingSetting = std::move(value); }
155
157
160 inline const Aws::Vector<InputContext>& GetInputContexts() const{ return m_inputContexts; }
161 inline void SetInputContexts(const Aws::Vector<InputContext>& value) { m_inputContexts = value; }
162 inline void SetInputContexts(Aws::Vector<InputContext>&& value) { m_inputContexts = std::move(value); }
164 inline CreateIntentResult& WithInputContexts(Aws::Vector<InputContext>&& value) { SetInputContexts(std::move(value)); return *this;}
165 inline CreateIntentResult& AddInputContexts(const InputContext& value) { m_inputContexts.push_back(value); return *this; }
166 inline CreateIntentResult& AddInputContexts(InputContext&& value) { m_inputContexts.push_back(std::move(value)); return *this; }
168
170
173 inline const Aws::Vector<OutputContext>& GetOutputContexts() const{ return m_outputContexts; }
174 inline void SetOutputContexts(const Aws::Vector<OutputContext>& value) { m_outputContexts = value; }
175 inline void SetOutputContexts(Aws::Vector<OutputContext>&& value) { m_outputContexts = std::move(value); }
177 inline CreateIntentResult& WithOutputContexts(Aws::Vector<OutputContext>&& value) { SetOutputContexts(std::move(value)); return *this;}
178 inline CreateIntentResult& AddOutputContexts(const OutputContext& value) { m_outputContexts.push_back(value); return *this; }
179 inline CreateIntentResult& AddOutputContexts(OutputContext&& value) { m_outputContexts.push_back(std::move(value)); return *this; }
181
183
187 inline const KendraConfiguration& GetKendraConfiguration() const{ return m_kendraConfiguration; }
188 inline void SetKendraConfiguration(const KendraConfiguration& value) { m_kendraConfiguration = value; }
189 inline void SetKendraConfiguration(KendraConfiguration&& value) { m_kendraConfiguration = std::move(value); }
193
195
198 inline const Aws::String& GetBotId() const{ return m_botId; }
199 inline void SetBotId(const Aws::String& value) { m_botId = value; }
200 inline void SetBotId(Aws::String&& value) { m_botId = std::move(value); }
201 inline void SetBotId(const char* value) { m_botId.assign(value); }
202 inline CreateIntentResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
203 inline CreateIntentResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
204 inline CreateIntentResult& WithBotId(const char* value) { SetBotId(value); return *this;}
206
208
211 inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
212 inline void SetBotVersion(const Aws::String& value) { m_botVersion = value; }
213 inline void SetBotVersion(Aws::String&& value) { m_botVersion = std::move(value); }
214 inline void SetBotVersion(const char* value) { m_botVersion.assign(value); }
215 inline CreateIntentResult& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
216 inline CreateIntentResult& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
217 inline CreateIntentResult& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
219
221
224 inline const Aws::String& GetLocaleId() const{ return m_localeId; }
225 inline void SetLocaleId(const Aws::String& value) { m_localeId = value; }
226 inline void SetLocaleId(Aws::String&& value) { m_localeId = std::move(value); }
227 inline void SetLocaleId(const char* value) { m_localeId.assign(value); }
228 inline CreateIntentResult& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
229 inline CreateIntentResult& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
230 inline CreateIntentResult& WithLocaleId(const char* value) { SetLocaleId(value); return *this;}
232
234
237 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
238 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; }
239 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); }
241 inline CreateIntentResult& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
243
245
249 inline const InitialResponseSetting& GetInitialResponseSetting() const{ return m_initialResponseSetting; }
250 inline void SetInitialResponseSetting(const InitialResponseSetting& value) { m_initialResponseSetting = value; }
251 inline void SetInitialResponseSetting(InitialResponseSetting&& value) { m_initialResponseSetting = std::move(value); }
255
257
261 inline const QnAIntentConfiguration& GetQnAIntentConfiguration() const{ return m_qnAIntentConfiguration; }
262 inline void SetQnAIntentConfiguration(const QnAIntentConfiguration& value) { m_qnAIntentConfiguration = value; }
263 inline void SetQnAIntentConfiguration(QnAIntentConfiguration&& value) { m_qnAIntentConfiguration = std::move(value); }
267
269
270 inline const Aws::String& GetRequestId() const{ return m_requestId; }
271 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
272 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
273 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
274 inline CreateIntentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
275 inline CreateIntentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
276 inline CreateIntentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
278 private:
279
280 Aws::String m_intentId;
281
282 Aws::String m_intentName;
283
284 Aws::String m_description;
285
286 Aws::String m_parentIntentSignature;
287
288 Aws::Vector<SampleUtterance> m_sampleUtterances;
289
290 DialogCodeHookSettings m_dialogCodeHook;
291
292 FulfillmentCodeHookSettings m_fulfillmentCodeHook;
293
294 IntentConfirmationSetting m_intentConfirmationSetting;
295
296 IntentClosingSetting m_intentClosingSetting;
297
298 Aws::Vector<InputContext> m_inputContexts;
299
300 Aws::Vector<OutputContext> m_outputContexts;
301
302 KendraConfiguration m_kendraConfiguration;
303
304 Aws::String m_botId;
305
306 Aws::String m_botVersion;
307
308 Aws::String m_localeId;
309
310 Aws::Utils::DateTime m_creationDateTime;
311
312 InitialResponseSetting m_initialResponseSetting;
313
314 QnAIntentConfiguration m_qnAIntentConfiguration;
315
316 Aws::String m_requestId;
317 };
318
319} // namespace Model
320} // namespace LexModelsV2
321} // namespace Aws
void SetDescription(const Aws::String &value)
CreateIntentResult & WithQnAIntentConfiguration(QnAIntentConfiguration &&value)
CreateIntentResult & WithDescription(const Aws::String &value)
CreateIntentResult & WithInputContexts(const Aws::Vector< InputContext > &value)
const KendraConfiguration & GetKendraConfiguration() const
void SetDialogCodeHook(DialogCodeHookSettings &&value)
const FulfillmentCodeHookSettings & GetFulfillmentCodeHook() const
const DialogCodeHookSettings & GetDialogCodeHook() const
CreateIntentResult & WithDescription(Aws::String &&value)
CreateIntentResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
void SetKendraConfiguration(const KendraConfiguration &value)
void SetInputContexts(const Aws::Vector< InputContext > &value)
const InitialResponseSetting & GetInitialResponseSetting() const
CreateIntentResult & WithInputContexts(Aws::Vector< InputContext > &&value)
CreateIntentResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
CreateIntentResult & WithBotVersion(const Aws::String &value)
void SetSampleUtterances(const Aws::Vector< SampleUtterance > &value)
CreateIntentResult & WithSampleUtterances(const Aws::Vector< SampleUtterance > &value)
CreateIntentResult & AddInputContexts(const InputContext &value)
void SetOutputContexts(const Aws::Vector< OutputContext > &value)
const Aws::String & GetParentIntentSignature() const
CreateIntentResult & WithFulfillmentCodeHook(const FulfillmentCodeHookSettings &value)
CreateIntentResult & WithLocaleId(Aws::String &&value)
CreateIntentResult & WithOutputContexts(Aws::Vector< OutputContext > &&value)
void SetFulfillmentCodeHook(FulfillmentCodeHookSettings &&value)
CreateIntentResult & WithKendraConfiguration(KendraConfiguration &&value)
CreateIntentResult & WithBotId(Aws::String &&value)
void SetRequestId(const Aws::String &value)
CreateIntentResult & WithInitialResponseSetting(InitialResponseSetting &&value)
CreateIntentResult & WithSampleUtterances(Aws::Vector< SampleUtterance > &&value)
void SetIntentName(const Aws::String &value)
CreateIntentResult & WithRequestId(Aws::String &&value)
CreateIntentResult & WithKendraConfiguration(const KendraConfiguration &value)
void SetQnAIntentConfiguration(QnAIntentConfiguration &&value)
CreateIntentResult & WithIntentId(const Aws::String &value)
CreateIntentResult & AddSampleUtterances(const SampleUtterance &value)
AWS_LEXMODELSV2_API CreateIntentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateIntentResult & WithParentIntentSignature(Aws::String &&value)
void SetInitialResponseSetting(const InitialResponseSetting &value)
CreateIntentResult & WithRequestId(const char *value)
void SetOutputContexts(Aws::Vector< OutputContext > &&value)
void SetFulfillmentCodeHook(const FulfillmentCodeHookSettings &value)
void SetSampleUtterances(Aws::Vector< SampleUtterance > &&value)
CreateIntentResult & WithInitialResponseSetting(const InitialResponseSetting &value)
const IntentClosingSetting & GetIntentClosingSetting() const
CreateIntentResult & WithIntentClosingSetting(const IntentClosingSetting &value)
void SetIntentClosingSetting(IntentClosingSetting &&value)
const Aws::Vector< OutputContext > & GetOutputContexts() const
const Aws::Vector< InputContext > & GetInputContexts() const
CreateIntentResult & WithBotVersion(Aws::String &&value)
void SetIntentConfirmationSetting(const IntentConfirmationSetting &value)
CreateIntentResult & WithBotVersion(const char *value)
void SetIntentClosingSetting(const IntentClosingSetting &value)
const Aws::Vector< SampleUtterance > & GetSampleUtterances() const
void SetInputContexts(Aws::Vector< InputContext > &&value)
CreateIntentResult & WithDialogCodeHook(const DialogCodeHookSettings &value)
CreateIntentResult & WithDescription(const char *value)
CreateIntentResult & WithDialogCodeHook(DialogCodeHookSettings &&value)
CreateIntentResult & WithRequestId(const Aws::String &value)
CreateIntentResult & WithParentIntentSignature(const char *value)
CreateIntentResult & WithIntentId(Aws::String &&value)
void SetParentIntentSignature(const Aws::String &value)
CreateIntentResult & WithIntentConfirmationSetting(const IntentConfirmationSetting &value)
CreateIntentResult & WithIntentName(const Aws::String &value)
CreateIntentResult & WithIntentConfirmationSetting(IntentConfirmationSetting &&value)
void SetDialogCodeHook(const DialogCodeHookSettings &value)
CreateIntentResult & AddOutputContexts(OutputContext &&value)
CreateIntentResult & WithBotId(const Aws::String &value)
CreateIntentResult & WithLocaleId(const char *value)
CreateIntentResult & WithBotId(const char *value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
CreateIntentResult & WithQnAIntentConfiguration(const QnAIntentConfiguration &value)
void SetIntentConfirmationSetting(IntentConfirmationSetting &&value)
void SetInitialResponseSetting(InitialResponseSetting &&value)
const IntentConfirmationSetting & GetIntentConfirmationSetting() const
void SetCreationDateTime(const Aws::Utils::DateTime &value)
const QnAIntentConfiguration & GetQnAIntentConfiguration() const
CreateIntentResult & AddOutputContexts(const OutputContext &value)
CreateIntentResult & WithFulfillmentCodeHook(FulfillmentCodeHookSettings &&value)
CreateIntentResult & WithLocaleId(const Aws::String &value)
AWS_LEXMODELSV2_API CreateIntentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateIntentResult & WithIntentName(Aws::String &&value)
void SetKendraConfiguration(KendraConfiguration &&value)
CreateIntentResult & WithIntentId(const char *value)
CreateIntentResult & WithOutputContexts(const Aws::Vector< OutputContext > &value)
CreateIntentResult & AddSampleUtterances(SampleUtterance &&value)
CreateIntentResult & AddInputContexts(InputContext &&value)
CreateIntentResult & WithIntentName(const char *value)
CreateIntentResult & WithIntentClosingSetting(IntentClosingSetting &&value)
void SetQnAIntentConfiguration(const QnAIntentConfiguration &value)
CreateIntentResult & WithParentIntentSignature(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetIntentId(const Aws::String &value)
void SetBotVersion(const Aws::String &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