7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
11#include <aws/lexv2-models/model/BotMember.h>
12#include <aws/lexv2-models/model/BotStatus.h>
13#include <aws/lexv2-models/model/BotType.h>
14#include <aws/lexv2-models/model/DataPrivacy.h>
15#include <aws/lexv2-models/model/ErrorLogSettings.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
28namespace LexModelsV2 {
41 template <
typename BotIdT = Aws::String>
43 m_botIdHasBeenSet =
true;
44 m_botId = std::forward<BotIdT>(value);
46 template <
typename BotIdT = Aws::String>
48 SetBotId(std::forward<BotIdT>(value));
58 template <
typename BotNameT = Aws::String>
60 m_botNameHasBeenSet =
true;
61 m_botName = std::forward<BotNameT>(value);
63 template <
typename BotNameT = Aws::String>
75 template <
typename DescriptionT = Aws::String>
77 m_descriptionHasBeenSet =
true;
78 m_description = std::forward<DescriptionT>(value);
80 template <
typename DescriptionT = Aws::String>
93 template <
typename RoleArnT = Aws::String>
95 m_roleArnHasBeenSet =
true;
96 m_roleArn = std::forward<RoleArnT>(value);
98 template <
typename RoleArnT = Aws::String>
111 template <
typename DataPrivacyT = DataPrivacy>
113 m_dataPrivacyHasBeenSet =
true;
114 m_dataPrivacy = std::forward<DataPrivacyT>(value);
116 template <
typename DataPrivacyT = DataPrivacy>
130 m_idleSessionTTLInSecondsHasBeenSet =
true;
131 m_idleSessionTTLInSeconds = value;
146 m_botStatusHasBeenSet =
true;
160 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
162 m_creationDateTimeHasBeenSet =
true;
163 m_creationDateTime = std::forward<CreationDateTimeT>(value);
165 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
177 template <
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
179 m_lastUpdatedDateTimeHasBeenSet =
true;
180 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
182 template <
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
195 m_botTypeHasBeenSet =
true;
209 template <
typename BotMembersT = Aws::Vector<BotMember>>
211 m_botMembersHasBeenSet =
true;
212 m_botMembers = std::forward<BotMembersT>(value);
214 template <
typename BotMembersT = Aws::Vector<BotMember>>
219 template <
typename BotMembersT = BotMember>
221 m_botMembersHasBeenSet =
true;
222 m_botMembers.emplace_back(std::forward<BotMembersT>(value));
233 template <
typename FailureReasonsT = Aws::Vector<Aws::String>>
235 m_failureReasonsHasBeenSet =
true;
236 m_failureReasons = std::forward<FailureReasonsT>(value);
238 template <
typename FailureReasonsT = Aws::Vector<Aws::String>>
243 template <
typename FailureReasonsT = Aws::String>
245 m_failureReasonsHasBeenSet =
true;
246 m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value));
257 template <
typename ErrorLogSettingsT = ErrorLogSettings>
259 m_errorLogSettingsHasBeenSet =
true;
260 m_errorLogSettings = std::forward<ErrorLogSettingsT>(value);
262 template <
typename ErrorLogSettingsT = ErrorLogSettings>
272 template <
typename RequestIdT = Aws::String>
274 m_requestIdHasBeenSet =
true;
275 m_requestId = std::forward<RequestIdT>(value);
277 template <
typename RequestIdT = Aws::String>
294 int m_idleSessionTTLInSeconds{0};
308 ErrorLogSettings m_errorLogSettings;
311 bool m_botIdHasBeenSet =
false;
312 bool m_botNameHasBeenSet =
false;
313 bool m_descriptionHasBeenSet =
false;
314 bool m_roleArnHasBeenSet =
false;
315 bool m_dataPrivacyHasBeenSet =
false;
316 bool m_idleSessionTTLInSecondsHasBeenSet =
false;
317 bool m_botStatusHasBeenSet =
false;
318 bool m_creationDateTimeHasBeenSet =
false;
319 bool m_lastUpdatedDateTimeHasBeenSet =
false;
320 bool m_botTypeHasBeenSet =
false;
321 bool m_botMembersHasBeenSet =
false;
322 bool m_failureReasonsHasBeenSet =
false;
323 bool m_errorLogSettingsHasBeenSet =
false;
324 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)
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