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>
20template<
typename RESULT_TYPE>
21class AmazonWebServiceResult;
30namespace LexModelBuildingService
47 template<
typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
49 template<
typename NameT = Aws::String>
58 template<
typename DescriptionT = Aws::String>
59 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
60 template<
typename DescriptionT = Aws::String>
70 template<
typename IntentsT = Aws::Vector<Intent>>
71 void SetIntents(IntentsT&& value) { m_intentsHasBeenSet =
true; m_intents = std::forward<IntentsT>(value); }
72 template<
typename IntentsT = Aws::Vector<Intent>>
74 template<
typename IntentsT = Intent>
75 GetBotResult&
AddIntents(IntentsT&& value) { m_intentsHasBeenSet =
true; m_intents.emplace_back(std::forward<IntentsT>(value));
return *
this; }
112 template<
typename ClarificationPromptT = Prompt>
113 void SetClarificationPrompt(ClarificationPromptT&& value) { m_clarificationPromptHasBeenSet =
true; m_clarificationPrompt = std::forward<ClarificationPromptT>(value); }
114 template<
typename ClarificationPromptT = Prompt>
124 template<
typename AbortStatementT = Statement>
125 void SetAbortStatement(AbortStatementT&& value) { m_abortStatementHasBeenSet =
true; m_abortStatement = std::forward<AbortStatementT>(value); }
126 template<
typename AbortStatementT = Statement>
152 template<
typename FailureReasonT = Aws::String>
153 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
154 template<
typename FailureReasonT = Aws::String>
164 template<
typename LastUpdatedDateT = Aws::Utils::DateTime>
165 void SetLastUpdatedDate(LastUpdatedDateT&& value) { m_lastUpdatedDateHasBeenSet =
true; m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value); }
166 template<
typename LastUpdatedDateT = Aws::Utils::DateTime>
175 template<
typename CreatedDateT = Aws::Utils::DateTime>
176 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet =
true; m_createdDate = std::forward<CreatedDateT>(value); }
177 template<
typename CreatedDateT = Aws::Utils::DateTime>
197 template<
typename VoiceIdT = Aws::String>
198 void SetVoiceId(VoiceIdT&& value) { m_voiceIdHasBeenSet =
true; m_voiceId = std::forward<VoiceIdT>(value); }
199 template<
typename VoiceIdT = Aws::String>
209 template<
typename ChecksumT = Aws::String>
210 void SetChecksum(ChecksumT&& value) { m_checksumHasBeenSet =
true; m_checksum = std::forward<ChecksumT>(value); }
211 template<
typename ChecksumT = Aws::String>
221 template<
typename VersionT = Aws::String>
222 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
223 template<
typename VersionT = Aws::String>
263 inline void SetChildDirected(
bool value) { m_childDirectedHasBeenSet =
true; m_childDirected = value; }
273 inline void SetDetectSentiment(
bool value) { m_detectSentimentHasBeenSet =
true; m_detectSentiment = value; }
280 template<
typename RequestIdT = Aws::String>
281 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
282 template<
typename RequestIdT = Aws::String>
288 bool m_nameHasBeenSet =
false;
291 bool m_descriptionHasBeenSet =
false;
294 bool m_intentsHasBeenSet =
false;
296 bool m_enableModelImprovements{
false};
297 bool m_enableModelImprovementsHasBeenSet =
false;
299 double m_nluIntentConfidenceThreshold{0.0};
300 bool m_nluIntentConfidenceThresholdHasBeenSet =
false;
302 Prompt m_clarificationPrompt;
303 bool m_clarificationPromptHasBeenSet =
false;
305 Statement m_abortStatement;
306 bool m_abortStatementHasBeenSet =
false;
309 bool m_statusHasBeenSet =
false;
312 bool m_failureReasonHasBeenSet =
false;
315 bool m_lastUpdatedDateHasBeenSet =
false;
318 bool m_createdDateHasBeenSet =
false;
320 int m_idleSessionTTLInSeconds{0};
321 bool m_idleSessionTTLInSecondsHasBeenSet =
false;
324 bool m_voiceIdHasBeenSet =
false;
327 bool m_checksumHasBeenSet =
false;
330 bool m_versionHasBeenSet =
false;
333 bool m_localeHasBeenSet =
false;
335 bool m_childDirected{
false};
336 bool m_childDirectedHasBeenSet =
false;
338 bool m_detectSentiment{
false};
339 bool m_detectSentimentHasBeenSet =
false;
342 bool m_requestIdHasBeenSet =
false;
GetBotResult & WithLastUpdatedDate(LastUpdatedDateT &&value)
void SetIdleSessionTTLInSeconds(int value)
GetBotResult & WithAbortStatement(AbortStatementT &&value)
GetBotResult & WithClarificationPrompt(ClarificationPromptT &&value)
bool GetDetectSentiment() const
GetBotResult & WithLocale(Locale value)
void SetAbortStatement(AbortStatementT &&value)
void SetChecksum(ChecksumT &&value)
GetBotResult & WithDetectSentiment(bool value)
const Aws::Utils::DateTime & GetCreatedDate() const
GetBotResult & WithIntents(IntentsT &&value)
GetBotResult & WithVersion(VersionT &&value)
GetBotResult & WithCreatedDate(CreatedDateT &&value)
AWS_LEXMODELBUILDINGSERVICE_API GetBotResult()=default
void SetFailureReason(FailureReasonT &&value)
void SetIntents(IntentsT &&value)
GetBotResult & WithName(NameT &&value)
void SetVersion(VersionT &&value)
const Aws::String & GetName() const
void SetVoiceId(VoiceIdT &&value)
const Aws::String & GetDescription() const
void SetName(NameT &&value)
const Statement & GetAbortStatement() const
GetBotResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetFailureReason() const
AWS_LEXMODELBUILDINGSERVICE_API GetBotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLocale(Locale value)
const Prompt & GetClarificationPrompt() const
void SetCreatedDate(CreatedDateT &&value)
double GetNluIntentConfidenceThreshold() const
bool GetEnableModelImprovements() const
void SetEnableModelImprovements(bool value)
GetBotResult & WithFailureReason(FailureReasonT &&value)
const Aws::Vector< Intent > & GetIntents() const
GetBotResult & WithNluIntentConfidenceThreshold(double value)
GetBotResult & WithEnableModelImprovements(bool value)
GetBotResult & WithIdleSessionTTLInSeconds(int value)
void SetDescription(DescriptionT &&value)
int GetIdleSessionTTLInSeconds() const
bool GetChildDirected() const
void SetClarificationPrompt(ClarificationPromptT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDate() const
void SetRequestId(RequestIdT &&value)
GetBotResult & WithChecksum(ChecksumT &&value)
void SetChildDirected(bool value)
GetBotResult & WithDescription(DescriptionT &&value)
const Aws::String & GetVoiceId() const
void SetLastUpdatedDate(LastUpdatedDateT &&value)
GetBotResult & WithVoiceId(VoiceIdT &&value)
GetBotResult & WithChildDirected(bool value)
GetBotResult & AddIntents(IntentsT &&value)
void SetStatus(Status value)
void SetDetectSentiment(bool value)
void SetNluIntentConfidenceThreshold(double value)
GetBotResult & WithStatus(Status value)
const Aws::String & GetRequestId() const
const Aws::String & GetChecksum() const
AWS_LEXMODELBUILDINGSERVICE_API GetBotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetVersion() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue