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>
24template<
typename RESULT_TYPE>
25class AmazonWebServiceResult;
34namespace LexModelBuildingService
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>
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>
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>>
78 template<
typename SlotsT = Slot>
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>>
91 template<
typename SampleUtterancesT = Aws::String>
101 template<
typename ConfirmationPromptT = Prompt>
102 void SetConfirmationPrompt(ConfirmationPromptT&& value) { m_confirmationPromptHasBeenSet =
true; m_confirmationPrompt = std::forward<ConfirmationPromptT>(value); }
103 template<
typename ConfirmationPromptT = Prompt>
114 template<
typename RejectionStatementT = Statement>
115 void SetRejectionStatement(RejectionStatementT&& value) { m_rejectionStatementHasBeenSet =
true; m_rejectionStatement = std::forward<RejectionStatementT>(value); }
116 template<
typename RejectionStatementT = Statement>
126 template<
typename FollowUpPromptT = FollowUpPrompt>
127 void SetFollowUpPrompt(FollowUpPromptT&& value) { m_followUpPromptHasBeenSet =
true; m_followUpPrompt = std::forward<FollowUpPromptT>(value); }
128 template<
typename FollowUpPromptT = FollowUpPrompt>
138 template<
typename ConclusionStatementT = Statement>
139 void SetConclusionStatement(ConclusionStatementT&& value) { m_conclusionStatementHasBeenSet =
true; m_conclusionStatement = std::forward<ConclusionStatementT>(value); }
140 template<
typename ConclusionStatementT = Statement>
149 template<
typename DialogCodeHookT = CodeHook>
150 void SetDialogCodeHook(DialogCodeHookT&& value) { m_dialogCodeHookHasBeenSet =
true; m_dialogCodeHook = std::forward<DialogCodeHookT>(value); }
151 template<
typename DialogCodeHookT = CodeHook>
160 template<
typename FulfillmentActivityT = FulfillmentActivity>
161 void SetFulfillmentActivity(FulfillmentActivityT&& value) { m_fulfillmentActivityHasBeenSet =
true; m_fulfillmentActivity = std::forward<FulfillmentActivityT>(value); }
162 template<
typename FulfillmentActivityT = FulfillmentActivity>
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>
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>
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>
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>
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>
227 template<
typename KendraConfigurationT = KendraConfiguration>
228 void SetKendraConfiguration(KendraConfigurationT&& value) { m_kendraConfigurationHasBeenSet =
true; m_kendraConfiguration = std::forward<KendraConfigurationT>(value); }
229 template<
typename KendraConfigurationT = KendraConfiguration>
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>>
244 template<
typename InputContextsT = InputContext>
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>>
258 template<
typename OutputContextsT = OutputContext>
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>
273 bool m_nameHasBeenSet =
false;
276 bool m_descriptionHasBeenSet =
false;
279 bool m_slotsHasBeenSet =
false;
282 bool m_sampleUtterancesHasBeenSet =
false;
284 Prompt m_confirmationPrompt;
285 bool m_confirmationPromptHasBeenSet =
false;
288 bool m_rejectionStatementHasBeenSet =
false;
291 bool m_followUpPromptHasBeenSet =
false;
294 bool m_conclusionStatementHasBeenSet =
false;
297 bool m_dialogCodeHookHasBeenSet =
false;
300 bool m_fulfillmentActivityHasBeenSet =
false;
303 bool m_parentIntentSignatureHasBeenSet =
false;
306 bool m_lastUpdatedDateHasBeenSet =
false;
309 bool m_createdDateHasBeenSet =
false;
312 bool m_versionHasBeenSet =
false;
315 bool m_checksumHasBeenSet =
false;
317 KendraConfiguration m_kendraConfiguration;
318 bool m_kendraConfigurationHasBeenSet =
false;
321 bool m_inputContextsHasBeenSet =
false;
324 bool m_outputContextsHasBeenSet =
false;
327 bool m_requestIdHasBeenSet =
false;
const FulfillmentActivity & GetFulfillmentActivity() const
CreateIntentVersionResult & WithKendraConfiguration(KendraConfigurationT &&value)
const Aws::Vector< InputContext > & GetInputContexts() const
CreateIntentVersionResult & WithRequestId(RequestIdT &&value)
void SetConfirmationPrompt(ConfirmationPromptT &&value)
CreateIntentVersionResult & AddSampleUtterances(SampleUtterancesT &&value)
const Aws::String & GetChecksum() const
void SetOutputContexts(OutputContextsT &&value)
CreateIntentVersionResult & WithSlots(SlotsT &&value)
const KendraConfiguration & GetKendraConfiguration() const
CreateIntentVersionResult & WithConclusionStatement(ConclusionStatementT &&value)
void SetDialogCodeHook(DialogCodeHookT &&value)
const Aws::String & GetVersion() const
const Aws::Utils::DateTime & GetLastUpdatedDate() const
const Aws::Utils::DateTime & GetCreatedDate() const
void SetConclusionStatement(ConclusionStatementT &&value)
CreateIntentVersionResult & WithDialogCodeHook(DialogCodeHookT &&value)
void SetLastUpdatedDate(LastUpdatedDateT &&value)
AWS_LEXMODELBUILDINGSERVICE_API CreateIntentVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreatedDate(CreatedDateT &&value)
void SetVersion(VersionT &&value)
void SetFollowUpPrompt(FollowUpPromptT &&value)
const Aws::String & GetParentIntentSignature() const
void SetDescription(DescriptionT &&value)
const Statement & GetRejectionStatement() const
void SetFulfillmentActivity(FulfillmentActivityT &&value)
CreateIntentVersionResult & AddSlots(SlotsT &&value)
CreateIntentVersionResult & WithSampleUtterances(SampleUtterancesT &&value)
const Statement & GetConclusionStatement() const
const Aws::Vector< Slot > & GetSlots() const
CreateIntentVersionResult & WithInputContexts(InputContextsT &&value)
const Aws::String & GetName() const
CreateIntentVersionResult & AddOutputContexts(OutputContextsT &&value)
void SetSlots(SlotsT &&value)
void SetInputContexts(InputContextsT &&value)
CreateIntentVersionResult & WithCreatedDate(CreatedDateT &&value)
void SetSampleUtterances(SampleUtterancesT &&value)
CreateIntentVersionResult & WithChecksum(ChecksumT &&value)
CreateIntentVersionResult & WithLastUpdatedDate(LastUpdatedDateT &&value)
const Aws::String & GetDescription() const
CreateIntentVersionResult & WithFulfillmentActivity(FulfillmentActivityT &&value)
const CodeHook & GetDialogCodeHook() const
void SetRejectionStatement(RejectionStatementT &&value)
CreateIntentVersionResult & WithVersion(VersionT &&value)
const FollowUpPrompt & GetFollowUpPrompt() const
void SetChecksum(ChecksumT &&value)
CreateIntentVersionResult & WithParentIntentSignature(ParentIntentSignatureT &&value)
AWS_LEXMODELBUILDINGSERVICE_API CreateIntentVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateIntentVersionResult & WithConfirmationPrompt(ConfirmationPromptT &&value)
const Aws::Vector< OutputContext > & GetOutputContexts() const
const Prompt & GetConfirmationPrompt() const
void SetRequestId(RequestIdT &&value)
CreateIntentVersionResult & WithOutputContexts(OutputContextsT &&value)
const Aws::Vector< Aws::String > & GetSampleUtterances() const
void SetKendraConfiguration(KendraConfigurationT &&value)
CreateIntentVersionResult & WithFollowUpPrompt(FollowUpPromptT &&value)
CreateIntentVersionResult & WithRejectionStatement(RejectionStatementT &&value)
void SetParentIntentSignature(ParentIntentSignatureT &&value)
void SetName(NameT &&value)
AWS_LEXMODELBUILDINGSERVICE_API CreateIntentVersionResult()=default
const Aws::String & GetRequestId() const
CreateIntentVersionResult & WithName(NameT &&value)
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