7#include <aws/bedrock-agent/BedrockAgentRequest.h>
8#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
9#include <aws/bedrock-agent/model/KnowledgeBaseConfiguration.h>
10#include <aws/bedrock-agent/model/StorageConfiguration.h>
11#include <aws/core/utils/UUID.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
18namespace BedrockAgent {
45 template <
typename ClientTokenT = Aws::String>
47 m_clientTokenHasBeenSet =
true;
48 m_clientToken = std::forward<ClientTokenT>(value);
50 template <
typename ClientTokenT = Aws::String>
63 template <
typename NameT = Aws::String>
65 m_nameHasBeenSet =
true;
66 m_name = std::forward<NameT>(value);
68 template <
typename NameT = Aws::String>
70 SetName(std::forward<NameT>(value));
81 template <
typename DescriptionT = Aws::String>
83 m_descriptionHasBeenSet =
true;
84 m_description = std::forward<DescriptionT>(value);
86 template <
typename DescriptionT = Aws::String>
100 template <
typename RoleArnT = Aws::String>
102 m_roleArnHasBeenSet =
true;
103 m_roleArn = std::forward<RoleArnT>(value);
105 template <
typename RoleArnT = Aws::String>
118 template <
typename KnowledgeBaseConfigurationT = KnowledgeBaseConfiguration>
120 m_knowledgeBaseConfigurationHasBeenSet =
true;
121 m_knowledgeBaseConfiguration = std::forward<KnowledgeBaseConfigurationT>(value);
123 template <
typename KnowledgeBaseConfigurationT = KnowledgeBaseConfiguration>
137 template <
typename StorageConfigurationT = StorageConfiguration>
139 m_storageConfigurationHasBeenSet =
true;
140 m_storageConfiguration = std::forward<StorageConfigurationT>(value);
142 template <
typename StorageConfigurationT = StorageConfiguration>
156 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
158 m_tagsHasBeenSet =
true;
159 m_tags = std::forward<TagsT>(value);
161 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
163 SetTags(std::forward<TagsT>(value));
166 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
168 m_tagsHasBeenSet =
true;
169 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
182 KnowledgeBaseConfiguration m_knowledgeBaseConfiguration;
184 StorageConfiguration m_storageConfiguration;
187 bool m_clientTokenHasBeenSet =
true;
188 bool m_nameHasBeenSet =
false;
189 bool m_descriptionHasBeenSet =
false;
190 bool m_roleArnHasBeenSet =
false;
191 bool m_knowledgeBaseConfigurationHasBeenSet =
false;
192 bool m_storageConfigurationHasBeenSet =
false;
193 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