AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateMultipartUploadRequest.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/S3CrtRequest.h>
9#include <aws/s3-crt/model/ObjectCannedACL.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/s3-crt/model/ServerSideEncryption.h>
14#include <aws/s3-crt/model/StorageClass.h>
15#include <aws/s3-crt/model/RequestPayer.h>
16#include <aws/s3-crt/model/ObjectLockMode.h>
17#include <aws/s3-crt/model/ObjectLockLegalHoldStatus.h>
18#include <aws/s3-crt/model/ChecksumAlgorithm.h>
19#include <utility>
20
21namespace Aws
22{
23namespace Http
24{
25 class URI;
26} //namespace Http
27namespace S3Crt
28{
29namespace Model
30{
31
35 {
36 public:
38
39 // Service request name is the Operation name which will send this request out,
40 // each operation should has unique request name, so that we can get operation's name from this request.
41 // Note: this is not true for response, multiple operations may have the same response name,
42 // so we can not get operation's name from response.
43 inline virtual const char* GetServiceRequestName() const override { return "CreateMultipartUpload"; }
44
45 AWS_S3CRT_API Aws::String SerializePayload() const override;
46
47 AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
48
50
51 AWS_S3CRT_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override;
55 AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override;
56
58
75 inline const ObjectCannedACL& GetACL() const{ return m_aCL; }
76 inline bool ACLHasBeenSet() const { return m_aCLHasBeenSet; }
77 inline void SetACL(const ObjectCannedACL& value) { m_aCLHasBeenSet = true; m_aCL = value; }
78 inline void SetACL(ObjectCannedACL&& value) { m_aCLHasBeenSet = true; m_aCL = std::move(value); }
79 inline CreateMultipartUploadRequest& WithACL(const ObjectCannedACL& value) { SetACL(value); return *this;}
80 inline CreateMultipartUploadRequest& WithACL(ObjectCannedACL&& value) { SetACL(std::move(value)); return *this;}
82
84
118 inline const Aws::String& GetBucket() const{ return m_bucket; }
119 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
120 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
121 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
122 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
123 inline CreateMultipartUploadRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
124 inline CreateMultipartUploadRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
125 inline CreateMultipartUploadRequest& WithBucket(const char* value) { SetBucket(value); return *this;}
127
129
132 inline const Aws::String& GetCacheControl() const{ return m_cacheControl; }
133 inline bool CacheControlHasBeenSet() const { return m_cacheControlHasBeenSet; }
134 inline void SetCacheControl(const Aws::String& value) { m_cacheControlHasBeenSet = true; m_cacheControl = value; }
135 inline void SetCacheControl(Aws::String&& value) { m_cacheControlHasBeenSet = true; m_cacheControl = std::move(value); }
136 inline void SetCacheControl(const char* value) { m_cacheControlHasBeenSet = true; m_cacheControl.assign(value); }
137 inline CreateMultipartUploadRequest& WithCacheControl(const Aws::String& value) { SetCacheControl(value); return *this;}
138 inline CreateMultipartUploadRequest& WithCacheControl(Aws::String&& value) { SetCacheControl(std::move(value)); return *this;}
139 inline CreateMultipartUploadRequest& WithCacheControl(const char* value) { SetCacheControl(value); return *this;}
141
143
146 inline const Aws::String& GetContentDisposition() const{ return m_contentDisposition; }
147 inline bool ContentDispositionHasBeenSet() const { return m_contentDispositionHasBeenSet; }
148 inline void SetContentDisposition(const Aws::String& value) { m_contentDispositionHasBeenSet = true; m_contentDisposition = value; }
149 inline void SetContentDisposition(Aws::String&& value) { m_contentDispositionHasBeenSet = true; m_contentDisposition = std::move(value); }
150 inline void SetContentDisposition(const char* value) { m_contentDispositionHasBeenSet = true; m_contentDisposition.assign(value); }
153 inline CreateMultipartUploadRequest& WithContentDisposition(const char* value) { SetContentDisposition(value); return *this;}
155
157
163 inline const Aws::String& GetContentEncoding() const{ return m_contentEncoding; }
164 inline bool ContentEncodingHasBeenSet() const { return m_contentEncodingHasBeenSet; }
165 inline void SetContentEncoding(const Aws::String& value) { m_contentEncodingHasBeenSet = true; m_contentEncoding = value; }
166 inline void SetContentEncoding(Aws::String&& value) { m_contentEncodingHasBeenSet = true; m_contentEncoding = std::move(value); }
167 inline void SetContentEncoding(const char* value) { m_contentEncodingHasBeenSet = true; m_contentEncoding.assign(value); }
169 inline CreateMultipartUploadRequest& WithContentEncoding(Aws::String&& value) { SetContentEncoding(std::move(value)); return *this;}
170 inline CreateMultipartUploadRequest& WithContentEncoding(const char* value) { SetContentEncoding(value); return *this;}
172
174
177 inline const Aws::String& GetContentLanguage() const{ return m_contentLanguage; }
178 inline bool ContentLanguageHasBeenSet() const { return m_contentLanguageHasBeenSet; }
179 inline void SetContentLanguage(const Aws::String& value) { m_contentLanguageHasBeenSet = true; m_contentLanguage = value; }
180 inline void SetContentLanguage(Aws::String&& value) { m_contentLanguageHasBeenSet = true; m_contentLanguage = std::move(value); }
181 inline void SetContentLanguage(const char* value) { m_contentLanguageHasBeenSet = true; m_contentLanguage.assign(value); }
183 inline CreateMultipartUploadRequest& WithContentLanguage(Aws::String&& value) { SetContentLanguage(std::move(value)); return *this;}
184 inline CreateMultipartUploadRequest& WithContentLanguage(const char* value) { SetContentLanguage(value); return *this;}
186
188
191 inline const Aws::String& GetContentType() const{ return m_contentType; }
192 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
193 inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
194 inline void SetContentType(Aws::String&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); }
195 inline void SetContentType(const char* value) { m_contentTypeHasBeenSet = true; m_contentType.assign(value); }
196 inline CreateMultipartUploadRequest& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
197 inline CreateMultipartUploadRequest& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
198 inline CreateMultipartUploadRequest& WithContentType(const char* value) { SetContentType(value); return *this;}
200
202
205 inline const Aws::Utils::DateTime& GetExpires() const{ return m_expires; }
206 inline bool ExpiresHasBeenSet() const { return m_expiresHasBeenSet; }
207 inline void SetExpires(const Aws::Utils::DateTime& value) { m_expiresHasBeenSet = true; m_expires = value; }
208 inline void SetExpires(Aws::Utils::DateTime&& value) { m_expiresHasBeenSet = true; m_expires = std::move(value); }
209 inline CreateMultipartUploadRequest& WithExpires(const Aws::Utils::DateTime& value) { SetExpires(value); return *this;}
210 inline CreateMultipartUploadRequest& WithExpires(Aws::Utils::DateTime&& value) { SetExpires(std::move(value)); return *this;}
212
214
246 inline const Aws::String& GetGrantFullControl() const{ return m_grantFullControl; }
247 inline bool GrantFullControlHasBeenSet() const { return m_grantFullControlHasBeenSet; }
248 inline void SetGrantFullControl(const Aws::String& value) { m_grantFullControlHasBeenSet = true; m_grantFullControl = value; }
249 inline void SetGrantFullControl(Aws::String&& value) { m_grantFullControlHasBeenSet = true; m_grantFullControl = std::move(value); }
250 inline void SetGrantFullControl(const char* value) { m_grantFullControlHasBeenSet = true; m_grantFullControl.assign(value); }
252 inline CreateMultipartUploadRequest& WithGrantFullControl(Aws::String&& value) { SetGrantFullControl(std::move(value)); return *this;}
253 inline CreateMultipartUploadRequest& WithGrantFullControl(const char* value) { SetGrantFullControl(value); return *this;}
255
257
289 inline const Aws::String& GetGrantRead() const{ return m_grantRead; }
290 inline bool GrantReadHasBeenSet() const { return m_grantReadHasBeenSet; }
291 inline void SetGrantRead(const Aws::String& value) { m_grantReadHasBeenSet = true; m_grantRead = value; }
292 inline void SetGrantRead(Aws::String&& value) { m_grantReadHasBeenSet = true; m_grantRead = std::move(value); }
293 inline void SetGrantRead(const char* value) { m_grantReadHasBeenSet = true; m_grantRead.assign(value); }
294 inline CreateMultipartUploadRequest& WithGrantRead(const Aws::String& value) { SetGrantRead(value); return *this;}
295 inline CreateMultipartUploadRequest& WithGrantRead(Aws::String&& value) { SetGrantRead(std::move(value)); return *this;}
296 inline CreateMultipartUploadRequest& WithGrantRead(const char* value) { SetGrantRead(value); return *this;}
298
300
332 inline const Aws::String& GetGrantReadACP() const{ return m_grantReadACP; }
333 inline bool GrantReadACPHasBeenSet() const { return m_grantReadACPHasBeenSet; }
334 inline void SetGrantReadACP(const Aws::String& value) { m_grantReadACPHasBeenSet = true; m_grantReadACP = value; }
335 inline void SetGrantReadACP(Aws::String&& value) { m_grantReadACPHasBeenSet = true; m_grantReadACP = std::move(value); }
336 inline void SetGrantReadACP(const char* value) { m_grantReadACPHasBeenSet = true; m_grantReadACP.assign(value); }
337 inline CreateMultipartUploadRequest& WithGrantReadACP(const Aws::String& value) { SetGrantReadACP(value); return *this;}
338 inline CreateMultipartUploadRequest& WithGrantReadACP(Aws::String&& value) { SetGrantReadACP(std::move(value)); return *this;}
339 inline CreateMultipartUploadRequest& WithGrantReadACP(const char* value) { SetGrantReadACP(value); return *this;}
341
343
375 inline const Aws::String& GetGrantWriteACP() const{ return m_grantWriteACP; }
376 inline bool GrantWriteACPHasBeenSet() const { return m_grantWriteACPHasBeenSet; }
377 inline void SetGrantWriteACP(const Aws::String& value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP = value; }
378 inline void SetGrantWriteACP(Aws::String&& value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP = std::move(value); }
379 inline void SetGrantWriteACP(const char* value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP.assign(value); }
380 inline CreateMultipartUploadRequest& WithGrantWriteACP(const Aws::String& value) { SetGrantWriteACP(value); return *this;}
381 inline CreateMultipartUploadRequest& WithGrantWriteACP(Aws::String&& value) { SetGrantWriteACP(std::move(value)); return *this;}
382 inline CreateMultipartUploadRequest& WithGrantWriteACP(const char* value) { SetGrantWriteACP(value); return *this;}
384
386
389 inline const Aws::String& GetKey() const{ return m_key; }
390 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
391 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
392 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
393 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
394 inline CreateMultipartUploadRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;}
395 inline CreateMultipartUploadRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
396 inline CreateMultipartUploadRequest& WithKey(const char* value) { SetKey(value); return *this;}
398
400
403 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const{ return m_metadata; }
404 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
405 inline void SetMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_metadataHasBeenSet = true; m_metadata = value; }
406 inline void SetMetadata(Aws::Map<Aws::String, Aws::String>&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); }
409 inline CreateMultipartUploadRequest& AddMetadata(const Aws::String& key, const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, value); return *this; }
410 inline CreateMultipartUploadRequest& AddMetadata(Aws::String&& key, const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), value); return *this; }
411 inline CreateMultipartUploadRequest& AddMetadata(const Aws::String& key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, std::move(value)); return *this; }
412 inline CreateMultipartUploadRequest& AddMetadata(Aws::String&& key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), std::move(value)); return *this; }
413 inline CreateMultipartUploadRequest& AddMetadata(const char* key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, std::move(value)); return *this; }
414 inline CreateMultipartUploadRequest& AddMetadata(Aws::String&& key, const char* value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), value); return *this; }
415 inline CreateMultipartUploadRequest& AddMetadata(const char* key, const char* value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, value); return *this; }
417
419
465 inline const ServerSideEncryption& GetServerSideEncryption() const{ return m_serverSideEncryption; }
466 inline bool ServerSideEncryptionHasBeenSet() const { return m_serverSideEncryptionHasBeenSet; }
467 inline void SetServerSideEncryption(const ServerSideEncryption& value) { m_serverSideEncryptionHasBeenSet = true; m_serverSideEncryption = value; }
468 inline void SetServerSideEncryption(ServerSideEncryption&& value) { m_serverSideEncryptionHasBeenSet = true; m_serverSideEncryption = std::move(value); }
472
474
485 inline const StorageClass& GetStorageClass() const{ return m_storageClass; }
486 inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; }
487 inline void SetStorageClass(const StorageClass& value) { m_storageClassHasBeenSet = true; m_storageClass = value; }
488 inline void SetStorageClass(StorageClass&& value) { m_storageClassHasBeenSet = true; m_storageClass = std::move(value); }
489 inline CreateMultipartUploadRequest& WithStorageClass(const StorageClass& value) { SetStorageClass(value); return *this;}
490 inline CreateMultipartUploadRequest& WithStorageClass(StorageClass&& value) { SetStorageClass(std::move(value)); return *this;}
492
494
500 inline const Aws::String& GetWebsiteRedirectLocation() const{ return m_websiteRedirectLocation; }
501 inline bool WebsiteRedirectLocationHasBeenSet() const { return m_websiteRedirectLocationHasBeenSet; }
502 inline void SetWebsiteRedirectLocation(const Aws::String& value) { m_websiteRedirectLocationHasBeenSet = true; m_websiteRedirectLocation = value; }
503 inline void SetWebsiteRedirectLocation(Aws::String&& value) { m_websiteRedirectLocationHasBeenSet = true; m_websiteRedirectLocation = std::move(value); }
504 inline void SetWebsiteRedirectLocation(const char* value) { m_websiteRedirectLocationHasBeenSet = true; m_websiteRedirectLocation.assign(value); }
509
511
516 inline const Aws::String& GetSSECustomerAlgorithm() const{ return m_sSECustomerAlgorithm; }
517 inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; }
518 inline void SetSSECustomerAlgorithm(const Aws::String& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = value; }
519 inline void SetSSECustomerAlgorithm(Aws::String&& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = std::move(value); }
520 inline void SetSSECustomerAlgorithm(const char* value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm.assign(value); }
523 inline CreateMultipartUploadRequest& WithSSECustomerAlgorithm(const char* value) { SetSSECustomerAlgorithm(value); return *this;}
525
527
535 inline const Aws::String& GetSSECustomerKey() const{ return m_sSECustomerKey; }
536 inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; }
537 inline void SetSSECustomerKey(const Aws::String& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = value; }
538 inline void SetSSECustomerKey(Aws::String&& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = std::move(value); }
539 inline void SetSSECustomerKey(const char* value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey.assign(value); }
541 inline CreateMultipartUploadRequest& WithSSECustomerKey(Aws::String&& value) { SetSSECustomerKey(std::move(value)); return *this;}
542 inline CreateMultipartUploadRequest& WithSSECustomerKey(const char* value) { SetSSECustomerKey(value); return *this;}
544
546
552 inline const Aws::String& GetSSECustomerKeyMD5() const{ return m_sSECustomerKeyMD5; }
553 inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; }
554 inline void SetSSECustomerKeyMD5(const Aws::String& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = value; }
555 inline void SetSSECustomerKeyMD5(Aws::String&& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = std::move(value); }
556 inline void SetSSECustomerKeyMD5(const char* value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5.assign(value); }
558 inline CreateMultipartUploadRequest& WithSSECustomerKeyMD5(Aws::String&& value) { SetSSECustomerKeyMD5(std::move(value)); return *this;}
559 inline CreateMultipartUploadRequest& WithSSECustomerKeyMD5(const char* value) { SetSSECustomerKeyMD5(value); return *this;}
561
563
590 inline const Aws::String& GetSSEKMSKeyId() const{ return m_sSEKMSKeyId; }
591 inline bool SSEKMSKeyIdHasBeenSet() const { return m_sSEKMSKeyIdHasBeenSet; }
592 inline void SetSSEKMSKeyId(const Aws::String& value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId = value; }
593 inline void SetSSEKMSKeyId(Aws::String&& value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId = std::move(value); }
594 inline void SetSSEKMSKeyId(const char* value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId.assign(value); }
595 inline CreateMultipartUploadRequest& WithSSEKMSKeyId(const Aws::String& value) { SetSSEKMSKeyId(value); return *this;}
596 inline CreateMultipartUploadRequest& WithSSEKMSKeyId(Aws::String&& value) { SetSSEKMSKeyId(std::move(value)); return *this;}
597 inline CreateMultipartUploadRequest& WithSSEKMSKeyId(const char* value) { SetSSEKMSKeyId(value); return *this;}
599
601
610 inline const Aws::String& GetSSEKMSEncryptionContext() const{ return m_sSEKMSEncryptionContext; }
611 inline bool SSEKMSEncryptionContextHasBeenSet() const { return m_sSEKMSEncryptionContextHasBeenSet; }
612 inline void SetSSEKMSEncryptionContext(const Aws::String& value) { m_sSEKMSEncryptionContextHasBeenSet = true; m_sSEKMSEncryptionContext = value; }
613 inline void SetSSEKMSEncryptionContext(Aws::String&& value) { m_sSEKMSEncryptionContextHasBeenSet = true; m_sSEKMSEncryptionContext = std::move(value); }
614 inline void SetSSEKMSEncryptionContext(const char* value) { m_sSEKMSEncryptionContextHasBeenSet = true; m_sSEKMSEncryptionContext.assign(value); }
619
621
643 inline bool GetBucketKeyEnabled() const{ return m_bucketKeyEnabled; }
644 inline bool BucketKeyEnabledHasBeenSet() const { return m_bucketKeyEnabledHasBeenSet; }
645 inline void SetBucketKeyEnabled(bool value) { m_bucketKeyEnabledHasBeenSet = true; m_bucketKeyEnabled = value; }
646 inline CreateMultipartUploadRequest& WithBucketKeyEnabled(bool value) { SetBucketKeyEnabled(value); return *this;}
648
650
651 inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; }
652 inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; }
653 inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; }
654 inline void SetRequestPayer(RequestPayer&& value) { m_requestPayerHasBeenSet = true; m_requestPayer = std::move(value); }
655 inline CreateMultipartUploadRequest& WithRequestPayer(const RequestPayer& value) { SetRequestPayer(value); return *this;}
656 inline CreateMultipartUploadRequest& WithRequestPayer(RequestPayer&& value) { SetRequestPayer(std::move(value)); return *this;}
658
660
665 inline const Aws::String& GetTagging() const{ return m_tagging; }
666 inline bool TaggingHasBeenSet() const { return m_taggingHasBeenSet; }
667 inline void SetTagging(const Aws::String& value) { m_taggingHasBeenSet = true; m_tagging = value; }
668 inline void SetTagging(Aws::String&& value) { m_taggingHasBeenSet = true; m_tagging = std::move(value); }
669 inline void SetTagging(const char* value) { m_taggingHasBeenSet = true; m_tagging.assign(value); }
670 inline CreateMultipartUploadRequest& WithTagging(const Aws::String& value) { SetTagging(value); return *this;}
671 inline CreateMultipartUploadRequest& WithTagging(Aws::String&& value) { SetTagging(std::move(value)); return *this;}
672 inline CreateMultipartUploadRequest& WithTagging(const char* value) { SetTagging(value); return *this;}
674
676
681 inline const ObjectLockMode& GetObjectLockMode() const{ return m_objectLockMode; }
682 inline bool ObjectLockModeHasBeenSet() const { return m_objectLockModeHasBeenSet; }
683 inline void SetObjectLockMode(const ObjectLockMode& value) { m_objectLockModeHasBeenSet = true; m_objectLockMode = value; }
684 inline void SetObjectLockMode(ObjectLockMode&& value) { m_objectLockModeHasBeenSet = true; m_objectLockMode = std::move(value); }
686 inline CreateMultipartUploadRequest& WithObjectLockMode(ObjectLockMode&& value) { SetObjectLockMode(std::move(value)); return *this;}
688
690
694 inline const Aws::Utils::DateTime& GetObjectLockRetainUntilDate() const{ return m_objectLockRetainUntilDate; }
695 inline bool ObjectLockRetainUntilDateHasBeenSet() const { return m_objectLockRetainUntilDateHasBeenSet; }
696 inline void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = value; }
697 inline void SetObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = std::move(value); }
701
703
707 inline const ObjectLockLegalHoldStatus& GetObjectLockLegalHoldStatus() const{ return m_objectLockLegalHoldStatus; }
708 inline bool ObjectLockLegalHoldStatusHasBeenSet() const { return m_objectLockLegalHoldStatusHasBeenSet; }
709 inline void SetObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = value; }
710 inline void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = std::move(value); }
714
716
721 inline const Aws::String& GetExpectedBucketOwner() const{ return m_expectedBucketOwner; }
722 inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; }
723 inline void SetExpectedBucketOwner(const Aws::String& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = value; }
724 inline void SetExpectedBucketOwner(Aws::String&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::move(value); }
725 inline void SetExpectedBucketOwner(const char* value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner.assign(value); }
728 inline CreateMultipartUploadRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;}
730
732
738 inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; }
739 inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; }
740 inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; }
741 inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); }
745
747
748 inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; }
749 inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; }
750 inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; }
751 inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); }
754 inline CreateMultipartUploadRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
755 inline CreateMultipartUploadRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
756 inline CreateMultipartUploadRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
757 inline CreateMultipartUploadRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; }
758 inline CreateMultipartUploadRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
759 inline CreateMultipartUploadRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
760 inline CreateMultipartUploadRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
762 private:
763
764 ObjectCannedACL m_aCL;
765 bool m_aCLHasBeenSet = false;
766
767 Aws::String m_bucket;
768 bool m_bucketHasBeenSet = false;
769
770 Aws::String m_cacheControl;
771 bool m_cacheControlHasBeenSet = false;
772
773 Aws::String m_contentDisposition;
774 bool m_contentDispositionHasBeenSet = false;
775
776 Aws::String m_contentEncoding;
777 bool m_contentEncodingHasBeenSet = false;
778
779 Aws::String m_contentLanguage;
780 bool m_contentLanguageHasBeenSet = false;
781
782 Aws::String m_contentType;
783 bool m_contentTypeHasBeenSet = false;
784
785 Aws::Utils::DateTime m_expires;
786 bool m_expiresHasBeenSet = false;
787
788 Aws::String m_grantFullControl;
789 bool m_grantFullControlHasBeenSet = false;
790
791 Aws::String m_grantRead;
792 bool m_grantReadHasBeenSet = false;
793
794 Aws::String m_grantReadACP;
795 bool m_grantReadACPHasBeenSet = false;
796
797 Aws::String m_grantWriteACP;
798 bool m_grantWriteACPHasBeenSet = false;
799
800 Aws::String m_key;
801 bool m_keyHasBeenSet = false;
802
804 bool m_metadataHasBeenSet = false;
805
806 ServerSideEncryption m_serverSideEncryption;
807 bool m_serverSideEncryptionHasBeenSet = false;
808
809 StorageClass m_storageClass;
810 bool m_storageClassHasBeenSet = false;
811
812 Aws::String m_websiteRedirectLocation;
813 bool m_websiteRedirectLocationHasBeenSet = false;
814
815 Aws::String m_sSECustomerAlgorithm;
816 bool m_sSECustomerAlgorithmHasBeenSet = false;
817
818 Aws::String m_sSECustomerKey;
819 bool m_sSECustomerKeyHasBeenSet = false;
820
821 Aws::String m_sSECustomerKeyMD5;
822 bool m_sSECustomerKeyMD5HasBeenSet = false;
823
824 Aws::String m_sSEKMSKeyId;
825 bool m_sSEKMSKeyIdHasBeenSet = false;
826
827 Aws::String m_sSEKMSEncryptionContext;
828 bool m_sSEKMSEncryptionContextHasBeenSet = false;
829
830 bool m_bucketKeyEnabled;
831 bool m_bucketKeyEnabledHasBeenSet = false;
832
833 RequestPayer m_requestPayer;
834 bool m_requestPayerHasBeenSet = false;
835
836 Aws::String m_tagging;
837 bool m_taggingHasBeenSet = false;
838
839 ObjectLockMode m_objectLockMode;
840 bool m_objectLockModeHasBeenSet = false;
841
842 Aws::Utils::DateTime m_objectLockRetainUntilDate;
843 bool m_objectLockRetainUntilDateHasBeenSet = false;
844
845 ObjectLockLegalHoldStatus m_objectLockLegalHoldStatus;
846 bool m_objectLockLegalHoldStatusHasBeenSet = false;
847
848 Aws::String m_expectedBucketOwner;
849 bool m_expectedBucketOwnerHasBeenSet = false;
850
851 ChecksumAlgorithm m_checksumAlgorithm;
852 bool m_checksumAlgorithmHasBeenSet = false;
853
854 Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag;
855 bool m_customizedAccessLogTagHasBeenSet = false;
856 };
857
858} // namespace Model
859} // namespace S3Crt
860} // namespace Aws
CreateMultipartUploadRequest & WithExpires(Aws::Utils::DateTime &&value)
CreateMultipartUploadRequest & WithTagging(const Aws::String &value)
void SetCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
CreateMultipartUploadRequest & WithGrantReadACP(Aws::String &&value)
CreateMultipartUploadRequest & WithServerSideEncryption(const ServerSideEncryption &value)
CreateMultipartUploadRequest & WithContentLanguage(const char *value)
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
CreateMultipartUploadRequest & WithGrantWriteACP(Aws::String &&value)
CreateMultipartUploadRequest & WithStorageClass(const StorageClass &value)
CreateMultipartUploadRequest & WithSSEKMSKeyId(const Aws::String &value)
CreateMultipartUploadRequest & WithContentEncoding(Aws::String &&value)
CreateMultipartUploadRequest & WithWebsiteRedirectLocation(Aws::String &&value)
CreateMultipartUploadRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
CreateMultipartUploadRequest & WithSSECustomerKeyMD5(const Aws::String &value)
CreateMultipartUploadRequest & WithContentDisposition(const char *value)
CreateMultipartUploadRequest & WithContentType(Aws::String &&value)
CreateMultipartUploadRequest & WithObjectLockRetainUntilDate(const Aws::Utils::DateTime &value)
CreateMultipartUploadRequest & WithSSECustomerKey(const char *value)
CreateMultipartUploadRequest & WithContentDisposition(Aws::String &&value)
CreateMultipartUploadRequest & WithGrantRead(const Aws::String &value)
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
AWS_S3CRT_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
CreateMultipartUploadRequest & WithGrantRead(const char *value)
CreateMultipartUploadRequest & WithSSEKMSKeyId(const char *value)
CreateMultipartUploadRequest & WithACL(const ObjectCannedACL &value)
CreateMultipartUploadRequest & WithSSEKMSEncryptionContext(const char *value)
CreateMultipartUploadRequest & WithTagging(const char *value)
CreateMultipartUploadRequest & WithContentLanguage(Aws::String &&value)
CreateMultipartUploadRequest & WithCacheControl(const char *value)
const Aws::Utils::DateTime & GetObjectLockRetainUntilDate() const
CreateMultipartUploadRequest & WithGrantFullControl(const char *value)
CreateMultipartUploadRequest & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetObjectLockRetainUntilDate(Aws::Utils::DateTime &&value)
CreateMultipartUploadRequest & WithObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus &value)
CreateMultipartUploadRequest & WithObjectLockRetainUntilDate(Aws::Utils::DateTime &&value)
CreateMultipartUploadRequest & WithContentLanguage(const Aws::String &value)
CreateMultipartUploadRequest & WithSSECustomerKey(Aws::String &&value)
AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override
CreateMultipartUploadRequest & WithSSECustomerAlgorithm(Aws::String &&value)
CreateMultipartUploadRequest & WithGrantRead(Aws::String &&value)
CreateMultipartUploadRequest & WithChecksumAlgorithm(ChecksumAlgorithm &&value)
CreateMultipartUploadRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
CreateMultipartUploadRequest & WithSSEKMSKeyId(Aws::String &&value)
CreateMultipartUploadRequest & WithStorageClass(StorageClass &&value)
CreateMultipartUploadRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
CreateMultipartUploadRequest & WithSSECustomerAlgorithm(const Aws::String &value)
CreateMultipartUploadRequest & WithGrantFullControl(const Aws::String &value)
CreateMultipartUploadRequest & WithObjectLockMode(const ObjectLockMode &value)
CreateMultipartUploadRequest & WithGrantReadACP(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
CreateMultipartUploadRequest & WithACL(ObjectCannedACL &&value)
CreateMultipartUploadRequest & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
CreateMultipartUploadRequest & WithKey(const Aws::String &value)
CreateMultipartUploadRequest & WithObjectLockMode(ObjectLockMode &&value)
void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime &value)
CreateMultipartUploadRequest & WithBucket(const char *value)
CreateMultipartUploadRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
CreateMultipartUploadRequest & WithContentType(const Aws::String &value)
CreateMultipartUploadRequest & WithExpectedBucketOwner(const char *value)
CreateMultipartUploadRequest & WithGrantFullControl(Aws::String &&value)
CreateMultipartUploadRequest & WithContentEncoding(const char *value)
CreateMultipartUploadRequest & WithRequestPayer(const RequestPayer &value)
virtual const char * GetServiceRequestName() const override
CreateMultipartUploadRequest & AddMetadata(const Aws::String &key, Aws::String &&value)
CreateMultipartUploadRequest & WithContentDisposition(const Aws::String &value)
const ObjectLockLegalHoldStatus & GetObjectLockLegalHoldStatus() const
CreateMultipartUploadRequest & WithBucketKeyEnabled(bool value)
CreateMultipartUploadRequest & WithExpectedBucketOwner(const Aws::String &value)
CreateMultipartUploadRequest & WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus &&value)
CreateMultipartUploadRequest & WithWebsiteRedirectLocation(const Aws::String &value)
CreateMultipartUploadRequest & WithGrantWriteACP(const char *value)
void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus &&value)
CreateMultipartUploadRequest & WithSSEKMSEncryptionContext(Aws::String &&value)
CreateMultipartUploadRequest & WithBucket(Aws::String &&value)
CreateMultipartUploadRequest & WithContentType(const char *value)
void SetCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
CreateMultipartUploadRequest & WithKey(const char *value)
CreateMultipartUploadRequest & WithBucket(const Aws::String &value)
AWS_S3CRT_API Aws::String SerializePayload() const override
CreateMultipartUploadRequest & WithKey(Aws::String &&value)
CreateMultipartUploadRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
CreateMultipartUploadRequest & AddMetadata(Aws::String &&key, const Aws::String &value)
CreateMultipartUploadRequest & WithSSECustomerKeyMD5(Aws::String &&value)
CreateMultipartUploadRequest & WithSSECustomerKeyMD5(const char *value)
CreateMultipartUploadRequest & AddMetadata(const char *key, const char *value)
CreateMultipartUploadRequest & WithSSECustomerKey(const Aws::String &value)
CreateMultipartUploadRequest & WithWebsiteRedirectLocation(const char *value)
CreateMultipartUploadRequest & AddMetadata(const char *key, Aws::String &&value)
CreateMultipartUploadRequest & WithSSEKMSEncryptionContext(const Aws::String &value)
void SetObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus &value)
CreateMultipartUploadRequest & WithChecksumAlgorithm(const ChecksumAlgorithm &value)
CreateMultipartUploadRequest & AddMetadata(Aws::String &&key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
CreateMultipartUploadRequest & WithCacheControl(Aws::String &&value)
CreateMultipartUploadRequest & AddMetadata(Aws::String &&key, const char *value)
const ServerSideEncryption & GetServerSideEncryption() const
CreateMultipartUploadRequest & WithRequestPayer(RequestPayer &&value)
CreateMultipartUploadRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
CreateMultipartUploadRequest & WithCacheControl(const Aws::String &value)
void SetServerSideEncryption(const ServerSideEncryption &value)
CreateMultipartUploadRequest & WithExpires(const Aws::Utils::DateTime &value)
CreateMultipartUploadRequest & WithContentEncoding(const Aws::String &value)
CreateMultipartUploadRequest & WithSSECustomerAlgorithm(const char *value)
CreateMultipartUploadRequest & WithGrantWriteACP(const Aws::String &value)
CreateMultipartUploadRequest & AddMetadata(const Aws::String &key, const Aws::String &value)
CreateMultipartUploadRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
CreateMultipartUploadRequest & WithGrantReadACP(const Aws::String &value)
CreateMultipartUploadRequest & WithTagging(Aws::String &&value)
AWS_S3CRT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateMultipartUploadRequest & WithExpectedBucketOwner(Aws::String &&value)
CreateMultipartUploadRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
CreateMultipartUploadRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
CreateMultipartUploadRequest & WithServerSideEncryption(ServerSideEncryption &&value)
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_iostream< char, std::char_traits< char > > IOStream
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String