7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-agent/model/DataSourceStatus.h>
10#include <aws/core/utils/DateTime.h>
48 template<
typename DataSourceIdT = Aws::String>
49 void SetDataSourceId(DataSourceIdT&& value) { m_dataSourceIdHasBeenSet =
true; m_dataSourceId = std::forward<DataSourceIdT>(value); }
50 template<
typename DataSourceIdT = Aws::String>
60 template<
typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
62 template<
typename DescriptionT = Aws::String>
73 template<
typename KnowledgeBaseIdT = Aws::String>
74 void SetKnowledgeBaseId(KnowledgeBaseIdT&& value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value); }
75 template<
typename KnowledgeBaseIdT = Aws::String>
85 template<
typename NameT = Aws::String>
86 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
87 template<
typename NameT = Aws::String>
107 template<
typename UpdatedAtT = Aws::Utils::DateTime>
108 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
109 template<
typename UpdatedAtT = Aws::Utils::DateTime>
115 bool m_dataSourceIdHasBeenSet =
false;
118 bool m_descriptionHasBeenSet =
false;
121 bool m_knowledgeBaseIdHasBeenSet =
false;
124 bool m_nameHasBeenSet =
false;
127 bool m_statusHasBeenSet =
false;
130 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue