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>
84 template<
typename ClarificationPromptT = Prompt>
85 void SetClarificationPrompt(ClarificationPromptT&& value) { m_clarificationPromptHasBeenSet =
true; m_clarificationPrompt = std::forward<ClarificationPromptT>(value); }
86 template<
typename ClarificationPromptT = Prompt>
96 template<
typename AbortStatementT = Statement>
97 void SetAbortStatement(AbortStatementT&& value) { m_abortStatementHasBeenSet =
true; m_abortStatement = std::forward<AbortStatementT>(value); }
98 template<
typename AbortStatementT = Statement>
122 template<
typename FailureReasonT = Aws::String>
123 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
124 template<
typename FailureReasonT = Aws::String>
133 template<
typename LastUpdatedDateT = Aws::Utils::DateTime>
134 void SetLastUpdatedDate(LastUpdatedDateT&& value) { m_lastUpdatedDateHasBeenSet =
true; m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value); }
135 template<
typename LastUpdatedDateT = Aws::Utils::DateTime>
144 template<
typename CreatedDateT = Aws::Utils::DateTime>
145 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet =
true; m_createdDate = std::forward<CreatedDateT>(value); }
146 template<
typename CreatedDateT = Aws::Utils::DateTime>
166 template<
typename VoiceIdT = Aws::String>
167 void SetVoiceId(VoiceIdT&& value) { m_voiceIdHasBeenSet =
true; m_voiceId = std::forward<VoiceIdT>(value); }
168 template<
typename VoiceIdT = Aws::String>
177 template<
typename ChecksumT = Aws::String>
178 void SetChecksum(ChecksumT&& value) { m_checksumHasBeenSet =
true; m_checksum = std::forward<ChecksumT>(value); }
179 template<
typename ChecksumT = Aws::String>
188 template<
typename VersionT = Aws::String>
189 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
190 template<
typename VersionT = Aws::String>
230 inline void SetChildDirected(
bool value) { m_childDirectedHasBeenSet =
true; m_childDirected = value; }
251 inline void SetDetectSentiment(
bool value) { m_detectSentimentHasBeenSet =
true; m_detectSentiment = value; }
258 template<
typename RequestIdT = Aws::String>
259 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
260 template<
typename RequestIdT = Aws::String>
266 bool m_nameHasBeenSet =
false;
269 bool m_descriptionHasBeenSet =
false;
272 bool m_intentsHasBeenSet =
false;
274 Prompt m_clarificationPrompt;
275 bool m_clarificationPromptHasBeenSet =
false;
278 bool m_abortStatementHasBeenSet =
false;
281 bool m_statusHasBeenSet =
false;
284 bool m_failureReasonHasBeenSet =
false;
287 bool m_lastUpdatedDateHasBeenSet =
false;
290 bool m_createdDateHasBeenSet =
false;
292 int m_idleSessionTTLInSeconds{0};
293 bool m_idleSessionTTLInSecondsHasBeenSet =
false;
296 bool m_voiceIdHasBeenSet =
false;
299 bool m_checksumHasBeenSet =
false;
302 bool m_versionHasBeenSet =
false;
305 bool m_localeHasBeenSet =
false;
307 bool m_childDirected{
false};
308 bool m_childDirectedHasBeenSet =
false;
310 bool m_enableModelImprovements{
false};
311 bool m_enableModelImprovementsHasBeenSet =
false;
313 bool m_detectSentiment{
false};
314 bool m_detectSentimentHasBeenSet =
false;
317 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetChecksum() const
void SetRequestId(RequestIdT &&value)
void SetLocale(Locale value)
CreateBotVersionResult & WithCreatedDate(CreatedDateT &&value)
const Aws::Vector< Intent > & GetIntents() const
CreateBotVersionResult & WithDetectSentiment(bool value)
const Aws::String & GetVoiceId() const
const Aws::String & GetFailureReason() const
bool GetChildDirected() const
const Aws::String & GetRequestId() const
CreateBotVersionResult & WithIntents(IntentsT &&value)
CreateBotVersionResult & WithClarificationPrompt(ClarificationPromptT &&value)
bool GetDetectSentiment() const
CreateBotVersionResult & WithAbortStatement(AbortStatementT &&value)
void SetChildDirected(bool value)
void SetVoiceId(VoiceIdT &&value)
CreateBotVersionResult & WithStatus(Status value)
void SetName(NameT &&value)
bool GetEnableModelImprovements() const
void SetAbortStatement(AbortStatementT &&value)
CreateBotVersionResult & AddIntents(IntentsT &&value)
CreateBotVersionResult & WithVersion(VersionT &&value)
const Aws::String & GetDescription() const
void SetCreatedDate(CreatedDateT &&value)
CreateBotVersionResult & WithDescription(DescriptionT &&value)
CreateBotVersionResult & WithEnableModelImprovements(bool value)
AWS_LEXMODELBUILDINGSERVICE_API CreateBotVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStatus(Status value)
void SetVersion(VersionT &&value)
CreateBotVersionResult & WithLastUpdatedDate(LastUpdatedDateT &&value)
CreateBotVersionResult & WithRequestId(RequestIdT &&value)
CreateBotVersionResult & WithName(NameT &&value)
CreateBotVersionResult & WithChecksum(ChecksumT &&value)
void SetDescription(DescriptionT &&value)
void SetChecksum(ChecksumT &&value)
void SetEnableModelImprovements(bool value)
CreateBotVersionResult & WithFailureReason(FailureReasonT &&value)
CreateBotVersionResult & WithIdleSessionTTLInSeconds(int value)
const Aws::Utils::DateTime & GetLastUpdatedDate() const
AWS_LEXMODELBUILDINGSERVICE_API CreateBotVersionResult()=default
void SetLastUpdatedDate(LastUpdatedDateT &&value)
CreateBotVersionResult & WithChildDirected(bool value)
void SetClarificationPrompt(ClarificationPromptT &&value)
const Aws::String & GetVersion() const
AWS_LEXMODELBUILDINGSERVICE_API CreateBotVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
int GetIdleSessionTTLInSeconds() const
const Aws::Utils::DateTime & GetCreatedDate() const
void SetIdleSessionTTLInSeconds(int value)
CreateBotVersionResult & WithLocale(Locale value)
void SetDetectSentiment(bool value)
const Statement & GetAbortStatement() const
const Aws::String & GetName() const
CreateBotVersionResult & WithVoiceId(VoiceIdT &&value)
void SetIntents(IntentsT &&value)
const Prompt & GetClarificationPrompt() const
void SetFailureReason(FailureReasonT &&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