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/UUID.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
19namespace BedrockAgent {
43 template <
typename KnowledgeBaseIdT = Aws::String>
45 m_knowledgeBaseIdHasBeenSet =
true;
46 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
48 template <
typename KnowledgeBaseIdT = Aws::String>
65 template <
typename ClientTokenT = Aws::String>
67 m_clientTokenHasBeenSet =
true;
68 m_clientToken = std::forward<ClientTokenT>(value);
70 template <
typename ClientTokenT = Aws::String>
83 template <
typename NameT = Aws::String>
85 m_nameHasBeenSet =
true;
86 m_name = std::forward<NameT>(value);
88 template <
typename NameT = Aws::String>
90 SetName(std::forward<NameT>(value));
101 template <
typename DescriptionT = Aws::String>
103 m_descriptionHasBeenSet =
true;
104 m_description = std::forward<DescriptionT>(value);
106 template <
typename DescriptionT = Aws::String>
119 template <
typename DataSourceConfigurationT = DataSourceConfiguration>
121 m_dataSourceConfigurationHasBeenSet =
true;
122 m_dataSourceConfiguration = std::forward<DataSourceConfigurationT>(value);
124 template <
typename DataSourceConfigurationT = DataSourceConfiguration>
146 m_dataDeletionPolicyHasBeenSet =
true;
147 m_dataDeletionPolicy = value;
160 return m_serverSideEncryptionConfiguration;
163 template <
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
165 m_serverSideEncryptionConfigurationHasBeenSet =
true;
166 m_serverSideEncryptionConfiguration = std::forward<ServerSideEncryptionConfigurationT>(value);
168 template <
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
181 template <
typename VectorIngestionConfigurationT = VectorIngestionConfiguration>
183 m_vectorIngestionConfigurationHasBeenSet =
true;
184 m_vectorIngestionConfiguration = std::forward<VectorIngestionConfigurationT>(value);
186 template <
typename VectorIngestionConfigurationT = VectorIngestionConfiguration>
201 DataSourceConfiguration m_dataSourceConfiguration;
205 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
207 VectorIngestionConfiguration m_vectorIngestionConfiguration;
208 bool m_knowledgeBaseIdHasBeenSet =
false;
209 bool m_clientTokenHasBeenSet =
true;
210 bool m_nameHasBeenSet =
false;
211 bool m_descriptionHasBeenSet =
false;
212 bool m_dataSourceConfigurationHasBeenSet =
false;
213 bool m_dataDeletionPolicyHasBeenSet =
false;
214 bool m_serverSideEncryptionConfigurationHasBeenSet =
false;
215 bool m_vectorIngestionConfigurationHasBeenSet =
false;
bool DescriptionHasBeenSet() const
bool DataDeletionPolicyHasBeenSet() const
const DataSourceConfiguration & GetDataSourceConfiguration() const
void SetName(NameT &&value)
const Aws::String & GetName() const
const Aws::String & GetDescription() const
const ServerSideEncryptionConfiguration & GetServerSideEncryptionConfiguration() const
void SetDataDeletionPolicy(DataDeletionPolicy value)
bool VectorIngestionConfigurationHasBeenSet() const
bool NameHasBeenSet() const
const Aws::String & GetKnowledgeBaseId() const
const VectorIngestionConfiguration & GetVectorIngestionConfiguration() const
CreateDataSourceRequest & WithName(NameT &&value)
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
CreateDataSourceRequest & WithServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
CreateDataSourceRequest & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
CreateDataSourceRequest & WithDescription(DescriptionT &&value)
void SetDataSourceConfiguration(DataSourceConfigurationT &&value)
CreateDataSourceRequest & WithClientToken(ClientTokenT &&value)
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
void SetVectorIngestionConfiguration(VectorIngestionConfigurationT &&value)
AWS_BEDROCKAGENT_API CreateDataSourceRequest()=default
CreateDataSourceRequest & WithDataSourceConfiguration(DataSourceConfigurationT &&value)
const Aws::String & GetClientToken() const
bool ClientTokenHasBeenSet() const
bool DataSourceConfigurationHasBeenSet() const
void SetDescription(DescriptionT &&value)
virtual const char * GetServiceRequestName() const override
bool KnowledgeBaseIdHasBeenSet() const
CreateDataSourceRequest & WithVectorIngestionConfiguration(VectorIngestionConfigurationT &&value)
DataDeletionPolicy GetDataDeletionPolicy() const
void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
CreateDataSourceRequest & WithDataDeletionPolicy(DataDeletionPolicy value)
void SetClientToken(ClientTokenT &&value)
bool ServerSideEncryptionConfigurationHasBeenSet() const
static Aws::Utils::UUID PseudoRandomUUID()
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String