7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/DataSetStatus.h>
11#include <aws/quicksight/model/KnowledgeBaseConfiguration.h>
12#include <aws/quicksight/model/KnowledgeBaseIngestionSummary.h>
13#include <aws/quicksight/model/MediaExtractionConfiguration.h>
46 template <
typename KnowledgeBaseArnT = Aws::String>
48 m_knowledgeBaseArnHasBeenSet =
true;
49 m_knowledgeBaseArn = std::forward<KnowledgeBaseArnT>(value);
51 template <
typename KnowledgeBaseArnT = Aws::String>
64 template <
typename KnowledgeBaseIdT = Aws::String>
66 m_knowledgeBaseIdHasBeenSet =
true;
67 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
69 template <
typename KnowledgeBaseIdT = Aws::String>
82 template <
typename NameT = Aws::String>
84 m_nameHasBeenSet =
true;
85 m_name = std::forward<NameT>(value);
87 template <
typename NameT = Aws::String>
89 SetName(std::forward<NameT>(value));
101 m_statusHasBeenSet =
true;
116 template <
typename DataSourceArnT = Aws::String>
118 m_dataSourceArnHasBeenSet =
true;
119 m_dataSourceArn = std::forward<DataSourceArnT>(value);
121 template <
typename DataSourceArnT = Aws::String>
134 template <
typename KnowledgeBaseConfigurationT = KnowledgeBaseConfiguration>
136 m_knowledgeBaseConfigurationHasBeenSet =
true;
137 m_knowledgeBaseConfiguration = std::forward<KnowledgeBaseConfigurationT>(value);
139 template <
typename KnowledgeBaseConfigurationT = KnowledgeBaseConfiguration>
152 template <
typename MediaExtractionConfigurationT = MediaExtractionConfiguration>
154 m_mediaExtractionConfigurationHasBeenSet =
true;
155 m_mediaExtractionConfiguration = std::forward<MediaExtractionConfigurationT>(value);
157 template <
typename MediaExtractionConfigurationT = MediaExtractionConfiguration>
170 template <
typename TypeT = Aws::String>
172 m_typeHasBeenSet =
true;
173 m_type = std::forward<TypeT>(value);
175 template <
typename TypeT = Aws::String>
177 SetType(std::forward<TypeT>(value));
188 template <
typename CreatedAtT = Aws::Utils::DateTime>
190 m_createdAtHasBeenSet =
true;
191 m_createdAt = std::forward<CreatedAtT>(value);
193 template <
typename CreatedAtT = Aws::Utils::DateTime>
206 template <
typename UpdatedAtT = Aws::Utils::DateTime>
208 m_updatedAtHasBeenSet =
true;
209 m_updatedAt = std::forward<UpdatedAtT>(value);
211 template <
typename UpdatedAtT = Aws::Utils::DateTime>
224 template <
typename DescriptionT = Aws::String>
226 m_descriptionHasBeenSet =
true;
227 m_description = std::forward<DescriptionT>(value);
229 template <
typename DescriptionT = Aws::String>
242 return m_isEmailNotificationOptedForIngestionFailuresHasBeenSet;
245 m_isEmailNotificationOptedForIngestionFailuresHasBeenSet =
true;
246 m_isEmailNotificationOptedForIngestionFailures = value;
260 template <
typename FirstCompletedIngestionSummaryT = KnowledgeBaseIngestionSummary>
262 m_firstCompletedIngestionSummaryHasBeenSet =
true;
263 m_firstCompletedIngestionSummary = std::forward<FirstCompletedIngestionSummaryT>(value);
265 template <
typename FirstCompletedIngestionSummaryT = KnowledgeBaseIngestionSummary>
278 template <
typename FirstIncompleteIngestionSummaryT = KnowledgeBaseIngestionSummary>
280 m_firstIncompleteIngestionSummaryHasBeenSet =
true;
281 m_firstIncompleteIngestionSummary = std::forward<FirstIncompleteIngestionSummaryT>(value);
283 template <
typename FirstIncompleteIngestionSummaryT = KnowledgeBaseIngestionSummary>
296 template <
typename LatestIngestionSummaryT = KnowledgeBaseIngestionSummary>
298 m_latestIngestionSummaryHasBeenSet =
true;
299 m_latestIngestionSummary = std::forward<LatestIngestionSummaryT>(value);
301 template <
typename LatestIngestionSummaryT = KnowledgeBaseIngestionSummary>
315 m_knowledgeBaseSizeBytesHasBeenSet =
true;
316 m_knowledgeBaseSizeBytes = value;
331 m_documentCountHasBeenSet =
true;
332 m_documentCount = value;
346 template <
typename PrimaryOwnerArnT = Aws::String>
348 m_primaryOwnerArnHasBeenSet =
true;
349 m_primaryOwnerArn = std::forward<PrimaryOwnerArnT>(value);
351 template <
typename PrimaryOwnerArnT = Aws::String>
364 template <
typename PrimaryOwnerUsernameT = Aws::String>
366 m_primaryOwnerUsernameHasBeenSet =
true;
367 m_primaryOwnerUsername = std::forward<PrimaryOwnerUsernameT>(value);
369 template <
typename PrimaryOwnerUsernameT = Aws::String>
386 KnowledgeBaseConfiguration m_knowledgeBaseConfiguration;
388 MediaExtractionConfiguration m_mediaExtractionConfiguration;
398 bool m_isEmailNotificationOptedForIngestionFailures{
false};
400 KnowledgeBaseIngestionSummary m_firstCompletedIngestionSummary;
402 KnowledgeBaseIngestionSummary m_firstIncompleteIngestionSummary;
404 KnowledgeBaseIngestionSummary m_latestIngestionSummary;
406 long long m_knowledgeBaseSizeBytes{0};
408 long long m_documentCount{0};
413 bool m_knowledgeBaseArnHasBeenSet =
false;
414 bool m_knowledgeBaseIdHasBeenSet =
false;
415 bool m_nameHasBeenSet =
false;
416 bool m_statusHasBeenSet =
false;
417 bool m_dataSourceArnHasBeenSet =
false;
418 bool m_knowledgeBaseConfigurationHasBeenSet =
false;
419 bool m_mediaExtractionConfigurationHasBeenSet =
false;
420 bool m_typeHasBeenSet =
false;
421 bool m_createdAtHasBeenSet =
false;
422 bool m_updatedAtHasBeenSet =
false;
423 bool m_descriptionHasBeenSet =
false;
424 bool m_isEmailNotificationOptedForIngestionFailuresHasBeenSet =
false;
425 bool m_firstCompletedIngestionSummaryHasBeenSet =
false;
426 bool m_firstIncompleteIngestionSummaryHasBeenSet =
false;
427 bool m_latestIngestionSummaryHasBeenSet =
false;
428 bool m_knowledgeBaseSizeBytesHasBeenSet =
false;
429 bool m_documentCountHasBeenSet =
false;
430 bool m_primaryOwnerArnHasBeenSet =
false;
431 bool m_primaryOwnerUsernameHasBeenSet =
false;
bool IsEmailNotificationOptedForIngestionFailuresHasBeenSet() const
bool NameHasBeenSet() const
KnowledgeBase & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
bool MediaExtractionConfigurationHasBeenSet() const
void SetType(TypeT &&value)
KnowledgeBase & WithCreatedAt(CreatedAtT &&value)
void SetDataSourceArn(DataSourceArnT &&value)
bool TypeHasBeenSet() const
bool FirstIncompleteIngestionSummaryHasBeenSet() const
const KnowledgeBaseIngestionSummary & GetLatestIngestionSummary() const
void SetIsEmailNotificationOptedForIngestionFailures(bool value)
bool DataSourceArnHasBeenSet() const
bool KnowledgeBaseConfigurationHasBeenSet() const
void SetUpdatedAt(UpdatedAtT &&value)
void SetKnowledgeBaseArn(KnowledgeBaseArnT &&value)
long long GetKnowledgeBaseSizeBytes() const
const Aws::String & GetName() const
bool PrimaryOwnerUsernameHasBeenSet() const
void SetDocumentCount(long long value)
AWS_QUICKSIGHT_API KnowledgeBase()=default
KnowledgeBase & WithFirstCompletedIngestionSummary(FirstCompletedIngestionSummaryT &&value)
const Aws::String & GetPrimaryOwnerArn() const
const KnowledgeBaseIngestionSummary & GetFirstIncompleteIngestionSummary() const
AWS_QUICKSIGHT_API KnowledgeBase(Aws::Utils::Json::JsonView jsonValue)
void SetPrimaryOwnerArn(PrimaryOwnerArnT &&value)
AWS_QUICKSIGHT_API KnowledgeBase & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CreatedAtHasBeenSet() const
const MediaExtractionConfiguration & GetMediaExtractionConfiguration() const
bool KnowledgeBaseSizeBytesHasBeenSet() const
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
const KnowledgeBaseIngestionSummary & GetFirstCompletedIngestionSummary() const
bool DescriptionHasBeenSet() const
bool GetIsEmailNotificationOptedForIngestionFailures() const
long long GetDocumentCount() const
bool PrimaryOwnerArnHasBeenSet() const
bool KnowledgeBaseArnHasBeenSet() const
KnowledgeBase & WithPrimaryOwnerArn(PrimaryOwnerArnT &&value)
bool KnowledgeBaseIdHasBeenSet() const
KnowledgeBase & WithDataSourceArn(DataSourceArnT &&value)
KnowledgeBase & WithFirstIncompleteIngestionSummary(FirstIncompleteIngestionSummaryT &&value)
const Aws::String & GetDataSourceArn() const
void SetKnowledgeBaseConfiguration(KnowledgeBaseConfigurationT &&value)
KnowledgeBase & WithDocumentCount(long long value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetFirstCompletedIngestionSummary(FirstCompletedIngestionSummaryT &&value)
KnowledgeBase & WithLatestIngestionSummary(LatestIngestionSummaryT &&value)
void SetLatestIngestionSummary(LatestIngestionSummaryT &&value)
DataSetStatus GetStatus() const
const Aws::Utils::DateTime & GetUpdatedAt() const
KnowledgeBase & WithMediaExtractionConfiguration(MediaExtractionConfigurationT &&value)
const KnowledgeBaseConfiguration & GetKnowledgeBaseConfiguration() const
KnowledgeBase & WithType(TypeT &&value)
KnowledgeBase & WithUpdatedAt(UpdatedAtT &&value)
bool DocumentCountHasBeenSet() const
void SetPrimaryOwnerUsername(PrimaryOwnerUsernameT &&value)
const Aws::String & GetKnowledgeBaseArn() const
KnowledgeBase & WithDescription(DescriptionT &&value)
void SetStatus(DataSetStatus value)
bool FirstCompletedIngestionSummaryHasBeenSet() const
const Aws::String & GetDescription() const
const Aws::String & GetKnowledgeBaseId() const
KnowledgeBase & WithStatus(DataSetStatus value)
bool LatestIngestionSummaryHasBeenSet() const
bool UpdatedAtHasBeenSet() const
void SetDescription(DescriptionT &&value)
void SetName(NameT &&value)
void SetKnowledgeBaseSizeBytes(long long value)
const Aws::String & GetType() const
bool StatusHasBeenSet() const
const Aws::String & GetPrimaryOwnerUsername() const
KnowledgeBase & WithPrimaryOwnerUsername(PrimaryOwnerUsernameT &&value)
KnowledgeBase & WithKnowledgeBaseSizeBytes(long long value)
KnowledgeBase & WithIsEmailNotificationOptedForIngestionFailures(bool value)
KnowledgeBase & WithName(NameT &&value)
KnowledgeBase & WithKnowledgeBaseConfiguration(KnowledgeBaseConfigurationT &&value)
void SetMediaExtractionConfiguration(MediaExtractionConfigurationT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFirstIncompleteIngestionSummary(FirstIncompleteIngestionSummaryT &&value)
KnowledgeBase & WithKnowledgeBaseArn(KnowledgeBaseArnT &&value)
void SetCreatedAt(CreatedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue