7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/DateTime.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/core/utils/memory/stl/AWSVector.h>
13#include <aws/bedrock-agent/model/ServerSideEncryptionConfiguration.h>
14#include <aws/bedrock-agent/model/DataSourceStatus.h>
15#include <aws/bedrock-agent/model/VectorIngestionConfiguration.h>
91 inline void SetDataSourceId(
const char* value) { m_dataSourceIdHasBeenSet =
true; m_dataSourceId.assign(value); }
105 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
135 inline void SetKnowledgeBaseId(
const char* value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId.assign(value); }
149 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
208 bool m_createdAtHasBeenSet =
false;
211 bool m_dataDeletionPolicyHasBeenSet =
false;
214 bool m_dataSourceConfigurationHasBeenSet =
false;
217 bool m_dataSourceIdHasBeenSet =
false;
220 bool m_descriptionHasBeenSet =
false;
223 bool m_failureReasonsHasBeenSet =
false;
226 bool m_knowledgeBaseIdHasBeenSet =
false;
229 bool m_nameHasBeenSet =
false;
232 bool m_serverSideEncryptionConfigurationHasBeenSet =
false;
235 bool m_statusHasBeenSet =
false;
238 bool m_updatedAtHasBeenSet =
false;
241 bool m_vectorIngestionConfigurationHasBeenSet =
false;
DataSource & WithVectorIngestionConfiguration(VectorIngestionConfiguration &&value)
bool VectorIngestionConfigurationHasBeenSet() const
DataSource & WithServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration &value)
DataSource & WithName(const Aws::String &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
DataSource & WithCreatedAt(Aws::Utils::DateTime &&value)
DataSource & WithVectorIngestionConfiguration(const VectorIngestionConfiguration &value)
bool KnowledgeBaseIdHasBeenSet() const
void SetServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration &value)
bool DescriptionHasBeenSet() const
void SetStatus(const DataSourceStatus &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
DataSource & WithDataSourceConfiguration(const DataSourceConfiguration &value)
bool FailureReasonsHasBeenSet() const
DataSource & WithDescription(Aws::String &&value)
void SetDataSourceId(Aws::String &&value)
DataSource & AddFailureReasons(const Aws::String &value)
void SetDataDeletionPolicy(const DataDeletionPolicy &value)
void SetVectorIngestionConfiguration(const VectorIngestionConfiguration &value)
DataSource & WithDataSourceId(Aws::String &&value)
void SetName(const char *value)
DataSource & AddFailureReasons(const char *value)
void SetName(Aws::String &&value)
AWS_BEDROCKAGENT_API DataSource(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedAt() const
DataSource & WithDataSourceConfiguration(DataSourceConfiguration &&value)
void SetName(const Aws::String &value)
void SetDescription(Aws::String &&value)
DataSource & WithDataSourceId(const Aws::String &value)
AWS_BEDROCKAGENT_API DataSource()
void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration &&value)
DataSource & WithFailureReasons(const Aws::Vector< Aws::String > &value)
AWS_BEDROCKAGENT_API DataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
const DataDeletionPolicy & GetDataDeletionPolicy() const
void SetStatus(DataSourceStatus &&value)
void SetFailureReasons(const Aws::Vector< Aws::String > &value)
void SetKnowledgeBaseId(Aws::String &&value)
DataSource & WithStatus(DataSourceStatus &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
DataSource & WithDescription(const Aws::String &value)
const DataSourceStatus & GetStatus() const
const Aws::String & GetDataSourceId() const
DataSource & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetDataSourceConfiguration(const DataSourceConfiguration &value)
bool StatusHasBeenSet() const
DataSource & WithUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::Vector< Aws::String > & GetFailureReasons() const
const VectorIngestionConfiguration & GetVectorIngestionConfiguration() const
const Aws::String & GetKnowledgeBaseId() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
DataSource & WithDescription(const char *value)
DataSource & WithUpdatedAt(const Aws::Utils::DateTime &value)
const DataSourceConfiguration & GetDataSourceConfiguration() const
void SetKnowledgeBaseId(const char *value)
DataSource & WithName(const char *value)
DataSource & WithStatus(const DataSourceStatus &value)
void SetDescription(const Aws::String &value)
bool NameHasBeenSet() const
bool ServerSideEncryptionConfigurationHasBeenSet() const
DataSource & WithKnowledgeBaseId(const char *value)
DataSource & AddFailureReasons(Aws::String &&value)
bool UpdatedAtHasBeenSet() const
void SetDataSourceId(const char *value)
void SetFailureReasons(Aws::Vector< Aws::String > &&value)
DataSource & WithDataDeletionPolicy(DataDeletionPolicy &&value)
void SetDataDeletionPolicy(DataDeletionPolicy &&value)
void SetDescription(const char *value)
void SetDataSourceConfiguration(DataSourceConfiguration &&value)
bool CreatedAtHasBeenSet() const
DataSource & WithName(Aws::String &&value)
DataSource & WithKnowledgeBaseId(const Aws::String &value)
void SetVectorIngestionConfiguration(VectorIngestionConfiguration &&value)
bool DataSourceConfigurationHasBeenSet() const
void SetDataSourceId(const Aws::String &value)
const ServerSideEncryptionConfiguration & GetServerSideEncryptionConfiguration() const
bool DataDeletionPolicyHasBeenSet() const
DataSource & WithKnowledgeBaseId(Aws::String &&value)
DataSource & WithServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration &&value)
DataSource & WithFailureReasons(Aws::Vector< Aws::String > &&value)
void SetKnowledgeBaseId(const Aws::String &value)
const Aws::String & GetDescription() const
DataSource & WithDataSourceId(const char *value)
bool DataSourceIdHasBeenSet() const
DataSource & WithDataDeletionPolicy(const DataDeletionPolicy &value)
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue