7#include <aws/workdocs/WorkDocs_EXPORTS.h>
8#include <aws/workdocs/WorkDocsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/workdocs/model/ResourceStateType.h>
47 inline void SetAuthenticationToken(
const char* value) { m_authenticationTokenHasBeenSet =
true; m_authenticationToken.assign(value); }
61 inline void SetDocumentId(
const char* value) { m_documentIdHasBeenSet =
true; m_documentId.assign(value); }
75 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
89 inline void SetParentFolderId(
const char* value) { m_parentFolderIdHasBeenSet =
true; m_parentFolderId.assign(value); }
110 bool m_authenticationTokenHasBeenSet =
false;
113 bool m_documentIdHasBeenSet =
false;
116 bool m_nameHasBeenSet =
false;
119 bool m_parentFolderIdHasBeenSet =
false;
122 bool m_resourceStateHasBeenSet =
false;
UpdateDocumentRequest & WithResourceState(const ResourceStateType &value)
void SetName(const Aws::String &value)
UpdateDocumentRequest & WithName(const Aws::String &value)
AWS_WORKDOCS_API Aws::String SerializePayload() const override
void SetParentFolderId(const char *value)
void SetResourceState(const ResourceStateType &value)
AWS_WORKDOCS_API UpdateDocumentRequest()
void SetDocumentId(const Aws::String &value)
UpdateDocumentRequest & WithAuthenticationToken(Aws::String &&value)
UpdateDocumentRequest & WithParentFolderId(Aws::String &&value)
void SetAuthenticationToken(const Aws::String &value)
bool NameHasBeenSet() const
void SetDocumentId(Aws::String &&value)
const Aws::String & GetDocumentId() const
UpdateDocumentRequest & WithDocumentId(Aws::String &&value)
void SetName(Aws::String &&value)
UpdateDocumentRequest & WithName(Aws::String &&value)
const Aws::String & GetName() const
UpdateDocumentRequest & WithAuthenticationToken(const char *value)
UpdateDocumentRequest & WithDocumentId(const Aws::String &value)
UpdateDocumentRequest & WithAuthenticationToken(const Aws::String &value)
void SetParentFolderId(const Aws::String &value)
bool ResourceStateHasBeenSet() const
bool AuthenticationTokenHasBeenSet() const
const Aws::String & GetParentFolderId() const
UpdateDocumentRequest & WithName(const char *value)
UpdateDocumentRequest & WithResourceState(ResourceStateType &&value)
const Aws::String & GetAuthenticationToken() const
void SetResourceState(ResourceStateType &&value)
virtual const char * GetServiceRequestName() const override
void SetDocumentId(const char *value)
void SetAuthenticationToken(Aws::String &&value)
UpdateDocumentRequest & WithDocumentId(const char *value)
bool ParentFolderIdHasBeenSet() const
void SetParentFolderId(Aws::String &&value)
AWS_WORKDOCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetAuthenticationToken(const char *value)
UpdateDocumentRequest & WithParentFolderId(const Aws::String &value)
const ResourceStateType & GetResourceState() const
bool DocumentIdHasBeenSet() const
void SetName(const char *value)
UpdateDocumentRequest & WithParentFolderId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String