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/BotMember.h>
49 inline void SetBotName(
const char* value) { m_botNameHasBeenSet =
true; m_botName.assign(value); }
64 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
79 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
130 inline CreateBotRequest&
AddBotTags(
const char* key,
const char* value) { m_botTagsHasBeenSet =
true; m_botTags.emplace(key, value);
return *
this; }
162 inline void SetBotType(
BotType&& value) { m_botTypeHasBeenSet =
true; m_botType = std::move(value); }
183 bool m_botNameHasBeenSet =
false;
186 bool m_descriptionHasBeenSet =
false;
189 bool m_roleArnHasBeenSet =
false;
192 bool m_dataPrivacyHasBeenSet =
false;
194 int m_idleSessionTTLInSeconds;
195 bool m_idleSessionTTLInSecondsHasBeenSet =
false;
198 bool m_botTagsHasBeenSet =
false;
201 bool m_testBotAliasTagsHasBeenSet =
false;
204 bool m_botTypeHasBeenSet =
false;
207 bool m_botMembersHasBeenSet =
false;
const BotType & GetBotType() const
void SetBotType(const BotType &value)
CreateBotRequest & WithDescription(const char *value)
CreateBotRequest & WithBotMembers(const Aws::Vector< BotMember > &value)
void SetRoleArn(const Aws::String &value)
void SetBotName(const char *value)
void SetBotMembers(Aws::Vector< BotMember > &&value)
bool BotMembersHasBeenSet() const
CreateBotRequest & AddTestBotAliasTags(const char *key, Aws::String &&value)
CreateBotRequest & WithBotTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateBotRequest & AddBotTags(const char *key, Aws::String &&value)
CreateBotRequest & AddBotTags(const Aws::String &key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTestBotAliasTags() const
CreateBotRequest & AddBotTags(Aws::String &&key, const Aws::String &value)
CreateBotRequest & AddTestBotAliasTags(Aws::String &&key, const char *value)
bool BotTypeHasBeenSet() const
CreateBotRequest & AddTestBotAliasTags(const char *key, const char *value)
void SetBotName(const Aws::String &value)
bool RoleArnHasBeenSet() const
void SetTestBotAliasTags(const Aws::Map< Aws::String, Aws::String > &value)
bool BotTagsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetBotName(Aws::String &&value)
void SetDescription(const Aws::String &value)
CreateBotRequest & AddTestBotAliasTags(Aws::String &&key, const Aws::String &value)
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
void SetDataPrivacy(const DataPrivacy &value)
CreateBotRequest & WithRoleArn(Aws::String &&value)
void SetBotTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetDescription() const
CreateBotRequest & WithBotMembers(Aws::Vector< BotMember > &&value)
void SetIdleSessionTTLInSeconds(int value)
CreateBotRequest & WithTestBotAliasTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateBotRequest & WithRoleArn(const Aws::String &value)
CreateBotRequest & WithBotType(BotType &&value)
void SetRoleArn(const char *value)
CreateBotRequest & AddTestBotAliasTags(const Aws::String &key, Aws::String &&value)
CreateBotRequest & WithDescription(const Aws::String &value)
CreateBotRequest & WithBotTags(const Aws::Map< Aws::String, Aws::String > &value)
bool IdleSessionTTLInSecondsHasBeenSet() const
bool BotNameHasBeenSet() const
CreateBotRequest & AddBotMembers(const BotMember &value)
CreateBotRequest & WithBotName(const Aws::String &value)
void SetTestBotAliasTags(Aws::Map< Aws::String, Aws::String > &&value)
bool DataPrivacyHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetBotTags() const
void SetDataPrivacy(DataPrivacy &&value)
CreateBotRequest & AddBotTags(Aws::String &&key, Aws::String &&value)
CreateBotRequest & WithBotName(Aws::String &&value)
CreateBotRequest & AddTestBotAliasTags(const Aws::String &key, const Aws::String &value)
AWS_LEXMODELSV2_API CreateBotRequest()
const Aws::String & GetBotName() const
CreateBotRequest & WithBotType(const BotType &value)
CreateBotRequest & AddBotMembers(BotMember &&value)
CreateBotRequest & WithBotName(const char *value)
const Aws::String & GetRoleArn() const
const DataPrivacy & GetDataPrivacy() const
CreateBotRequest & AddTestBotAliasTags(Aws::String &&key, Aws::String &&value)
CreateBotRequest & WithDataPrivacy(DataPrivacy &&value)
CreateBotRequest & AddBotTags(Aws::String &&key, const char *value)
CreateBotRequest & WithRoleArn(const char *value)
const Aws::Vector< BotMember > & GetBotMembers() const
CreateBotRequest & WithTestBotAliasTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateBotRequest & AddBotTags(const char *key, const char *value)
void SetRoleArn(Aws::String &&value)
void SetBotTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetDescription(const char *value)
CreateBotRequest & WithDataPrivacy(const DataPrivacy &value)
void SetBotMembers(const Aws::Vector< BotMember > &value)
CreateBotRequest & AddBotTags(const Aws::String &key, const Aws::String &value)
bool TestBotAliasTagsHasBeenSet() const
CreateBotRequest & WithIdleSessionTTLInSeconds(int value)
void SetBotType(BotType &&value)
int GetIdleSessionTTLInSeconds() const
bool DescriptionHasBeenSet() const
CreateBotRequest & WithDescription(Aws::String &&value)
void SetDescription(Aws::String &&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