7#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
8#include <aws/wisdom/ConnectWisdomServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
15namespace ConnectWisdomService
45 inline void SetContentId(
const char* value) { m_contentIdHasBeenSet =
true; m_contentId.assign(value); }
61 inline void SetKnowledgeBaseId(
const char* value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId.assign(value); }
100 inline void SetOverrideLinkOutUri(
const char* value) { m_overrideLinkOutUriHasBeenSet =
true; m_overrideLinkOutUri.assign(value); }
129 inline void SetRevisionId(
const char* value) { m_revisionIdHasBeenSet =
true; m_revisionId.assign(value); }
143 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
159 inline void SetUploadId(
const char* value) { m_uploadIdHasBeenSet =
true; m_uploadId.assign(value); }
167 bool m_contentIdHasBeenSet =
false;
170 bool m_knowledgeBaseIdHasBeenSet =
false;
173 bool m_metadataHasBeenSet =
false;
176 bool m_overrideLinkOutUriHasBeenSet =
false;
178 bool m_removeOverrideLinkOutUri;
179 bool m_removeOverrideLinkOutUriHasBeenSet =
false;
182 bool m_revisionIdHasBeenSet =
false;
185 bool m_titleHasBeenSet =
false;
188 bool m_uploadIdHasBeenSet =
false;
void SetKnowledgeBaseId(const Aws::String &value)
bool ContentIdHasBeenSet() const
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetKnowledgeBaseId() const
bool UploadIdHasBeenSet() const
const Aws::String & GetUploadId() const
UpdateContentRequest & WithContentId(Aws::String &&value)
void SetRevisionId(const char *value)
void SetUploadId(const char *value)
UpdateContentRequest & WithUploadId(const char *value)
const Aws::String & GetOverrideLinkOutUri() const
UpdateContentRequest & WithRevisionId(const char *value)
UpdateContentRequest & WithOverrideLinkOutUri(Aws::String &&value)
void SetRemoveOverrideLinkOutUri(bool value)
void SetContentId(const char *value)
UpdateContentRequest & AddMetadata(const char *key, Aws::String &&value)
void SetContentId(const Aws::String &value)
UpdateContentRequest & AddMetadata(const Aws::String &key, const Aws::String &value)
UpdateContentRequest & WithUploadId(Aws::String &&value)
bool KnowledgeBaseIdHasBeenSet() const
bool OverrideLinkOutUriHasBeenSet() const
const Aws::String & GetTitle() const
UpdateContentRequest & AddMetadata(const char *key, const char *value)
void SetTitle(const Aws::String &value)
UpdateContentRequest & WithOverrideLinkOutUri(const Aws::String &value)
const Aws::String & GetRevisionId() const
const Aws::String & GetContentId() const
UpdateContentRequest & WithKnowledgeBaseId(const Aws::String &value)
void SetTitle(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateContentRequest & WithContentId(const Aws::String &value)
UpdateContentRequest & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
void SetUploadId(const Aws::String &value)
void SetRevisionId(Aws::String &&value)
void SetContentId(Aws::String &&value)
AWS_CONNECTWISDOMSERVICE_API UpdateContentRequest()
UpdateContentRequest & AddMetadata(Aws::String &&key, const char *value)
UpdateContentRequest & WithOverrideLinkOutUri(const char *value)
bool RevisionIdHasBeenSet() const
void SetOverrideLinkOutUri(Aws::String &&value)
void SetUploadId(Aws::String &&value)
bool GetRemoveOverrideLinkOutUri() const
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
UpdateContentRequest & WithUploadId(const Aws::String &value)
UpdateContentRequest & WithRemoveOverrideLinkOutUri(bool value)
void SetKnowledgeBaseId(Aws::String &&value)
void SetKnowledgeBaseId(const char *value)
UpdateContentRequest & AddMetadata(Aws::String &&key, const Aws::String &value)
void SetOverrideLinkOutUri(const Aws::String &value)
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
bool RemoveOverrideLinkOutUriHasBeenSet() const
UpdateContentRequest & WithTitle(Aws::String &&value)
bool TitleHasBeenSet() const
UpdateContentRequest & AddMetadata(const Aws::String &key, Aws::String &&value)
bool MetadataHasBeenSet() const
UpdateContentRequest & WithTitle(const Aws::String &value)
void SetOverrideLinkOutUri(const char *value)
UpdateContentRequest & WithKnowledgeBaseId(Aws::String &&value)
UpdateContentRequest & WithRevisionId(const Aws::String &value)
UpdateContentRequest & AddMetadata(Aws::String &&key, Aws::String &&value)
UpdateContentRequest & WithKnowledgeBaseId(const char *value)
void SetTitle(Aws::String &&value)
UpdateContentRequest & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
UpdateContentRequest & WithTitle(const char *value)
AWS_CONNECTWISDOMSERVICE_API Aws::String SerializePayload() const override
UpdateContentRequest & WithRevisionId(Aws::String &&value)
UpdateContentRequest & WithContentId(const char *value)
void SetRevisionId(const Aws::String &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