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/ProcessBehavior.h>
14#include <aws/lex-models/model/Locale.h>
15#include <aws/lex-models/model/Intent.h>
16#include <aws/lex-models/model/Tag.h>
21namespace LexModelBuildingService
48 template<
typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
50 template<
typename NameT = Aws::String>
60 template<
typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
62 template<
typename DescriptionT = Aws::String>
74 template<
typename IntentsT = Aws::Vector<Intent>>
75 void SetIntents(IntentsT&& value) { m_intentsHasBeenSet =
true; m_intents = std::forward<IntentsT>(value); }
76 template<
typename IntentsT = Aws::Vector<Intent>>
78 template<
typename IntentsT = Intent>
79 PutBotRequest&
AddIntents(IntentsT&& value) { m_intentsHasBeenSet =
true; m_intents.emplace_back(std::forward<IntentsT>(value));
return *
this; }
168 template<
typename ClarificationPromptT = Prompt>
169 void SetClarificationPrompt(ClarificationPromptT&& value) { m_clarificationPromptHasBeenSet =
true; m_clarificationPrompt = std::forward<ClarificationPromptT>(value); }
170 template<
typename ClarificationPromptT = Prompt>
196 template<
typename AbortStatementT = Statement>
197 void SetAbortStatement(AbortStatementT&& value) { m_abortStatementHasBeenSet =
true; m_abortStatement = std::forward<AbortStatementT>(value); }
198 template<
typename AbortStatementT = Statement>
232 template<
typename VoiceIdT = Aws::String>
233 void SetVoiceId(VoiceIdT&& value) { m_voiceIdHasBeenSet =
true; m_voiceId = std::forward<VoiceIdT>(value); }
234 template<
typename VoiceIdT = Aws::String>
251 template<
typename ChecksumT = Aws::String>
252 void SetChecksum(ChecksumT&& value) { m_checksumHasBeenSet =
true; m_checksum = std::forward<ChecksumT>(value); }
253 template<
typename ChecksumT = Aws::String>
310 inline void SetChildDirected(
bool value) { m_childDirectedHasBeenSet =
true; m_childDirected = value; }
322 inline void SetDetectSentiment(
bool value) { m_detectSentimentHasBeenSet =
true; m_detectSentiment = value; }
334 inline void SetCreateVersion(
bool value) { m_createVersionHasBeenSet =
true; m_createVersion = value; }
346 template<
typename TagsT = Aws::Vector<Tag>>
347 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
348 template<
typename TagsT = Aws::Vector<Tag>>
350 template<
typename TagsT = Tag>
351 PutBotRequest&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
356 bool m_nameHasBeenSet =
false;
359 bool m_descriptionHasBeenSet =
false;
362 bool m_intentsHasBeenSet =
false;
364 bool m_enableModelImprovements{
false};
365 bool m_enableModelImprovementsHasBeenSet =
false;
367 double m_nluIntentConfidenceThreshold{0.0};
368 bool m_nluIntentConfidenceThresholdHasBeenSet =
false;
370 Prompt m_clarificationPrompt;
371 bool m_clarificationPromptHasBeenSet =
false;
373 Statement m_abortStatement;
374 bool m_abortStatementHasBeenSet =
false;
376 int m_idleSessionTTLInSeconds{0};
377 bool m_idleSessionTTLInSecondsHasBeenSet =
false;
380 bool m_voiceIdHasBeenSet =
false;
383 bool m_checksumHasBeenSet =
false;
386 bool m_processBehaviorHasBeenSet =
false;
389 bool m_localeHasBeenSet =
false;
391 bool m_childDirected{
false};
392 bool m_childDirectedHasBeenSet =
false;
394 bool m_detectSentiment{
false};
395 bool m_detectSentimentHasBeenSet =
false;
397 bool m_createVersion{
false};
398 bool m_createVersionHasBeenSet =
false;
401 bool m_tagsHasBeenSet =
false;
PutBotRequest & WithNluIntentConfidenceThreshold(double value)
virtual const char * GetServiceRequestName() const override
void SetAbortStatement(AbortStatementT &&value)
bool VoiceIdHasBeenSet() const
void SetIdleSessionTTLInSeconds(int value)
void SetClarificationPrompt(ClarificationPromptT &&value)
bool CreateVersionHasBeenSet() const
const Aws::String & GetDescription() const
bool IntentsHasBeenSet() const
bool DetectSentimentHasBeenSet() const
void SetChildDirected(bool value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetChecksum() const
bool DescriptionHasBeenSet() const
PutBotRequest & WithChildDirected(bool value)
const Aws::Vector< Tag > & GetTags() const
PutBotRequest & WithProcessBehavior(ProcessBehavior value)
bool GetEnableModelImprovements() const
bool ChildDirectedHasBeenSet() const
void SetName(NameT &&value)
PutBotRequest & WithIntents(IntentsT &&value)
bool ChecksumHasBeenSet() const
void SetLocale(Locale value)
PutBotRequest & WithName(NameT &&value)
void SetNluIntentConfidenceThreshold(double value)
const Aws::String & GetVoiceId() const
PutBotRequest & WithEnableModelImprovements(bool value)
const Statement & GetAbortStatement() const
PutBotRequest & WithChecksum(ChecksumT &&value)
bool NluIntentConfidenceThresholdHasBeenSet() const
void SetDetectSentiment(bool value)
PutBotRequest & WithDetectSentiment(bool value)
bool GetChildDirected() const
bool ClarificationPromptHasBeenSet() const
void SetCreateVersion(bool value)
bool TagsHasBeenSet() const
PutBotRequest & WithAbortStatement(AbortStatementT &&value)
void SetVoiceId(VoiceIdT &&value)
int GetIdleSessionTTLInSeconds() const
const Aws::String & GetName() const
double GetNluIntentConfidenceThreshold() const
bool GetDetectSentiment() const
PutBotRequest & WithLocale(Locale value)
PutBotRequest & WithCreateVersion(bool value)
ProcessBehavior GetProcessBehavior() const
PutBotRequest & WithClarificationPrompt(ClarificationPromptT &&value)
PutBotRequest & WithVoiceId(VoiceIdT &&value)
void SetIntents(IntentsT &&value)
void SetChecksum(ChecksumT &&value)
void SetTags(TagsT &&value)
bool EnableModelImprovementsHasBeenSet() const
PutBotRequest & WithDescription(DescriptionT &&value)
PutBotRequest & AddTags(TagsT &&value)
void SetEnableModelImprovements(bool value)
bool NameHasBeenSet() const
bool ProcessBehaviorHasBeenSet() const
void SetProcessBehavior(ProcessBehavior value)
bool IdleSessionTTLInSecondsHasBeenSet() const
AWS_LEXMODELBUILDINGSERVICE_API PutBotRequest()=default
AWS_LEXMODELBUILDINGSERVICE_API Aws::String SerializePayload() const override
const Prompt & GetClarificationPrompt() const
bool AbortStatementHasBeenSet() const
PutBotRequest & WithIdleSessionTTLInSeconds(int value)
bool GetCreateVersion() const
bool LocaleHasBeenSet() const
PutBotRequest & WithTags(TagsT &&value)
const Aws::Vector< Intent > & GetIntents() const
PutBotRequest & AddIntents(IntentsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector