7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lexv2-models/LexModelsV2Request.h>
11#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
12#include <aws/lexv2-models/model/BotMember.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>
20namespace LexModelsV2 {
44 template <
typename BotNameT = Aws::String>
46 m_botNameHasBeenSet =
true;
47 m_botName = std::forward<BotNameT>(value);
49 template <
typename BotNameT = Aws::String>
63 template <
typename DescriptionT = Aws::String>
65 m_descriptionHasBeenSet =
true;
66 m_description = std::forward<DescriptionT>(value);
68 template <
typename DescriptionT = Aws::String>
82 template <
typename RoleArnT = Aws::String>
84 m_roleArnHasBeenSet =
true;
85 m_roleArn = std::forward<RoleArnT>(value);
87 template <
typename RoleArnT = Aws::String>
101 template <
typename DataPrivacyT = DataPrivacy>
103 m_dataPrivacyHasBeenSet =
true;
104 m_dataPrivacy = std::forward<DataPrivacyT>(value);
106 template <
typename DataPrivacyT = DataPrivacy>
124 m_idleSessionTTLInSecondsHasBeenSet =
true;
125 m_idleSessionTTLInSeconds = value;
141 template <
typename BotTagsT = Aws::Map<Aws::String, Aws::String>>
143 m_botTagsHasBeenSet =
true;
144 m_botTags = std::forward<BotTagsT>(value);
146 template <
typename BotTagsT = Aws::Map<Aws::String, Aws::String>>
151 template <
typename BotTagsKeyT = Aws::String,
typename BotTagsValueT = Aws::String>
153 m_botTagsHasBeenSet =
true;
154 m_botTags.emplace(std::forward<BotTagsKeyT>(key), std::forward<BotTagsValueT>(value));
168 template <
typename TestBotAliasTagsT = Aws::Map<Aws::String, Aws::String>>
170 m_testBotAliasTagsHasBeenSet =
true;
171 m_testBotAliasTags = std::forward<TestBotAliasTagsT>(value);
173 template <
typename TestBotAliasTagsT = Aws::Map<Aws::String, Aws::String>>
178 template <
typename TestBotAliasTagsKeyT = Aws::String,
typename TestBotAliasTagsValueT = Aws::String>
180 m_testBotAliasTagsHasBeenSet =
true;
181 m_testBotAliasTags.emplace(std::forward<TestBotAliasTagsKeyT>(key), std::forward<TestBotAliasTagsValueT>(value));
193 m_botTypeHasBeenSet =
true;
208 template <
typename BotMembersT = Aws::Vector<BotMember>>
210 m_botMembersHasBeenSet =
true;
211 m_botMembers = std::forward<BotMembersT>(value);
213 template <
typename BotMembersT = Aws::Vector<BotMember>>
218 template <
typename BotMembersT = BotMember>
220 m_botMembersHasBeenSet =
true;
221 m_botMembers.emplace_back(std::forward<BotMembersT>(value));
232 template <
typename ErrorLogSettingsT = ErrorLogSettings>
234 m_errorLogSettingsHasBeenSet =
true;
235 m_errorLogSettings = std::forward<ErrorLogSettingsT>(value);
237 template <
typename ErrorLogSettingsT = ErrorLogSettings>
252 int m_idleSessionTTLInSeconds{0};
262 ErrorLogSettings m_errorLogSettings;
263 bool m_botNameHasBeenSet =
false;
264 bool m_descriptionHasBeenSet =
false;
265 bool m_roleArnHasBeenSet =
false;
266 bool m_dataPrivacyHasBeenSet =
false;
267 bool m_idleSessionTTLInSecondsHasBeenSet =
false;
268 bool m_botTagsHasBeenSet =
false;
269 bool m_testBotAliasTagsHasBeenSet =
false;
270 bool m_botTypeHasBeenSet =
false;
271 bool m_botMembersHasBeenSet =
false;
272 bool m_errorLogSettingsHasBeenSet =
false;
CreateBotRequest & WithBotType(BotType value)
CreateBotRequest & AddBotMembers(BotMembersT &&value)
CreateBotRequest & WithDescription(DescriptionT &&value)
bool BotMembersHasBeenSet() const
void SetBotName(BotNameT &&value)
void SetDataPrivacy(DataPrivacyT &&value)
CreateBotRequest & AddTestBotAliasTags(TestBotAliasTagsKeyT &&key, TestBotAliasTagsValueT &&value)
void SetRoleArn(RoleArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTestBotAliasTags() const
void SetBotTags(BotTagsT &&value)
bool BotTypeHasBeenSet() const
AWS_LEXMODELSV2_API CreateBotRequest()=default
CreateBotRequest & WithTestBotAliasTags(TestBotAliasTagsT &&value)
CreateBotRequest & WithRoleArn(RoleArnT &&value)
bool RoleArnHasBeenSet() const
void SetBotType(BotType value)
bool BotTagsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
void SetIdleSessionTTLInSeconds(int value)
void SetBotMembers(BotMembersT &&value)
bool IdleSessionTTLInSecondsHasBeenSet() const
bool BotNameHasBeenSet() const
bool DataPrivacyHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetBotTags() const
CreateBotRequest & WithErrorLogSettings(ErrorLogSettingsT &&value)
CreateBotRequest & AddBotTags(BotTagsKeyT &&key, BotTagsValueT &&value)
const Aws::String & GetBotName() const
void SetTestBotAliasTags(TestBotAliasTagsT &&value)
BotType GetBotType() const
CreateBotRequest & WithDataPrivacy(DataPrivacyT &&value)
const Aws::String & GetRoleArn() const
const DataPrivacy & GetDataPrivacy() const
const Aws::Vector< BotMember > & GetBotMembers() const
CreateBotRequest & WithBotMembers(BotMembersT &&value)
CreateBotRequest & WithBotName(BotNameT &&value)
bool TestBotAliasTagsHasBeenSet() const
CreateBotRequest & WithIdleSessionTTLInSeconds(int value)
CreateBotRequest & WithBotTags(BotTagsT &&value)
const ErrorLogSettings & GetErrorLogSettings() const
int GetIdleSessionTTLInSeconds() const
bool DescriptionHasBeenSet() const
bool ErrorLogSettingsHasBeenSet() const
void SetErrorLogSettings(ErrorLogSettingsT &&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