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>
53 template<
typename CreatedAtT = Aws::Utils::DateTime>
54 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
55 template<
typename CreatedAtT = Aws::Utils::DateTime>
75 template<
typename DataSourceConfigurationT = DataSourceConfiguration>
76 void SetDataSourceConfiguration(DataSourceConfigurationT&& value) { m_dataSourceConfigurationHasBeenSet =
true; m_dataSourceConfiguration = std::forward<DataSourceConfigurationT>(value); }
77 template<
typename DataSourceConfigurationT = DataSourceConfiguration>
87 template<
typename DataSourceIdT = Aws::String>
88 void SetDataSourceId(DataSourceIdT&& value) { m_dataSourceIdHasBeenSet =
true; m_dataSourceId = std::forward<DataSourceIdT>(value); }
89 template<
typename DataSourceIdT = Aws::String>
99 template<
typename DescriptionT = Aws::String>
100 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
101 template<
typename DescriptionT = Aws::String>
111 template<
typename FailureReasonsT = Aws::Vector<Aws::String>>
112 void SetFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet =
true; m_failureReasons = std::forward<FailureReasonsT>(value); }
113 template<
typename FailureReasonsT = Aws::Vector<Aws::String>>
115 template<
typename FailureReasonsT = Aws::String>
116 DataSource&
AddFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet =
true; m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value));
return *
this; }
126 template<
typename KnowledgeBaseIdT = Aws::String>
127 void SetKnowledgeBaseId(KnowledgeBaseIdT&& value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value); }
128 template<
typename KnowledgeBaseIdT = Aws::String>
138 template<
typename NameT = Aws::String>
139 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
140 template<
typename NameT = Aws::String>
150 template<
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
151 void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT&& value) { m_serverSideEncryptionConfigurationHasBeenSet =
true; m_serverSideEncryptionConfiguration = std::forward<ServerSideEncryptionConfigurationT>(value); }
152 template<
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
175 template<
typename UpdatedAtT = Aws::Utils::DateTime>
176 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
177 template<
typename UpdatedAtT = Aws::Utils::DateTime>
187 template<
typename VectorIngestionConfigurationT = VectorIngestionConfiguration>
188 void SetVectorIngestionConfiguration(VectorIngestionConfigurationT&& value) { m_vectorIngestionConfigurationHasBeenSet =
true; m_vectorIngestionConfiguration = std::forward<VectorIngestionConfigurationT>(value); }
189 template<
typename VectorIngestionConfigurationT = VectorIngestionConfiguration>
195 bool m_createdAtHasBeenSet =
false;
198 bool m_dataDeletionPolicyHasBeenSet =
false;
200 DataSourceConfiguration m_dataSourceConfiguration;
201 bool m_dataSourceConfigurationHasBeenSet =
false;
204 bool m_dataSourceIdHasBeenSet =
false;
207 bool m_descriptionHasBeenSet =
false;
210 bool m_failureReasonsHasBeenSet =
false;
213 bool m_knowledgeBaseIdHasBeenSet =
false;
216 bool m_nameHasBeenSet =
false;
218 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
219 bool m_serverSideEncryptionConfigurationHasBeenSet =
false;
222 bool m_statusHasBeenSet =
false;
225 bool m_updatedAtHasBeenSet =
false;
227 VectorIngestionConfiguration m_vectorIngestionConfiguration;
228 bool m_vectorIngestionConfigurationHasBeenSet =
false;
DataSource & WithStatus(DataSourceStatus value)
bool VectorIngestionConfigurationHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
bool KnowledgeBaseIdHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetDescription(DescriptionT &&value)
DataSource & WithDataSourceId(DataSourceIdT &&value)
bool FailureReasonsHasBeenSet() const
void SetUpdatedAt(UpdatedAtT &&value)
DataSource & WithFailureReasons(FailureReasonsT &&value)
AWS_BEDROCKAGENT_API DataSource(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetDataSourceId(DataSourceIdT &&value)
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
DataSource & WithDataDeletionPolicy(DataDeletionPolicy value)
DataSource & AddFailureReasons(FailureReasonsT &&value)
void SetDataSourceConfiguration(DataSourceConfigurationT &&value)
void SetFailureReasons(FailureReasonsT &&value)
DataDeletionPolicy GetDataDeletionPolicy() const
AWS_BEDROCKAGENT_API DataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
DataSourceStatus GetStatus() const
const Aws::String & GetDataSourceId() const
DataSource & WithVectorIngestionConfiguration(VectorIngestionConfigurationT &&value)
bool StatusHasBeenSet() const
const Aws::Vector< Aws::String > & GetFailureReasons() const
const VectorIngestionConfiguration & GetVectorIngestionConfiguration() const
const Aws::String & GetKnowledgeBaseId() const
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
DataSource & WithServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
DataSource & WithDescription(DescriptionT &&value)
DataSource & WithCreatedAt(CreatedAtT &&value)
void SetCreatedAt(CreatedAtT &&value)
const DataSourceConfiguration & GetDataSourceConfiguration() const
void SetStatus(DataSourceStatus value)
DataSource & WithDataSourceConfiguration(DataSourceConfigurationT &&value)
bool NameHasBeenSet() const
bool ServerSideEncryptionConfigurationHasBeenSet() const
void SetVectorIngestionConfiguration(VectorIngestionConfigurationT &&value)
bool UpdatedAtHasBeenSet() const
DataSource & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
DataSource & WithName(NameT &&value)
bool CreatedAtHasBeenSet() const
void SetDataDeletionPolicy(DataDeletionPolicy value)
DataSource & WithUpdatedAt(UpdatedAtT &&value)
bool DataSourceConfigurationHasBeenSet() const
const ServerSideEncryptionConfiguration & GetServerSideEncryptionConfiguration() const
bool DataDeletionPolicyHasBeenSet() const
AWS_BEDROCKAGENT_API DataSource()=default
void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
const Aws::String & GetDescription() const
bool DataSourceIdHasBeenSet() const
const Aws::String & GetName() const
void SetName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue