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/wisdom/ConnectWisdomService_EXPORTS.h>
11#include <aws/wisdom/model/ContentStatus.h>
22namespace ConnectWisdomService {
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 ContentTypeT = Aws::String>
81 m_contentTypeHasBeenSet =
true;
82 m_contentType = std::forward<ContentTypeT>(value);
84 template <
typename ContentTypeT = Aws::String>
97 template <
typename KnowledgeBaseArnT = Aws::String>
99 m_knowledgeBaseArnHasBeenSet =
true;
100 m_knowledgeBaseArn = std::forward<KnowledgeBaseArnT>(value);
102 template <
typename KnowledgeBaseArnT = Aws::String>
116 template <
typename KnowledgeBaseIdT = Aws::String>
118 m_knowledgeBaseIdHasBeenSet =
true;
119 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
121 template <
typename KnowledgeBaseIdT = Aws::String>
134 template <
typename LinkOutUriT = Aws::String>
136 m_linkOutUriHasBeenSet =
true;
137 m_linkOutUri = std::forward<LinkOutUriT>(value);
139 template <
typename LinkOutUriT = Aws::String>
155 template <
typename MetadataT = Aws::Map<Aws::String, Aws::String>>
157 m_metadataHasBeenSet =
true;
158 m_metadata = std::forward<MetadataT>(value);
160 template <
typename MetadataT = Aws::Map<Aws::String, Aws::String>>
165 template <
typename MetadataKeyT = Aws::String,
typename MetadataValueT = Aws::String>
167 m_metadataHasBeenSet =
true;
168 m_metadata.emplace(std::forward<MetadataKeyT>(key), std::forward<MetadataValueT>(value));
179 template <
typename NameT = Aws::String>
181 m_nameHasBeenSet =
true;
182 m_name = std::forward<NameT>(value);
184 template <
typename NameT = Aws::String>
186 SetName(std::forward<NameT>(value));
197 template <
typename RevisionIdT = Aws::String>
199 m_revisionIdHasBeenSet =
true;
200 m_revisionId = std::forward<RevisionIdT>(value);
202 template <
typename RevisionIdT = Aws::String>
216 m_statusHasBeenSet =
true;
231 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
233 m_tagsHasBeenSet =
true;
234 m_tags = std::forward<TagsT>(value);
236 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
238 SetTags(std::forward<TagsT>(value));
241 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
243 m_tagsHasBeenSet =
true;
244 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
255 template <
typename TitleT = Aws::String>
257 m_titleHasBeenSet =
true;
258 m_title = std::forward<TitleT>(value);
260 template <
typename TitleT = Aws::String>
262 SetTitle(std::forward<TitleT>(value));
273 template <
typename UrlT = Aws::String>
275 m_urlHasBeenSet =
true;
276 m_url = std::forward<UrlT>(value);
278 template <
typename UrlT = Aws::String>
280 SetUrl(std::forward<UrlT>(value));
291 template <
typename UrlExpiryT = Aws::Utils::DateTime>
293 m_urlExpiryHasBeenSet =
true;
294 m_urlExpiry = std::forward<UrlExpiryT>(value);
296 template <
typename UrlExpiryT = Aws::Utils::DateTime>
330 bool m_contentArnHasBeenSet =
false;
331 bool m_contentIdHasBeenSet =
false;
332 bool m_contentTypeHasBeenSet =
false;
333 bool m_knowledgeBaseArnHasBeenSet =
false;
334 bool m_knowledgeBaseIdHasBeenSet =
false;
335 bool m_linkOutUriHasBeenSet =
false;
336 bool m_metadataHasBeenSet =
false;
337 bool m_nameHasBeenSet =
false;
338 bool m_revisionIdHasBeenSet =
false;
339 bool m_statusHasBeenSet =
false;
340 bool m_tagsHasBeenSet =
false;
341 bool m_titleHasBeenSet =
false;
342 bool m_urlHasBeenSet =
false;
343 bool m_urlExpiryHasBeenSet =
false;
ContentData & WithContentArn(ContentArnT &&value)
const Aws::String & GetKnowledgeBaseArn() const
void SetLinkOutUri(LinkOutUriT &&value)
bool KnowledgeBaseArnHasBeenSet() const
ContentData & WithTitle(TitleT &&value)
void SetKnowledgeBaseArn(KnowledgeBaseArnT &&value)
void SetUrl(UrlT &&value)
const Aws::String & GetLinkOutUri() const
ContentData & WithLinkOutUri(LinkOutUriT &&value)
void SetName(NameT &&value)
ContentData & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
AWS_CONNECTWISDOMSERVICE_API ContentData & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetContentId(ContentIdT &&value)
const Aws::String & GetKnowledgeBaseId() const
AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool UrlHasBeenSet() const
bool ContentArnHasBeenSet() const
ContentData & WithUrlExpiry(UrlExpiryT &&value)
ContentData & WithRevisionId(RevisionIdT &&value)
AWS_CONNECTWISDOMSERVICE_API ContentData(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTWISDOMSERVICE_API ContentData()=default
ContentData & WithContentType(ContentTypeT &&value)
ContentData & WithKnowledgeBaseArn(KnowledgeBaseArnT &&value)
bool UrlExpiryHasBeenSet() const
void SetContentType(ContentTypeT &&value)
bool ContentIdHasBeenSet() const
bool MetadataHasBeenSet() const
ContentData & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetName() const
bool LinkOutUriHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
const Aws::String & GetRevisionId() const
bool KnowledgeBaseIdHasBeenSet() const
void SetRevisionId(RevisionIdT &&value)
const Aws::String & GetContentId() const
bool NameHasBeenSet() const
void SetContentArn(ContentArnT &&value)
bool StatusHasBeenSet() const
bool ContentTypeHasBeenSet() const
const Aws::String & GetContentType() const
const Aws::String & GetTitle() const
ContentData & WithTags(TagsT &&value)
void SetTitle(TitleT &&value)
void SetMetadata(MetadataT &&value)
const Aws::Utils::DateTime & GetUrlExpiry() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ContentData & WithContentId(ContentIdT &&value)
void SetUrlExpiry(UrlExpiryT &&value)
const Aws::String & GetUrl() const
ContentData & AddMetadata(MetadataKeyT &&key, MetadataValueT &&value)
ContentData & WithName(NameT &&value)
const Aws::String & GetContentArn() const
bool TagsHasBeenSet() const
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
ContentData & WithMetadata(MetadataT &&value)
ContentData & WithUrl(UrlT &&value)
bool RevisionIdHasBeenSet() const
ContentStatus GetStatus() const
void SetTags(TagsT &&value)
void SetStatus(ContentStatus value)
bool TitleHasBeenSet() const
ContentData & WithStatus(ContentStatus 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