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/MetadataConfiguration.h>
11#include <aws/bedrock-agent/model/StorageConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
18namespace BedrockAgent {
41 template <
typename KnowledgeBaseIdT = Aws::String>
43 m_knowledgeBaseIdHasBeenSet =
true;
44 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
46 template <
typename KnowledgeBaseIdT = Aws::String>
59 template <
typename NameT = Aws::String>
61 m_nameHasBeenSet =
true;
62 m_name = std::forward<NameT>(value);
64 template <
typename NameT = Aws::String>
66 SetName(std::forward<NameT>(value));
77 template <
typename DescriptionT = Aws::String>
79 m_descriptionHasBeenSet =
true;
80 m_description = std::forward<DescriptionT>(value);
82 template <
typename DescriptionT = Aws::String>
96 template <
typename RoleArnT = Aws::String>
98 m_roleArnHasBeenSet =
true;
99 m_roleArn = std::forward<RoleArnT>(value);
101 template <
typename RoleArnT = Aws::String>
116 template <
typename KnowledgeBaseConfigurationT = KnowledgeBaseConfiguration>
118 m_knowledgeBaseConfigurationHasBeenSet =
true;
119 m_knowledgeBaseConfiguration = std::forward<KnowledgeBaseConfigurationT>(value);
121 template <
typename KnowledgeBaseConfigurationT = KnowledgeBaseConfiguration>
135 template <
typename StorageConfigurationT = StorageConfiguration>
137 m_storageConfigurationHasBeenSet =
true;
138 m_storageConfiguration = std::forward<StorageConfigurationT>(value);
140 template <
typename StorageConfigurationT = StorageConfiguration>
157 template <
typename MetadataConfigurationsT = Aws::Vector<MetadataConfiguration>>
159 m_metadataConfigurationsHasBeenSet =
true;
160 m_metadataConfigurations = std::forward<MetadataConfigurationsT>(value);
162 template <
typename MetadataConfigurationsT = Aws::Vector<MetadataConfiguration>>
167 template <
typename MetadataConfigurationsT = MetadataConfiguration>
169 m_metadataConfigurationsHasBeenSet =
true;
170 m_metadataConfigurations.emplace_back(std::forward<MetadataConfigurationsT>(value));
188 bool m_knowledgeBaseIdHasBeenSet =
false;
189 bool m_nameHasBeenSet =
false;
190 bool m_descriptionHasBeenSet =
false;
191 bool m_roleArnHasBeenSet =
false;
192 bool m_knowledgeBaseConfigurationHasBeenSet =
false;
193 bool m_storageConfigurationHasBeenSet =
false;
194 bool m_metadataConfigurationsHasBeenSet =
false;
const Aws::String & GetRoleArn() const
bool NameHasBeenSet() const
UpdateKnowledgeBaseRequest & WithKnowledgeBaseConfiguration(KnowledgeBaseConfigurationT &&value)
const Aws::String & GetKnowledgeBaseId() const
const Aws::String & GetDescription() const
const Aws::Vector< MetadataConfiguration > & GetMetadataConfigurations() const
const StorageConfiguration & GetStorageConfiguration() const
UpdateKnowledgeBaseRequest & WithDescription(DescriptionT &&value)
UpdateKnowledgeBaseRequest & AddMetadataConfigurations(MetadataConfigurationsT &&value)
AWS_BEDROCKAGENT_API UpdateKnowledgeBaseRequest()=default
UpdateKnowledgeBaseRequest & WithStorageConfiguration(StorageConfigurationT &&value)
void SetKnowledgeBaseConfiguration(KnowledgeBaseConfigurationT &&value)
void SetMetadataConfigurations(MetadataConfigurationsT &&value)
UpdateKnowledgeBaseRequest & WithName(NameT &&value)
bool MetadataConfigurationsHasBeenSet() const
const Aws::String & GetName() const
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
UpdateKnowledgeBaseRequest & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
void SetName(NameT &&value)
virtual const char * GetServiceRequestName() const override
void SetDescription(DescriptionT &&value)
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
UpdateKnowledgeBaseRequest & WithRoleArn(RoleArnT &&value)
void SetStorageConfiguration(StorageConfigurationT &&value)
UpdateKnowledgeBaseRequest & WithMetadataConfigurations(MetadataConfigurationsT &&value)
void SetRoleArn(RoleArnT &&value)
bool StorageConfigurationHasBeenSet() const
bool KnowledgeBaseIdHasBeenSet() const
bool RoleArnHasBeenSet() const
bool KnowledgeBaseConfigurationHasBeenSet() const
const KnowledgeBaseConfiguration & GetKnowledgeBaseConfiguration() const
bool DescriptionHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector