AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateIntentVersionResult.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 CreateIntentVersionResult();
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 CreateIntentVersionResult& WithName(const Aws::String& value) { SetName(value); return *this;}
55 inline CreateIntentVersionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
56 inline CreateIntentVersionResult& 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 CreateIntentVersionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
68 inline CreateIntentVersionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
69 inline CreateIntentVersionResult& WithDescription(const char* value) { SetDescription(value); return *this;}
71
73
77 inline const Aws::Vector<Slot>& GetSlots() const{ return m_slots; }
78 inline void SetSlots(const Aws::Vector<Slot>& value) { m_slots = value; }
79 inline void SetSlots(Aws::Vector<Slot>&& value) { m_slots = std::move(value); }
80 inline CreateIntentVersionResult& WithSlots(const Aws::Vector<Slot>& value) { SetSlots(value); return *this;}
81 inline CreateIntentVersionResult& WithSlots(Aws::Vector<Slot>&& value) { SetSlots(std::move(value)); return *this;}
82 inline CreateIntentVersionResult& AddSlots(const Slot& value) { m_slots.push_back(value); return *this; }
83 inline CreateIntentVersionResult& AddSlots(Slot&& value) { m_slots.push_back(std::move(value)); return *this; }
85
87
90 inline const Aws::Vector<Aws::String>& GetSampleUtterances() const{ return m_sampleUtterances; }
91 inline void SetSampleUtterances(const Aws::Vector<Aws::String>& value) { m_sampleUtterances = value; }
92 inline void SetSampleUtterances(Aws::Vector<Aws::String>&& value) { m_sampleUtterances = std::move(value); }
95 inline CreateIntentVersionResult& AddSampleUtterances(const Aws::String& value) { m_sampleUtterances.push_back(value); return *this; }
96 inline CreateIntentVersionResult& AddSampleUtterances(Aws::String&& value) { m_sampleUtterances.push_back(std::move(value)); return *this; }
97 inline CreateIntentVersionResult& AddSampleUtterances(const char* value) { m_sampleUtterances.push_back(value); return *this; }
99
101
105 inline const Prompt& GetConfirmationPrompt() const{ return m_confirmationPrompt; }
106 inline void SetConfirmationPrompt(const Prompt& value) { m_confirmationPrompt = value; }
107 inline void SetConfirmationPrompt(Prompt&& value) { m_confirmationPrompt = std::move(value); }
109 inline CreateIntentVersionResult& WithConfirmationPrompt(Prompt&& value) { SetConfirmationPrompt(std::move(value)); return *this;}
111
113
118 inline const Statement& GetRejectionStatement() const{ return m_rejectionStatement; }
119 inline void SetRejectionStatement(const Statement& value) { m_rejectionStatement = value; }
120 inline void SetRejectionStatement(Statement&& value) { m_rejectionStatement = std::move(value); }
122 inline CreateIntentVersionResult& WithRejectionStatement(Statement&& value) { SetRejectionStatement(std::move(value)); return *this;}
124
126
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); }
134 inline CreateIntentVersionResult& 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); }
146 inline CreateIntentVersionResult& WithConclusionStatement(Statement&& value) { SetConclusionStatement(std::move(value)); return *this;}
148
150
153 inline const CodeHook& GetDialogCodeHook() const{ return m_dialogCodeHook; }
154 inline void SetDialogCodeHook(const CodeHook& value) { m_dialogCodeHook = value; }
155 inline void SetDialogCodeHook(CodeHook&& value) { m_dialogCodeHook = std::move(value); }
156 inline CreateIntentVersionResult& WithDialogCodeHook(const CodeHook& value) { SetDialogCodeHook(value); return *this;}
157 inline CreateIntentVersionResult& WithDialogCodeHook(CodeHook&& value) { SetDialogCodeHook(std::move(value)); return *this;}
159
161
164 inline const FulfillmentActivity& GetFulfillmentActivity() const{ return m_fulfillmentActivity; }
165 inline void SetFulfillmentActivity(const FulfillmentActivity& value) { m_fulfillmentActivity = value; }
166 inline void SetFulfillmentActivity(FulfillmentActivity&& value) { m_fulfillmentActivity = std::move(value); }
170
172
175 inline const Aws::String& GetParentIntentSignature() const{ return m_parentIntentSignature; }
176 inline void SetParentIntentSignature(const Aws::String& value) { m_parentIntentSignature = value; }
177 inline void SetParentIntentSignature(Aws::String&& value) { m_parentIntentSignature = std::move(value); }
178 inline void SetParentIntentSignature(const char* value) { m_parentIntentSignature.assign(value); }
181 inline CreateIntentVersionResult& WithParentIntentSignature(const char* value) { SetParentIntentSignature(value); return *this;}
183
185
188 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const{ return m_lastUpdatedDate; }
189 inline void SetLastUpdatedDate(const Aws::Utils::DateTime& value) { m_lastUpdatedDate = value; }
190 inline void SetLastUpdatedDate(Aws::Utils::DateTime&& value) { m_lastUpdatedDate = std::move(value); }
194
196
199 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
200 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDate = value; }
201 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDate = std::move(value); }
203 inline CreateIntentVersionResult& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
205
207
210 inline const Aws::String& GetVersion() const{ return m_version; }
211 inline void SetVersion(const Aws::String& value) { m_version = value; }
212 inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
213 inline void SetVersion(const char* value) { m_version.assign(value); }
214 inline CreateIntentVersionResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
215 inline CreateIntentVersionResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
216 inline CreateIntentVersionResult& WithVersion(const char* value) { SetVersion(value); return *this;}
218
220
223 inline const Aws::String& GetChecksum() const{ return m_checksum; }
224 inline void SetChecksum(const Aws::String& value) { m_checksum = value; }
225 inline void SetChecksum(Aws::String&& value) { m_checksum = std::move(value); }
226 inline void SetChecksum(const char* value) { m_checksum.assign(value); }
227 inline CreateIntentVersionResult& WithChecksum(const Aws::String& value) { SetChecksum(value); return *this;}
228 inline CreateIntentVersionResult& WithChecksum(Aws::String&& value) { SetChecksum(std::move(value)); return *this;}
229 inline CreateIntentVersionResult& WithChecksum(const char* value) { SetChecksum(value); return *this;}
231
233
237 inline const KendraConfiguration& GetKendraConfiguration() const{ return m_kendraConfiguration; }
238 inline void SetKendraConfiguration(const KendraConfiguration& value) { m_kendraConfiguration = value; }
239 inline void SetKendraConfiguration(KendraConfiguration&& value) { m_kendraConfiguration = std::move(value); }
243
245
250 inline const Aws::Vector<InputContext>& GetInputContexts() const{ return m_inputContexts; }
251 inline void SetInputContexts(const Aws::Vector<InputContext>& value) { m_inputContexts = value; }
252 inline void SetInputContexts(Aws::Vector<InputContext>&& value) { m_inputContexts = std::move(value); }
255 inline CreateIntentVersionResult& AddInputContexts(const InputContext& value) { m_inputContexts.push_back(value); return *this; }
256 inline CreateIntentVersionResult& AddInputContexts(InputContext&& value) { m_inputContexts.push_back(std::move(value)); return *this; }
258
260
264 inline const Aws::Vector<OutputContext>& GetOutputContexts() const{ return m_outputContexts; }
265 inline void SetOutputContexts(const Aws::Vector<OutputContext>& value) { m_outputContexts = value; }
266 inline void SetOutputContexts(Aws::Vector<OutputContext>&& value) { m_outputContexts = std::move(value); }
269 inline CreateIntentVersionResult& AddOutputContexts(const OutputContext& value) { m_outputContexts.push_back(value); return *this; }
270 inline CreateIntentVersionResult& AddOutputContexts(OutputContext&& value) { m_outputContexts.push_back(std::move(value)); return *this; }
272
274
275 inline const Aws::String& GetRequestId() const{ return m_requestId; }
276 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
277 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
278 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
279 inline CreateIntentVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
280 inline CreateIntentVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
281 inline CreateIntentVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
283 private:
284
285 Aws::String m_name;
286
287 Aws::String m_description;
288
289 Aws::Vector<Slot> m_slots;
290
291 Aws::Vector<Aws::String> m_sampleUtterances;
292
293 Prompt m_confirmationPrompt;
294
295 Statement m_rejectionStatement;
296
297 FollowUpPrompt m_followUpPrompt;
298
299 Statement m_conclusionStatement;
300
301 CodeHook m_dialogCodeHook;
302
303 FulfillmentActivity m_fulfillmentActivity;
304
305 Aws::String m_parentIntentSignature;
306
307 Aws::Utils::DateTime m_lastUpdatedDate;
308
309 Aws::Utils::DateTime m_createdDate;
310
311 Aws::String m_version;
312
313 Aws::String m_checksum;
314
315 KendraConfiguration m_kendraConfiguration;
316
317 Aws::Vector<InputContext> m_inputContexts;
318
319 Aws::Vector<OutputContext> m_outputContexts;
320
321 Aws::String m_requestId;
322 };
323
324} // namespace Model
325} // namespace LexModelBuildingService
326} // namespace Aws
CreateIntentVersionResult & WithInputContexts(Aws::Vector< InputContext > &&value)
CreateIntentVersionResult & WithFulfillmentActivity(const FulfillmentActivity &value)
CreateIntentVersionResult & WithConclusionStatement(Statement &&value)
CreateIntentVersionResult & WithOutputContexts(const Aws::Vector< OutputContext > &value)
CreateIntentVersionResult & WithParentIntentSignature(const char *value)
CreateIntentVersionResult & WithOutputContexts(Aws::Vector< OutputContext > &&value)
CreateIntentVersionResult & AddSampleUtterances(const char *value)
CreateIntentVersionResult & AddOutputContexts(OutputContext &&value)
CreateIntentVersionResult & WithConfirmationPrompt(const Prompt &value)
CreateIntentVersionResult & WithDescription(const char *value)
CreateIntentVersionResult & WithInputContexts(const Aws::Vector< InputContext > &value)
CreateIntentVersionResult & WithFollowUpPrompt(const FollowUpPrompt &value)
CreateIntentVersionResult & WithSlots(const Aws::Vector< Slot > &value)
AWS_LEXMODELBUILDINGSERVICE_API CreateIntentVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateIntentVersionResult & WithRejectionStatement(const Statement &value)
CreateIntentVersionResult & AddInputContexts(const InputContext &value)
CreateIntentVersionResult & WithConclusionStatement(const Statement &value)
void SetSampleUtterances(const Aws::Vector< Aws::String > &value)
CreateIntentVersionResult & WithVersion(Aws::String &&value)
CreateIntentVersionResult & WithRequestId(Aws::String &&value)
CreateIntentVersionResult & WithSlots(Aws::Vector< Slot > &&value)
CreateIntentVersionResult & WithVersion(const Aws::String &value)
CreateIntentVersionResult & WithSampleUtterances(Aws::Vector< Aws::String > &&value)
CreateIntentVersionResult & WithName(Aws::String &&value)
CreateIntentVersionResult & AddSampleUtterances(const Aws::String &value)
CreateIntentVersionResult & WithLastUpdatedDate(Aws::Utils::DateTime &&value)
CreateIntentVersionResult & AddSampleUtterances(Aws::String &&value)
CreateIntentVersionResult & WithParentIntentSignature(const Aws::String &value)
CreateIntentVersionResult & WithName(const Aws::String &value)
CreateIntentVersionResult & WithFollowUpPrompt(FollowUpPrompt &&value)
CreateIntentVersionResult & WithLastUpdatedDate(const Aws::Utils::DateTime &value)
CreateIntentVersionResult & WithChecksum(Aws::String &&value)
CreateIntentVersionResult & WithFulfillmentActivity(FulfillmentActivity &&value)
CreateIntentVersionResult & WithRejectionStatement(Statement &&value)
CreateIntentVersionResult & WithParentIntentSignature(Aws::String &&value)
CreateIntentVersionResult & WithKendraConfiguration(const KendraConfiguration &value)
CreateIntentVersionResult & WithRequestId(const Aws::String &value)
CreateIntentVersionResult & AddInputContexts(InputContext &&value)
void SetOutputContexts(const Aws::Vector< OutputContext > &value)
AWS_LEXMODELBUILDINGSERVICE_API CreateIntentVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateIntentVersionResult & WithKendraConfiguration(KendraConfiguration &&value)
CreateIntentVersionResult & WithDescription(const Aws::String &value)
void SetInputContexts(const Aws::Vector< InputContext > &value)
CreateIntentVersionResult & WithChecksum(const Aws::String &value)
CreateIntentVersionResult & WithSampleUtterances(const Aws::Vector< Aws::String > &value)
CreateIntentVersionResult & WithCreatedDate(const Aws::Utils::DateTime &value)
CreateIntentVersionResult & WithCreatedDate(Aws::Utils::DateTime &&value)
CreateIntentVersionResult & AddOutputContexts(const OutputContext &value)
CreateIntentVersionResult & WithDescription(Aws::String &&value)
CreateIntentVersionResult & WithDialogCodeHook(const CodeHook &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