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/ContentStatus.h>
21namespace ConnectWisdomService {
42 template <
typename ContentArnT = Aws::String>
44 m_contentArnHasBeenSet =
true;
45 m_contentArn = std::forward<ContentArnT>(value);
47 template <
typename ContentArnT = Aws::String>
60 template <
typename ContentIdT = Aws::String>
62 m_contentIdHasBeenSet =
true;
63 m_contentId = std::forward<ContentIdT>(value);
65 template <
typename ContentIdT = Aws::String>
78 template <
typename ContentTypeT = Aws::String>
80 m_contentTypeHasBeenSet =
true;
81 m_contentType = std::forward<ContentTypeT>(value);
83 template <
typename ContentTypeT = Aws::String>
96 template <
typename KnowledgeBaseArnT = Aws::String>
98 m_knowledgeBaseArnHasBeenSet =
true;
99 m_knowledgeBaseArn = std::forward<KnowledgeBaseArnT>(value);
101 template <
typename KnowledgeBaseArnT = Aws::String>
115 template <
typename KnowledgeBaseIdT = Aws::String>
117 m_knowledgeBaseIdHasBeenSet =
true;
118 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
120 template <
typename KnowledgeBaseIdT = Aws::String>
136 template <
typename MetadataT = Aws::Map<Aws::String, Aws::String>>
138 m_metadataHasBeenSet =
true;
139 m_metadata = std::forward<MetadataT>(value);
141 template <
typename MetadataT = Aws::Map<Aws::String, Aws::String>>
146 template <
typename MetadataKeyT = Aws::String,
typename MetadataValueT = Aws::String>
148 m_metadataHasBeenSet =
true;
149 m_metadata.emplace(std::forward<MetadataKeyT>(key), std::forward<MetadataValueT>(value));
160 template <
typename NameT = Aws::String>
162 m_nameHasBeenSet =
true;
163 m_name = std::forward<NameT>(value);
165 template <
typename NameT = Aws::String>
167 SetName(std::forward<NameT>(value));
178 template <
typename RevisionIdT = Aws::String>
180 m_revisionIdHasBeenSet =
true;
181 m_revisionId = std::forward<RevisionIdT>(value);
183 template <
typename RevisionIdT = Aws::String>
197 m_statusHasBeenSet =
true;
212 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
214 m_tagsHasBeenSet =
true;
215 m_tags = std::forward<TagsT>(value);
217 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
219 SetTags(std::forward<TagsT>(value));
222 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
224 m_tagsHasBeenSet =
true;
225 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
236 template <
typename TitleT = Aws::String>
238 m_titleHasBeenSet =
true;
239 m_title = std::forward<TitleT>(value);
241 template <
typename TitleT = Aws::String>
243 SetTitle(std::forward<TitleT>(value));
269 bool m_contentArnHasBeenSet =
false;
270 bool m_contentIdHasBeenSet =
false;
271 bool m_contentTypeHasBeenSet =
false;
272 bool m_knowledgeBaseArnHasBeenSet =
false;
273 bool m_knowledgeBaseIdHasBeenSet =
false;
274 bool m_metadataHasBeenSet =
false;
275 bool m_nameHasBeenSet =
false;
276 bool m_revisionIdHasBeenSet =
false;
277 bool m_statusHasBeenSet =
false;
278 bool m_tagsHasBeenSet =
false;
279 bool m_titleHasBeenSet =
false;
const Aws::String & GetTitle() const
void SetContentArn(ContentArnT &&value)
const Aws::String & GetRevisionId() const
void SetRevisionId(RevisionIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ContentSummary & WithName(NameT &&value)
const Aws::String & GetContentArn() const
AWS_CONNECTWISDOMSERVICE_API ContentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ContentSummary & WithContentId(ContentIdT &&value)
void SetContentType(ContentTypeT &&value)
bool KnowledgeBaseArnHasBeenSet() const
ContentSummary & WithStatus(ContentStatus value)
void SetTitle(TitleT &&value)
ContentSummary & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
bool StatusHasBeenSet() const
ContentSummary & WithContentArn(ContentArnT &&value)
void SetName(NameT &&value)
ContentSummary & WithContentType(ContentTypeT &&value)
bool KnowledgeBaseIdHasBeenSet() const
ContentSummary & WithTitle(TitleT &&value)
ContentSummary & WithTags(TagsT &&value)
AWS_CONNECTWISDOMSERVICE_API ContentSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetContentType() const
ContentSummary & AddMetadata(MetadataKeyT &&key, MetadataValueT &&value)
ContentSummary & WithKnowledgeBaseArn(KnowledgeBaseArnT &&value)
ContentSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool MetadataHasBeenSet() const
bool ContentArnHasBeenSet() const
bool NameHasBeenSet() const
void SetContentId(ContentIdT &&value)
bool ContentTypeHasBeenSet() const
void SetTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
ContentSummary & WithRevisionId(RevisionIdT &&value)
bool ContentIdHasBeenSet() const
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
const Aws::String & GetKnowledgeBaseArn() const
const Aws::String & GetContentId() const
AWS_CONNECTWISDOMSERVICE_API ContentSummary()=default
bool RevisionIdHasBeenSet() const
ContentStatus GetStatus() const
void SetStatus(ContentStatus value)
AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ContentSummary & WithMetadata(MetadataT &&value)
bool TitleHasBeenSet() const
void SetMetadata(MetadataT &&value)
const Aws::String & GetKnowledgeBaseId() const
void SetKnowledgeBaseArn(KnowledgeBaseArnT &&value)
bool TagsHasBeenSet() const
const Aws::String & GetName() 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