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>
52 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
98 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
113 inline void SetKnowledgeBaseId(
const char* value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId.assign(value); }
127 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
159 bool m_clientTokenHasBeenSet =
false;
162 bool m_dataDeletionPolicyHasBeenSet =
false;
165 bool m_dataSourceConfigurationHasBeenSet =
false;
168 bool m_descriptionHasBeenSet =
false;
171 bool m_knowledgeBaseIdHasBeenSet =
false;
174 bool m_nameHasBeenSet =
false;
177 bool m_serverSideEncryptionConfigurationHasBeenSet =
false;
180 bool m_vectorIngestionConfigurationHasBeenSet =
false;
bool DescriptionHasBeenSet() const
void SetName(Aws::String &&value)
void SetName(const char *value)
bool DataDeletionPolicyHasBeenSet() const
CreateDataSourceRequest & WithName(const Aws::String &value)
void SetDataDeletionPolicy(const DataDeletionPolicy &value)
CreateDataSourceRequest & WithServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration &&value)
const DataDeletionPolicy & GetDataDeletionPolicy() const
const DataSourceConfiguration & GetDataSourceConfiguration() const
CreateDataSourceRequest & WithClientToken(const Aws::String &value)
void SetDataSourceConfiguration(const DataSourceConfiguration &value)
const Aws::String & GetName() const
CreateDataSourceRequest & WithVectorIngestionConfiguration(const VectorIngestionConfiguration &value)
CreateDataSourceRequest & WithKnowledgeBaseId(Aws::String &&value)
void SetVectorIngestionConfiguration(const VectorIngestionConfiguration &value)
void SetClientToken(const Aws::String &value)
const Aws::String & GetDescription() const
CreateDataSourceRequest & WithName(Aws::String &&value)
void SetClientToken(Aws::String &&value)
const ServerSideEncryptionConfiguration & GetServerSideEncryptionConfiguration() const
void SetName(const Aws::String &value)
bool VectorIngestionConfigurationHasBeenSet() const
void SetVectorIngestionConfiguration(VectorIngestionConfiguration &&value)
CreateDataSourceRequest & WithVectorIngestionConfiguration(VectorIngestionConfiguration &&value)
bool NameHasBeenSet() const
void SetClientToken(const char *value)
const Aws::String & GetKnowledgeBaseId() const
const VectorIngestionConfiguration & GetVectorIngestionConfiguration() const
CreateDataSourceRequest & WithServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration &value)
CreateDataSourceRequest & WithDataDeletionPolicy(DataDeletionPolicy &&value)
CreateDataSourceRequest & WithKnowledgeBaseId(const Aws::String &value)
void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration &&value)
AWS_BEDROCKAGENT_API CreateDataSourceRequest()
void SetDescription(const char *value)
void SetKnowledgeBaseId(const char *value)
CreateDataSourceRequest & WithDescription(const char *value)
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
void SetDescription(const Aws::String &value)
void SetServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration &value)
const Aws::String & GetClientToken() const
bool ClientTokenHasBeenSet() const
CreateDataSourceRequest & WithDataSourceConfiguration(DataSourceConfiguration &&value)
bool DataSourceConfigurationHasBeenSet() const
void SetKnowledgeBaseId(Aws::String &&value)
CreateDataSourceRequest & WithClientToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
bool KnowledgeBaseIdHasBeenSet() const
void SetDataSourceConfiguration(DataSourceConfiguration &&value)
void SetDescription(Aws::String &&value)
void SetDataDeletionPolicy(DataDeletionPolicy &&value)
CreateDataSourceRequest & WithDescription(Aws::String &&value)
CreateDataSourceRequest & WithDataDeletionPolicy(const DataDeletionPolicy &value)
CreateDataSourceRequest & WithKnowledgeBaseId(const char *value)
void SetKnowledgeBaseId(const Aws::String &value)
CreateDataSourceRequest & WithDataSourceConfiguration(const DataSourceConfiguration &value)
CreateDataSourceRequest & WithClientToken(const char *value)
bool ServerSideEncryptionConfigurationHasBeenSet() const
CreateDataSourceRequest & WithDescription(const Aws::String &value)
CreateDataSourceRequest & WithName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String