AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutIntentResult.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 PutIntentResult();
42 AWS_LEXMODELBUILDINGSERVICE_API PutIntentResult(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 PutIntentResult& WithName(const Aws::String& value) { SetName(value); return *this;}
55 inline PutIntentResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
56 inline PutIntentResult& 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 PutIntentResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
68 inline PutIntentResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
69 inline PutIntentResult& 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 PutIntentResult& WithSlots(const Aws::Vector<Slot>& value) { SetSlots(value); return *this;}
80 inline PutIntentResult& WithSlots(Aws::Vector<Slot>&& value) { SetSlots(std::move(value)); return *this;}
81 inline PutIntentResult& AddSlots(const Slot& value) { m_slots.push_back(value); return *this; }
82 inline PutIntentResult& 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 PutIntentResult& WithSampleUtterances(Aws::Vector<Aws::String>&& value) { SetSampleUtterances(std::move(value)); return *this;}
94 inline PutIntentResult& AddSampleUtterances(const Aws::String& value) { m_sampleUtterances.push_back(value); return *this; }
95 inline PutIntentResult& AddSampleUtterances(Aws::String&& value) { m_sampleUtterances.push_back(std::move(value)); return *this; }
96 inline PutIntentResult& 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 PutIntentResult& WithConfirmationPrompt(const Prompt& value) { SetConfirmationPrompt(value); return *this;}
108 inline PutIntentResult& 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 PutIntentResult& WithRejectionStatement(const Statement& value) { SetRejectionStatement(value); return *this;}
121 inline PutIntentResult& WithRejectionStatement(Statement&& value) { SetRejectionStatement(std::move(value)); return *this;}
123
125
129 inline const FollowUpPrompt& GetFollowUpPrompt() const{ return m_followUpPrompt; }
130 inline void SetFollowUpPrompt(const FollowUpPrompt& value) { m_followUpPrompt = value; }
131 inline void SetFollowUpPrompt(FollowUpPrompt&& value) { m_followUpPrompt = std::move(value); }
132 inline PutIntentResult& WithFollowUpPrompt(const FollowUpPrompt& value) { SetFollowUpPrompt(value); return *this;}
133 inline PutIntentResult& WithFollowUpPrompt(FollowUpPrompt&& value) { SetFollowUpPrompt(std::move(value)); return *this;}
135
137
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 PutIntentResult& WithConclusionStatement(const Statement& value) { SetConclusionStatement(value); return *this;}
146 inline PutIntentResult& 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 PutIntentResult& WithDialogCodeHook(const CodeHook& value) { SetDialogCodeHook(value); return *this;}
158 inline PutIntentResult& WithDialogCodeHook(CodeHook&& value) { SetDialogCodeHook(std::move(value)); return *this;}
160
162
167 inline const FulfillmentActivity& GetFulfillmentActivity() const{ return m_fulfillmentActivity; }
168 inline void SetFulfillmentActivity(const FulfillmentActivity& value) { m_fulfillmentActivity = value; }
169 inline void SetFulfillmentActivity(FulfillmentActivity&& value) { m_fulfillmentActivity = std::move(value); }
171 inline PutIntentResult& WithFulfillmentActivity(FulfillmentActivity&& value) { SetFulfillmentActivity(std::move(value)); return *this;}
173
175
178 inline const Aws::String& GetParentIntentSignature() const{ return m_parentIntentSignature; }
179 inline void SetParentIntentSignature(const Aws::String& value) { m_parentIntentSignature = value; }
180 inline void SetParentIntentSignature(Aws::String&& value) { m_parentIntentSignature = std::move(value); }
181 inline void SetParentIntentSignature(const char* value) { m_parentIntentSignature.assign(value); }
183 inline PutIntentResult& WithParentIntentSignature(Aws::String&& value) { SetParentIntentSignature(std::move(value)); return *this;}
184 inline PutIntentResult& WithParentIntentSignature(const char* value) { SetParentIntentSignature(value); return *this;}
186
188
192 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const{ return m_lastUpdatedDate; }
193 inline void SetLastUpdatedDate(const Aws::Utils::DateTime& value) { m_lastUpdatedDate = value; }
194 inline void SetLastUpdatedDate(Aws::Utils::DateTime&& value) { m_lastUpdatedDate = std::move(value); }
195 inline PutIntentResult& WithLastUpdatedDate(const Aws::Utils::DateTime& value) { SetLastUpdatedDate(value); return *this;}
196 inline PutIntentResult& WithLastUpdatedDate(Aws::Utils::DateTime&& value) { SetLastUpdatedDate(std::move(value)); return *this;}
198
200
203 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
204 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDate = value; }
205 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDate = std::move(value); }
206 inline PutIntentResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
207 inline PutIntentResult& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
209
211
215 inline const Aws::String& GetVersion() const{ return m_version; }
216 inline void SetVersion(const Aws::String& value) { m_version = value; }
217 inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
218 inline void SetVersion(const char* value) { m_version.assign(value); }
219 inline PutIntentResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
220 inline PutIntentResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
221 inline PutIntentResult& WithVersion(const char* value) { SetVersion(value); return *this;}
223
225
229 inline const Aws::String& GetChecksum() const{ return m_checksum; }
230 inline void SetChecksum(const Aws::String& value) { m_checksum = value; }
231 inline void SetChecksum(Aws::String&& value) { m_checksum = std::move(value); }
232 inline void SetChecksum(const char* value) { m_checksum.assign(value); }
233 inline PutIntentResult& WithChecksum(const Aws::String& value) { SetChecksum(value); return *this;}
234 inline PutIntentResult& WithChecksum(Aws::String&& value) { SetChecksum(std::move(value)); return *this;}
235 inline PutIntentResult& WithChecksum(const char* value) { SetChecksum(value); return *this;}
237
239
244 inline bool GetCreateVersion() const{ return m_createVersion; }
245 inline void SetCreateVersion(bool value) { m_createVersion = value; }
246 inline PutIntentResult& WithCreateVersion(bool value) { SetCreateVersion(value); return *this;}
248
250
254 inline const KendraConfiguration& GetKendraConfiguration() const{ return m_kendraConfiguration; }
255 inline void SetKendraConfiguration(const KendraConfiguration& value) { m_kendraConfiguration = value; }
256 inline void SetKendraConfiguration(KendraConfiguration&& value) { m_kendraConfiguration = std::move(value); }
258 inline PutIntentResult& WithKendraConfiguration(KendraConfiguration&& value) { SetKendraConfiguration(std::move(value)); return *this;}
260
262
267 inline const Aws::Vector<InputContext>& GetInputContexts() const{ return m_inputContexts; }
268 inline void SetInputContexts(const Aws::Vector<InputContext>& value) { m_inputContexts = value; }
269 inline void SetInputContexts(Aws::Vector<InputContext>&& value) { m_inputContexts = std::move(value); }
271 inline PutIntentResult& WithInputContexts(Aws::Vector<InputContext>&& value) { SetInputContexts(std::move(value)); return *this;}
272 inline PutIntentResult& AddInputContexts(const InputContext& value) { m_inputContexts.push_back(value); return *this; }
273 inline PutIntentResult& AddInputContexts(InputContext&& value) { m_inputContexts.push_back(std::move(value)); return *this; }
275
277
281 inline const Aws::Vector<OutputContext>& GetOutputContexts() const{ return m_outputContexts; }
282 inline void SetOutputContexts(const Aws::Vector<OutputContext>& value) { m_outputContexts = value; }
283 inline void SetOutputContexts(Aws::Vector<OutputContext>&& value) { m_outputContexts = std::move(value); }
285 inline PutIntentResult& WithOutputContexts(Aws::Vector<OutputContext>&& value) { SetOutputContexts(std::move(value)); return *this;}
286 inline PutIntentResult& AddOutputContexts(const OutputContext& value) { m_outputContexts.push_back(value); return *this; }
287 inline PutIntentResult& AddOutputContexts(OutputContext&& value) { m_outputContexts.push_back(std::move(value)); return *this; }
289
291
292 inline const Aws::String& GetRequestId() const{ return m_requestId; }
293 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
294 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
295 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
296 inline PutIntentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
297 inline PutIntentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
298 inline PutIntentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
300 private:
301
302 Aws::String m_name;
303
304 Aws::String m_description;
305
306 Aws::Vector<Slot> m_slots;
307
308 Aws::Vector<Aws::String> m_sampleUtterances;
309
310 Prompt m_confirmationPrompt;
311
312 Statement m_rejectionStatement;
313
314 FollowUpPrompt m_followUpPrompt;
315
316 Statement m_conclusionStatement;
317
318 CodeHook m_dialogCodeHook;
319
320 FulfillmentActivity m_fulfillmentActivity;
321
322 Aws::String m_parentIntentSignature;
323
324 Aws::Utils::DateTime m_lastUpdatedDate;
325
326 Aws::Utils::DateTime m_createdDate;
327
328 Aws::String m_version;
329
330 Aws::String m_checksum;
331
332 bool m_createVersion;
333
334 KendraConfiguration m_kendraConfiguration;
335
336 Aws::Vector<InputContext> m_inputContexts;
337
338 Aws::Vector<OutputContext> m_outputContexts;
339
340 Aws::String m_requestId;
341 };
342
343} // namespace Model
344} // namespace LexModelBuildingService
345} // namespace Aws
PutIntentResult & WithLastUpdatedDate(const Aws::Utils::DateTime &value)
PutIntentResult & AddOutputContexts(OutputContext &&value)
PutIntentResult & WithRequestId(const Aws::String &value)
PutIntentResult & WithKendraConfiguration(KendraConfiguration &&value)
void SetKendraConfiguration(KendraConfiguration &&value)
void SetSampleUtterances(const Aws::Vector< Aws::String > &value)
PutIntentResult & WithLastUpdatedDate(Aws::Utils::DateTime &&value)
const Aws::Vector< OutputContext > & GetOutputContexts() const
PutIntentResult & WithChecksum(const Aws::String &value)
PutIntentResult & WithOutputContexts(Aws::Vector< OutputContext > &&value)
void SetParentIntentSignature(const Aws::String &value)
PutIntentResult & WithDescription(Aws::String &&value)
PutIntentResult & AddSlots(const Slot &value)
void SetFollowUpPrompt(const FollowUpPrompt &value)
void SetOutputContexts(const Aws::Vector< OutputContext > &value)
PutIntentResult & WithDescription(const char *value)
PutIntentResult & WithConfirmationPrompt(const Prompt &value)
PutIntentResult & WithRequestId(const char *value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
PutIntentResult & WithChecksum(Aws::String &&value)
PutIntentResult & WithParentIntentSignature(const char *value)
PutIntentResult & WithConfirmationPrompt(Prompt &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
PutIntentResult & WithFollowUpPrompt(FollowUpPrompt &&value)
void SetFulfillmentActivity(FulfillmentActivity &&value)
PutIntentResult & WithParentIntentSignature(Aws::String &&value)
PutIntentResult & WithFulfillmentActivity(FulfillmentActivity &&value)
PutIntentResult & WithFulfillmentActivity(const FulfillmentActivity &value)
void SetSampleUtterances(Aws::Vector< Aws::String > &&value)
PutIntentResult & WithOutputContexts(const Aws::Vector< OutputContext > &value)
void SetSlots(const Aws::Vector< Slot > &value)
void SetFulfillmentActivity(const FulfillmentActivity &value)
PutIntentResult & WithDescription(const Aws::String &value)
const FulfillmentActivity & GetFulfillmentActivity() const
const Aws::Vector< InputContext > & GetInputContexts() const
PutIntentResult & WithName(const char *value)
PutIntentResult & AddInputContexts(InputContext &&value)
AWS_LEXMODELBUILDINGSERVICE_API PutIntentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LEXMODELBUILDINGSERVICE_API PutIntentResult()
const Aws::Vector< Aws::String > & GetSampleUtterances() const
PutIntentResult & AddSampleUtterances(Aws::String &&value)
PutIntentResult & WithSlots(const Aws::Vector< Slot > &value)
const KendraConfiguration & GetKendraConfiguration() const
const Aws::Utils::DateTime & GetLastUpdatedDate() const
PutIntentResult & WithVersion(const Aws::String &value)
PutIntentResult & WithCreatedDate(Aws::Utils::DateTime &&value)
PutIntentResult & AddOutputContexts(const OutputContext &value)
PutIntentResult & WithSampleUtterances(Aws::Vector< Aws::String > &&value)
void SetLastUpdatedDate(const Aws::Utils::DateTime &value)
void SetKendraConfiguration(const KendraConfiguration &value)
PutIntentResult & AddSampleUtterances(const Aws::String &value)
const Aws::Vector< Slot > & GetSlots() const
PutIntentResult & WithRequestId(Aws::String &&value)
PutIntentResult & WithDialogCodeHook(CodeHook &&value)
PutIntentResult & WithInputContexts(Aws::Vector< InputContext > &&value)
PutIntentResult & AddInputContexts(const InputContext &value)
void SetInputContexts(Aws::Vector< InputContext > &&value)
void SetInputContexts(const Aws::Vector< InputContext > &value)
PutIntentResult & WithInputContexts(const Aws::Vector< InputContext > &value)
PutIntentResult & WithConclusionStatement(const Statement &value)
PutIntentResult & WithDialogCodeHook(const CodeHook &value)
PutIntentResult & WithChecksum(const char *value)
PutIntentResult & WithVersion(const char *value)
PutIntentResult & WithRejectionStatement(Statement &&value)
PutIntentResult & WithName(const Aws::String &value)
PutIntentResult & AddSampleUtterances(const char *value)
PutIntentResult & WithRejectionStatement(const Statement &value)
PutIntentResult & WithSampleUtterances(const Aws::Vector< Aws::String > &value)
PutIntentResult & WithVersion(Aws::String &&value)
PutIntentResult & WithFollowUpPrompt(const FollowUpPrompt &value)
PutIntentResult & WithConclusionStatement(Statement &&value)
PutIntentResult & WithCreatedDate(const Aws::Utils::DateTime &value)
void SetOutputContexts(Aws::Vector< OutputContext > &&value)
AWS_LEXMODELBUILDINGSERVICE_API PutIntentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutIntentResult & WithSlots(Aws::Vector< Slot > &&value)
PutIntentResult & WithKendraConfiguration(const KendraConfiguration &value)
PutIntentResult & WithParentIntentSignature(const Aws::String &value)
PutIntentResult & WithName(Aws::String &&value)
void SetLastUpdatedDate(Aws::Utils::DateTime &&value)
void SetCreatedDate(Aws::Utils::DateTime &&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