7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/BedrockAgentRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/bedrock-agent/model/KnowledgeBaseConfiguration.h>
11#include <aws/bedrock-agent/model/StorageConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/UUID.h>
49 template<
typename ClientTokenT = Aws::String>
50 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
51 template<
typename ClientTokenT = 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>
73 template<
typename KnowledgeBaseConfigurationT = KnowledgeBaseConfiguration>
74 void SetKnowledgeBaseConfiguration(KnowledgeBaseConfigurationT&& value) { m_knowledgeBaseConfigurationHasBeenSet =
true; m_knowledgeBaseConfiguration = std::forward<KnowledgeBaseConfigurationT>(value); }
75 template<
typename KnowledgeBaseConfigurationT = KnowledgeBaseConfiguration>
85 template<
typename NameT = Aws::String>
86 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
87 template<
typename NameT = Aws::String>
98 template<
typename RoleArnT = Aws::String>
99 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
100 template<
typename RoleArnT = Aws::String>
111 template<
typename StorageConfigurationT = StorageConfiguration>
112 void SetStorageConfiguration(StorageConfigurationT&& value) { m_storageConfigurationHasBeenSet =
true; m_storageConfiguration = std::forward<StorageConfigurationT>(value); }
113 template<
typename StorageConfigurationT = StorageConfiguration>
124 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
125 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
126 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
128 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
130 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
136 bool m_clientTokenHasBeenSet =
true;
139 bool m_descriptionHasBeenSet =
false;
141 KnowledgeBaseConfiguration m_knowledgeBaseConfiguration;
142 bool m_knowledgeBaseConfigurationHasBeenSet =
false;
145 bool m_nameHasBeenSet =
false;
148 bool m_roleArnHasBeenSet =
false;
150 StorageConfiguration m_storageConfiguration;
151 bool m_storageConfigurationHasBeenSet =
false;
154 bool m_tagsHasBeenSet =
false;
CreateKnowledgeBaseRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetName() const
void SetClientToken(ClientTokenT &&value)
CreateKnowledgeBaseRequest & WithRoleArn(RoleArnT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetClientToken() const
void SetStorageConfiguration(StorageConfigurationT &&value)
const Aws::String & GetDescription() const
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
AWS_BEDROCKAGENT_API CreateKnowledgeBaseRequest()=default
virtual const char * GetServiceRequestName() const override
bool DescriptionHasBeenSet() const
bool StorageConfigurationHasBeenSet() const
const KnowledgeBaseConfiguration & GetKnowledgeBaseConfiguration() const
bool KnowledgeBaseConfigurationHasBeenSet() const
CreateKnowledgeBaseRequest & WithKnowledgeBaseConfiguration(KnowledgeBaseConfigurationT &&value)
const StorageConfiguration & GetStorageConfiguration() const
bool NameHasBeenSet() const
CreateKnowledgeBaseRequest & WithName(NameT &&value)
bool TagsHasBeenSet() const
const Aws::String & GetRoleArn() const
CreateKnowledgeBaseRequest & WithStorageConfiguration(StorageConfigurationT &&value)
void SetKnowledgeBaseConfiguration(KnowledgeBaseConfigurationT &&value)
void SetName(NameT &&value)
CreateKnowledgeBaseRequest & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
CreateKnowledgeBaseRequest & WithTags(TagsT &&value)
bool ClientTokenHasBeenSet() const
bool RoleArnHasBeenSet() const
void SetRoleArn(RoleArnT &&value)
CreateKnowledgeBaseRequest & WithClientToken(ClientTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
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