7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/LexModelsV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lexv2-models/model/DataPrivacy.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/lexv2-models/model/BotType.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/lexv2-models/model/ErrorLogSettings.h>
15#include <aws/lexv2-models/model/BotMember.h>
48 template<
typename BotNameT = Aws::String>
49 void SetBotName(BotNameT&& value) { m_botNameHasBeenSet =
true; m_botName = std::forward<BotNameT>(value); }
50 template<
typename BotNameT = Aws::String>
61 template<
typename DescriptionT = Aws::String>
62 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
63 template<
typename DescriptionT = Aws::String>
74 template<
typename RoleArnT = Aws::String>
75 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
76 template<
typename RoleArnT = Aws::String>
87 template<
typename DataPrivacyT = DataPrivacy>
88 void SetDataPrivacy(DataPrivacyT&& value) { m_dataPrivacyHasBeenSet =
true; m_dataPrivacy = std::forward<DataPrivacyT>(value); }
89 template<
typename DataPrivacyT = DataPrivacy>
115 template<
typename BotTagsT = Aws::Map<Aws::String, Aws::String>>
116 void SetBotTags(BotTagsT&& value) { m_botTagsHasBeenSet =
true; m_botTags = std::forward<BotTagsT>(value); }
117 template<
typename BotTagsT = Aws::Map<Aws::String, Aws::String>>
119 template<
typename BotTagsKeyT = Aws::String,
typename BotTagsValueT = Aws::String>
121 m_botTagsHasBeenSet =
true; m_botTags.emplace(std::forward<BotTagsKeyT>(key), std::forward<BotTagsValueT>(value));
return *
this;
134 template<
typename TestBotAliasTagsT = Aws::Map<Aws::String, Aws::String>>
135 void SetTestBotAliasTags(TestBotAliasTagsT&& value) { m_testBotAliasTagsHasBeenSet =
true; m_testBotAliasTags = std::forward<TestBotAliasTagsT>(value); }
136 template<
typename TestBotAliasTagsT = Aws::Map<Aws::String, Aws::String>>
138 template<
typename TestBotAliasTagsKeyT = Aws::String,
typename TestBotAliasTagsValueT = Aws::String>
140 m_testBotAliasTagsHasBeenSet =
true; m_testBotAliasTags.emplace(std::forward<TestBotAliasTagsKeyT>(key), std::forward<TestBotAliasTagsValueT>(value));
return *
this;
160 template<
typename BotMembersT = Aws::Vector<BotMember>>
161 void SetBotMembers(BotMembersT&& value) { m_botMembersHasBeenSet =
true; m_botMembers = std::forward<BotMembersT>(value); }
162 template<
typename BotMembersT = Aws::Vector<BotMember>>
164 template<
typename BotMembersT = BotMember>
165 CreateBotRequest&
AddBotMembers(BotMembersT&& value) { m_botMembersHasBeenSet =
true; m_botMembers.emplace_back(std::forward<BotMembersT>(value));
return *
this; }
174 template<
typename ErrorLogSettingsT = ErrorLogSettings>
175 void SetErrorLogSettings(ErrorLogSettingsT&& value) { m_errorLogSettingsHasBeenSet =
true; m_errorLogSettings = std::forward<ErrorLogSettingsT>(value); }
176 template<
typename ErrorLogSettingsT = ErrorLogSettings>
182 bool m_botNameHasBeenSet =
false;
185 bool m_descriptionHasBeenSet =
false;
188 bool m_roleArnHasBeenSet =
false;
191 bool m_dataPrivacyHasBeenSet =
false;
193 int m_idleSessionTTLInSeconds{0};
194 bool m_idleSessionTTLInSecondsHasBeenSet =
false;
197 bool m_botTagsHasBeenSet =
false;
200 bool m_testBotAliasTagsHasBeenSet =
false;
203 bool m_botTypeHasBeenSet =
false;
206 bool m_botMembersHasBeenSet =
false;
208 ErrorLogSettings m_errorLogSettings;
209 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