7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/BedrockAgentRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/bedrock-agent/model/DataDeletionPolicy.h>
11#include <aws/bedrock-agent/model/DataSourceConfiguration.h>
12#include <aws/bedrock-agent/model/ServerSideEncryptionConfiguration.h>
13#include <aws/bedrock-agent/model/VectorIngestionConfiguration.h>
15#include <aws/core/utils/UUID.h>
50 template<
typename ClientTokenT = Aws::String>
51 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
52 template<
typename ClientTokenT = Aws::String>
80 template<
typename DataSourceConfigurationT = DataSourceConfiguration>
81 void SetDataSourceConfiguration(DataSourceConfigurationT&& value) { m_dataSourceConfigurationHasBeenSet =
true; m_dataSourceConfiguration = std::forward<DataSourceConfigurationT>(value); }
82 template<
typename DataSourceConfigurationT = DataSourceConfiguration>
92 template<
typename DescriptionT = Aws::String>
93 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
94 template<
typename DescriptionT = Aws::String>
105 template<
typename KnowledgeBaseIdT = Aws::String>
106 void SetKnowledgeBaseId(KnowledgeBaseIdT&& value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value); }
107 template<
typename KnowledgeBaseIdT = Aws::String>
117 template<
typename NameT = Aws::String>
118 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
119 template<
typename NameT = Aws::String>
129 template<
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
130 void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT&& value) { m_serverSideEncryptionConfigurationHasBeenSet =
true; m_serverSideEncryptionConfiguration = std::forward<ServerSideEncryptionConfigurationT>(value); }
131 template<
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
141 template<
typename VectorIngestionConfigurationT = VectorIngestionConfiguration>
142 void SetVectorIngestionConfiguration(VectorIngestionConfigurationT&& value) { m_vectorIngestionConfigurationHasBeenSet =
true; m_vectorIngestionConfiguration = std::forward<VectorIngestionConfigurationT>(value); }
143 template<
typename VectorIngestionConfigurationT = VectorIngestionConfiguration>
149 bool m_clientTokenHasBeenSet =
true;
152 bool m_dataDeletionPolicyHasBeenSet =
false;
154 DataSourceConfiguration m_dataSourceConfiguration;
155 bool m_dataSourceConfigurationHasBeenSet =
false;
158 bool m_descriptionHasBeenSet =
false;
161 bool m_knowledgeBaseIdHasBeenSet =
false;
164 bool m_nameHasBeenSet =
false;
166 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
167 bool m_serverSideEncryptionConfigurationHasBeenSet =
false;
169 VectorIngestionConfiguration m_vectorIngestionConfiguration;
170 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String