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); }
95 inline void SetFields(
const char* value) { m_fieldsHasBeenSet =
true; m_fields.assign(value); }
113 bool m_authenticationTokenHasBeenSet =
false;
116 bool m_documentIdHasBeenSet =
false;
119 bool m_versionIdHasBeenSet =
false;
122 bool m_fieldsHasBeenSet =
false;
124 bool m_includeCustomMetadata;
125 bool m_includeCustomMetadataHasBeenSet =
false;
void SetDocumentId(const Aws::String &value)
void SetAuthenticationToken(const Aws::String &value)
AWS_WORKDOCS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_WORKDOCS_API GetDocumentVersionRequest()
bool FieldsHasBeenSet() const
void SetDocumentId(Aws::String &&value)
GetDocumentVersionRequest & WithDocumentId(const char *value)
bool DocumentIdHasBeenSet() const
void SetAuthenticationToken(const char *value)
void SetFields(Aws::String &&value)
void SetVersionId(Aws::String &&value)
GetDocumentVersionRequest & WithAuthenticationToken(const char *value)
bool GetIncludeCustomMetadata() const
void SetDocumentId(const char *value)
GetDocumentVersionRequest & WithFields(const char *value)
bool IncludeCustomMetadataHasBeenSet() const
bool VersionIdHasBeenSet() const
GetDocumentVersionRequest & WithVersionId(const Aws::String &value)
AWS_WORKDOCS_API Aws::String SerializePayload() const override
GetDocumentVersionRequest & WithIncludeCustomMetadata(bool value)
void SetIncludeCustomMetadata(bool value)
AWS_WORKDOCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetAuthenticationToken() const
void SetVersionId(const char *value)
void SetFields(const char *value)
GetDocumentVersionRequest & WithFields(const Aws::String &value)
GetDocumentVersionRequest & WithDocumentId(Aws::String &&value)
GetDocumentVersionRequest & WithAuthenticationToken(Aws::String &&value)
void SetAuthenticationToken(Aws::String &&value)
GetDocumentVersionRequest & WithAuthenticationToken(const Aws::String &value)
GetDocumentVersionRequest & WithDocumentId(const Aws::String &value)
void SetVersionId(const Aws::String &value)
GetDocumentVersionRequest & WithFields(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetVersionId() const
void SetFields(const Aws::String &value)
bool AuthenticationTokenHasBeenSet() const
const Aws::String & GetDocumentId() const
GetDocumentVersionRequest & WithVersionId(const char *value)
const Aws::String & GetFields() const
GetDocumentVersionRequest & WithVersionId(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String