AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetIntentResult.h
1
6#pragma once
7#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lex-models/model/Prompt.h>
11#include <aws/lex-models/model/Statement.h>
12#include <aws/lex-models/model/FollowUpPrompt.h>
13#include <aws/lex-models/model/CodeHook.h>
14#include <aws/lex-models/model/FulfillmentActivity.h>
15#include <aws/core/utils/DateTime.h>
16#include <aws/lex-models/model/KendraConfiguration.h>
17#include <aws/lex-models/model/Slot.h>
18#include <aws/lex-models/model/InputContext.h>
19#include <aws/lex-models/model/OutputContext.h>
20#include <utility>
21
22namespace Aws
23{
24template<typename RESULT_TYPE>
25class AmazonWebServiceResult;
26
27namespace Utils
28{
29namespace Json
30{
31 class JsonValue;
32} // namespace Json
33} // namespace Utils
34namespace LexModelBuildingService
35{
36namespace Model
37{
39 {
40 public:
41 AWS_LEXMODELBUILDINGSERVICE_API GetIntentResult();
42 AWS_LEXMODELBUILDINGSERVICE_API GetIntentResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
44
45
47
50 inline const Aws::String& GetName() const{ return m_name; }
51 inline void SetName(const Aws::String& value) { m_name = value; }
52 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
53 inline void SetName(const char* value) { m_name.assign(value); }
54 inline GetIntentResult& WithName(const Aws::String& value) { SetName(value); return *this;}
55 inline GetIntentResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
56 inline GetIntentResult& WithName(const char* value) { SetName(value); return *this;}
58
60
63 inline const Aws::String& GetDescription() const{ return m_description; }
64 inline void SetDescription(const Aws::String& value) { m_description = value; }
65 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
66 inline void SetDescription(const char* value) { m_description.assign(value); }
67 inline GetIntentResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
68 inline GetIntentResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
69 inline GetIntentResult& WithDescription(const char* value) { SetDescription(value); return *this;}
71
73
76 inline const Aws::Vector<Slot>& GetSlots() const{ return m_slots; }
77 inline void SetSlots(const Aws::Vector<Slot>& value) { m_slots = value; }
78 inline void SetSlots(Aws::Vector<Slot>&& value) { m_slots = std::move(value); }
79 inline GetIntentResult& WithSlots(const Aws::Vector<Slot>& value) { SetSlots(value); return *this;}
80 inline GetIntentResult& WithSlots(Aws::Vector<Slot>&& value) { SetSlots(std::move(value)); return *this;}
81 inline GetIntentResult& AddSlots(const Slot& value) { m_slots.push_back(value); return *this; }
82 inline GetIntentResult& AddSlots(Slot&& value) { m_slots.push_back(std::move(value)); return *this; }
84
86
89 inline const Aws::Vector<Aws::String>& GetSampleUtterances() const{ return m_sampleUtterances; }
90 inline void SetSampleUtterances(const Aws::Vector<Aws::String>& value) { m_sampleUtterances = value; }
91 inline void SetSampleUtterances(Aws::Vector<Aws::String>&& value) { m_sampleUtterances = std::move(value); }
93 inline GetIntentResult& WithSampleUtterances(Aws::Vector<Aws::String>&& value) { SetSampleUtterances(std::move(value)); return *this;}
94 inline GetIntentResult& AddSampleUtterances(const Aws::String& value) { m_sampleUtterances.push_back(value); return *this; }
95 inline GetIntentResult& AddSampleUtterances(Aws::String&& value) { m_sampleUtterances.push_back(std::move(value)); return *this; }
96 inline GetIntentResult& AddSampleUtterances(const char* value) { m_sampleUtterances.push_back(value); return *this; }
98
100
104 inline const Prompt& GetConfirmationPrompt() const{ return m_confirmationPrompt; }
105 inline void SetConfirmationPrompt(const Prompt& value) { m_confirmationPrompt = value; }
106 inline void SetConfirmationPrompt(Prompt&& value) { m_confirmationPrompt = std::move(value); }
107 inline GetIntentResult& WithConfirmationPrompt(const Prompt& value) { SetConfirmationPrompt(value); return *this;}
108 inline GetIntentResult& WithConfirmationPrompt(Prompt&& value) { SetConfirmationPrompt(std::move(value)); return *this;}
110
112
117 inline const Statement& GetRejectionStatement() const{ return m_rejectionStatement; }
118 inline void SetRejectionStatement(const Statement& value) { m_rejectionStatement = value; }
119 inline void SetRejectionStatement(Statement&& value) { m_rejectionStatement = std::move(value); }
120 inline GetIntentResult& WithRejectionStatement(const Statement& value) { SetRejectionStatement(value); return *this;}
121 inline GetIntentResult& WithRejectionStatement(Statement&& value) { SetRejectionStatement(std::move(value)); return *this;}
123
125
130 inline const FollowUpPrompt& GetFollowUpPrompt() const{ return m_followUpPrompt; }
131 inline void SetFollowUpPrompt(const FollowUpPrompt& value) { m_followUpPrompt = value; }
132 inline void SetFollowUpPrompt(FollowUpPrompt&& value) { m_followUpPrompt = std::move(value); }
133 inline GetIntentResult& WithFollowUpPrompt(const FollowUpPrompt& value) { SetFollowUpPrompt(value); return *this;}
134 inline GetIntentResult& WithFollowUpPrompt(FollowUpPrompt&& value) { SetFollowUpPrompt(std::move(value)); return *this;}
136
138
142 inline const Statement& GetConclusionStatement() const{ return m_conclusionStatement; }
143 inline void SetConclusionStatement(const Statement& value) { m_conclusionStatement = value; }
144 inline void SetConclusionStatement(Statement&& value) { m_conclusionStatement = std::move(value); }
145 inline GetIntentResult& WithConclusionStatement(const Statement& value) { SetConclusionStatement(value); return *this;}
146 inline GetIntentResult& WithConclusionStatement(Statement&& value) { SetConclusionStatement(std::move(value)); return *this;}
148
150
154 inline const CodeHook& GetDialogCodeHook() const{ return m_dialogCodeHook; }
155 inline void SetDialogCodeHook(const CodeHook& value) { m_dialogCodeHook = value; }
156 inline void SetDialogCodeHook(CodeHook&& value) { m_dialogCodeHook = std::move(value); }
157 inline GetIntentResult& WithDialogCodeHook(const CodeHook& value) { SetDialogCodeHook(value); return *this;}
158 inline GetIntentResult& WithDialogCodeHook(CodeHook&& value) { SetDialogCodeHook(std::move(value)); return *this;}
160
162
166 inline const FulfillmentActivity& GetFulfillmentActivity() const{ return m_fulfillmentActivity; }
167 inline void SetFulfillmentActivity(const FulfillmentActivity& value) { m_fulfillmentActivity = value; }
168 inline void SetFulfillmentActivity(FulfillmentActivity&& value) { m_fulfillmentActivity = std::move(value); }
170 inline GetIntentResult& WithFulfillmentActivity(FulfillmentActivity&& value) { SetFulfillmentActivity(std::move(value)); return *this;}
172
174
177 inline const Aws::String& GetParentIntentSignature() const{ return m_parentIntentSignature; }
178 inline void SetParentIntentSignature(const Aws::String& value) { m_parentIntentSignature = value; }
179 inline void SetParentIntentSignature(Aws::String&& value) { m_parentIntentSignature = std::move(value); }
180 inline void SetParentIntentSignature(const char* value) { m_parentIntentSignature.assign(value); }
182 inline GetIntentResult& WithParentIntentSignature(Aws::String&& value) { SetParentIntentSignature(std::move(value)); return *this;}
183 inline GetIntentResult& WithParentIntentSignature(const char* value) { SetParentIntentSignature(value); return *this;}
185
187
191 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const{ return m_lastUpdatedDate; }
192 inline void SetLastUpdatedDate(const Aws::Utils::DateTime& value) { m_lastUpdatedDate = value; }
193 inline void SetLastUpdatedDate(Aws::Utils::DateTime&& value) { m_lastUpdatedDate = std::move(value); }
194 inline GetIntentResult& WithLastUpdatedDate(const Aws::Utils::DateTime& value) { SetLastUpdatedDate(value); return *this;}
195 inline GetIntentResult& WithLastUpdatedDate(Aws::Utils::DateTime&& value) { SetLastUpdatedDate(std::move(value)); return *this;}
197
199
202 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
203 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDate = value; }
204 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDate = std::move(value); }
205 inline GetIntentResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
206 inline GetIntentResult& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
208
210
213 inline const Aws::String& GetVersion() const{ return m_version; }
214 inline void SetVersion(const Aws::String& value) { m_version = value; }
215 inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
216 inline void SetVersion(const char* value) { m_version.assign(value); }
217 inline GetIntentResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
218 inline GetIntentResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
219 inline GetIntentResult& WithVersion(const char* value) { SetVersion(value); return *this;}
221
223
226 inline const Aws::String& GetChecksum() const{ return m_checksum; }
227 inline void SetChecksum(const Aws::String& value) { m_checksum = value; }
228 inline void SetChecksum(Aws::String&& value) { m_checksum = std::move(value); }
229 inline void SetChecksum(const char* value) { m_checksum.assign(value); }
230 inline GetIntentResult& WithChecksum(const Aws::String& value) { SetChecksum(value); return *this;}
231 inline GetIntentResult& WithChecksum(Aws::String&& value) { SetChecksum(std::move(value)); return *this;}
232 inline GetIntentResult& WithChecksum(const char* value) { SetChecksum(value); return *this;}
234
236
240 inline const KendraConfiguration& GetKendraConfiguration() const{ return m_kendraConfiguration; }
241 inline void SetKendraConfiguration(const KendraConfiguration& value) { m_kendraConfiguration = value; }
242 inline void SetKendraConfiguration(KendraConfiguration&& value) { m_kendraConfiguration = std::move(value); }
244 inline GetIntentResult& WithKendraConfiguration(KendraConfiguration&& value) { SetKendraConfiguration(std::move(value)); return *this;}
246
248
253 inline const Aws::Vector<InputContext>& GetInputContexts() const{ return m_inputContexts; }
254 inline void SetInputContexts(const Aws::Vector<InputContext>& value) { m_inputContexts = value; }
255 inline void SetInputContexts(Aws::Vector<InputContext>&& value) { m_inputContexts = std::move(value); }
257 inline GetIntentResult& WithInputContexts(Aws::Vector<InputContext>&& value) { SetInputContexts(std::move(value)); return *this;}
258 inline GetIntentResult& AddInputContexts(const InputContext& value) { m_inputContexts.push_back(value); return *this; }
259 inline GetIntentResult& AddInputContexts(InputContext&& value) { m_inputContexts.push_back(std::move(value)); return *this; }
261
263
267 inline const Aws::Vector<OutputContext>& GetOutputContexts() const{ return m_outputContexts; }
268 inline void SetOutputContexts(const Aws::Vector<OutputContext>& value) { m_outputContexts = value; }
269 inline void SetOutputContexts(Aws::Vector<OutputContext>&& value) { m_outputContexts = std::move(value); }
271 inline GetIntentResult& WithOutputContexts(Aws::Vector<OutputContext>&& value) { SetOutputContexts(std::move(value)); return *this;}
272 inline GetIntentResult& AddOutputContexts(const OutputContext& value) { m_outputContexts.push_back(value); return *this; }
273 inline GetIntentResult& AddOutputContexts(OutputContext&& value) { m_outputContexts.push_back(std::move(value)); return *this; }
275
277
278 inline const Aws::String& GetRequestId() const{ return m_requestId; }
279 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
280 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
281 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
282 inline GetIntentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
283 inline GetIntentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
284 inline GetIntentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
286 private:
287
288 Aws::String m_name;
289
290 Aws::String m_description;
291
292 Aws::Vector<Slot> m_slots;
293
294 Aws::Vector<Aws::String> m_sampleUtterances;
295
296 Prompt m_confirmationPrompt;
297
298 Statement m_rejectionStatement;
299
300 FollowUpPrompt m_followUpPrompt;
301
302 Statement m_conclusionStatement;
303
304 CodeHook m_dialogCodeHook;
305
306 FulfillmentActivity m_fulfillmentActivity;
307
308 Aws::String m_parentIntentSignature;
309
310 Aws::Utils::DateTime m_lastUpdatedDate;
311
312 Aws::Utils::DateTime m_createdDate;
313
314 Aws::String m_version;
315
316 Aws::String m_checksum;
317
318 KendraConfiguration m_kendraConfiguration;
319
320 Aws::Vector<InputContext> m_inputContexts;
321
322 Aws::Vector<OutputContext> m_outputContexts;
323
324 Aws::String m_requestId;
325 };
326
327} // namespace Model
328} // namespace LexModelBuildingService
329} // namespace Aws
GetIntentResult & WithInputContexts(const Aws::Vector< InputContext > &value)
GetIntentResult & WithConfirmationPrompt(Prompt &&value)
GetIntentResult & WithName(const Aws::String &value)
void SetParentIntentSignature(const Aws::String &value)
const KendraConfiguration & GetKendraConfiguration() const
GetIntentResult & WithOutputContexts(Aws::Vector< OutputContext > &&value)
void SetSlots(const Aws::Vector< Slot > &value)
GetIntentResult & WithDescription(const char *value)
GetIntentResult & WithSampleUtterances(Aws::Vector< Aws::String > &&value)
GetIntentResult & WithDescription(Aws::String &&value)
GetIntentResult & WithRequestId(const Aws::String &value)
AWS_LEXMODELBUILDINGSERVICE_API GetIntentResult()
GetIntentResult & WithConclusionStatement(const Statement &value)
GetIntentResult & AddOutputContexts(OutputContext &&value)
GetIntentResult & WithName(const char *value)
GetIntentResult & WithFollowUpPrompt(const FollowUpPrompt &value)
GetIntentResult & WithParentIntentSignature(const Aws::String &value)
GetIntentResult & WithChecksum(const Aws::String &value)
GetIntentResult & WithVersion(const char *value)
GetIntentResult & WithDialogCodeHook(const CodeHook &value)
GetIntentResult & WithSampleUtterances(const Aws::Vector< Aws::String > &value)
void SetSampleUtterances(const Aws::Vector< Aws::String > &value)
GetIntentResult & AddInputContexts(InputContext &&value)
GetIntentResult & WithVersion(const Aws::String &value)
GetIntentResult & WithRequestId(const char *value)
const Aws::Utils::DateTime & GetCreatedDate() const
const Aws::Vector< InputContext > & GetInputContexts() const
const Aws::Vector< OutputContext > & GetOutputContexts() const
void SetKendraConfiguration(const KendraConfiguration &value)
GetIntentResult & WithKendraConfiguration(const KendraConfiguration &value)
GetIntentResult & AddSampleUtterances(Aws::String &&value)
GetIntentResult & AddSampleUtterances(const char *value)
GetIntentResult & WithParentIntentSignature(Aws::String &&value)
GetIntentResult & WithConfirmationPrompt(const Prompt &value)
void SetOutputContexts(const Aws::Vector< OutputContext > &value)
GetIntentResult & WithChecksum(const char *value)
GetIntentResult & WithRejectionStatement(Statement &&value)
GetIntentResult & WithRejectionStatement(const Statement &value)
GetIntentResult & AddSlots(const Slot &value)
GetIntentResult & WithCreatedDate(Aws::Utils::DateTime &&value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
GetIntentResult & WithFulfillmentActivity(FulfillmentActivity &&value)
GetIntentResult & WithOutputContexts(const Aws::Vector< OutputContext > &value)
GetIntentResult & WithParentIntentSignature(const char *value)
void SetKendraConfiguration(KendraConfiguration &&value)
GetIntentResult & WithCreatedDate(const Aws::Utils::DateTime &value)
GetIntentResult & WithDescription(const Aws::String &value)
GetIntentResult & WithName(Aws::String &&value)
GetIntentResult & WithLastUpdatedDate(Aws::Utils::DateTime &&value)
void SetOutputContexts(Aws::Vector< OutputContext > &&value)
const Aws::Utils::DateTime & GetLastUpdatedDate() const
AWS_LEXMODELBUILDINGSERVICE_API GetIntentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetInputContexts(Aws::Vector< InputContext > &&value)
GetIntentResult & WithConclusionStatement(Statement &&value)
GetIntentResult & WithLastUpdatedDate(const Aws::Utils::DateTime &value)
const Aws::Vector< Slot > & GetSlots() const
void SetCreatedDate(Aws::Utils::DateTime &&value)
GetIntentResult & WithInputContexts(Aws::Vector< InputContext > &&value)
void SetLastUpdatedDate(Aws::Utils::DateTime &&value)
GetIntentResult & AddInputContexts(const InputContext &value)
const Aws::Vector< Aws::String > & GetSampleUtterances() const
GetIntentResult & WithVersion(Aws::String &&value)
GetIntentResult & WithRequestId(Aws::String &&value)
void SetLastUpdatedDate(const Aws::Utils::DateTime &value)
GetIntentResult & WithKendraConfiguration(KendraConfiguration &&value)
AWS_LEXMODELBUILDINGSERVICE_API GetIntentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetIntentResult & AddSampleUtterances(const Aws::String &value)
void SetSampleUtterances(Aws::Vector< Aws::String > &&value)
void SetFulfillmentActivity(FulfillmentActivity &&value)
const FulfillmentActivity & GetFulfillmentActivity() const
GetIntentResult & AddOutputContexts(const OutputContext &value)
GetIntentResult & WithSlots(const Aws::Vector< Slot > &value)
void SetFulfillmentActivity(const FulfillmentActivity &value)
GetIntentResult & WithFollowUpPrompt(FollowUpPrompt &&value)
void SetInputContexts(const Aws::Vector< InputContext > &value)
GetIntentResult & WithSlots(Aws::Vector< Slot > &&value)
GetIntentResult & WithDialogCodeHook(CodeHook &&value)
GetIntentResult & WithChecksum(Aws::String &&value)
GetIntentResult & WithFulfillmentActivity(const FulfillmentActivity &value)
void SetFollowUpPrompt(const FollowUpPrompt &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