7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/qconnect/QConnect_EXPORTS.h>
12#include <aws/qconnect/model/KnowledgeBaseStatus.h>
13#include <aws/qconnect/model/KnowledgeBaseType.h>
14#include <aws/qconnect/model/RenderingConfiguration.h>
15#include <aws/qconnect/model/ServerSideEncryptionConfiguration.h>
16#include <aws/qconnect/model/SourceConfiguration.h>
17#include <aws/qconnect/model/SyncStatus.h>
18#include <aws/qconnect/model/VectorIngestionConfiguration.h>
50 template <
typename KnowledgeBaseIdT = Aws::String>
52 m_knowledgeBaseIdHasBeenSet =
true;
53 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
55 template <
typename KnowledgeBaseIdT = Aws::String>
68 template <
typename KnowledgeBaseArnT = Aws::String>
70 m_knowledgeBaseArnHasBeenSet =
true;
71 m_knowledgeBaseArn = std::forward<KnowledgeBaseArnT>(value);
73 template <
typename KnowledgeBaseArnT = Aws::String>
86 template <
typename NameT = Aws::String>
88 m_nameHasBeenSet =
true;
89 m_name = std::forward<NameT>(value);
91 template <
typename NameT = Aws::String>
93 SetName(std::forward<NameT>(value));
105 m_knowledgeBaseTypeHasBeenSet =
true;
106 m_knowledgeBaseType = value;
121 m_statusHasBeenSet =
true;
138 template <
typename LastContentModificationTimeT = Aws::Utils::DateTime>
140 m_lastContentModificationTimeHasBeenSet =
true;
141 m_lastContentModificationTime = std::forward<LastContentModificationTimeT>(value);
143 template <
typename LastContentModificationTimeT = Aws::Utils::DateTime>
156 template <
typename VectorIngestionConfigurationT = VectorIngestionConfiguration>
158 m_vectorIngestionConfigurationHasBeenSet =
true;
159 m_vectorIngestionConfiguration = std::forward<VectorIngestionConfigurationT>(value);
161 template <
typename VectorIngestionConfigurationT = VectorIngestionConfiguration>
174 template <
typename SourceConfigurationT = SourceConfiguration>
176 m_sourceConfigurationHasBeenSet =
true;
177 m_sourceConfiguration = std::forward<SourceConfigurationT>(value);
179 template <
typename SourceConfigurationT = SourceConfiguration>
192 template <
typename RenderingConfigurationT = RenderingConfiguration>
194 m_renderingConfigurationHasBeenSet =
true;
195 m_renderingConfiguration = std::forward<RenderingConfigurationT>(value);
197 template <
typename RenderingConfigurationT = RenderingConfiguration>
217 return m_serverSideEncryptionConfiguration;
220 template <
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
222 m_serverSideEncryptionConfigurationHasBeenSet =
true;
223 m_serverSideEncryptionConfiguration = std::forward<ServerSideEncryptionConfigurationT>(value);
225 template <
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
238 template <
typename DescriptionT = Aws::String>
240 m_descriptionHasBeenSet =
true;
241 m_description = std::forward<DescriptionT>(value);
243 template <
typename DescriptionT = Aws::String>
256 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
258 m_tagsHasBeenSet =
true;
259 m_tags = std::forward<TagsT>(value);
261 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
263 SetTags(std::forward<TagsT>(value));
266 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
268 m_tagsHasBeenSet =
true;
269 m_tags.emplace(std::forward<TagsKeyT>(
key), std::forward<TagsValueT>(value));
281 m_ingestionStatusHasBeenSet =
true;
282 m_ingestionStatus = value;
296 template <
typename IngestionFailureReasonsT = Aws::Vector<Aws::String>>
298 m_ingestionFailureReasonsHasBeenSet =
true;
299 m_ingestionFailureReasons = std::forward<IngestionFailureReasonsT>(value);
301 template <
typename IngestionFailureReasonsT = Aws::Vector<Aws::String>>
306 template <
typename IngestionFailureReasonsT = Aws::String>
308 m_ingestionFailureReasonsHasBeenSet =
true;
309 m_ingestionFailureReasons.emplace_back(std::forward<IngestionFailureReasonsT>(value));
326 VectorIngestionConfiguration m_vectorIngestionConfiguration;
328 SourceConfiguration m_sourceConfiguration;
330 RenderingConfiguration m_renderingConfiguration;
332 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
341 bool m_knowledgeBaseIdHasBeenSet =
false;
342 bool m_knowledgeBaseArnHasBeenSet =
false;
343 bool m_nameHasBeenSet =
false;
344 bool m_knowledgeBaseTypeHasBeenSet =
false;
345 bool m_statusHasBeenSet =
false;
346 bool m_lastContentModificationTimeHasBeenSet =
false;
347 bool m_vectorIngestionConfigurationHasBeenSet =
false;
348 bool m_sourceConfigurationHasBeenSet =
false;
349 bool m_renderingConfigurationHasBeenSet =
false;
350 bool m_serverSideEncryptionConfigurationHasBeenSet =
false;
351 bool m_descriptionHasBeenSet =
false;
352 bool m_tagsHasBeenSet =
false;
353 bool m_ingestionStatusHasBeenSet =
false;
354 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