7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qconnect/model/KnowledgeBaseType.h>
10#include <aws/qconnect/model/KnowledgeBaseStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/qconnect/model/VectorIngestionConfiguration.h>
13#include <aws/qconnect/model/SourceConfiguration.h>
14#include <aws/qconnect/model/RenderingConfiguration.h>
15#include <aws/qconnect/model/ServerSideEncryptionConfiguration.h>
16#include <aws/core/utils/memory/stl/AWSMap.h>
17#include <aws/qconnect/model/SyncStatus.h>
18#include <aws/core/utils/memory/stl/AWSVector.h>
56 template<
typename KnowledgeBaseIdT = Aws::String>
58 template<
typename KnowledgeBaseIdT = Aws::String>
68 template<
typename KnowledgeBaseArnT = Aws::String>
70 template<
typename KnowledgeBaseArnT = Aws::String>
80 template<
typename NameT = Aws::String>
81 void SetName(
NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
82 template<
typename NameT = Aws::String>
114 template<
typename LastContentModificationTimeT = Aws::Utils::DateTime>
116 template<
typename LastContentModificationTimeT = Aws::Utils::DateTime>
126 template<
typename VectorIngestionConfigurationT = VectorIngestionConfiguration>
128 template<
typename VectorIngestionConfigurationT = VectorIngestionConfiguration>
138 template<
typename SourceConfigurationT = SourceConfiguration>
140 template<
typename SourceConfigurationT = SourceConfiguration>
150 template<
typename RenderingConfigurationT = RenderingConfiguration>
152 template<
typename RenderingConfigurationT = RenderingConfiguration>
170 template<
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
172 template<
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
182 template<
typename DescriptionT = Aws::String>
184 template<
typename DescriptionT = Aws::String>
194 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
195 void SetTags(
TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
196 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
198 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
200 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(
key), std::forward<TagsValueT>(value));
return *
this;
220 template<
typename IngestionFailureReasonsT = Aws::Vector<Aws::String>>
222 template<
typename IngestionFailureReasonsT = Aws::Vector<Aws::String>>
224 template<
typename IngestionFailureReasonsT = Aws::String>
230 bool m_knowledgeBaseIdHasBeenSet =
false;
233 bool m_knowledgeBaseArnHasBeenSet =
false;
236 bool m_nameHasBeenSet =
false;
239 bool m_knowledgeBaseTypeHasBeenSet =
false;
242 bool m_statusHasBeenSet =
false;
245 bool m_lastContentModificationTimeHasBeenSet =
false;
247 VectorIngestionConfiguration m_vectorIngestionConfiguration;
248 bool m_vectorIngestionConfigurationHasBeenSet =
false;
250 SourceConfiguration m_sourceConfiguration;
251 bool m_sourceConfigurationHasBeenSet =
false;
253 RenderingConfiguration m_renderingConfiguration;
254 bool m_renderingConfigurationHasBeenSet =
false;
256 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
257 bool m_serverSideEncryptionConfigurationHasBeenSet =
false;
260 bool m_descriptionHasBeenSet =
false;
263 bool m_tagsHasBeenSet =
false;
266 bool m_ingestionStatusHasBeenSet =
false;
269 bool m_ingestionFailureReasonsHasBeenSet =
false;
bool DescriptionHasBeenSet() const
void SetIngestionStatus(SyncStatus value)
const ServerSideEncryptionConfiguration & GetServerSideEncryptionConfiguration() const
SyncStatus GetIngestionStatus() const
bool LastContentModificationTimeHasBeenSet() const
void SetSourceConfiguration(SourceConfigurationT &&value)
bool KnowledgeBaseArnHasBeenSet() const
const Aws::Vector< Aws::String > & GetIngestionFailureReasons() const
const Aws::String & GetDescription() const
void SetDescription(DescriptionT &&value)
AWS_QCONNECT_API KnowledgeBaseData()=default
const SourceConfiguration & GetSourceConfiguration() const
KnowledgeBaseData & WithRenderingConfiguration(RenderingConfigurationT &&value)
bool SourceConfigurationHasBeenSet() const
bool VectorIngestionConfigurationHasBeenSet() const
KnowledgeBaseData & WithStatus(KnowledgeBaseStatus value)
bool KnowledgeBaseTypeHasBeenSet() const
bool NameHasBeenSet() const
KnowledgeBaseData & AddTags(TagsKeyT &&key, TagsValueT &&value)
KnowledgeBaseStatus GetStatus() const
KnowledgeBaseData & WithName(NameT &&value)
const Aws::String & GetName() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
KnowledgeBaseData & WithDescription(DescriptionT &&value)
bool StatusHasBeenSet() const
KnowledgeBaseData & AddIngestionFailureReasons(IngestionFailureReasonsT &&value)
bool TagsHasBeenSet() const
void SetStatus(KnowledgeBaseStatus value)
void SetKnowledgeBaseType(KnowledgeBaseType value)
void SetLastContentModificationTime(LastContentModificationTimeT &&value)
void SetKnowledgeBaseArn(KnowledgeBaseArnT &&value)
AWS_QCONNECT_API KnowledgeBaseData & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVectorIngestionConfiguration(VectorIngestionConfigurationT &&value)
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
bool ServerSideEncryptionConfigurationHasBeenSet() const
void SetTags(TagsT &&value)
KnowledgeBaseData & WithTags(TagsT &&value)
void SetName(NameT &&value)
bool RenderingConfigurationHasBeenSet() const
KnowledgeBaseData & WithVectorIngestionConfiguration(VectorIngestionConfigurationT &&value)
const Aws::Utils::DateTime & GetLastContentModificationTime() const
void SetIngestionFailureReasons(IngestionFailureReasonsT &&value)
AWS_QCONNECT_API KnowledgeBaseData(Aws::Utils::Json::JsonView jsonValue)
const VectorIngestionConfiguration & GetVectorIngestionConfiguration() const
KnowledgeBaseData & WithIngestionFailureReasons(IngestionFailureReasonsT &&value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetKnowledgeBaseId() const
void SetRenderingConfiguration(RenderingConfigurationT &&value)
KnowledgeBaseData & WithServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
const RenderingConfiguration & GetRenderingConfiguration() const
KnowledgeBaseType GetKnowledgeBaseType() const
KnowledgeBaseData & WithKnowledgeBaseType(KnowledgeBaseType value)
KnowledgeBaseData & WithSourceConfiguration(SourceConfigurationT &&value)
KnowledgeBaseData & WithLastContentModificationTime(LastContentModificationTimeT &&value)
bool IngestionFailureReasonsHasBeenSet() const
bool KnowledgeBaseIdHasBeenSet() const
const Aws::String & GetKnowledgeBaseArn() const
KnowledgeBaseData & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
bool IngestionStatusHasBeenSet() const
KnowledgeBaseData & WithIngestionStatus(SyncStatus value)
KnowledgeBaseData & WithKnowledgeBaseArn(KnowledgeBaseArnT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue