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/BotMember.h>
13#include <aws/lexv2-models/model/BotStatus.h>
14#include <aws/lexv2-models/model/BotType.h>
15#include <aws/lexv2-models/model/DataPrivacy.h>
16#include <aws/lexv2-models/model/ErrorLogSettings.h>
21template <
typename RESULT_TYPE>
22class AmazonWebServiceResult;
29namespace LexModelsV2 {
42 template <
typename BotIdT = Aws::String>
44 m_botIdHasBeenSet =
true;
45 m_botId = std::forward<BotIdT>(value);
47 template <
typename BotIdT = Aws::String>
49 SetBotId(std::forward<BotIdT>(value));
59 template <
typename BotNameT = Aws::String>
61 m_botNameHasBeenSet =
true;
62 m_botName = std::forward<BotNameT>(value);
64 template <
typename BotNameT = Aws::String>
76 template <
typename DescriptionT = Aws::String>
78 m_descriptionHasBeenSet =
true;
79 m_description = std::forward<DescriptionT>(value);
81 template <
typename DescriptionT = Aws::String>
94 template <
typename RoleArnT = Aws::String>
96 m_roleArnHasBeenSet =
true;
97 m_roleArn = std::forward<RoleArnT>(value);
99 template <
typename RoleArnT = Aws::String>
112 template <
typename DataPrivacyT = DataPrivacy>
114 m_dataPrivacyHasBeenSet =
true;
115 m_dataPrivacy = std::forward<DataPrivacyT>(value);
117 template <
typename DataPrivacyT = DataPrivacy>
131 m_idleSessionTTLInSecondsHasBeenSet =
true;
132 m_idleSessionTTLInSeconds = value;
147 m_botStatusHasBeenSet =
true;
161 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
163 m_creationDateTimeHasBeenSet =
true;
164 m_creationDateTime = std::forward<CreationDateTimeT>(value);
166 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
178 template <
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
180 m_lastUpdatedDateTimeHasBeenSet =
true;
181 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
183 template <
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
196 m_botTypeHasBeenSet =
true;
210 template <
typename BotMembersT = Aws::Vector<BotMember>>
212 m_botMembersHasBeenSet =
true;
213 m_botMembers = std::forward<BotMembersT>(value);
215 template <
typename BotMembersT = Aws::Vector<BotMember>>
220 template <
typename BotMembersT = BotMember>
222 m_botMembersHasBeenSet =
true;
223 m_botMembers.emplace_back(std::forward<BotMembersT>(value));
234 template <
typename FailureReasonsT = Aws::Vector<Aws::String>>
236 m_failureReasonsHasBeenSet =
true;
237 m_failureReasons = std::forward<FailureReasonsT>(value);
239 template <
typename FailureReasonsT = Aws::Vector<Aws::String>>
244 template <
typename FailureReasonsT = Aws::String>
246 m_failureReasonsHasBeenSet =
true;
247 m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value));
258 template <
typename ErrorLogSettingsT = ErrorLogSettings>
260 m_errorLogSettingsHasBeenSet =
true;
261 m_errorLogSettings = std::forward<ErrorLogSettingsT>(value);
263 template <
typename ErrorLogSettingsT = ErrorLogSettings>
273 template <
typename RequestIdT = Aws::String>
275 m_requestIdHasBeenSet =
true;
276 m_requestId = std::forward<RequestIdT>(value);
278 template <
typename RequestIdT = Aws::String>
297 int m_idleSessionTTLInSeconds{0};
311 ErrorLogSettings m_errorLogSettings;
315 bool m_botIdHasBeenSet =
false;
316 bool m_botNameHasBeenSet =
false;
317 bool m_descriptionHasBeenSet =
false;
318 bool m_roleArnHasBeenSet =
false;
319 bool m_dataPrivacyHasBeenSet =
false;
320 bool m_idleSessionTTLInSecondsHasBeenSet =
false;
321 bool m_botStatusHasBeenSet =
false;
322 bool m_creationDateTimeHasBeenSet =
false;
323 bool m_lastUpdatedDateTimeHasBeenSet =
false;
324 bool m_botTypeHasBeenSet =
false;
325 bool m_botMembersHasBeenSet =
false;
326 bool m_failureReasonsHasBeenSet =
false;
327 bool m_errorLogSettingsHasBeenSet =
false;
328 bool m_requestIdHasBeenSet =
false;
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetBotId(BotIdT &&value)
AWS_LEXMODELSV2_API DescribeBotResult()=default
AWS_LEXMODELSV2_API DescribeBotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
int GetIdleSessionTTLInSeconds() const
const Aws::String & GetDescription() const
void SetBotMembers(BotMembersT &&value)
const Aws::String & GetBotId() const
void SetBotStatus(BotStatus value)
BotType GetBotType() const
const Aws::Vector< BotMember > & GetBotMembers() const
const Aws::Vector< Aws::String > & GetFailureReasons() const
DescribeBotResult & WithRoleArn(RoleArnT &&value)
void SetErrorLogSettings(ErrorLogSettingsT &&value)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
DescribeBotResult & WithDataPrivacy(DataPrivacyT &&value)
const Aws::String & GetBotName() const
BotStatus GetBotStatus() const
DescribeBotResult & WithBotName(BotNameT &&value)
const Aws::String & GetRoleArn() const
void SetDescription(DescriptionT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DescribeBotResult & AddBotMembers(BotMembersT &&value)
const DataPrivacy & GetDataPrivacy() const
DescribeBotResult & WithErrorLogSettings(ErrorLogSettingsT &&value)
const Aws::String & GetRequestId() const
void SetFailureReasons(FailureReasonsT &&value)
AWS_LEXMODELSV2_API DescribeBotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetBotName(BotNameT &&value)
DescribeBotResult & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
DescribeBotResult & WithCreationDateTime(CreationDateTimeT &&value)
DescribeBotResult & WithRequestId(RequestIdT &&value)
DescribeBotResult & WithIdleSessionTTLInSeconds(int value)
void SetIdleSessionTTLInSeconds(int value)
DescribeBotResult & WithBotStatus(BotStatus value)
DescribeBotResult & WithBotMembers(BotMembersT &&value)
DescribeBotResult & WithDescription(DescriptionT &&value)
DescribeBotResult & WithBotId(BotIdT &&value)
void SetRoleArn(RoleArnT &&value)
void SetDataPrivacy(DataPrivacyT &&value)
DescribeBotResult & WithFailureReasons(FailureReasonsT &&value)
DescribeBotResult & WithBotType(BotType value)
void SetBotType(BotType value)
void SetRequestId(RequestIdT &&value)
DescribeBotResult & AddFailureReasons(FailureReasonsT &&value)
const ErrorLogSettings & GetErrorLogSettings() const
void SetCreationDateTime(CreationDateTimeT &&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