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>
45 template<
typename AuthenticationTokenT = Aws::String>
46 void SetAuthenticationToken(AuthenticationTokenT&& value) { m_authenticationTokenHasBeenSet =
true; m_authenticationToken = std::forward<AuthenticationTokenT>(value); }
47 template<
typename AuthenticationTokenT = Aws::String>
57 template<
typename IdT = Aws::String>
58 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
59 template<
typename IdT = Aws::String>
69 template<
typename NameT = Aws::String>
70 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
71 template<
typename NameT = Aws::String>
81 template<
typename ContentCreatedTimestampT = Aws::Utils::DateTime>
82 void SetContentCreatedTimestamp(ContentCreatedTimestampT&& value) { m_contentCreatedTimestampHasBeenSet =
true; m_contentCreatedTimestamp = std::forward<ContentCreatedTimestampT>(value); }
83 template<
typename ContentCreatedTimestampT = Aws::Utils::DateTime>
93 template<
typename ContentModifiedTimestampT = Aws::Utils::DateTime>
94 void SetContentModifiedTimestamp(ContentModifiedTimestampT&& value) { m_contentModifiedTimestampHasBeenSet =
true; m_contentModifiedTimestamp = std::forward<ContentModifiedTimestampT>(value); }
95 template<
typename ContentModifiedTimestampT = Aws::Utils::DateTime>
105 template<
typename ContentTypeT = Aws::String>
106 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet =
true; m_contentType = std::forward<ContentTypeT>(value); }
107 template<
typename ContentTypeT = Aws::String>
117 inline void SetDocumentSizeInBytes(
long long value) { m_documentSizeInBytesHasBeenSet =
true; m_documentSizeInBytes = value; }
127 template<
typename ParentFolderIdT = Aws::String>
128 void SetParentFolderId(ParentFolderIdT&& value) { m_parentFolderIdHasBeenSet =
true; m_parentFolderId = std::forward<ParentFolderIdT>(value); }
129 template<
typename ParentFolderIdT = Aws::String>
135 bool m_authenticationTokenHasBeenSet =
false;
138 bool m_idHasBeenSet =
false;
141 bool m_nameHasBeenSet =
false;
144 bool m_contentCreatedTimestampHasBeenSet =
false;
147 bool m_contentModifiedTimestampHasBeenSet =
false;
150 bool m_contentTypeHasBeenSet =
false;
152 long long m_documentSizeInBytes{0};
153 bool m_documentSizeInBytesHasBeenSet =
false;
156 bool m_parentFolderIdHasBeenSet =
false;
const Aws::Utils::DateTime & GetContentModifiedTimestamp() const
AWS_WORKDOCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetContentType() const
InitiateDocumentVersionUploadRequest & WithId(IdT &&value)
InitiateDocumentVersionUploadRequest & WithParentFolderId(ParentFolderIdT &&value)
InitiateDocumentVersionUploadRequest & WithContentModifiedTimestamp(ContentModifiedTimestampT &&value)
bool NameHasBeenSet() const
AWS_WORKDOCS_API InitiateDocumentVersionUploadRequest()=default
const Aws::String & GetId() const
bool ContentTypeHasBeenSet() const
InitiateDocumentVersionUploadRequest & WithContentCreatedTimestamp(ContentCreatedTimestampT &&value)
void SetAuthenticationToken(AuthenticationTokenT &&value)
bool DocumentSizeInBytesHasBeenSet() const
bool AuthenticationTokenHasBeenSet() const
void SetContentType(ContentTypeT &&value)
AWS_WORKDOCS_API Aws::String SerializePayload() const override
InitiateDocumentVersionUploadRequest & WithDocumentSizeInBytes(long long value)
InitiateDocumentVersionUploadRequest & WithContentType(ContentTypeT &&value)
void SetDocumentSizeInBytes(long long value)
const Aws::String & GetName() const
void SetName(NameT &&value)
bool IdHasBeenSet() const
void SetContentModifiedTimestamp(ContentModifiedTimestampT &&value)
const Aws::Utils::DateTime & GetContentCreatedTimestamp() const
InitiateDocumentVersionUploadRequest & WithAuthenticationToken(AuthenticationTokenT &&value)
long long GetDocumentSizeInBytes() const
const Aws::String & GetParentFolderId() const
bool ContentCreatedTimestampHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetParentFolderId(ParentFolderIdT &&value)
void SetContentCreatedTimestamp(ContentCreatedTimestampT &&value)
const Aws::String & GetAuthenticationToken() const
InitiateDocumentVersionUploadRequest & WithName(NameT &&value)
bool ContentModifiedTimestampHasBeenSet() const
bool ParentFolderIdHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String