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/Status.h>
13#include <aws/core/utils/DateTime.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>
21template<
typename RESULT_TYPE>
22class AmazonWebServiceResult;
31namespace 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>
59 template<
typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
61 template<
typename DescriptionT = Aws::String>
71 template<
typename IntentsT = Aws::Vector<Intent>>
72 void SetIntents(IntentsT&& value) { m_intentsHasBeenSet =
true; m_intents = std::forward<IntentsT>(value); }
73 template<
typename IntentsT = Aws::Vector<Intent>>
75 template<
typename IntentsT = Intent>
76 PutBotResult&
AddIntents(IntentsT&& value) { m_intentsHasBeenSet =
true; m_intents.emplace_back(std::forward<IntentsT>(value));
return *
this; }
113 template<
typename ClarificationPromptT = Prompt>
114 void SetClarificationPrompt(ClarificationPromptT&& value) { m_clarificationPromptHasBeenSet =
true; m_clarificationPrompt = std::forward<ClarificationPromptT>(value); }
115 template<
typename ClarificationPromptT = Prompt>
125 template<
typename AbortStatementT = Statement>
126 void SetAbortStatement(AbortStatementT&& value) { m_abortStatementHasBeenSet =
true; m_abortStatement = std::forward<AbortStatementT>(value); }
127 template<
typename AbortStatementT = Statement>
156 template<
typename FailureReasonT = Aws::String>
157 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
158 template<
typename FailureReasonT = Aws::String>
168 template<
typename LastUpdatedDateT = Aws::Utils::DateTime>
169 void SetLastUpdatedDate(LastUpdatedDateT&& value) { m_lastUpdatedDateHasBeenSet =
true; m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value); }
170 template<
typename LastUpdatedDateT = Aws::Utils::DateTime>
179 template<
typename CreatedDateT = Aws::Utils::DateTime>
180 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet =
true; m_createdDate = std::forward<CreatedDateT>(value); }
181 template<
typename CreatedDateT = Aws::Utils::DateTime>
201 template<
typename VoiceIdT = Aws::String>
202 void SetVoiceId(VoiceIdT&& value) { m_voiceIdHasBeenSet =
true; m_voiceId = std::forward<VoiceIdT>(value); }
203 template<
typename VoiceIdT = Aws::String>
212 template<
typename ChecksumT = Aws::String>
213 void SetChecksum(ChecksumT&& value) { m_checksumHasBeenSet =
true; m_checksum = std::forward<ChecksumT>(value); }
214 template<
typename ChecksumT = Aws::String>
224 template<
typename VersionT = Aws::String>
225 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
226 template<
typename VersionT = Aws::String>
266 inline void SetChildDirected(
bool value) { m_childDirectedHasBeenSet =
true; m_childDirected = value; }
277 inline void SetCreateVersion(
bool value) { m_createVersionHasBeenSet =
true; m_createVersion = value; }
289 inline void SetDetectSentiment(
bool value) { m_detectSentimentHasBeenSet =
true; m_detectSentiment = value; }
298 template<
typename TagsT = Aws::Vector<Tag>>
299 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
300 template<
typename TagsT = Aws::Vector<Tag>>
302 template<
typename TagsT = Tag>
303 PutBotResult&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
309 template<
typename RequestIdT = Aws::String>
310 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
311 template<
typename RequestIdT = Aws::String>
317 bool m_nameHasBeenSet =
false;
320 bool m_descriptionHasBeenSet =
false;
323 bool m_intentsHasBeenSet =
false;
325 bool m_enableModelImprovements{
false};
326 bool m_enableModelImprovementsHasBeenSet =
false;
328 double m_nluIntentConfidenceThreshold{0.0};
329 bool m_nluIntentConfidenceThresholdHasBeenSet =
false;
331 Prompt m_clarificationPrompt;
332 bool m_clarificationPromptHasBeenSet =
false;
334 Statement m_abortStatement;
335 bool m_abortStatementHasBeenSet =
false;
338 bool m_statusHasBeenSet =
false;
341 bool m_failureReasonHasBeenSet =
false;
344 bool m_lastUpdatedDateHasBeenSet =
false;
347 bool m_createdDateHasBeenSet =
false;
349 int m_idleSessionTTLInSeconds{0};
350 bool m_idleSessionTTLInSecondsHasBeenSet =
false;
353 bool m_voiceIdHasBeenSet =
false;
356 bool m_checksumHasBeenSet =
false;
359 bool m_versionHasBeenSet =
false;
362 bool m_localeHasBeenSet =
false;
364 bool m_childDirected{
false};
365 bool m_childDirectedHasBeenSet =
false;
367 bool m_createVersion{
false};
368 bool m_createVersionHasBeenSet =
false;
370 bool m_detectSentiment{
false};
371 bool m_detectSentimentHasBeenSet =
false;
374 bool m_tagsHasBeenSet =
false;
377 bool m_requestIdHasBeenSet =
false;
void SetCreatedDate(CreatedDateT &&value)
void SetVersion(VersionT &&value)
AWS_LEXMODELBUILDINGSERVICE_API PutBotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutBotResult & WithName(NameT &&value)
PutBotResult & WithClarificationPrompt(ClarificationPromptT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDate() const
AWS_LEXMODELBUILDINGSERVICE_API PutBotResult()=default
const Aws::String & GetVersion() const
PutBotResult & WithLastUpdatedDate(LastUpdatedDateT &&value)
const Aws::String & GetDescription() const
void SetAbortStatement(AbortStatementT &&value)
PutBotResult & WithFailureReason(FailureReasonT &&value)
PutBotResult & WithRequestId(RequestIdT &&value)
void SetName(NameT &&value)
void SetChildDirected(bool value)
void SetTags(TagsT &&value)
void SetLastUpdatedDate(LastUpdatedDateT &&value)
PutBotResult & WithTags(TagsT &&value)
const Aws::String & GetChecksum() const
const Aws::String & GetVoiceId() const
void SetClarificationPrompt(ClarificationPromptT &&value)
const Aws::String & GetRequestId() const
const Prompt & GetClarificationPrompt() const
void SetCreateVersion(bool value)
const Aws::String & GetName() const
bool GetDetectSentiment() const
void SetLocale(Locale value)
PutBotResult & WithStatus(Status value)
void SetIdleSessionTTLInSeconds(int value)
PutBotResult & AddTags(TagsT &&value)
PutBotResult & WithVersion(VersionT &&value)
void SetVoiceId(VoiceIdT &&value)
PutBotResult & WithCreateVersion(bool value)
void SetNluIntentConfidenceThreshold(double value)
PutBotResult & AddIntents(IntentsT &&value)
AWS_LEXMODELBUILDINGSERVICE_API PutBotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
bool GetCreateVersion() const
const Statement & GetAbortStatement() const
PutBotResult & WithLocale(Locale value)
PutBotResult & WithChecksum(ChecksumT &&value)
bool GetEnableModelImprovements() const
const Aws::Vector< Intent > & GetIntents() const
void SetFailureReason(FailureReasonT &&value)
void SetEnableModelImprovements(bool value)
PutBotResult & WithDescription(DescriptionT &&value)
PutBotResult & WithAbortStatement(AbortStatementT &&value)
void SetIntents(IntentsT &&value)
PutBotResult & WithEnableModelImprovements(bool value)
void SetStatus(Status value)
PutBotResult & WithIdleSessionTTLInSeconds(int value)
PutBotResult & WithIntents(IntentsT &&value)
const Aws::String & GetFailureReason() const
void SetChecksum(ChecksumT &&value)
void SetDetectSentiment(bool value)
PutBotResult & WithChildDirected(bool value)
PutBotResult & WithVoiceId(VoiceIdT &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
PutBotResult & WithDetectSentiment(bool value)
double GetNluIntentConfidenceThreshold() const
int GetIdleSessionTTLInSeconds() const
bool GetChildDirected() const
PutBotResult & WithCreatedDate(CreatedDateT &&value)
void SetDescription(DescriptionT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::Vector< Tag > & GetTags() const
PutBotResult & WithNluIntentConfidenceThreshold(double 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