7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
12#include <aws/lexv2-models/model/GenerationStatus.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace LexModelsV2 {
40 template <
typename BotIdT = Aws::String>
42 m_botIdHasBeenSet =
true;
43 m_botId = std::forward<BotIdT>(value);
45 template <
typename BotIdT = Aws::String>
47 SetBotId(std::forward<BotIdT>(value));
57 template <
typename BotVersionT = Aws::String>
59 m_botVersionHasBeenSet =
true;
60 m_botVersion = std::forward<BotVersionT>(value);
62 template <
typename BotVersionT = Aws::String>
74 template <
typename LocaleIdT = Aws::String>
76 m_localeIdHasBeenSet =
true;
77 m_localeId = std::forward<LocaleIdT>(value);
79 template <
typename LocaleIdT = Aws::String>
91 template <
typename GenerationIdT = Aws::String>
93 m_generationIdHasBeenSet =
true;
94 m_generationId = std::forward<GenerationIdT>(value);
96 template <
typename GenerationIdT = Aws::String>
109 template <
typename FailureReasonsT = Aws::Vector<Aws::String>>
111 m_failureReasonsHasBeenSet =
true;
112 m_failureReasons = std::forward<FailureReasonsT>(value);
114 template <
typename FailureReasonsT = Aws::Vector<Aws::String>>
119 template <
typename FailureReasonsT = Aws::String>
121 m_failureReasonsHasBeenSet =
true;
122 m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value));
133 m_generationStatusHasBeenSet =
true;
134 m_generationStatus = value;
147 template <
typename GenerationInputPromptT = Aws::String>
149 m_generationInputPromptHasBeenSet =
true;
150 m_generationInputPrompt = std::forward<GenerationInputPromptT>(value);
152 template <
typename GenerationInputPromptT = Aws::String>
164 template <
typename GeneratedBotLocaleUrlT = Aws::String>
166 m_generatedBotLocaleUrlHasBeenSet =
true;
167 m_generatedBotLocaleUrl = std::forward<GeneratedBotLocaleUrlT>(value);
169 template <
typename GeneratedBotLocaleUrlT = Aws::String>
181 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
183 m_creationDateTimeHasBeenSet =
true;
184 m_creationDateTime = std::forward<CreationDateTimeT>(value);
186 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
198 template <
typename ModelArnT = Aws::String>
200 m_modelArnHasBeenSet =
true;
201 m_modelArn = std::forward<ModelArnT>(value);
203 template <
typename ModelArnT = Aws::String>
215 template <
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
217 m_lastUpdatedDateTimeHasBeenSet =
true;
218 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
220 template <
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
230 template <
typename RequestIdT = Aws::String>
232 m_requestIdHasBeenSet =
true;
233 m_requestId = std::forward<RequestIdT>(value);
235 template <
typename RequestIdT = Aws::String>
268 bool m_botIdHasBeenSet =
false;
269 bool m_botVersionHasBeenSet =
false;
270 bool m_localeIdHasBeenSet =
false;
271 bool m_generationIdHasBeenSet =
false;
272 bool m_failureReasonsHasBeenSet =
false;
273 bool m_generationStatusHasBeenSet =
false;
274 bool m_generationInputPromptHasBeenSet =
false;
275 bool m_generatedBotLocaleUrlHasBeenSet =
false;
276 bool m_creationDateTimeHasBeenSet =
false;
277 bool m_modelArnHasBeenSet =
false;
278 bool m_lastUpdatedDateTimeHasBeenSet =
false;
279 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
const Aws::String & GetGenerationInputPrompt() const
const Aws::Vector< Aws::String > & GetFailureReasons() const
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
DescribeBotResourceGenerationResult & WithFailureReasons(FailureReasonsT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
void SetFailureReasons(FailureReasonsT &&value)
AWS_LEXMODELSV2_API DescribeBotResourceGenerationResult()=default
void SetLocaleId(LocaleIdT &&value)
DescribeBotResourceGenerationResult & WithModelArn(ModelArnT &&value)
const Aws::String & GetBotVersion() const
void SetGenerationInputPrompt(GenerationInputPromptT &&value)
const Aws::String & GetGeneratedBotLocaleUrl() const
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
void SetGenerationStatus(GenerationStatus value)
DescribeBotResourceGenerationResult & WithGenerationStatus(GenerationStatus value)
DescribeBotResourceGenerationResult & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
const Aws::String & GetLocaleId() const
const Aws::String & GetRequestId() const
void SetModelArn(ModelArnT &&value)
AWS_LEXMODELSV2_API DescribeBotResourceGenerationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DescribeBotResourceGenerationResult & WithBotId(BotIdT &&value)
DescribeBotResourceGenerationResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetGenerationId() const
DescribeBotResourceGenerationResult & WithCreationDateTime(CreationDateTimeT &&value)
void SetGeneratedBotLocaleUrl(GeneratedBotLocaleUrlT &&value)
const Aws::String & GetBotId() const
DescribeBotResourceGenerationResult & WithGeneratedBotLocaleUrl(GeneratedBotLocaleUrlT &&value)
DescribeBotResourceGenerationResult & WithLocaleId(LocaleIdT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetGenerationId(GenerationIdT &&value)
void SetBotId(BotIdT &&value)
GenerationStatus GetGenerationStatus() const
void SetBotVersion(BotVersionT &&value)
DescribeBotResourceGenerationResult & WithGenerationId(GenerationIdT &&value)
DescribeBotResourceGenerationResult & WithGenerationInputPrompt(GenerationInputPromptT &&value)
AWS_LEXMODELSV2_API DescribeBotResourceGenerationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeBotResourceGenerationResult & WithBotVersion(BotVersionT &&value)
DescribeBotResourceGenerationResult & AddFailureReasons(FailureReasonsT &&value)
const Aws::String & GetModelArn() 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