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>
110 template <
typename DataPrivacyT = DataPrivacy>
112 m_dataPrivacyHasBeenSet =
true;
113 m_dataPrivacy = std::forward<DataPrivacyT>(value);
115 template <
typename DataPrivacyT = DataPrivacy>
128 m_idleSessionTTLInSecondsHasBeenSet =
true;
129 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 ErrorLogSettingsT = ErrorLogSettings>
235 m_errorLogSettingsHasBeenSet =
true;
236 m_errorLogSettings = std::forward<ErrorLogSettingsT>(value);
238 template <
typename ErrorLogSettingsT = ErrorLogSettings>
248 template <
typename RequestIdT = Aws::String>
250 m_requestIdHasBeenSet =
true;
251 m_requestId = std::forward<RequestIdT>(value);
253 template <
typename RequestIdT = Aws::String>
270 int m_idleSessionTTLInSeconds{0};
282 ErrorLogSettings m_errorLogSettings;
285 bool m_botIdHasBeenSet =
false;
286 bool m_botNameHasBeenSet =
false;
287 bool m_descriptionHasBeenSet =
false;
288 bool m_roleArnHasBeenSet =
false;
289 bool m_dataPrivacyHasBeenSet =
false;
290 bool m_idleSessionTTLInSecondsHasBeenSet =
false;
291 bool m_botStatusHasBeenSet =
false;
292 bool m_creationDateTimeHasBeenSet =
false;
293 bool m_lastUpdatedDateTimeHasBeenSet =
false;
294 bool m_botTypeHasBeenSet =
false;
295 bool m_botMembersHasBeenSet =
false;
296 bool m_errorLogSettingsHasBeenSet =
false;
297 bool m_requestIdHasBeenSet =
false;
void SetBotStatus(BotStatus value)
UpdateBotResult & WithBotId(BotIdT &&value)
UpdateBotResult & WithBotName(BotNameT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetRequestId() const
UpdateBotResult & WithBotType(BotType value)
void SetIdleSessionTTLInSeconds(int value)
AWS_LEXMODELSV2_API UpdateBotResult()=default
const Aws::String & GetRoleArn() const
const ErrorLogSettings & GetErrorLogSettings() const
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetBotMembers(BotMembersT &&value)
void SetBotId(BotIdT &&value)
void SetBotName(BotNameT &&value)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
UpdateBotResult & WithBotStatus(BotStatus value)
UpdateBotResult & WithErrorLogSettings(ErrorLogSettingsT &&value)
void SetBotType(BotType value)
UpdateBotResult & WithIdleSessionTTLInSeconds(int value)
AWS_LEXMODELSV2_API UpdateBotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRoleArn(RoleArnT &&value)
UpdateBotResult & WithCreationDateTime(CreationDateTimeT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
const Aws::String & GetBotId() const
UpdateBotResult & WithRoleArn(RoleArnT &&value)
void SetDataPrivacy(DataPrivacyT &&value)
int GetIdleSessionTTLInSeconds() const
const DataPrivacy & GetDataPrivacy() const
BotStatus GetBotStatus() const
UpdateBotResult & AddBotMembers(BotMembersT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::Vector< BotMember > & GetBotMembers() const
UpdateBotResult & WithDescription(DescriptionT &&value)
UpdateBotResult & WithDataPrivacy(DataPrivacyT &&value)
void SetErrorLogSettings(ErrorLogSettingsT &&value)
const Aws::String & GetDescription() const
AWS_LEXMODELSV2_API UpdateBotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateBotResult & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
BotType GetBotType() const
UpdateBotResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
const Aws::String & GetBotName() const
UpdateBotResult & WithBotMembers(BotMembersT &&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