7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/QConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
45 inline void SetContentId(
const char* value) { m_contentIdHasBeenSet =
true; m_contentId.assign(value); }
60 inline void SetKnowledgeBaseId(
const char* value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId.assign(value); }
99 inline void SetOverrideLinkOutUri(
const char* value) { m_overrideLinkOutUriHasBeenSet =
true; m_overrideLinkOutUri.assign(value); }
128 inline void SetRevisionId(
const char* value) { m_revisionIdHasBeenSet =
true; m_revisionId.assign(value); }
142 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
158 inline void SetUploadId(
const char* value) { m_uploadIdHasBeenSet =
true; m_uploadId.assign(value); }
166 bool m_contentIdHasBeenSet =
false;
169 bool m_knowledgeBaseIdHasBeenSet =
false;
172 bool m_metadataHasBeenSet =
false;
175 bool m_overrideLinkOutUriHasBeenSet =
false;
177 bool m_removeOverrideLinkOutUri;
178 bool m_removeOverrideLinkOutUriHasBeenSet =
false;
181 bool m_revisionIdHasBeenSet =
false;
184 bool m_titleHasBeenSet =
false;
187 bool m_uploadIdHasBeenSet =
false;
UpdateContentRequest & WithUploadId(const char *value)
UpdateContentRequest & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
UpdateContentRequest & WithOverrideLinkOutUri(const Aws::String &value)
UpdateContentRequest & WithRemoveOverrideLinkOutUri(bool value)
void SetRevisionId(const Aws::String &value)
void SetKnowledgeBaseId(const Aws::String &value)
void SetKnowledgeBaseId(const char *value)
void SetContentId(Aws::String &&value)
bool ContentIdHasBeenSet() const
bool TitleHasBeenSet() const
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetTitle() const
UpdateContentRequest & WithContentId(Aws::String &&value)
UpdateContentRequest & WithTitle(Aws::String &&value)
AWS_QCONNECT_API UpdateContentRequest()
UpdateContentRequest & WithKnowledgeBaseId(const char *value)
void SetOverrideLinkOutUri(const Aws::String &value)
UpdateContentRequest & WithKnowledgeBaseId(const Aws::String &value)
void SetOverrideLinkOutUri(Aws::String &&value)
const Aws::String & GetUploadId() const
UpdateContentRequest & WithOverrideLinkOutUri(Aws::String &&value)
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
UpdateContentRequest & WithRevisionId(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
const Aws::String & GetKnowledgeBaseId() const
bool RemoveOverrideLinkOutUriHasBeenSet() const
void SetKnowledgeBaseId(Aws::String &&value)
UpdateContentRequest & WithUploadId(Aws::String &&value)
void SetTitle(const Aws::String &value)
UpdateContentRequest & WithRevisionId(const Aws::String &value)
void SetRemoveOverrideLinkOutUri(bool value)
UpdateContentRequest & WithContentId(const char *value)
bool UploadIdHasBeenSet() const
void SetUploadId(const char *value)
UpdateContentRequest & AddMetadata(const Aws::String &key, Aws::String &&value)
void SetRevisionId(const char *value)
void SetTitle(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateContentRequest & WithRevisionId(Aws::String &&value)
UpdateContentRequest & AddMetadata(Aws::String &&key, Aws::String &&value)
UpdateContentRequest & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
bool KnowledgeBaseIdHasBeenSet() const
const Aws::String & GetContentId() const
UpdateContentRequest & WithOverrideLinkOutUri(const char *value)
UpdateContentRequest & WithContentId(const Aws::String &value)
void SetUploadId(const Aws::String &value)
bool OverrideLinkOutUriHasBeenSet() const
UpdateContentRequest & WithUploadId(const Aws::String &value)
void SetRevisionId(Aws::String &&value)
void SetTitle(Aws::String &&value)
UpdateContentRequest & WithTitle(const char *value)
UpdateContentRequest & AddMetadata(const char *key, Aws::String &&value)
UpdateContentRequest & WithKnowledgeBaseId(Aws::String &&value)
UpdateContentRequest & AddMetadata(const Aws::String &key, const Aws::String &value)
const Aws::String & GetOverrideLinkOutUri() const
AWS_QCONNECT_API Aws::String SerializePayload() const override
bool MetadataHasBeenSet() const
void SetContentId(const char *value)
bool RevisionIdHasBeenSet() const
void SetContentId(const Aws::String &value)
UpdateContentRequest & AddMetadata(Aws::String &&key, const char *value)
const Aws::String & GetRevisionId() const
UpdateContentRequest & AddMetadata(const char *key, const char *value)
UpdateContentRequest & WithTitle(const Aws::String &value)
void SetOverrideLinkOutUri(const char *value)
bool GetRemoveOverrideLinkOutUri() const
UpdateContentRequest & AddMetadata(Aws::String &&key, const Aws::String &value)
void SetUploadId(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