7#include <aws/bedrock-agent/BedrockAgentRequest.h>
8#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
9#include <aws/bedrock-agent/model/DataDeletionPolicy.h>
10#include <aws/bedrock-agent/model/DataSourceConfiguration.h>
11#include <aws/bedrock-agent/model/ServerSideEncryptionConfiguration.h>
12#include <aws/bedrock-agent/model/VectorIngestionConfiguration.h>
13#include <aws/core/utils/memory/stl/AWSString.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 DataSourceIdT = Aws::String>
61 m_dataSourceIdHasBeenSet =
true;
62 m_dataSourceId = std::forward<DataSourceIdT>(value);
64 template <
typename DataSourceIdT = Aws::String>
77 template <
typename NameT = Aws::String>
79 m_nameHasBeenSet =
true;
80 m_name = std::forward<NameT>(value);
82 template <
typename NameT = Aws::String>
84 SetName(std::forward<NameT>(value));
95 template <
typename DescriptionT = Aws::String>
97 m_descriptionHasBeenSet =
true;
98 m_description = std::forward<DescriptionT>(value);
100 template <
typename DescriptionT = Aws::String>
113 template <
typename DataSourceConfigurationT = DataSourceConfiguration>
115 m_dataSourceConfigurationHasBeenSet =
true;
116 m_dataSourceConfiguration = std::forward<DataSourceConfigurationT>(value);
118 template <
typename DataSourceConfigurationT = DataSourceConfiguration>
132 m_dataDeletionPolicyHasBeenSet =
true;
133 m_dataDeletionPolicy = value;
146 return m_serverSideEncryptionConfiguration;
149 template <
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
151 m_serverSideEncryptionConfigurationHasBeenSet =
true;
152 m_serverSideEncryptionConfiguration = std::forward<ServerSideEncryptionConfigurationT>(value);
154 template <
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
167 template <
typename VectorIngestionConfigurationT = VectorIngestionConfiguration>
169 m_vectorIngestionConfigurationHasBeenSet =
true;
170 m_vectorIngestionConfiguration = std::forward<VectorIngestionConfigurationT>(value);
172 template <
typename VectorIngestionConfigurationT = VectorIngestionConfiguration>
191 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
193 VectorIngestionConfiguration m_vectorIngestionConfiguration;
194 bool m_knowledgeBaseIdHasBeenSet =
false;
195 bool m_dataSourceIdHasBeenSet =
false;
196 bool m_nameHasBeenSet =
false;
197 bool m_descriptionHasBeenSet =
false;
198 bool m_dataSourceConfigurationHasBeenSet =
false;
199 bool m_dataDeletionPolicyHasBeenSet =
false;
200 bool m_serverSideEncryptionConfigurationHasBeenSet =
false;
201 bool m_vectorIngestionConfigurationHasBeenSet =
false;
void SetVectorIngestionConfiguration(VectorIngestionConfigurationT &&value)
UpdateDataSourceRequest & WithDataDeletionPolicy(DataDeletionPolicy value)
bool DescriptionHasBeenSet() const
const ServerSideEncryptionConfiguration & GetServerSideEncryptionConfiguration() const
void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
UpdateDataSourceRequest & WithDataSourceConfiguration(DataSourceConfigurationT &&value)
void SetName(NameT &&value)
void SetDescription(DescriptionT &&value)
DataDeletionPolicy GetDataDeletionPolicy() const
const Aws::String & GetDescription() const
const DataSourceConfiguration & GetDataSourceConfiguration() const
bool ServerSideEncryptionConfigurationHasBeenSet() const
UpdateDataSourceRequest & WithDataSourceId(DataSourceIdT &&value)
bool NameHasBeenSet() const
const Aws::String & GetName() const
bool KnowledgeBaseIdHasBeenSet() const
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
const Aws::String & GetKnowledgeBaseId() const
UpdateDataSourceRequest & WithDescription(DescriptionT &&value)
UpdateDataSourceRequest & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
AWS_BEDROCKAGENT_API UpdateDataSourceRequest()=default
void SetDataSourceConfiguration(DataSourceConfigurationT &&value)
const Aws::String & GetDataSourceId() const
bool DataDeletionPolicyHasBeenSet() const
const VectorIngestionConfiguration & GetVectorIngestionConfiguration() const
bool DataSourceIdHasBeenSet() const
void SetDataDeletionPolicy(DataDeletionPolicy value)
bool VectorIngestionConfigurationHasBeenSet() const
UpdateDataSourceRequest & WithVectorIngestionConfiguration(VectorIngestionConfigurationT &&value)
UpdateDataSourceRequest & WithName(NameT &&value)
void SetDataSourceId(DataSourceIdT &&value)
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
UpdateDataSourceRequest & WithServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
virtual const char * GetServiceRequestName() const override
bool DataSourceConfigurationHasBeenSet() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String