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>
73 template<
typename SlotsT = Aws::Vector<Slot>>
74 void SetSlots(SlotsT&& value) { m_slotsHasBeenSet =
true; m_slots = std::forward<SlotsT>(value); }
75 template<
typename SlotsT = Aws::Vector<Slot>>
77 template<
typename SlotsT = Slot>
78 PutIntentResult&
AddSlots(SlotsT&& value) { m_slotsHasBeenSet =
true; m_slots.emplace_back(std::forward<SlotsT>(value));
return *
this; }
86 template<
typename SampleUtterancesT = Aws::Vector<Aws::String>>
87 void SetSampleUtterances(SampleUtterancesT&& value) { m_sampleUtterancesHasBeenSet =
true; m_sampleUtterances = std::forward<SampleUtterancesT>(value); }
88 template<
typename SampleUtterancesT = Aws::Vector<Aws::String>>
90 template<
typename SampleUtterancesT = Aws::String>
91 PutIntentResult&
AddSampleUtterances(SampleUtterancesT&& value) { m_sampleUtterancesHasBeenSet =
true; m_sampleUtterances.emplace_back(std::forward<SampleUtterancesT>(value));
return *
this; }
100 template<
typename ConfirmationPromptT = Prompt>
101 void SetConfirmationPrompt(ConfirmationPromptT&& value) { m_confirmationPromptHasBeenSet =
true; m_confirmationPrompt = std::forward<ConfirmationPromptT>(value); }
102 template<
typename ConfirmationPromptT = Prompt>
113 template<
typename RejectionStatementT = Statement>
114 void SetRejectionStatement(RejectionStatementT&& value) { m_rejectionStatementHasBeenSet =
true; m_rejectionStatement = std::forward<RejectionStatementT>(value); }
115 template<
typename RejectionStatementT = Statement>
125 template<
typename FollowUpPromptT = FollowUpPrompt>
126 void SetFollowUpPrompt(FollowUpPromptT&& value) { m_followUpPromptHasBeenSet =
true; m_followUpPrompt = std::forward<FollowUpPromptT>(value); }
127 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>
150 template<
typename DialogCodeHookT = CodeHook>
151 void SetDialogCodeHook(DialogCodeHookT&& value) { m_dialogCodeHookHasBeenSet =
true; m_dialogCodeHook = std::forward<DialogCodeHookT>(value); }
152 template<
typename DialogCodeHookT = CodeHook>
163 template<
typename FulfillmentActivityT = FulfillmentActivity>
164 void SetFulfillmentActivity(FulfillmentActivityT&& value) { m_fulfillmentActivityHasBeenSet =
true; m_fulfillmentActivity = std::forward<FulfillmentActivityT>(value); }
165 template<
typename FulfillmentActivityT = FulfillmentActivity>
174 template<
typename ParentIntentSignatureT = Aws::String>
175 void SetParentIntentSignature(ParentIntentSignatureT&& value) { m_parentIntentSignatureHasBeenSet =
true; m_parentIntentSignature = std::forward<ParentIntentSignatureT>(value); }
176 template<
typename ParentIntentSignatureT = Aws::String>
186 template<
typename LastUpdatedDateT = Aws::Utils::DateTime>
187 void SetLastUpdatedDate(LastUpdatedDateT&& value) { m_lastUpdatedDateHasBeenSet =
true; m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value); }
188 template<
typename LastUpdatedDateT = Aws::Utils::DateTime>
197 template<
typename CreatedDateT = Aws::Utils::DateTime>
198 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet =
true; m_createdDate = std::forward<CreatedDateT>(value); }
199 template<
typename CreatedDateT = Aws::Utils::DateTime>
209 template<
typename VersionT = Aws::String>
210 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
211 template<
typename VersionT = Aws::String>
221 template<
typename ChecksumT = Aws::String>
222 void SetChecksum(ChecksumT&& value) { m_checksumHasBeenSet =
true; m_checksum = std::forward<ChecksumT>(value); }
223 template<
typename ChecksumT = Aws::String>
234 inline void SetCreateVersion(
bool value) { m_createVersionHasBeenSet =
true; m_createVersion = value; }
244 template<
typename KendraConfigurationT = KendraConfiguration>
245 void SetKendraConfiguration(KendraConfigurationT&& value) { m_kendraConfigurationHasBeenSet =
true; m_kendraConfiguration = std::forward<KendraConfigurationT>(value); }
246 template<
typename KendraConfigurationT = KendraConfiguration>
257 template<
typename InputContextsT = Aws::Vector<InputContext>>
258 void SetInputContexts(InputContextsT&& value) { m_inputContextsHasBeenSet =
true; m_inputContexts = std::forward<InputContextsT>(value); }
259 template<
typename InputContextsT = Aws::Vector<InputContext>>
261 template<
typename InputContextsT = InputContext>
262 PutIntentResult&
AddInputContexts(InputContextsT&& value) { m_inputContextsHasBeenSet =
true; m_inputContexts.emplace_back(std::forward<InputContextsT>(value));
return *
this; }
271 template<
typename OutputContextsT = Aws::Vector<OutputContext>>
272 void SetOutputContexts(OutputContextsT&& value) { m_outputContextsHasBeenSet =
true; m_outputContexts = std::forward<OutputContextsT>(value); }
273 template<
typename OutputContextsT = Aws::Vector<OutputContext>>
275 template<
typename OutputContextsT = OutputContext>
276 PutIntentResult&
AddOutputContexts(OutputContextsT&& value) { m_outputContextsHasBeenSet =
true; m_outputContexts.emplace_back(std::forward<OutputContextsT>(value));
return *
this; }
282 template<
typename RequestIdT = Aws::String>
283 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
284 template<
typename RequestIdT = Aws::String>
290 bool m_nameHasBeenSet =
false;
293 bool m_descriptionHasBeenSet =
false;
296 bool m_slotsHasBeenSet =
false;
299 bool m_sampleUtterancesHasBeenSet =
false;
301 Prompt m_confirmationPrompt;
302 bool m_confirmationPromptHasBeenSet =
false;
305 bool m_rejectionStatementHasBeenSet =
false;
308 bool m_followUpPromptHasBeenSet =
false;
311 bool m_conclusionStatementHasBeenSet =
false;
314 bool m_dialogCodeHookHasBeenSet =
false;
317 bool m_fulfillmentActivityHasBeenSet =
false;
320 bool m_parentIntentSignatureHasBeenSet =
false;
323 bool m_lastUpdatedDateHasBeenSet =
false;
326 bool m_createdDateHasBeenSet =
false;
329 bool m_versionHasBeenSet =
false;
332 bool m_checksumHasBeenSet =
false;
334 bool m_createVersion{
false};
335 bool m_createVersionHasBeenSet =
false;
337 KendraConfiguration m_kendraConfiguration;
338 bool m_kendraConfigurationHasBeenSet =
false;
341 bool m_inputContextsHasBeenSet =
false;
344 bool m_outputContextsHasBeenSet =
false;
347 bool m_requestIdHasBeenSet =
false;
PutIntentResult & WithSampleUtterances(SampleUtterancesT &&value)
void SetFulfillmentActivity(FulfillmentActivityT &&value)
PutIntentResult & WithConclusionStatement(ConclusionStatementT &&value)
bool GetCreateVersion() const
void SetRejectionStatement(RejectionStatementT &&value)
PutIntentResult & WithFollowUpPrompt(FollowUpPromptT &&value)
void SetLastUpdatedDate(LastUpdatedDateT &&value)
const Aws::Vector< OutputContext > & GetOutputContexts() const
void SetOutputContexts(OutputContextsT &&value)
PutIntentResult & WithChecksum(ChecksumT &&value)
PutIntentResult & WithOutputContexts(OutputContextsT &&value)
const Statement & GetConclusionStatement() const
void SetVersion(VersionT &&value)
void SetCreateVersion(bool value)
PutIntentResult & WithFulfillmentActivity(FulfillmentActivityT &&value)
void SetKendraConfiguration(KendraConfigurationT &&value)
PutIntentResult & WithRequestId(RequestIdT &&value)
void SetSlots(SlotsT &&value)
PutIntentResult & AddSlots(SlotsT &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
void SetDialogCodeHook(DialogCodeHookT &&value)
void SetName(NameT &&value)
const CodeHook & GetDialogCodeHook() const
const Aws::String & GetDescription() const
void SetSampleUtterances(SampleUtterancesT &&value)
void SetFollowUpPrompt(FollowUpPromptT &&value)
const Aws::String & GetParentIntentSignature() const
const FulfillmentActivity & GetFulfillmentActivity() const
void SetConfirmationPrompt(ConfirmationPromptT &&value)
PutIntentResult & AddOutputContexts(OutputContextsT &&value)
void SetDescription(DescriptionT &&value)
PutIntentResult & WithConfirmationPrompt(ConfirmationPromptT &&value)
const Aws::Vector< InputContext > & GetInputContexts() const
AWS_LEXMODELBUILDINGSERVICE_API PutIntentResult()=default
PutIntentResult & WithName(NameT &&value)
PutIntentResult & WithInputContexts(InputContextsT &&value)
void SetRequestId(RequestIdT &&value)
const FollowUpPrompt & GetFollowUpPrompt() const
PutIntentResult & WithDialogCodeHook(DialogCodeHookT &&value)
AWS_LEXMODELBUILDINGSERVICE_API PutIntentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Prompt & GetConfirmationPrompt() const
PutIntentResult & WithCreatedDate(CreatedDateT &&value)
PutIntentResult & WithRejectionStatement(RejectionStatementT &&value)
const Aws::Vector< Aws::String > & GetSampleUtterances() const
PutIntentResult & WithKendraConfiguration(KendraConfigurationT &&value)
const KendraConfiguration & GetKendraConfiguration() const
const Aws::Utils::DateTime & GetLastUpdatedDate() const
PutIntentResult & WithSlots(SlotsT &&value)
void SetChecksum(ChecksumT &&value)
const Aws::String & GetName() const
PutIntentResult & AddInputContexts(InputContextsT &&value)
void SetInputContexts(InputContextsT &&value)
const Aws::Vector< Slot > & GetSlots() const
PutIntentResult & WithCreateVersion(bool value)
void SetCreatedDate(CreatedDateT &&value)
PutIntentResult & WithLastUpdatedDate(LastUpdatedDateT &&value)
const Aws::String & GetVersion() const
void SetConclusionStatement(ConclusionStatementT &&value)
void SetParentIntentSignature(ParentIntentSignatureT &&value)
const Aws::String & GetChecksum() const
PutIntentResult & WithParentIntentSignature(ParentIntentSignatureT &&value)
PutIntentResult & WithVersion(VersionT &&value)
AWS_LEXMODELBUILDINGSERVICE_API PutIntentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
const Statement & GetRejectionStatement() const
PutIntentResult & AddSampleUtterances(SampleUtterancesT &&value)
PutIntentResult & WithDescription(DescriptionT &&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