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/core/utils/DateTime.h>
47 inline void SetAuthenticationToken(
const char* value) { m_authenticationTokenHasBeenSet =
true; m_authenticationToken.assign(value); }
60 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
61 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
75 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
113 inline void SetContentType(
const char* value) { m_contentTypeHasBeenSet =
true; m_contentType.assign(value); }
125 inline void SetDocumentSizeInBytes(
long long value) { m_documentSizeInBytesHasBeenSet =
true; m_documentSizeInBytes = value; }
137 inline void SetParentFolderId(
const char* value) { m_parentFolderIdHasBeenSet =
true; m_parentFolderId.assign(value); }
145 bool m_authenticationTokenHasBeenSet =
false;
148 bool m_idHasBeenSet =
false;
151 bool m_nameHasBeenSet =
false;
154 bool m_contentCreatedTimestampHasBeenSet =
false;
157 bool m_contentModifiedTimestampHasBeenSet =
false;
160 bool m_contentTypeHasBeenSet =
false;
162 long long m_documentSizeInBytes;
163 bool m_documentSizeInBytesHasBeenSet =
false;
166 bool m_parentFolderIdHasBeenSet =
false;
InitiateDocumentVersionUploadRequest & WithName(const Aws::String &value)
void SetId(const Aws::String &value)
AWS_WORKDOCS_API InitiateDocumentVersionUploadRequest()
InitiateDocumentVersionUploadRequest & WithContentModifiedTimestamp(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetContentModifiedTimestamp() const
InitiateDocumentVersionUploadRequest & WithAuthenticationToken(const Aws::String &value)
AWS_WORKDOCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
InitiateDocumentVersionUploadRequest & WithContentType(const Aws::String &value)
const Aws::String & GetContentType() const
void SetContentType(const Aws::String &value)
InitiateDocumentVersionUploadRequest & WithParentFolderId(Aws::String &&value)
void SetAuthenticationToken(const Aws::String &value)
void SetAuthenticationToken(const char *value)
void SetContentModifiedTimestamp(const Aws::Utils::DateTime &value)
bool NameHasBeenSet() const
void SetParentFolderId(const char *value)
InitiateDocumentVersionUploadRequest & WithName(Aws::String &&value)
InitiateDocumentVersionUploadRequest & WithParentFolderId(const char *value)
void SetAuthenticationToken(Aws::String &&value)
void SetId(const char *value)
void SetContentCreatedTimestamp(Aws::Utils::DateTime &&value)
InitiateDocumentVersionUploadRequest & WithAuthenticationToken(Aws::String &&value)
void SetId(Aws::String &&value)
InitiateDocumentVersionUploadRequest & WithContentModifiedTimestamp(Aws::Utils::DateTime &&value)
const Aws::String & GetId() const
bool ContentTypeHasBeenSet() const
InitiateDocumentVersionUploadRequest & WithContentCreatedTimestamp(const Aws::Utils::DateTime &value)
void SetParentFolderId(Aws::String &&value)
void SetParentFolderId(const Aws::String &value)
void SetContentType(Aws::String &&value)
bool DocumentSizeInBytesHasBeenSet() const
bool AuthenticationTokenHasBeenSet() const
InitiateDocumentVersionUploadRequest & WithContentCreatedTimestamp(Aws::Utils::DateTime &&value)
AWS_WORKDOCS_API Aws::String SerializePayload() const override
InitiateDocumentVersionUploadRequest & WithContentType(const char *value)
InitiateDocumentVersionUploadRequest & WithDocumentSizeInBytes(long long value)
void SetDocumentSizeInBytes(long long value)
InitiateDocumentVersionUploadRequest & WithName(const char *value)
void SetName(const Aws::String &value)
void SetName(const char *value)
const Aws::String & GetName() const
void SetContentCreatedTimestamp(const Aws::Utils::DateTime &value)
void SetName(Aws::String &&value)
void SetContentModifiedTimestamp(Aws::Utils::DateTime &&value)
bool IdHasBeenSet() const
InitiateDocumentVersionUploadRequest & WithParentFolderId(const Aws::String &value)
InitiateDocumentVersionUploadRequest & WithId(const Aws::String &value)
InitiateDocumentVersionUploadRequest & WithId(Aws::String &&value)
InitiateDocumentVersionUploadRequest & WithContentType(Aws::String &&value)
InitiateDocumentVersionUploadRequest & WithId(const char *value)
const Aws::Utils::DateTime & GetContentCreatedTimestamp() const
long long GetDocumentSizeInBytes() const
const Aws::String & GetParentFolderId() const
bool ContentCreatedTimestampHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetAuthenticationToken() const
bool ContentModifiedTimestampHasBeenSet() const
bool ParentFolderIdHasBeenSet() const
InitiateDocumentVersionUploadRequest & WithAuthenticationToken(const char *value)
void SetContentType(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String