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/ContentStatus.h>
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 KnowledgeBaseArnT = Aws::String>
80 m_knowledgeBaseArnHasBeenSet =
true;
81 m_knowledgeBaseArn = std::forward<KnowledgeBaseArnT>(value);
83 template <
typename KnowledgeBaseArnT = Aws::String>
97 template <
typename KnowledgeBaseIdT = Aws::String>
99 m_knowledgeBaseIdHasBeenSet =
true;
100 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
102 template <
typename KnowledgeBaseIdT = Aws::String>
115 template <
typename NameT = Aws::String>
117 m_nameHasBeenSet =
true;
118 m_name = std::forward<NameT>(value);
120 template <
typename NameT = Aws::String>
122 SetName(std::forward<NameT>(value));
133 template <
typename RevisionIdT = Aws::String>
135 m_revisionIdHasBeenSet =
true;
136 m_revisionId = std::forward<RevisionIdT>(value);
138 template <
typename RevisionIdT = Aws::String>
151 template <
typename TitleT = Aws::String>
153 m_titleHasBeenSet =
true;
154 m_title = std::forward<TitleT>(value);
156 template <
typename TitleT = Aws::String>
158 SetTitle(std::forward<TitleT>(value));
169 template <
typename ContentTypeT = Aws::String>
171 m_contentTypeHasBeenSet =
true;
172 m_contentType = std::forward<ContentTypeT>(value);
174 template <
typename ContentTypeT = Aws::String>
188 m_statusHasBeenSet =
true;
206 template <
typename MetadataT = Aws::Map<Aws::String, Aws::String>>
208 m_metadataHasBeenSet =
true;
209 m_metadata = std::forward<MetadataT>(value);
211 template <
typename MetadataT = Aws::Map<Aws::String, Aws::String>>
216 template <
typename MetadataKeyT = Aws::String,
typename MetadataValueT = Aws::String>
218 m_metadataHasBeenSet =
true;
219 m_metadata.emplace(std::forward<MetadataKeyT>(key), std::forward<MetadataValueT>(value));
230 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
232 m_tagsHasBeenSet =
true;
233 m_tags = std::forward<TagsT>(value);
235 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
237 SetTags(std::forward<TagsT>(value));
240 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
242 m_tagsHasBeenSet =
true;
243 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
269 bool m_contentArnHasBeenSet =
false;
270 bool m_contentIdHasBeenSet =
false;
271 bool m_knowledgeBaseArnHasBeenSet =
false;
272 bool m_knowledgeBaseIdHasBeenSet =
false;
273 bool m_nameHasBeenSet =
false;
274 bool m_revisionIdHasBeenSet =
false;
275 bool m_titleHasBeenSet =
false;
276 bool m_contentTypeHasBeenSet =
false;
277 bool m_statusHasBeenSet =
false;
278 bool m_metadataHasBeenSet =
false;
279 bool m_tagsHasBeenSet =
false;
ContentSummary & WithTags(TagsT &&value)
ContentStatus GetStatus() const
bool TagsHasBeenSet() const
AWS_QCONNECT_API ContentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ContentSummary & WithContentArn(ContentArnT &&value)
const Aws::String & GetContentId() const
bool RevisionIdHasBeenSet() const
ContentSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool ContentTypeHasBeenSet() const
void SetTags(TagsT &&value)
ContentSummary & WithStatus(ContentStatus value)
void SetStatus(ContentStatus value)
ContentSummary & WithContentId(ContentIdT &&value)
AWS_QCONNECT_API ContentSummary(Aws::Utils::Json::JsonView jsonValue)
bool KnowledgeBaseIdHasBeenSet() const
void SetContentArn(ContentArnT &&value)
const Aws::String & GetKnowledgeBaseArn() const
void SetContentType(ContentTypeT &&value)
ContentSummary & WithMetadata(MetadataT &&value)
void SetKnowledgeBaseArn(KnowledgeBaseArnT &&value)
AWS_QCONNECT_API ContentSummary()=default
void SetRevisionId(RevisionIdT &&value)
ContentSummary & WithKnowledgeBaseArn(KnowledgeBaseArnT &&value)
const Aws::String & GetContentArn() const
bool KnowledgeBaseArnHasBeenSet() const
const Aws::String & GetRevisionId() const
const Aws::String & GetContentType() const
ContentSummary & WithName(NameT &&value)
ContentSummary & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
ContentSummary & WithRevisionId(RevisionIdT &&value)
ContentSummary & WithContentType(ContentTypeT &&value)
bool NameHasBeenSet() const
bool MetadataHasBeenSet() const
void SetMetadata(MetadataT &&value)
void SetName(NameT &&value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetName() const
bool TitleHasBeenSet() const
bool ContentArnHasBeenSet() const
const Aws::String & GetTitle() const
void SetContentId(ContentIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
bool ContentIdHasBeenSet() const
const Aws::String & GetKnowledgeBaseId() const
ContentSummary & AddMetadata(MetadataKeyT &&key, MetadataValueT &&value)
ContentSummary & WithTitle(TitleT &&value)
void SetTitle(TitleT &&value)
bool StatusHasBeenSet() const
void SetKnowledgeBaseId(KnowledgeBaseIdT &&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