7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/BedrockAgentRequest.h>
9#include <aws/bedrock-agent/model/DataDeletionPolicy.h>
10#include <aws/bedrock-agent/model/DataSourceConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/bedrock-agent/model/ServerSideEncryptionConfiguration.h>
13#include <aws/bedrock-agent/model/VectorIngestionConfiguration.h>
55 template<
typename DataSourceConfigurationT = DataSourceConfiguration>
56 void SetDataSourceConfiguration(DataSourceConfigurationT&& value) { m_dataSourceConfigurationHasBeenSet =
true; m_dataSourceConfiguration = std::forward<DataSourceConfigurationT>(value); }
57 template<
typename DataSourceConfigurationT = DataSourceConfiguration>
67 template<
typename DataSourceIdT = Aws::String>
68 void SetDataSourceId(DataSourceIdT&& value) { m_dataSourceIdHasBeenSet =
true; m_dataSourceId = std::forward<DataSourceIdT>(value); }
69 template<
typename DataSourceIdT = Aws::String>
79 template<
typename DescriptionT = Aws::String>
80 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
81 template<
typename DescriptionT = Aws::String>
91 template<
typename KnowledgeBaseIdT = Aws::String>
92 void SetKnowledgeBaseId(KnowledgeBaseIdT&& value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value); }
93 template<
typename KnowledgeBaseIdT = Aws::String>
103 template<
typename NameT = Aws::String>
104 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
105 template<
typename NameT = Aws::String>
115 template<
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
116 void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT&& value) { m_serverSideEncryptionConfigurationHasBeenSet =
true; m_serverSideEncryptionConfiguration = std::forward<ServerSideEncryptionConfigurationT>(value); }
117 template<
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
127 template<
typename VectorIngestionConfigurationT = VectorIngestionConfiguration>
128 void SetVectorIngestionConfiguration(VectorIngestionConfigurationT&& value) { m_vectorIngestionConfigurationHasBeenSet =
true; m_vectorIngestionConfiguration = std::forward<VectorIngestionConfigurationT>(value); }
129 template<
typename VectorIngestionConfigurationT = VectorIngestionConfiguration>
135 bool m_dataDeletionPolicyHasBeenSet =
false;
137 DataSourceConfiguration m_dataSourceConfiguration;
138 bool m_dataSourceConfigurationHasBeenSet =
false;
141 bool m_dataSourceIdHasBeenSet =
false;
144 bool m_descriptionHasBeenSet =
false;
147 bool m_knowledgeBaseIdHasBeenSet =
false;
150 bool m_nameHasBeenSet =
false;
152 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
153 bool m_serverSideEncryptionConfigurationHasBeenSet =
false;
155 VectorIngestionConfiguration m_vectorIngestionConfiguration;
156 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String