7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qconnect/QConnect_EXPORTS.h>
10#include <aws/qconnect/model/KnowledgeBaseStatus.h>
11#include <aws/qconnect/model/KnowledgeBaseType.h>
12#include <aws/qconnect/model/RenderingConfiguration.h>
13#include <aws/qconnect/model/ServerSideEncryptionConfiguration.h>
14#include <aws/qconnect/model/SourceConfiguration.h>
15#include <aws/qconnect/model/VectorIngestionConfiguration.h>
47 template <
typename KnowledgeBaseIdT = Aws::String>
49 m_knowledgeBaseIdHasBeenSet =
true;
50 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
52 template <
typename KnowledgeBaseIdT = Aws::String>
65 template <
typename KnowledgeBaseArnT = Aws::String>
67 m_knowledgeBaseArnHasBeenSet =
true;
68 m_knowledgeBaseArn = std::forward<KnowledgeBaseArnT>(value);
70 template <
typename KnowledgeBaseArnT = Aws::String>
83 template <
typename NameT = Aws::String>
85 m_nameHasBeenSet =
true;
86 m_name = std::forward<NameT>(value);
88 template <
typename NameT = Aws::String>
90 SetName(std::forward<NameT>(value));
102 m_knowledgeBaseTypeHasBeenSet =
true;
103 m_knowledgeBaseType = value;
118 m_statusHasBeenSet =
true;
133 template <
typename SourceConfigurationT = SourceConfiguration>
135 m_sourceConfigurationHasBeenSet =
true;
136 m_sourceConfiguration = std::forward<SourceConfigurationT>(value);
138 template <
typename SourceConfigurationT = SourceConfiguration>
151 template <
typename VectorIngestionConfigurationT = VectorIngestionConfiguration>
153 m_vectorIngestionConfigurationHasBeenSet =
true;
154 m_vectorIngestionConfiguration = std::forward<VectorIngestionConfigurationT>(value);
156 template <
typename VectorIngestionConfigurationT = VectorIngestionConfiguration>
169 template <
typename RenderingConfigurationT = RenderingConfiguration>
171 m_renderingConfigurationHasBeenSet =
true;
172 m_renderingConfiguration = std::forward<RenderingConfigurationT>(value);
174 template <
typename RenderingConfigurationT = RenderingConfiguration>
194 return m_serverSideEncryptionConfiguration;
197 template <
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
199 m_serverSideEncryptionConfigurationHasBeenSet =
true;
200 m_serverSideEncryptionConfiguration = std::forward<ServerSideEncryptionConfigurationT>(value);
202 template <
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
215 template <
typename DescriptionT = Aws::String>
217 m_descriptionHasBeenSet =
true;
218 m_description = std::forward<DescriptionT>(value);
220 template <
typename DescriptionT = Aws::String>
233 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
235 m_tagsHasBeenSet =
true;
236 m_tags = std::forward<TagsT>(value);
238 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
240 SetTags(std::forward<TagsT>(value));
243 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
245 m_tagsHasBeenSet =
true;
246 m_tags.emplace(std::forward<TagsKeyT>(
key), std::forward<TagsValueT>(value));
261 SourceConfiguration m_sourceConfiguration;
263 VectorIngestionConfiguration m_vectorIngestionConfiguration;
265 RenderingConfiguration m_renderingConfiguration;
267 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
272 bool m_knowledgeBaseIdHasBeenSet =
false;
273 bool m_knowledgeBaseArnHasBeenSet =
false;
274 bool m_nameHasBeenSet =
false;
275 bool m_knowledgeBaseTypeHasBeenSet =
false;
276 bool m_statusHasBeenSet =
false;
277 bool m_sourceConfigurationHasBeenSet =
false;
278 bool m_vectorIngestionConfigurationHasBeenSet =
false;
279 bool m_renderingConfigurationHasBeenSet =
false;
280 bool m_serverSideEncryptionConfigurationHasBeenSet =
false;
281 bool m_descriptionHasBeenSet =
false;
282 bool m_tagsHasBeenSet =
false;
KnowledgeBaseStatus GetStatus() const
AWS_QCONNECT_API KnowledgeBaseSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
KnowledgeBaseSummary & WithStatus(KnowledgeBaseStatus 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
KnowledgeBaseSummary & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
bool KnowledgeBaseIdHasBeenSet() const
bool NameHasBeenSet() 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 StatusHasBeenSet() const
const VectorIngestionConfiguration & GetVectorIngestionConfiguration() const
void SetTags(TagsT &&value)
void SetStatus(KnowledgeBaseStatus value)
KnowledgeBaseSummary & WithTags(TagsT &&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)
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::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
Aws::Utils::Json::JsonValue JsonValue