7#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/wisdom/model/ContentStatus.h>
23namespace ConnectWisdomService
50 inline void SetContentArn(
const char* value) { m_contentArnHasBeenSet =
true; m_contentArn.assign(value); }
64 inline void SetContentId(
const char* value) { m_contentIdHasBeenSet =
true; m_contentId.assign(value); }
78 inline void SetContentType(
const char* value) { m_contentTypeHasBeenSet =
true; m_contentType.assign(value); }
92 inline void SetKnowledgeBaseArn(
const char* value) { m_knowledgeBaseArnHasBeenSet =
true; m_knowledgeBaseArn.assign(value); }
107 inline void SetKnowledgeBaseId(
const char* value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId.assign(value); }
132 inline ContentSummary&
AddMetadata(
const char* key,
const char* value) { m_metadataHasBeenSet =
true; m_metadata.emplace(key, value);
return *
this; }
143 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
157 inline void SetRevisionId(
const char* value) { m_revisionIdHasBeenSet =
true; m_revisionId.assign(value); }
191 inline ContentSummary&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
202 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
210 bool m_contentArnHasBeenSet =
false;
213 bool m_contentIdHasBeenSet =
false;
216 bool m_contentTypeHasBeenSet =
false;
219 bool m_knowledgeBaseArnHasBeenSet =
false;
222 bool m_knowledgeBaseIdHasBeenSet =
false;
225 bool m_metadataHasBeenSet =
false;
228 bool m_nameHasBeenSet =
false;
231 bool m_revisionIdHasBeenSet =
false;
234 bool m_statusHasBeenSet =
false;
237 bool m_tagsHasBeenSet =
false;
240 bool m_titleHasBeenSet =
false;
ContentSummary & AddTags(const char *key, const char *value)
void SetKnowledgeBaseArn(const Aws::String &value)
const Aws::String & GetTitle() const
ContentSummary & WithContentType(Aws::String &&value)
const Aws::String & GetRevisionId() const
ContentSummary & WithRevisionId(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTitle(Aws::String &&value)
ContentSummary & AddMetadata(const Aws::String &key, const Aws::String &value)
ContentSummary & WithName(const Aws::String &value)
const Aws::String & GetContentArn() const
AWS_CONNECTWISDOMSERVICE_API ContentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ContentSummary & AddMetadata(Aws::String &&key, const Aws::String &value)
ContentSummary & AddMetadata(Aws::String &&key, Aws::String &&value)
bool KnowledgeBaseArnHasBeenSet() const
ContentSummary & WithTitle(const Aws::String &value)
void SetName(const Aws::String &value)
AWS_CONNECTWISDOMSERVICE_API ContentSummary()
ContentSummary & WithContentId(Aws::String &&value)
ContentSummary & AddTags(Aws::String &&key, const char *value)
ContentSummary & AddTags(const Aws::String &key, const Aws::String &value)
ContentSummary & WithKnowledgeBaseId(const char *value)
void SetRevisionId(const Aws::String &value)
ContentSummary & WithContentArn(Aws::String &&value)
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
const ContentStatus & GetStatus() const
bool StatusHasBeenSet() const
void SetName(Aws::String &&value)
void SetContentId(Aws::String &&value)
ContentSummary & WithRevisionId(Aws::String &&value)
bool KnowledgeBaseIdHasBeenSet() const
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
void SetKnowledgeBaseId(const Aws::String &value)
ContentSummary & WithContentArn(const Aws::String &value)
ContentSummary & WithStatus(ContentStatus &&value)
ContentSummary & WithContentType(const char *value)
ContentSummary & WithKnowledgeBaseArn(const Aws::String &value)
AWS_CONNECTWISDOMSERVICE_API ContentSummary(Aws::Utils::Json::JsonView jsonValue)
ContentSummary & WithKnowledgeBaseId(const Aws::String &value)
const Aws::String & GetContentType() const
void SetKnowledgeBaseArn(Aws::String &&value)
ContentSummary & AddMetadata(const char *key, const char *value)
void SetContentArn(Aws::String &&value)
ContentSummary & WithKnowledgeBaseArn(Aws::String &&value)
void SetKnowledgeBaseId(const char *value)
ContentSummary & WithTitle(const char *value)
ContentSummary & AddTags(Aws::String &&key, Aws::String &&value)
ContentSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
bool MetadataHasBeenSet() const
bool ContentArnHasBeenSet() const
bool NameHasBeenSet() const
bool ContentTypeHasBeenSet() const
ContentSummary & WithName(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
void SetContentArn(const Aws::String &value)
ContentSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetKnowledgeBaseArn(const char *value)
void SetStatus(ContentStatus &&value)
ContentSummary & WithContentId(const char *value)
bool ContentIdHasBeenSet() const
void SetContentType(Aws::String &&value)
const Aws::String & GetKnowledgeBaseArn() const
ContentSummary & WithContentArn(const char *value)
void SetStatus(const ContentStatus &value)
void SetContentType(const Aws::String &value)
const Aws::String & GetContentId() const
ContentSummary & AddTags(Aws::String &&key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
ContentSummary & WithKnowledgeBaseId(Aws::String &&value)
ContentSummary & AddMetadata(const Aws::String &key, Aws::String &&value)
void SetTitle(const char *value)
ContentSummary & AddTags(const Aws::String &key, Aws::String &&value)
ContentSummary & AddMetadata(const char *key, Aws::String &&value)
ContentSummary & WithStatus(const ContentStatus &value)
bool RevisionIdHasBeenSet() const
void SetContentArn(const char *value)
ContentSummary & WithKnowledgeBaseArn(const char *value)
ContentSummary & WithRevisionId(const Aws::String &value)
void SetContentType(const char *value)
void SetContentId(const char *value)
void SetContentId(const Aws::String &value)
void SetRevisionId(const char *value)
void SetName(const char *value)
void SetKnowledgeBaseId(Aws::String &&value)
AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ContentSummary & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
ContentSummary & AddMetadata(Aws::String &&key, const char *value)
ContentSummary & WithTitle(Aws::String &&value)
ContentSummary & WithName(Aws::String &&value)
bool TitleHasBeenSet() const
ContentSummary & WithContentId(const Aws::String &value)
ContentSummary & AddTags(const char *key, Aws::String &&value)
ContentSummary & WithContentType(const Aws::String &value)
const Aws::String & GetKnowledgeBaseId() const
ContentSummary & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
void SetRevisionId(Aws::String &&value)
void SetTitle(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&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