7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.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 {
43 template <
typename BotIdT = Aws::String>
45 m_botIdHasBeenSet =
true;
46 m_botId = std::forward<BotIdT>(value);
48 template <
typename BotIdT = Aws::String>
50 SetBotId(std::forward<BotIdT>(value));
60 template <
typename BotNameT = Aws::String>
62 m_botNameHasBeenSet =
true;
63 m_botName = std::forward<BotNameT>(value);
65 template <
typename BotNameT = Aws::String>
77 template <
typename DescriptionT = Aws::String>
79 m_descriptionHasBeenSet =
true;
80 m_description = std::forward<DescriptionT>(value);
82 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>
111 template <
typename DataPrivacyT = DataPrivacy>
113 m_dataPrivacyHasBeenSet =
true;
114 m_dataPrivacy = std::forward<DataPrivacyT>(value);
116 template <
typename DataPrivacyT = DataPrivacy>
129 m_idleSessionTTLInSecondsHasBeenSet =
true;
130 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 BotTagsT = Aws::Map<Aws::String, Aws::String>>
180 m_botTagsHasBeenSet =
true;
181 m_botTags = std::forward<BotTagsT>(value);
183 template <
typename BotTagsT = Aws::Map<Aws::String, Aws::String>>
188 template <
typename BotTagsKeyT = Aws::String,
typename BotTagsValueT = Aws::String>
190 m_botTagsHasBeenSet =
true;
191 m_botTags.emplace(std::forward<BotTagsKeyT>(key), std::forward<BotTagsValueT>(value));
201 template <
typename TestBotAliasTagsT = Aws::Map<Aws::String, Aws::String>>
203 m_testBotAliasTagsHasBeenSet =
true;
204 m_testBotAliasTags = std::forward<TestBotAliasTagsT>(value);
206 template <
typename TestBotAliasTagsT = Aws::Map<Aws::String, Aws::String>>
211 template <
typename TestBotAliasTagsKeyT = Aws::String,
typename TestBotAliasTagsValueT = Aws::String>
213 m_testBotAliasTagsHasBeenSet =
true;
214 m_testBotAliasTags.emplace(std::forward<TestBotAliasTagsKeyT>(key), std::forward<TestBotAliasTagsValueT>(value));
225 m_botTypeHasBeenSet =
true;
239 template <
typename BotMembersT = Aws::Vector<BotMember>>
241 m_botMembersHasBeenSet =
true;
242 m_botMembers = std::forward<BotMembersT>(value);
244 template <
typename BotMembersT = Aws::Vector<BotMember>>
249 template <
typename BotMembersT = BotMember>
251 m_botMembersHasBeenSet =
true;
252 m_botMembers.emplace_back(std::forward<BotMembersT>(value));
263 template <
typename ErrorLogSettingsT = ErrorLogSettings>
265 m_errorLogSettingsHasBeenSet =
true;
266 m_errorLogSettings = std::forward<ErrorLogSettingsT>(value);
268 template <
typename ErrorLogSettingsT = ErrorLogSettings>
278 template <
typename RequestIdT = Aws::String>
280 m_requestIdHasBeenSet =
true;
281 m_requestId = std::forward<RequestIdT>(value);
283 template <
typename RequestIdT = Aws::String>
300 int m_idleSessionTTLInSeconds{0};
314 ErrorLogSettings m_errorLogSettings;
317 bool m_botIdHasBeenSet =
false;
318 bool m_botNameHasBeenSet =
false;
319 bool m_descriptionHasBeenSet =
false;
320 bool m_roleArnHasBeenSet =
false;
321 bool m_dataPrivacyHasBeenSet =
false;
322 bool m_idleSessionTTLInSecondsHasBeenSet =
false;
323 bool m_botStatusHasBeenSet =
false;
324 bool m_creationDateTimeHasBeenSet =
false;
325 bool m_botTagsHasBeenSet =
false;
326 bool m_testBotAliasTagsHasBeenSet =
false;
327 bool m_botTypeHasBeenSet =
false;
328 bool m_botMembersHasBeenSet =
false;
329 bool m_errorLogSettingsHasBeenSet =
false;
330 bool m_requestIdHasBeenSet =
false;
void SetIdleSessionTTLInSeconds(int value)
CreateBotResult & WithErrorLogSettings(ErrorLogSettingsT &&value)
void SetErrorLogSettings(ErrorLogSettingsT &&value)
void SetDescription(DescriptionT &&value)
void SetBotMembers(BotMembersT &&value)
AWS_LEXMODELSV2_API CreateBotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetBotId() const
CreateBotResult & WithBotType(BotType value)
CreateBotResult & WithDescription(DescriptionT &&value)
AWS_LEXMODELSV2_API CreateBotResult()=default
CreateBotResult & AddTestBotAliasTags(TestBotAliasTagsKeyT &&key, TestBotAliasTagsValueT &&value)
CreateBotResult & WithCreationDateTime(CreationDateTimeT &&value)
AWS_LEXMODELSV2_API CreateBotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const ErrorLogSettings & GetErrorLogSettings() const
CreateBotResult & WithRequestId(RequestIdT &&value)
CreateBotResult & AddBotMembers(BotMembersT &&value)
void SetBotId(BotIdT &&value)
int GetIdleSessionTTLInSeconds() const
void SetRequestId(RequestIdT &&value)
BotStatus GetBotStatus() const
const Aws::String & GetDescription() const
const DataPrivacy & GetDataPrivacy() const
void SetDataPrivacy(DataPrivacyT &&value)
CreateBotResult & AddBotTags(BotTagsKeyT &&key, BotTagsValueT &&value)
void SetBotStatus(BotStatus value)
void SetBotName(BotNameT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetRoleArn() const
CreateBotResult & WithBotName(BotNameT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
CreateBotResult & WithDataPrivacy(DataPrivacyT &&value)
void SetBotTags(BotTagsT &&value)
void SetTestBotAliasTags(TestBotAliasTagsT &&value)
const Aws::Vector< BotMember > & GetBotMembers() const
CreateBotResult & WithBotTags(BotTagsT &&value)
CreateBotResult & WithRoleArn(RoleArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTestBotAliasTags() const
CreateBotResult & WithBotStatus(BotStatus value)
CreateBotResult & WithBotMembers(BotMembersT &&value)
CreateBotResult & WithBotId(BotIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetBotTags() const
const Aws::String & GetBotName() const
BotType GetBotType() const
CreateBotResult & WithTestBotAliasTags(TestBotAliasTagsT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
CreateBotResult & WithIdleSessionTTLInSeconds(int value)
void SetBotType(BotType value)
void SetRoleArn(RoleArnT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue