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
59 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
73 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
236 inline void SetParentIntentSignature(
const char* value) { m_parentIntentSignatureHasBeenSet =
true; m_parentIntentSignature.assign(value); }
257 inline void SetChecksum(
const char* value) { m_checksumHasBeenSet =
true; m_checksum.assign(value); }
272 inline void SetCreateVersion(
bool value) { m_createVersionHasBeenSet =
true; m_createVersion = value; }
325 bool m_nameHasBeenSet =
false;
328 bool m_descriptionHasBeenSet =
false;
331 bool m_slotsHasBeenSet =
false;
334 bool m_sampleUtterancesHasBeenSet =
false;
336 Prompt m_confirmationPrompt;
337 bool m_confirmationPromptHasBeenSet =
false;
340 bool m_rejectionStatementHasBeenSet =
false;
343 bool m_followUpPromptHasBeenSet =
false;
346 bool m_conclusionStatementHasBeenSet =
false;
349 bool m_dialogCodeHookHasBeenSet =
false;
352 bool m_fulfillmentActivityHasBeenSet =
false;
355 bool m_parentIntentSignatureHasBeenSet =
false;
358 bool m_checksumHasBeenSet =
false;
360 bool m_createVersion;
361 bool m_createVersionHasBeenSet =
false;
364 bool m_kendraConfigurationHasBeenSet =
false;
367 bool m_inputContextsHasBeenSet =
false;
370 bool m_outputContextsHasBeenSet =
false;
void SetCreateVersion(bool value)
const Prompt & GetConfirmationPrompt() const
PutIntentRequest & WithFollowUpPrompt(FollowUpPrompt &&value)
void SetConclusionStatement(const Statement &value)
const KendraConfiguration & GetKendraConfiguration() const
bool KendraConfigurationHasBeenSet() const
PutIntentRequest & WithParentIntentSignature(Aws::String &&value)
bool SlotsHasBeenSet() const
PutIntentRequest & AddInputContexts(InputContext &&value)
PutIntentRequest & WithParentIntentSignature(const char *value)
const Statement & GetConclusionStatement() const
PutIntentRequest & WithConfirmationPrompt(const Prompt &value)
AWS_LEXMODELBUILDINGSERVICE_API PutIntentRequest()
PutIntentRequest & WithConfirmationPrompt(Prompt &&value)
bool NameHasBeenSet() const
const Aws::Vector< Aws::String > & GetSampleUtterances() const
PutIntentRequest & AddSampleUtterances(Aws::String &&value)
bool InputContextsHasBeenSet() const
void SetDialogCodeHook(const CodeHook &value)
const FulfillmentActivity & GetFulfillmentActivity() const
PutIntentRequest & WithRejectionStatement(const Statement &value)
bool SampleUtterancesHasBeenSet() const
PutIntentRequest & WithKendraConfiguration(const KendraConfiguration &value)
PutIntentRequest & WithCreateVersion(bool value)
bool ConfirmationPromptHasBeenSet() const
void SetKendraConfiguration(const KendraConfiguration &value)
void SetSlots(Aws::Vector< Slot > &&value)
const Statement & GetRejectionStatement() const
bool GetCreateVersion() const
PutIntentRequest & WithChecksum(const char *value)
PutIntentRequest & WithRejectionStatement(Statement &&value)
PutIntentRequest & AddInputContexts(const InputContext &value)
PutIntentRequest & WithParentIntentSignature(const Aws::String &value)
PutIntentRequest & AddOutputContexts(const OutputContext &value)
void SetFollowUpPrompt(const FollowUpPrompt &value)
const Aws::Vector< InputContext > & GetInputContexts() const
void SetDescription(const char *value)
PutIntentRequest & AddSampleUtterances(const Aws::String &value)
PutIntentRequest & AddOutputContexts(OutputContext &&value)
PutIntentRequest & WithKendraConfiguration(KendraConfiguration &&value)
AWS_LEXMODELBUILDINGSERVICE_API Aws::String SerializePayload() const override
void SetChecksum(Aws::String &&value)
bool ParentIntentSignatureHasBeenSet() const
void SetParentIntentSignature(Aws::String &&value)
void SetChecksum(const char *value)
void SetParentIntentSignature(const Aws::String &value)
PutIntentRequest & WithFulfillmentActivity(FulfillmentActivity &&value)
bool DescriptionHasBeenSet() const
PutIntentRequest & WithOutputContexts(const Aws::Vector< OutputContext > &value)
bool FollowUpPromptHasBeenSet() const
PutIntentRequest & WithDescription(const char *value)
PutIntentRequest & WithFulfillmentActivity(const FulfillmentActivity &value)
void SetFulfillmentActivity(FulfillmentActivity &&value)
void SetInputContexts(Aws::Vector< InputContext > &&value)
void SetKendraConfiguration(KendraConfiguration &&value)
PutIntentRequest & WithSlots(const Aws::Vector< Slot > &value)
PutIntentRequest & WithChecksum(Aws::String &&value)
void SetConclusionStatement(Statement &&value)
void SetSlots(const Aws::Vector< Slot > &value)
PutIntentRequest & WithSlots(Aws::Vector< Slot > &&value)
void SetInputContexts(const Aws::Vector< InputContext > &value)
PutIntentRequest & WithName(Aws::String &&value)
bool OutputContextsHasBeenSet() const
bool CreateVersionHasBeenSet() const
PutIntentRequest & WithName(const Aws::String &value)
void SetSampleUtterances(const Aws::Vector< Aws::String > &value)
void SetSampleUtterances(Aws::Vector< Aws::String > &&value)
PutIntentRequest & WithDialogCodeHook(const CodeHook &value)
const Aws::String & GetDescription() const
void SetChecksum(const Aws::String &value)
PutIntentRequest & AddSampleUtterances(const char *value)
void SetOutputContexts(const Aws::Vector< OutputContext > &value)
void SetName(const Aws::String &value)
PutIntentRequest & WithConclusionStatement(Statement &&value)
PutIntentRequest & AddSlots(const Slot &value)
PutIntentRequest & WithSampleUtterances(Aws::Vector< Aws::String > &&value)
const CodeHook & GetDialogCodeHook() const
PutIntentRequest & WithOutputContexts(Aws::Vector< OutputContext > &&value)
PutIntentRequest & WithChecksum(const Aws::String &value)
bool FulfillmentActivityHasBeenSet() const
bool ConclusionStatementHasBeenSet() const
void SetDescription(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
PutIntentRequest & WithInputContexts(const Aws::Vector< InputContext > &value)
PutIntentRequest & WithName(const char *value)
void SetRejectionStatement(const Statement &value)
const Aws::String & GetName() const
const FollowUpPrompt & GetFollowUpPrompt() const
void SetRejectionStatement(Statement &&value)
PutIntentRequest & WithFollowUpPrompt(const FollowUpPrompt &value)
const Aws::Vector< Slot > & GetSlots() const
void SetName(const char *value)
void SetDescription(Aws::String &&value)
void SetFollowUpPrompt(FollowUpPrompt &&value)
PutIntentRequest & WithDescription(Aws::String &&value)
void SetParentIntentSignature(const char *value)
bool RejectionStatementHasBeenSet() const
bool ChecksumHasBeenSet() const
void SetConfirmationPrompt(Prompt &&value)
PutIntentRequest & WithDialogCodeHook(CodeHook &&value)
void SetDialogCodeHook(CodeHook &&value)
PutIntentRequest & AddSlots(Slot &&value)
PutIntentRequest & WithInputContexts(Aws::Vector< InputContext > &&value)
PutIntentRequest & WithConclusionStatement(const Statement &value)
const Aws::String & GetParentIntentSignature() const
void SetName(Aws::String &&value)
void SetConfirmationPrompt(const Prompt &value)
bool DialogCodeHookHasBeenSet() const
void SetOutputContexts(Aws::Vector< OutputContext > &&value)
PutIntentRequest & WithDescription(const Aws::String &value)
PutIntentRequest & WithSampleUtterances(const Aws::Vector< Aws::String > &value)
const Aws::String & GetChecksum() const
const Aws::Vector< OutputContext > & GetOutputContexts() const
void SetFulfillmentActivity(const FulfillmentActivity &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector