7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/DataSourceStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
21namespace BedrockAgent {
43 template <
typename KnowledgeBaseIdT = Aws::String>
45 m_knowledgeBaseIdHasBeenSet =
true;
46 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
48 template <
typename KnowledgeBaseIdT = Aws::String>
61 template <
typename DataSourceIdT = Aws::String>
63 m_dataSourceIdHasBeenSet =
true;
64 m_dataSourceId = std::forward<DataSourceIdT>(value);
66 template <
typename DataSourceIdT = Aws::String>
79 template <
typename NameT = Aws::String>
81 m_nameHasBeenSet =
true;
82 m_name = std::forward<NameT>(value);
84 template <
typename NameT = Aws::String>
86 SetName(std::forward<NameT>(value));
98 m_statusHasBeenSet =
true;
113 template <
typename DescriptionT = Aws::String>
115 m_descriptionHasBeenSet =
true;
116 m_description = std::forward<DescriptionT>(value);
118 template <
typename DescriptionT = Aws::String>
131 template <
typename UpdatedAtT = Aws::Utils::DateTime>
133 m_updatedAtHasBeenSet =
true;
134 m_updatedAt = std::forward<UpdatedAtT>(value);
136 template <
typename UpdatedAtT = Aws::Utils::DateTime>
154 bool m_knowledgeBaseIdHasBeenSet =
false;
155 bool m_dataSourceIdHasBeenSet =
false;
156 bool m_nameHasBeenSet =
false;
157 bool m_statusHasBeenSet =
false;
158 bool m_descriptionHasBeenSet =
false;
159 bool m_updatedAtHasBeenSet =
false;
bool StatusHasBeenSet() const
bool NameHasBeenSet() const
bool UpdatedAtHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
bool KnowledgeBaseIdHasBeenSet() const
DataSourceSummary & WithDescription(DescriptionT &&value)
const Aws::String & GetName() const
DataSourceSummary & WithName(NameT &&value)
bool DescriptionHasBeenSet() const
void SetName(NameT &&value)
bool DataSourceIdHasBeenSet() const
AWS_BEDROCKAGENT_API DataSourceSummary()=default
void SetDataSourceId(DataSourceIdT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
DataSourceSummary & WithStatus(DataSourceStatus value)
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
const Aws::String & GetDescription() const
DataSourceStatus GetStatus() const
void SetUpdatedAt(UpdatedAtT &&value)
void SetStatus(DataSourceStatus value)
AWS_BEDROCKAGENT_API DataSourceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDataSourceId() const
DataSourceSummary & WithUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetKnowledgeBaseId() const
DataSourceSummary & WithDataSourceId(DataSourceIdT &&value)
DataSourceSummary & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
void SetDescription(DescriptionT &&value)
AWS_BEDROCKAGENT_API DataSourceSummary(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue