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/qconnect/QConnect_EXPORTS.h>
11#include <aws/qconnect/model/KnowledgeBaseStatus.h>
12#include <aws/qconnect/model/KnowledgeBaseType.h>
13#include <aws/qconnect/model/RenderingConfiguration.h>
14#include <aws/qconnect/model/ServerSideEncryptionConfiguration.h>
15#include <aws/qconnect/model/SourceConfiguration.h>
16#include <aws/qconnect/model/VectorIngestionConfiguration.h>
48 template <
typename KnowledgeBaseIdT = Aws::String>
50 m_knowledgeBaseIdHasBeenSet =
true;
51 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
53 template <
typename KnowledgeBaseIdT = Aws::String>
66 template <
typename KnowledgeBaseArnT = Aws::String>
68 m_knowledgeBaseArnHasBeenSet =
true;
69 m_knowledgeBaseArn = std::forward<KnowledgeBaseArnT>(value);
71 template <
typename KnowledgeBaseArnT = Aws::String>
84 template <
typename NameT = Aws::String>
86 m_nameHasBeenSet =
true;
87 m_name = std::forward<NameT>(value);
89 template <
typename NameT = Aws::String>
91 SetName(std::forward<NameT>(value));
103 m_knowledgeBaseTypeHasBeenSet =
true;
104 m_knowledgeBaseType = value;
119 m_statusHasBeenSet =
true;
134 template <
typename SourceConfigurationT = SourceConfiguration>
136 m_sourceConfigurationHasBeenSet =
true;
137 m_sourceConfiguration = std::forward<SourceConfigurationT>(value);
139 template <
typename SourceConfigurationT = SourceConfiguration>
152 template <
typename VectorIngestionConfigurationT = VectorIngestionConfiguration>
154 m_vectorIngestionConfigurationHasBeenSet =
true;
155 m_vectorIngestionConfiguration = std::forward<VectorIngestionConfigurationT>(value);
157 template <
typename VectorIngestionConfigurationT = VectorIngestionConfiguration>
170 template <
typename RenderingConfigurationT = RenderingConfiguration>
172 m_renderingConfigurationHasBeenSet =
true;
173 m_renderingConfiguration = std::forward<RenderingConfigurationT>(value);
175 template <
typename RenderingConfigurationT = RenderingConfiguration>
195 return m_serverSideEncryptionConfiguration;
198 template <
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
200 m_serverSideEncryptionConfigurationHasBeenSet =
true;
201 m_serverSideEncryptionConfiguration = std::forward<ServerSideEncryptionConfigurationT>(value);
203 template <
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
216 template <
typename DescriptionT = Aws::String>
218 m_descriptionHasBeenSet =
true;
219 m_description = std::forward<DescriptionT>(value);
221 template <
typename DescriptionT = Aws::String>
234 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
236 m_tagsHasBeenSet =
true;
237 m_tags = std::forward<TagsT>(value);
239 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
241 SetTags(std::forward<TagsT>(value));
244 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
246 m_tagsHasBeenSet =
true;
247 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
258 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
260 m_lastModifiedTimeHasBeenSet =
true;
261 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
263 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
277 template <
typename LastModifiedRegionT = Aws::String>
279 m_lastModifiedRegionHasBeenSet =
true;
280 m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value);
282 template <
typename LastModifiedRegionT = Aws::String>
299 SourceConfiguration m_sourceConfiguration;
301 VectorIngestionConfiguration m_vectorIngestionConfiguration;
303 RenderingConfiguration m_renderingConfiguration;
305 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
314 bool m_knowledgeBaseIdHasBeenSet =
false;
315 bool m_knowledgeBaseArnHasBeenSet =
false;
316 bool m_nameHasBeenSet =
false;
317 bool m_knowledgeBaseTypeHasBeenSet =
false;
318 bool m_statusHasBeenSet =
false;
319 bool m_sourceConfigurationHasBeenSet =
false;
320 bool m_vectorIngestionConfigurationHasBeenSet =
false;
321 bool m_renderingConfigurationHasBeenSet =
false;
322 bool m_serverSideEncryptionConfigurationHasBeenSet =
false;
323 bool m_descriptionHasBeenSet =
false;
324 bool m_tagsHasBeenSet =
false;
325 bool m_lastModifiedTimeHasBeenSet =
false;
326 bool m_lastModifiedRegionHasBeenSet =
false;
KnowledgeBaseStatus GetStatus() const
AWS_QCONNECT_API KnowledgeBaseSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
KnowledgeBaseSummary & WithStatus(KnowledgeBaseStatus value)
void SetLastModifiedRegion(LastModifiedRegionT &&value)
KnowledgeBaseSummary & WithDescription(DescriptionT &&value)
const Aws::String & GetName() const
void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
void SetRenderingConfiguration(RenderingConfigurationT &&value)
AWS_QCONNECT_API KnowledgeBaseSummary()=default
const Aws::String & GetKnowledgeBaseArn() const
bool TagsHasBeenSet() const
void SetDescription(DescriptionT &&value)
KnowledgeBaseSummary & WithKnowledgeBaseArn(KnowledgeBaseArnT &&value)
void SetKnowledgeBaseArn(KnowledgeBaseArnT &&value)
KnowledgeBaseSummary & WithName(NameT &&value)
bool ServerSideEncryptionConfigurationHasBeenSet() const
KnowledgeBaseType GetKnowledgeBaseType() const
void SetVectorIngestionConfiguration(VectorIngestionConfigurationT &&value)
KnowledgeBaseSummary & WithSourceConfiguration(SourceConfigurationT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetLastModifiedRegion() const
KnowledgeBaseSummary & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
bool KnowledgeBaseIdHasBeenSet() const
bool NameHasBeenSet() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
bool SourceConfigurationHasBeenSet() const
bool RenderingConfigurationHasBeenSet() const
KnowledgeBaseSummary & WithKnowledgeBaseType(KnowledgeBaseType value)
bool VectorIngestionConfigurationHasBeenSet() const
KnowledgeBaseSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetName(NameT &&value)
const ServerSideEncryptionConfiguration & GetServerSideEncryptionConfiguration() const
KnowledgeBaseSummary & WithServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
void SetKnowledgeBaseType(KnowledgeBaseType value)
bool LastModifiedRegionHasBeenSet() const
KnowledgeBaseSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
bool StatusHasBeenSet() const
const VectorIngestionConfiguration & GetVectorIngestionConfiguration() const
void SetTags(TagsT &&value)
void SetStatus(KnowledgeBaseStatus value)
KnowledgeBaseSummary & WithLastModifiedRegion(LastModifiedRegionT &&value)
KnowledgeBaseSummary & WithTags(TagsT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
bool KnowledgeBaseTypeHasBeenSet() const
KnowledgeBaseSummary & WithVectorIngestionConfiguration(VectorIngestionConfigurationT &&value)
KnowledgeBaseSummary & WithRenderingConfiguration(RenderingConfigurationT &&value)
bool KnowledgeBaseArnHasBeenSet() const
bool DescriptionHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetKnowledgeBaseId() const
AWS_QCONNECT_API KnowledgeBaseSummary(Aws::Utils::Json::JsonView jsonValue)
bool LastModifiedTimeHasBeenSet() const
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
const SourceConfiguration & GetSourceConfiguration() const
void SetSourceConfiguration(SourceConfigurationT &&value)
const RenderingConfiguration & GetRenderingConfiguration() const
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
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
Aws::Utils::Json::JsonValue JsonValue