7#include <aws/workdocs/WorkDocs_EXPORTS.h>
8#include <aws/workdocs/WorkDocsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
52 inline void SetAuthenticationToken(
const char* value) { m_authenticationTokenHasBeenSet =
true; m_authenticationToken.assign(value); }
66 inline void SetDocumentId(
const char* value) { m_documentIdHasBeenSet =
true; m_documentId.assign(value); }
80 inline void SetVersionId(
const char* value) { m_versionIdHasBeenSet =
true; m_versionId.assign(value); }
92 inline void SetDeletePriorVersions(
bool value) { m_deletePriorVersionsHasBeenSet =
true; m_deletePriorVersions = value; }
98 bool m_authenticationTokenHasBeenSet =
false;
101 bool m_documentIdHasBeenSet =
false;
104 bool m_versionIdHasBeenSet =
false;
106 bool m_deletePriorVersions;
107 bool m_deletePriorVersionsHasBeenSet =
false;
void SetAuthenticationToken(const char *value)
AWS_WORKDOCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteDocumentVersionRequest & WithDocumentId(const Aws::String &value)
const Aws::String & GetVersionId() const
bool VersionIdHasBeenSet() const
DeleteDocumentVersionRequest & WithAuthenticationToken(const char *value)
void SetDocumentId(const Aws::String &value)
DeleteDocumentVersionRequest & WithAuthenticationToken(const Aws::String &value)
bool AuthenticationTokenHasBeenSet() const
DeleteDocumentVersionRequest & WithDocumentId(Aws::String &&value)
void SetVersionId(const Aws::String &value)
DeleteDocumentVersionRequest & WithDeletePriorVersions(bool value)
AWS_WORKDOCS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetDeletePriorVersions(bool value)
void SetVersionId(Aws::String &&value)
bool DocumentIdHasBeenSet() const
DeleteDocumentVersionRequest & WithVersionId(const char *value)
bool GetDeletePriorVersions() const
AWS_WORKDOCS_API DeleteDocumentVersionRequest()
void SetAuthenticationToken(Aws::String &&value)
void SetVersionId(const char *value)
AWS_WORKDOCS_API Aws::String SerializePayload() const override
void SetAuthenticationToken(const Aws::String &value)
DeleteDocumentVersionRequest & WithVersionId(const Aws::String &value)
void SetDocumentId(const char *value)
const Aws::String & GetDocumentId() const
const Aws::String & GetAuthenticationToken() const
bool DeletePriorVersionsHasBeenSet() const
DeleteDocumentVersionRequest & WithVersionId(Aws::String &&value)
void SetDocumentId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
DeleteDocumentVersionRequest & WithDocumentId(const char *value)
DeleteDocumentVersionRequest & WithAuthenticationToken(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String