AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
44
45
47
50 inline const Aws::String& GetName() const { return m_name; }
51 template<typename NameT = Aws::String>
52 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
53 template<typename NameT = Aws::String>
54 CreateIntentVersionResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
56
58
61 inline const Aws::String& GetDescription() const { return m_description; }
62 template<typename DescriptionT = Aws::String>
63 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
64 template<typename DescriptionT = Aws::String>
65 CreateIntentVersionResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
67
69
73 inline const Aws::Vector<Slot>& GetSlots() const { return m_slots; }
74 template<typename SlotsT = Aws::Vector<Slot>>
75 void SetSlots(SlotsT&& value) { m_slotsHasBeenSet = true; m_slots = std::forward<SlotsT>(value); }
76 template<typename SlotsT = Aws::Vector<Slot>>
77 CreateIntentVersionResult& WithSlots(SlotsT&& value) { SetSlots(std::forward<SlotsT>(value)); return *this;}
78 template<typename SlotsT = Slot>
79 CreateIntentVersionResult& AddSlots(SlotsT&& value) { m_slotsHasBeenSet = true; m_slots.emplace_back(std::forward<SlotsT>(value)); return *this; }
81
83
86 inline const Aws::Vector<Aws::String>& GetSampleUtterances() const { return m_sampleUtterances; }
87 template<typename SampleUtterancesT = Aws::Vector<Aws::String>>
88 void SetSampleUtterances(SampleUtterancesT&& value) { m_sampleUtterancesHasBeenSet = true; m_sampleUtterances = std::forward<SampleUtterancesT>(value); }
89 template<typename SampleUtterancesT = Aws::Vector<Aws::String>>
90 CreateIntentVersionResult& WithSampleUtterances(SampleUtterancesT&& value) { SetSampleUtterances(std::forward<SampleUtterancesT>(value)); return *this;}
91 template<typename SampleUtterancesT = Aws::String>
92 CreateIntentVersionResult& AddSampleUtterances(SampleUtterancesT&& value) { m_sampleUtterancesHasBeenSet = true; m_sampleUtterances.emplace_back(std::forward<SampleUtterancesT>(value)); return *this; }
94
96
100 inline const Prompt& GetConfirmationPrompt() const { return m_confirmationPrompt; }
101 template<typename ConfirmationPromptT = Prompt>
102 void SetConfirmationPrompt(ConfirmationPromptT&& value) { m_confirmationPromptHasBeenSet = true; m_confirmationPrompt = std::forward<ConfirmationPromptT>(value); }
103 template<typename ConfirmationPromptT = Prompt>
104 CreateIntentVersionResult& WithConfirmationPrompt(ConfirmationPromptT&& value) { SetConfirmationPrompt(std::forward<ConfirmationPromptT>(value)); return *this;}
106
108
113 inline const Statement& GetRejectionStatement() const { return m_rejectionStatement; }
114 template<typename RejectionStatementT = Statement>
115 void SetRejectionStatement(RejectionStatementT&& value) { m_rejectionStatementHasBeenSet = true; m_rejectionStatement = std::forward<RejectionStatementT>(value); }
116 template<typename RejectionStatementT = Statement>
117 CreateIntentVersionResult& WithRejectionStatement(RejectionStatementT&& value) { SetRejectionStatement(std::forward<RejectionStatementT>(value)); return *this;}
119
121
125 inline const FollowUpPrompt& GetFollowUpPrompt() const { return m_followUpPrompt; }
126 template<typename FollowUpPromptT = FollowUpPrompt>
127 void SetFollowUpPrompt(FollowUpPromptT&& value) { m_followUpPromptHasBeenSet = true; m_followUpPrompt = std::forward<FollowUpPromptT>(value); }
128 template<typename FollowUpPromptT = FollowUpPrompt>
129 CreateIntentVersionResult& WithFollowUpPrompt(FollowUpPromptT&& value) { SetFollowUpPrompt(std::forward<FollowUpPromptT>(value)); return *this;}
131
133
137 inline const Statement& GetConclusionStatement() const { return m_conclusionStatement; }
138 template<typename ConclusionStatementT = Statement>
139 void SetConclusionStatement(ConclusionStatementT&& value) { m_conclusionStatementHasBeenSet = true; m_conclusionStatement = std::forward<ConclusionStatementT>(value); }
140 template<typename ConclusionStatementT = Statement>
141 CreateIntentVersionResult& WithConclusionStatement(ConclusionStatementT&& value) { SetConclusionStatement(std::forward<ConclusionStatementT>(value)); return *this;}
143
145
148 inline const CodeHook& GetDialogCodeHook() const { return m_dialogCodeHook; }
149 template<typename DialogCodeHookT = CodeHook>
150 void SetDialogCodeHook(DialogCodeHookT&& value) { m_dialogCodeHookHasBeenSet = true; m_dialogCodeHook = std::forward<DialogCodeHookT>(value); }
151 template<typename DialogCodeHookT = CodeHook>
152 CreateIntentVersionResult& WithDialogCodeHook(DialogCodeHookT&& value) { SetDialogCodeHook(std::forward<DialogCodeHookT>(value)); return *this;}
154
156
159 inline const FulfillmentActivity& GetFulfillmentActivity() const { return m_fulfillmentActivity; }
160 template<typename FulfillmentActivityT = FulfillmentActivity>
161 void SetFulfillmentActivity(FulfillmentActivityT&& value) { m_fulfillmentActivityHasBeenSet = true; m_fulfillmentActivity = std::forward<FulfillmentActivityT>(value); }
162 template<typename FulfillmentActivityT = FulfillmentActivity>
163 CreateIntentVersionResult& WithFulfillmentActivity(FulfillmentActivityT&& value) { SetFulfillmentActivity(std::forward<FulfillmentActivityT>(value)); return *this;}
165
167
170 inline const Aws::String& GetParentIntentSignature() const { return m_parentIntentSignature; }
171 template<typename ParentIntentSignatureT = Aws::String>
172 void SetParentIntentSignature(ParentIntentSignatureT&& value) { m_parentIntentSignatureHasBeenSet = true; m_parentIntentSignature = std::forward<ParentIntentSignatureT>(value); }
173 template<typename ParentIntentSignatureT = Aws::String>
174 CreateIntentVersionResult& WithParentIntentSignature(ParentIntentSignatureT&& value) { SetParentIntentSignature(std::forward<ParentIntentSignatureT>(value)); return *this;}
176
178
181 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const { return m_lastUpdatedDate; }
182 template<typename LastUpdatedDateT = Aws::Utils::DateTime>
183 void SetLastUpdatedDate(LastUpdatedDateT&& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value); }
184 template<typename LastUpdatedDateT = Aws::Utils::DateTime>
185 CreateIntentVersionResult& WithLastUpdatedDate(LastUpdatedDateT&& value) { SetLastUpdatedDate(std::forward<LastUpdatedDateT>(value)); return *this;}
187
189
192 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
193 template<typename CreatedDateT = Aws::Utils::DateTime>
194 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
195 template<typename CreatedDateT = Aws::Utils::DateTime>
196 CreateIntentVersionResult& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
198
200
203 inline const Aws::String& GetVersion() const { return m_version; }
204 template<typename VersionT = Aws::String>
205 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
206 template<typename VersionT = Aws::String>
207 CreateIntentVersionResult& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
209
211
214 inline const Aws::String& GetChecksum() const { return m_checksum; }
215 template<typename ChecksumT = Aws::String>
216 void SetChecksum(ChecksumT&& value) { m_checksumHasBeenSet = true; m_checksum = std::forward<ChecksumT>(value); }
217 template<typename ChecksumT = Aws::String>
218 CreateIntentVersionResult& WithChecksum(ChecksumT&& value) { SetChecksum(std::forward<ChecksumT>(value)); return *this;}
220
222
226 inline const KendraConfiguration& GetKendraConfiguration() const { return m_kendraConfiguration; }
227 template<typename KendraConfigurationT = KendraConfiguration>
228 void SetKendraConfiguration(KendraConfigurationT&& value) { m_kendraConfigurationHasBeenSet = true; m_kendraConfiguration = std::forward<KendraConfigurationT>(value); }
229 template<typename KendraConfigurationT = KendraConfiguration>
230 CreateIntentVersionResult& WithKendraConfiguration(KendraConfigurationT&& value) { SetKendraConfiguration(std::forward<KendraConfigurationT>(value)); return *this;}
232
234
239 inline const Aws::Vector<InputContext>& GetInputContexts() const { return m_inputContexts; }
240 template<typename InputContextsT = Aws::Vector<InputContext>>
241 void SetInputContexts(InputContextsT&& value) { m_inputContextsHasBeenSet = true; m_inputContexts = std::forward<InputContextsT>(value); }
242 template<typename InputContextsT = Aws::Vector<InputContext>>
243 CreateIntentVersionResult& WithInputContexts(InputContextsT&& value) { SetInputContexts(std::forward<InputContextsT>(value)); return *this;}
244 template<typename InputContextsT = InputContext>
245 CreateIntentVersionResult& AddInputContexts(InputContextsT&& value) { m_inputContextsHasBeenSet = true; m_inputContexts.emplace_back(std::forward<InputContextsT>(value)); return *this; }
247
249
253 inline const Aws::Vector<OutputContext>& GetOutputContexts() const { return m_outputContexts; }
254 template<typename OutputContextsT = Aws::Vector<OutputContext>>
255 void SetOutputContexts(OutputContextsT&& value) { m_outputContextsHasBeenSet = true; m_outputContexts = std::forward<OutputContextsT>(value); }
256 template<typename OutputContextsT = Aws::Vector<OutputContext>>
257 CreateIntentVersionResult& WithOutputContexts(OutputContextsT&& value) { SetOutputContexts(std::forward<OutputContextsT>(value)); return *this;}
258 template<typename OutputContextsT = OutputContext>
259 CreateIntentVersionResult& AddOutputContexts(OutputContextsT&& value) { m_outputContextsHasBeenSet = true; m_outputContexts.emplace_back(std::forward<OutputContextsT>(value)); return *this; }
261
263
264 inline const Aws::String& GetRequestId() const { return m_requestId; }
265 template<typename RequestIdT = Aws::String>
266 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
267 template<typename RequestIdT = Aws::String>
268 CreateIntentVersionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
270 private:
271
272 Aws::String m_name;
273 bool m_nameHasBeenSet = false;
274
275 Aws::String m_description;
276 bool m_descriptionHasBeenSet = false;
277
278 Aws::Vector<Slot> m_slots;
279 bool m_slotsHasBeenSet = false;
280
281 Aws::Vector<Aws::String> m_sampleUtterances;
282 bool m_sampleUtterancesHasBeenSet = false;
283
284 Prompt m_confirmationPrompt;
285 bool m_confirmationPromptHasBeenSet = false;
286
287 Statement m_rejectionStatement;
288 bool m_rejectionStatementHasBeenSet = false;
289
290 FollowUpPrompt m_followUpPrompt;
291 bool m_followUpPromptHasBeenSet = false;
292
293 Statement m_conclusionStatement;
294 bool m_conclusionStatementHasBeenSet = false;
295
296 CodeHook m_dialogCodeHook;
297 bool m_dialogCodeHookHasBeenSet = false;
298
299 FulfillmentActivity m_fulfillmentActivity;
300 bool m_fulfillmentActivityHasBeenSet = false;
301
302 Aws::String m_parentIntentSignature;
303 bool m_parentIntentSignatureHasBeenSet = false;
304
305 Aws::Utils::DateTime m_lastUpdatedDate{};
306 bool m_lastUpdatedDateHasBeenSet = false;
307
308 Aws::Utils::DateTime m_createdDate{};
309 bool m_createdDateHasBeenSet = false;
310
311 Aws::String m_version;
312 bool m_versionHasBeenSet = false;
313
314 Aws::String m_checksum;
315 bool m_checksumHasBeenSet = false;
316
317 KendraConfiguration m_kendraConfiguration;
318 bool m_kendraConfigurationHasBeenSet = false;
319
320 Aws::Vector<InputContext> m_inputContexts;
321 bool m_inputContextsHasBeenSet = false;
322
323 Aws::Vector<OutputContext> m_outputContexts;
324 bool m_outputContextsHasBeenSet = false;
325
326 Aws::String m_requestId;
327 bool m_requestIdHasBeenSet = false;
328 };
329
330} // namespace Model
331} // namespace LexModelBuildingService
332} // namespace Aws
CreateIntentVersionResult & WithKendraConfiguration(KendraConfigurationT &&value)
CreateIntentVersionResult & WithRequestId(RequestIdT &&value)
CreateIntentVersionResult & AddSampleUtterances(SampleUtterancesT &&value)
CreateIntentVersionResult & WithConclusionStatement(ConclusionStatementT &&value)
CreateIntentVersionResult & WithDialogCodeHook(DialogCodeHookT &&value)
AWS_LEXMODELBUILDINGSERVICE_API CreateIntentVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateIntentVersionResult & WithSampleUtterances(SampleUtterancesT &&value)
CreateIntentVersionResult & WithInputContexts(InputContextsT &&value)
CreateIntentVersionResult & AddOutputContexts(OutputContextsT &&value)
CreateIntentVersionResult & WithCreatedDate(CreatedDateT &&value)
CreateIntentVersionResult & WithLastUpdatedDate(LastUpdatedDateT &&value)
CreateIntentVersionResult & WithFulfillmentActivity(FulfillmentActivityT &&value)
CreateIntentVersionResult & WithParentIntentSignature(ParentIntentSignatureT &&value)
AWS_LEXMODELBUILDINGSERVICE_API CreateIntentVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateIntentVersionResult & WithConfirmationPrompt(ConfirmationPromptT &&value)
CreateIntentVersionResult & WithOutputContexts(OutputContextsT &&value)
CreateIntentVersionResult & WithFollowUpPrompt(FollowUpPromptT &&value)
CreateIntentVersionResult & WithRejectionStatement(RejectionStatementT &&value)
AWS_LEXMODELBUILDINGSERVICE_API CreateIntentVersionResult()=default
CreateIntentVersionResult & WithDescription(DescriptionT &&value)
CreateIntentVersionResult & AddInputContexts(InputContextsT &&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