7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
10#include <aws/wisdom/model/KnowledgeBaseStatus.h>
11#include <aws/wisdom/model/KnowledgeBaseType.h>
12#include <aws/wisdom/model/RenderingConfiguration.h>
13#include <aws/wisdom/model/ServerSideEncryptionConfiguration.h>
14#include <aws/wisdom/model/SourceConfiguration.h>
25namespace ConnectWisdomService {
46 template <
typename DescriptionT = Aws::String>
48 m_descriptionHasBeenSet =
true;
49 m_description = std::forward<DescriptionT>(value);
51 template <
typename DescriptionT = Aws::String>
64 template <
typename KnowledgeBaseArnT = Aws::String>
66 m_knowledgeBaseArnHasBeenSet =
true;
67 m_knowledgeBaseArn = std::forward<KnowledgeBaseArnT>(value);
69 template <
typename KnowledgeBaseArnT = Aws::String>
83 template <
typename KnowledgeBaseIdT = Aws::String>
85 m_knowledgeBaseIdHasBeenSet =
true;
86 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
88 template <
typename KnowledgeBaseIdT = Aws::String>
102 m_knowledgeBaseTypeHasBeenSet =
true;
103 m_knowledgeBaseType = value;
117 template <
typename NameT = Aws::String>
119 m_nameHasBeenSet =
true;
120 m_name = std::forward<NameT>(value);
122 template <
typename NameT = Aws::String>
124 SetName(std::forward<NameT>(value));
135 template <
typename RenderingConfigurationT = RenderingConfiguration>
137 m_renderingConfigurationHasBeenSet =
true;
138 m_renderingConfiguration = std::forward<RenderingConfigurationT>(value);
140 template <
typename RenderingConfigurationT = RenderingConfiguration>
159 return m_serverSideEncryptionConfiguration;
162 template <
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
164 m_serverSideEncryptionConfigurationHasBeenSet =
true;
165 m_serverSideEncryptionConfiguration = std::forward<ServerSideEncryptionConfigurationT>(value);
167 template <
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
180 template <
typename SourceConfigurationT = SourceConfiguration>
182 m_sourceConfigurationHasBeenSet =
true;
183 m_sourceConfiguration = std::forward<SourceConfigurationT>(value);
185 template <
typename SourceConfigurationT = SourceConfiguration>
199 m_statusHasBeenSet =
true;
214 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
216 m_tagsHasBeenSet =
true;
217 m_tags = std::forward<TagsT>(value);
219 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
221 SetTags(std::forward<TagsT>(value));
224 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
226 m_tagsHasBeenSet =
true;
227 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
242 RenderingConfiguration m_renderingConfiguration;
244 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
246 SourceConfiguration m_sourceConfiguration;
251 bool m_descriptionHasBeenSet =
false;
252 bool m_knowledgeBaseArnHasBeenSet =
false;
253 bool m_knowledgeBaseIdHasBeenSet =
false;
254 bool m_knowledgeBaseTypeHasBeenSet =
false;
255 bool m_nameHasBeenSet =
false;
256 bool m_renderingConfigurationHasBeenSet =
false;
257 bool m_serverSideEncryptionConfigurationHasBeenSet =
false;
258 bool m_sourceConfigurationHasBeenSet =
false;
259 bool m_statusHasBeenSet =
false;
260 bool m_tagsHasBeenSet =
false;
bool StatusHasBeenSet() const
const Aws::String & GetKnowledgeBaseArn() const
AWS_CONNECTWISDOMSERVICE_API KnowledgeBaseSummary(Aws::Utils::Json::JsonView jsonValue)
KnowledgeBaseSummary & WithStatus(KnowledgeBaseStatus value)
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
KnowledgeBaseSummary & WithKnowledgeBaseType(KnowledgeBaseType value)
void SetSourceConfiguration(SourceConfigurationT &&value)
KnowledgeBaseSummary & WithSourceConfiguration(SourceConfigurationT &&value)
bool RenderingConfigurationHasBeenSet() const
bool DescriptionHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
KnowledgeBaseSummary & WithKnowledgeBaseArn(KnowledgeBaseArnT &&value)
KnowledgeBaseSummary & WithDescription(DescriptionT &&value)
AWS_CONNECTWISDOMSERVICE_API KnowledgeBaseSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRenderingConfiguration(RenderingConfigurationT &&value)
bool KnowledgeBaseArnHasBeenSet() const
bool NameHasBeenSet() const
bool SourceConfigurationHasBeenSet() const
const ServerSideEncryptionConfiguration & GetServerSideEncryptionConfiguration() const
KnowledgeBaseSummary & WithServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
bool KnowledgeBaseTypeHasBeenSet() const
KnowledgeBaseSummary & WithTags(TagsT &&value)
void SetStatus(KnowledgeBaseStatus value)
const Aws::String & GetDescription() const
void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
KnowledgeBaseStatus GetStatus() const
const Aws::String & GetKnowledgeBaseId() const
void SetName(NameT &&value)
KnowledgeBaseSummary & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
void SetTags(TagsT &&value)
void SetKnowledgeBaseType(KnowledgeBaseType value)
void SetKnowledgeBaseArn(KnowledgeBaseArnT &&value)
const SourceConfiguration & GetSourceConfiguration() const
KnowledgeBaseSummary & WithRenderingConfiguration(RenderingConfigurationT &&value)
KnowledgeBaseSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool TagsHasBeenSet() const
AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetName() const
bool KnowledgeBaseIdHasBeenSet() const
KnowledgeBaseSummary & WithName(NameT &&value)
bool ServerSideEncryptionConfigurationHasBeenSet() const
KnowledgeBaseType GetKnowledgeBaseType() const
AWS_CONNECTWISDOMSERVICE_API KnowledgeBaseSummary()=default
const RenderingConfiguration & GetRenderingConfiguration() const
void SetDescription(DescriptionT &&value)
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