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/ContentStatus.h>
43 template <
typename ContentArnT = Aws::String>
45 m_contentArnHasBeenSet =
true;
46 m_contentArn = std::forward<ContentArnT>(value);
48 template <
typename ContentArnT = Aws::String>
61 template <
typename ContentIdT = Aws::String>
63 m_contentIdHasBeenSet =
true;
64 m_contentId = std::forward<ContentIdT>(value);
66 template <
typename ContentIdT = Aws::String>
79 template <
typename KnowledgeBaseArnT = Aws::String>
81 m_knowledgeBaseArnHasBeenSet =
true;
82 m_knowledgeBaseArn = std::forward<KnowledgeBaseArnT>(value);
84 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));
254 template <
typename LinkOutUriT = Aws::String>
256 m_linkOutUriHasBeenSet =
true;
257 m_linkOutUri = std::forward<LinkOutUriT>(value);
259 template <
typename LinkOutUriT = Aws::String>
272 template <
typename UrlT = Aws::String>
274 m_urlHasBeenSet =
true;
275 m_url = std::forward<UrlT>(value);
277 template <
typename UrlT = Aws::String>
279 SetUrl(std::forward<UrlT>(value));
290 template <
typename UrlExpiryT = Aws::Utils::DateTime>
292 m_urlExpiryHasBeenSet =
true;
293 m_urlExpiry = std::forward<UrlExpiryT>(value);
295 template <
typename UrlExpiryT = Aws::Utils::DateTime>
329 bool m_contentArnHasBeenSet =
false;
330 bool m_contentIdHasBeenSet =
false;
331 bool m_knowledgeBaseArnHasBeenSet =
false;
332 bool m_knowledgeBaseIdHasBeenSet =
false;
333 bool m_nameHasBeenSet =
false;
334 bool m_revisionIdHasBeenSet =
false;
335 bool m_titleHasBeenSet =
false;
336 bool m_contentTypeHasBeenSet =
false;
337 bool m_statusHasBeenSet =
false;
338 bool m_metadataHasBeenSet =
false;
339 bool m_tagsHasBeenSet =
false;
340 bool m_linkOutUriHasBeenSet =
false;
341 bool m_urlHasBeenSet =
false;
342 bool m_urlExpiryHasBeenSet =
false;
void SetMetadata(MetadataT &&value)
bool ContentIdHasBeenSet() const
void SetContentArn(ContentArnT &&value)
const Aws::Utils::DateTime & GetUrlExpiry() const
const Aws::String & GetKnowledgeBaseId() const
void SetUrlExpiry(UrlExpiryT &&value)
ContentData & WithStatus(ContentStatus value)
ContentStatus GetStatus() const
bool ContentArnHasBeenSet() const
bool UrlExpiryHasBeenSet() const
bool RevisionIdHasBeenSet() const
const Aws::String & GetRevisionId() const
bool TitleHasBeenSet() const
bool NameHasBeenSet() const
ContentData & WithTitle(TitleT &&value)
ContentData & WithContentType(ContentTypeT &&value)
ContentData & WithUrlExpiry(UrlExpiryT &&value)
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
AWS_QCONNECT_API ContentData()=default
void SetName(NameT &&value)
void SetTitle(TitleT &&value)
AWS_QCONNECT_API ContentData & operator=(Aws::Utils::Json::JsonView jsonValue)
bool KnowledgeBaseIdHasBeenSet() const
bool UrlHasBeenSet() const
ContentData & WithMetadata(MetadataT &&value)
const Aws::String & GetLinkOutUri() const
ContentData & WithUrl(UrlT &&value)
const Aws::String & GetKnowledgeBaseArn() const
ContentData & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetTitle() const
ContentData & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
ContentData & WithLinkOutUri(LinkOutUriT &&value)
bool TagsHasBeenSet() const
bool LinkOutUriHasBeenSet() const
ContentData & WithName(NameT &&value)
ContentData & AddMetadata(MetadataKeyT &&key, MetadataValueT &&value)
const Aws::String & GetName() const
ContentData & WithTags(TagsT &&value)
AWS_QCONNECT_API ContentData(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(ContentStatus value)
void SetRevisionId(RevisionIdT &&value)
ContentData & WithRevisionId(RevisionIdT &&value)
ContentData & WithContentArn(ContentArnT &&value)
void SetLinkOutUri(LinkOutUriT &&value)
bool ContentTypeHasBeenSet() const
void SetKnowledgeBaseArn(KnowledgeBaseArnT &&value)
bool StatusHasBeenSet() const
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
void SetContentId(ContentIdT &&value)
const Aws::String & GetContentId() const
const Aws::String & GetContentArn() const
ContentData & WithKnowledgeBaseArn(KnowledgeBaseArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetUrl() const
void SetUrl(UrlT &&value)
bool MetadataHasBeenSet() const
void SetContentType(ContentTypeT &&value)
void SetTags(TagsT &&value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetContentType() const
ContentData & WithContentId(ContentIdT &&value)
bool KnowledgeBaseArnHasBeenSet() 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