7#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
8#include <aws/lex-models/LexModelBuildingServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/lex-models/model/Prompt.h>
12#include <aws/lex-models/model/Statement.h>
13#include <aws/lex-models/model/FollowUpPrompt.h>
14#include <aws/lex-models/model/CodeHook.h>
15#include <aws/lex-models/model/FulfillmentActivity.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>
24namespace LexModelBuildingService
57 template<
typename NameT = Aws::String>
58 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
59 template<
typename NameT = Aws::String>
69 template<
typename DescriptionT = Aws::String>
70 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
71 template<
typename DescriptionT = Aws::String>
83 template<
typename SlotsT = Aws::Vector<Slot>>
84 void SetSlots(SlotsT&& value) { m_slotsHasBeenSet =
true; m_slots = std::forward<SlotsT>(value); }
85 template<
typename SlotsT = Aws::Vector<Slot>>
87 template<
typename SlotsT = Slot>
88 PutIntentRequest&
AddSlots(SlotsT&& value) { m_slotsHasBeenSet =
true; m_slots.emplace_back(std::forward<SlotsT>(value));
return *
this; }
99 template<
typename SampleUtterancesT = Aws::Vector<Aws::String>>
100 void SetSampleUtterances(SampleUtterancesT&& value) { m_sampleUtterancesHasBeenSet =
true; m_sampleUtterances = std::forward<SampleUtterancesT>(value); }
101 template<
typename SampleUtterancesT = Aws::Vector<Aws::String>>
103 template<
typename SampleUtterancesT = Aws::String>
104 PutIntentRequest&
AddSampleUtterances(SampleUtterancesT&& value) { m_sampleUtterancesHasBeenSet =
true; m_sampleUtterances.emplace_back(std::forward<SampleUtterancesT>(value));
return *
this; }
121 template<
typename ConfirmationPromptT = Prompt>
122 void SetConfirmationPrompt(ConfirmationPromptT&& value) { m_confirmationPromptHasBeenSet =
true; m_confirmationPrompt = std::forward<ConfirmationPromptT>(value); }
123 template<
typename ConfirmationPromptT = Prompt>
137 template<
typename RejectionStatementT = Statement>
138 void SetRejectionStatement(RejectionStatementT&& value) { m_rejectionStatementHasBeenSet =
true; m_rejectionStatement = std::forward<RejectionStatementT>(value); }
139 template<
typename RejectionStatementT = Statement>
160 template<
typename FollowUpPromptT = FollowUpPrompt>
161 void SetFollowUpPrompt(FollowUpPromptT&& value) { m_followUpPromptHasBeenSet =
true; m_followUpPrompt = std::forward<FollowUpPromptT>(value); }
162 template<
typename FollowUpPromptT = FollowUpPrompt>
178 template<
typename ConclusionStatementT = Statement>
179 void SetConclusionStatement(ConclusionStatementT&& value) { m_conclusionStatementHasBeenSet =
true; m_conclusionStatement = std::forward<ConclusionStatementT>(value); }
180 template<
typename ConclusionStatementT = Statement>
196 template<
typename DialogCodeHookT = CodeHook>
197 void SetDialogCodeHook(DialogCodeHookT&& value) { m_dialogCodeHookHasBeenSet =
true; m_dialogCodeHook = std::forward<DialogCodeHookT>(value); }
198 template<
typename DialogCodeHookT = CodeHook>
214 template<
typename FulfillmentActivityT = FulfillmentActivity>
215 void SetFulfillmentActivity(FulfillmentActivityT&& value) { m_fulfillmentActivityHasBeenSet =
true; m_fulfillmentActivity = std::forward<FulfillmentActivityT>(value); }
216 template<
typename FulfillmentActivityT = FulfillmentActivity>
229 template<
typename ParentIntentSignatureT = Aws::String>
230 void SetParentIntentSignature(ParentIntentSignatureT&& value) { m_parentIntentSignatureHasBeenSet =
true; m_parentIntentSignature = std::forward<ParentIntentSignatureT>(value); }
231 template<
typename ParentIntentSignatureT = Aws::String>
248 template<
typename ChecksumT = Aws::String>
249 void SetChecksum(ChecksumT&& value) { m_checksumHasBeenSet =
true; m_checksum = std::forward<ChecksumT>(value); }
250 template<
typename ChecksumT = Aws::String>
263 inline void SetCreateVersion(
bool value) { m_createVersionHasBeenSet =
true; m_createVersion = value; }
277 template<
typename KendraConfigurationT = KendraConfiguration>
278 void SetKendraConfiguration(KendraConfigurationT&& value) { m_kendraConfigurationHasBeenSet =
true; m_kendraConfiguration = std::forward<KendraConfigurationT>(value); }
279 template<
typename KendraConfigurationT = KendraConfiguration>
291 template<
typename InputContextsT = Aws::Vector<InputContext>>
292 void SetInputContexts(InputContextsT&& value) { m_inputContextsHasBeenSet =
true; m_inputContexts = std::forward<InputContextsT>(value); }
293 template<
typename InputContextsT = Aws::Vector<InputContext>>
295 template<
typename InputContextsT = InputContext>
296 PutIntentRequest&
AddInputContexts(InputContextsT&& value) { m_inputContextsHasBeenSet =
true; m_inputContexts.emplace_back(std::forward<InputContextsT>(value));
return *
this; }
306 template<
typename OutputContextsT = Aws::Vector<OutputContext>>
307 void SetOutputContexts(OutputContextsT&& value) { m_outputContextsHasBeenSet =
true; m_outputContexts = std::forward<OutputContextsT>(value); }
308 template<
typename OutputContextsT = Aws::Vector<OutputContext>>
310 template<
typename OutputContextsT = OutputContext>
311 PutIntentRequest&
AddOutputContexts(OutputContextsT&& value) { m_outputContextsHasBeenSet =
true; m_outputContexts.emplace_back(std::forward<OutputContextsT>(value));
return *
this; }
316 bool m_nameHasBeenSet =
false;
319 bool m_descriptionHasBeenSet =
false;
322 bool m_slotsHasBeenSet =
false;
325 bool m_sampleUtterancesHasBeenSet =
false;
327 Prompt m_confirmationPrompt;
328 bool m_confirmationPromptHasBeenSet =
false;
331 bool m_rejectionStatementHasBeenSet =
false;
334 bool m_followUpPromptHasBeenSet =
false;
337 bool m_conclusionStatementHasBeenSet =
false;
340 bool m_dialogCodeHookHasBeenSet =
false;
343 bool m_fulfillmentActivityHasBeenSet =
false;
346 bool m_parentIntentSignatureHasBeenSet =
false;
349 bool m_checksumHasBeenSet =
false;
351 bool m_createVersion{
false};
352 bool m_createVersionHasBeenSet =
false;
354 KendraConfiguration m_kendraConfiguration;
355 bool m_kendraConfigurationHasBeenSet =
false;
358 bool m_inputContextsHasBeenSet =
false;
361 bool m_outputContextsHasBeenSet =
false;
void SetCreateVersion(bool value)
const Prompt & GetConfirmationPrompt() const
PutIntentRequest & WithInputContexts(InputContextsT &&value)
void SetFulfillmentActivity(FulfillmentActivityT &&value)
PutIntentRequest & WithRejectionStatement(RejectionStatementT &&value)
const KendraConfiguration & GetKendraConfiguration() const
PutIntentRequest & WithConclusionStatement(ConclusionStatementT &&value)
bool KendraConfigurationHasBeenSet() const
void SetKendraConfiguration(KendraConfigurationT &&value)
bool SlotsHasBeenSet() const
AWS_LEXMODELBUILDINGSERVICE_API PutIntentRequest()=default
void SetSampleUtterances(SampleUtterancesT &&value)
const Statement & GetConclusionStatement() const
void SetName(NameT &&value)
bool NameHasBeenSet() const
const Aws::Vector< Aws::String > & GetSampleUtterances() const
void SetDialogCodeHook(DialogCodeHookT &&value)
bool InputContextsHasBeenSet() const
const FulfillmentActivity & GetFulfillmentActivity() const
bool SampleUtterancesHasBeenSet() const
PutIntentRequest & WithCreateVersion(bool value)
bool ConfirmationPromptHasBeenSet() const
const Statement & GetRejectionStatement() const
bool GetCreateVersion() const
const Aws::Vector< InputContext > & GetInputContexts() const
PutIntentRequest & WithName(NameT &&value)
AWS_LEXMODELBUILDINGSERVICE_API Aws::String SerializePayload() const override
bool ParentIntentSignatureHasBeenSet() const
PutIntentRequest & WithConfirmationPrompt(ConfirmationPromptT &&value)
void SetInputContexts(InputContextsT &&value)
bool DescriptionHasBeenSet() const
bool FollowUpPromptHasBeenSet() const
void SetChecksum(ChecksumT &&value)
PutIntentRequest & WithSlots(SlotsT &&value)
PutIntentRequest & WithFollowUpPrompt(FollowUpPromptT &&value)
bool OutputContextsHasBeenSet() const
bool CreateVersionHasBeenSet() const
PutIntentRequest & AddSlots(SlotsT &&value)
void SetFollowUpPrompt(FollowUpPromptT &&value)
const Aws::String & GetDescription() const
void SetConclusionStatement(ConclusionStatementT &&value)
const CodeHook & GetDialogCodeHook() const
bool FulfillmentActivityHasBeenSet() const
bool ConclusionStatementHasBeenSet() const
PutIntentRequest & AddOutputContexts(OutputContextsT &&value)
void SetOutputContexts(OutputContextsT &&value)
void SetRejectionStatement(RejectionStatementT &&value)
PutIntentRequest & WithFulfillmentActivity(FulfillmentActivityT &&value)
virtual const char * GetServiceRequestName() const override
PutIntentRequest & WithDialogCodeHook(DialogCodeHookT &&value)
void SetParentIntentSignature(ParentIntentSignatureT &&value)
void SetConfirmationPrompt(ConfirmationPromptT &&value)
const Aws::String & GetName() const
PutIntentRequest & AddInputContexts(InputContextsT &&value)
void SetDescription(DescriptionT &&value)
const FollowUpPrompt & GetFollowUpPrompt() const
PutIntentRequest & WithChecksum(ChecksumT &&value)
void SetSlots(SlotsT &&value)
const Aws::Vector< Slot > & GetSlots() const
PutIntentRequest & WithKendraConfiguration(KendraConfigurationT &&value)
bool RejectionStatementHasBeenSet() const
PutIntentRequest & WithOutputContexts(OutputContextsT &&value)
bool ChecksumHasBeenSet() const
PutIntentRequest & WithDescription(DescriptionT &&value)
const Aws::String & GetParentIntentSignature() const
PutIntentRequest & WithSampleUtterances(SampleUtterancesT &&value)
bool DialogCodeHookHasBeenSet() const
PutIntentRequest & WithParentIntentSignature(ParentIntentSignatureT &&value)
const Aws::String & GetChecksum() const
const Aws::Vector< OutputContext > & GetOutputContexts() const
PutIntentRequest & AddSampleUtterances(SampleUtterancesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector