7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
13#include <aws/lexv2-models/model/BotMember.h>
14#include <aws/lexv2-models/model/BotStatus.h>
15#include <aws/lexv2-models/model/BotType.h>
16#include <aws/lexv2-models/model/DataPrivacy.h>
17#include <aws/lexv2-models/model/ErrorLogSettings.h>
22template <
typename RESULT_TYPE>
23class AmazonWebServiceResult;
30namespace LexModelsV2 {
44 template <
typename BotIdT = Aws::String>
46 m_botIdHasBeenSet =
true;
47 m_botId = std::forward<BotIdT>(value);
49 template <
typename BotIdT = Aws::String>
51 SetBotId(std::forward<BotIdT>(value));
61 template <
typename BotNameT = Aws::String>
63 m_botNameHasBeenSet =
true;
64 m_botName = std::forward<BotNameT>(value);
66 template <
typename BotNameT = Aws::String>
78 template <
typename DescriptionT = Aws::String>
80 m_descriptionHasBeenSet =
true;
81 m_description = std::forward<DescriptionT>(value);
83 template <
typename DescriptionT = Aws::String>
95 template <
typename RoleArnT = Aws::String>
97 m_roleArnHasBeenSet =
true;
98 m_roleArn = std::forward<RoleArnT>(value);
100 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>
130 m_idleSessionTTLInSecondsHasBeenSet =
true;
131 m_idleSessionTTLInSeconds = value;
148 m_botStatusHasBeenSet =
true;
162 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
164 m_creationDateTimeHasBeenSet =
true;
165 m_creationDateTime = std::forward<CreationDateTimeT>(value);
167 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
179 template <
typename BotTagsT = Aws::Map<Aws::String, Aws::String>>
181 m_botTagsHasBeenSet =
true;
182 m_botTags = std::forward<BotTagsT>(value);
184 template <
typename BotTagsT = Aws::Map<Aws::String, Aws::String>>
189 template <
typename BotTagsKeyT = Aws::String,
typename BotTagsValueT = Aws::String>
191 m_botTagsHasBeenSet =
true;
192 m_botTags.emplace(std::forward<BotTagsKeyT>(key), std::forward<BotTagsValueT>(value));
202 template <
typename TestBotAliasTagsT = Aws::Map<Aws::String, Aws::String>>
204 m_testBotAliasTagsHasBeenSet =
true;
205 m_testBotAliasTags = std::forward<TestBotAliasTagsT>(value);
207 template <
typename TestBotAliasTagsT = Aws::Map<Aws::String, Aws::String>>
212 template <
typename TestBotAliasTagsKeyT = Aws::String,
typename TestBotAliasTagsValueT = Aws::String>
214 m_testBotAliasTagsHasBeenSet =
true;
215 m_testBotAliasTags.emplace(std::forward<TestBotAliasTagsKeyT>(key), std::forward<TestBotAliasTagsValueT>(value));
226 m_botTypeHasBeenSet =
true;
240 template <
typename BotMembersT = Aws::Vector<BotMember>>
242 m_botMembersHasBeenSet =
true;
243 m_botMembers = std::forward<BotMembersT>(value);
245 template <
typename BotMembersT = Aws::Vector<BotMember>>
250 template <
typename BotMembersT = BotMember>
252 m_botMembersHasBeenSet =
true;
253 m_botMembers.emplace_back(std::forward<BotMembersT>(value));
264 template <
typename ErrorLogSettingsT = ErrorLogSettings>
266 m_errorLogSettingsHasBeenSet =
true;
267 m_errorLogSettings = std::forward<ErrorLogSettingsT>(value);
269 template <
typename ErrorLogSettingsT = ErrorLogSettings>
279 template <
typename RequestIdT = Aws::String>
281 m_requestIdHasBeenSet =
true;
282 m_requestId = std::forward<RequestIdT>(value);
284 template <
typename RequestIdT = Aws::String>
303 int m_idleSessionTTLInSeconds{0};
317 ErrorLogSettings m_errorLogSettings;
321 bool m_botIdHasBeenSet =
false;
322 bool m_botNameHasBeenSet =
false;
323 bool m_descriptionHasBeenSet =
false;
324 bool m_roleArnHasBeenSet =
false;
325 bool m_dataPrivacyHasBeenSet =
false;
326 bool m_idleSessionTTLInSecondsHasBeenSet =
false;
327 bool m_botStatusHasBeenSet =
false;
328 bool m_creationDateTimeHasBeenSet =
false;
329 bool m_botTagsHasBeenSet =
false;
330 bool m_testBotAliasTagsHasBeenSet =
false;
331 bool m_botTypeHasBeenSet =
false;
332 bool m_botMembersHasBeenSet =
false;
333 bool m_errorLogSettingsHasBeenSet =
false;
334 bool m_requestIdHasBeenSet =
false;
void SetIdleSessionTTLInSeconds(int value)
CreateBotResult & WithErrorLogSettings(ErrorLogSettingsT &&value)
void SetErrorLogSettings(ErrorLogSettingsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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