AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
CreateMultipartUploadRequest.h
Go to the documentation of this file.
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/S3Request.h>
19#include <utility>
20
21namespace Aws
22{
23namespace Http
24{
25 class URI;
26} //namespace Http
27namespace S3
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
46
48
50
55
60 inline const ObjectCannedACL& GetACL() const{ return m_aCL; }
61
66 inline bool ACLHasBeenSet() const { return m_aCLHasBeenSet; }
67
72 inline void SetACL(const ObjectCannedACL& value) { m_aCLHasBeenSet = true; m_aCL = value; }
73
78 inline void SetACL(ObjectCannedACL&& value) { m_aCLHasBeenSet = true; m_aCL = std::move(value); }
79
84 inline CreateMultipartUploadRequest& WithACL(const ObjectCannedACL& value) { SetACL(value); return *this;}
85
90 inline CreateMultipartUploadRequest& WithACL(ObjectCannedACL&& value) { SetACL(std::move(value)); return *this;}
91
92
112 inline const Aws::String& GetBucket() const{ return m_bucket; }
113
133 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
134
154 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
155
175 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
176
196 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
197
217 inline CreateMultipartUploadRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
218
238 inline CreateMultipartUploadRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
239
259 inline CreateMultipartUploadRequest& WithBucket(const char* value) { SetBucket(value); return *this;}
260
261
265 inline const Aws::String& GetCacheControl() const{ return m_cacheControl; }
266
270 inline bool CacheControlHasBeenSet() const { return m_cacheControlHasBeenSet; }
271
275 inline void SetCacheControl(const Aws::String& value) { m_cacheControlHasBeenSet = true; m_cacheControl = value; }
276
280 inline void SetCacheControl(Aws::String&& value) { m_cacheControlHasBeenSet = true; m_cacheControl = std::move(value); }
281
285 inline void SetCacheControl(const char* value) { m_cacheControlHasBeenSet = true; m_cacheControl.assign(value); }
286
290 inline CreateMultipartUploadRequest& WithCacheControl(const Aws::String& value) { SetCacheControl(value); return *this;}
291
295 inline CreateMultipartUploadRequest& WithCacheControl(Aws::String&& value) { SetCacheControl(std::move(value)); return *this;}
296
300 inline CreateMultipartUploadRequest& WithCacheControl(const char* value) { SetCacheControl(value); return *this;}
301
302
306 inline const Aws::String& GetContentDisposition() const{ return m_contentDisposition; }
307
311 inline bool ContentDispositionHasBeenSet() const { return m_contentDispositionHasBeenSet; }
312
316 inline void SetContentDisposition(const Aws::String& value) { m_contentDispositionHasBeenSet = true; m_contentDisposition = value; }
317
321 inline void SetContentDisposition(Aws::String&& value) { m_contentDispositionHasBeenSet = true; m_contentDisposition = std::move(value); }
322
326 inline void SetContentDisposition(const char* value) { m_contentDispositionHasBeenSet = true; m_contentDisposition.assign(value); }
327
332
337
341 inline CreateMultipartUploadRequest& WithContentDisposition(const char* value) { SetContentDisposition(value); return *this;}
342
343
349 inline const Aws::String& GetContentEncoding() const{ return m_contentEncoding; }
350
356 inline bool ContentEncodingHasBeenSet() const { return m_contentEncodingHasBeenSet; }
357
363 inline void SetContentEncoding(const Aws::String& value) { m_contentEncodingHasBeenSet = true; m_contentEncoding = value; }
364
370 inline void SetContentEncoding(Aws::String&& value) { m_contentEncodingHasBeenSet = true; m_contentEncoding = std::move(value); }
371
377 inline void SetContentEncoding(const char* value) { m_contentEncodingHasBeenSet = true; m_contentEncoding.assign(value); }
378
385
391 inline CreateMultipartUploadRequest& WithContentEncoding(Aws::String&& value) { SetContentEncoding(std::move(value)); return *this;}
392
398 inline CreateMultipartUploadRequest& WithContentEncoding(const char* value) { SetContentEncoding(value); return *this;}
399
400
404 inline const Aws::String& GetContentLanguage() const{ return m_contentLanguage; }
405
409 inline bool ContentLanguageHasBeenSet() const { return m_contentLanguageHasBeenSet; }
410
414 inline void SetContentLanguage(const Aws::String& value) { m_contentLanguageHasBeenSet = true; m_contentLanguage = value; }
415
419 inline void SetContentLanguage(Aws::String&& value) { m_contentLanguageHasBeenSet = true; m_contentLanguage = std::move(value); }
420
424 inline void SetContentLanguage(const char* value) { m_contentLanguageHasBeenSet = true; m_contentLanguage.assign(value); }
425
430
434 inline CreateMultipartUploadRequest& WithContentLanguage(Aws::String&& value) { SetContentLanguage(std::move(value)); return *this;}
435
439 inline CreateMultipartUploadRequest& WithContentLanguage(const char* value) { SetContentLanguage(value); return *this;}
440
441
445 inline const Aws::String& GetContentType() const{ return m_contentType; }
446
450 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
451
455 inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
456
460 inline void SetContentType(Aws::String&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); }
461
465 inline void SetContentType(const char* value) { m_contentTypeHasBeenSet = true; m_contentType.assign(value); }
466
470 inline CreateMultipartUploadRequest& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
471
475 inline CreateMultipartUploadRequest& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
476
480 inline CreateMultipartUploadRequest& WithContentType(const char* value) { SetContentType(value); return *this;}
481
482
486 inline const Aws::Utils::DateTime& GetExpires() const{ return m_expires; }
487
491 inline bool ExpiresHasBeenSet() const { return m_expiresHasBeenSet; }
492
496 inline void SetExpires(const Aws::Utils::DateTime& value) { m_expiresHasBeenSet = true; m_expires = value; }
497
501 inline void SetExpires(Aws::Utils::DateTime&& value) { m_expiresHasBeenSet = true; m_expires = std::move(value); }
502
506 inline CreateMultipartUploadRequest& WithExpires(const Aws::Utils::DateTime& value) { SetExpires(value); return *this;}
507
511 inline CreateMultipartUploadRequest& WithExpires(Aws::Utils::DateTime&& value) { SetExpires(std::move(value)); return *this;}
512
513
518 inline const Aws::String& GetGrantFullControl() const{ return m_grantFullControl; }
519
524 inline bool GrantFullControlHasBeenSet() const { return m_grantFullControlHasBeenSet; }
525
530 inline void SetGrantFullControl(const Aws::String& value) { m_grantFullControlHasBeenSet = true; m_grantFullControl = value; }
531
536 inline void SetGrantFullControl(Aws::String&& value) { m_grantFullControlHasBeenSet = true; m_grantFullControl = std::move(value); }
537
542 inline void SetGrantFullControl(const char* value) { m_grantFullControlHasBeenSet = true; m_grantFullControl.assign(value); }
543
549
554 inline CreateMultipartUploadRequest& WithGrantFullControl(Aws::String&& value) { SetGrantFullControl(std::move(value)); return *this;}
555
560 inline CreateMultipartUploadRequest& WithGrantFullControl(const char* value) { SetGrantFullControl(value); return *this;}
561
562
567 inline const Aws::String& GetGrantRead() const{ return m_grantRead; }
568
573 inline bool GrantReadHasBeenSet() const { return m_grantReadHasBeenSet; }
574
579 inline void SetGrantRead(const Aws::String& value) { m_grantReadHasBeenSet = true; m_grantRead = value; }
580
585 inline void SetGrantRead(Aws::String&& value) { m_grantReadHasBeenSet = true; m_grantRead = std::move(value); }
586
591 inline void SetGrantRead(const char* value) { m_grantReadHasBeenSet = true; m_grantRead.assign(value); }
592
597 inline CreateMultipartUploadRequest& WithGrantRead(const Aws::String& value) { SetGrantRead(value); return *this;}
598
603 inline CreateMultipartUploadRequest& WithGrantRead(Aws::String&& value) { SetGrantRead(std::move(value)); return *this;}
604
609 inline CreateMultipartUploadRequest& WithGrantRead(const char* value) { SetGrantRead(value); return *this;}
610
611
616 inline const Aws::String& GetGrantReadACP() const{ return m_grantReadACP; }
617
622 inline bool GrantReadACPHasBeenSet() const { return m_grantReadACPHasBeenSet; }
623
628 inline void SetGrantReadACP(const Aws::String& value) { m_grantReadACPHasBeenSet = true; m_grantReadACP = value; }
629
634 inline void SetGrantReadACP(Aws::String&& value) { m_grantReadACPHasBeenSet = true; m_grantReadACP = std::move(value); }
635
640 inline void SetGrantReadACP(const char* value) { m_grantReadACPHasBeenSet = true; m_grantReadACP.assign(value); }
641
646 inline CreateMultipartUploadRequest& WithGrantReadACP(const Aws::String& value) { SetGrantReadACP(value); return *this;}
647
652 inline CreateMultipartUploadRequest& WithGrantReadACP(Aws::String&& value) { SetGrantReadACP(std::move(value)); return *this;}
653
658 inline CreateMultipartUploadRequest& WithGrantReadACP(const char* value) { SetGrantReadACP(value); return *this;}
659
660
665 inline const Aws::String& GetGrantWriteACP() const{ return m_grantWriteACP; }
666
671 inline bool GrantWriteACPHasBeenSet() const { return m_grantWriteACPHasBeenSet; }
672
677 inline void SetGrantWriteACP(const Aws::String& value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP = value; }
678
683 inline void SetGrantWriteACP(Aws::String&& value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP = std::move(value); }
684
689 inline void SetGrantWriteACP(const char* value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP.assign(value); }
690
695 inline CreateMultipartUploadRequest& WithGrantWriteACP(const Aws::String& value) { SetGrantWriteACP(value); return *this;}
696
701 inline CreateMultipartUploadRequest& WithGrantWriteACP(Aws::String&& value) { SetGrantWriteACP(std::move(value)); return *this;}
702
707 inline CreateMultipartUploadRequest& WithGrantWriteACP(const char* value) { SetGrantWriteACP(value); return *this;}
708
709
713 inline const Aws::String& GetKey() const{ return m_key; }
714
718 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
719
723 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
724
728 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
729
733 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
734
738 inline CreateMultipartUploadRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;}
739
743 inline CreateMultipartUploadRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
744
748 inline CreateMultipartUploadRequest& WithKey(const char* value) { SetKey(value); return *this;}
749
750
754 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const{ return m_metadata; }
755
759 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
760
764 inline void SetMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_metadataHasBeenSet = true; m_metadata = value; }
765
769 inline void SetMetadata(Aws::Map<Aws::String, Aws::String>&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); }
770
775
780
784 inline CreateMultipartUploadRequest& AddMetadata(const Aws::String& key, const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, value); return *this; }
785
789 inline CreateMultipartUploadRequest& AddMetadata(Aws::String&& key, const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), value); return *this; }
790
794 inline CreateMultipartUploadRequest& AddMetadata(const Aws::String& key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, std::move(value)); return *this; }
795
799 inline CreateMultipartUploadRequest& AddMetadata(Aws::String&& key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), std::move(value)); return *this; }
800
804 inline CreateMultipartUploadRequest& AddMetadata(const char* key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, std::move(value)); return *this; }
805
809 inline CreateMultipartUploadRequest& AddMetadata(Aws::String&& key, const char* value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), value); return *this; }
810
814 inline CreateMultipartUploadRequest& AddMetadata(const char* key, const char* value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, value); return *this; }
815
816
821 inline const ServerSideEncryption& GetServerSideEncryption() const{ return m_serverSideEncryption; }
822
827 inline bool ServerSideEncryptionHasBeenSet() const { return m_serverSideEncryptionHasBeenSet; }
828
833 inline void SetServerSideEncryption(const ServerSideEncryption& value) { m_serverSideEncryptionHasBeenSet = true; m_serverSideEncryption = value; }
834
839 inline void SetServerSideEncryption(ServerSideEncryption&& value) { m_serverSideEncryptionHasBeenSet = true; m_serverSideEncryption = std::move(value); }
840
846
852
853
863 inline const StorageClass& GetStorageClass() const{ return m_storageClass; }
864
874 inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; }
875
885 inline void SetStorageClass(const StorageClass& value) { m_storageClassHasBeenSet = true; m_storageClass = value; }
886
896 inline void SetStorageClass(StorageClass&& value) { m_storageClassHasBeenSet = true; m_storageClass = std::move(value); }
897
907 inline CreateMultipartUploadRequest& WithStorageClass(const StorageClass& value) { SetStorageClass(value); return *this;}
908
918 inline CreateMultipartUploadRequest& WithStorageClass(StorageClass&& value) { SetStorageClass(std::move(value)); return *this;}
919
920
926 inline const Aws::String& GetWebsiteRedirectLocation() const{ return m_websiteRedirectLocation; }
927
933 inline bool WebsiteRedirectLocationHasBeenSet() const { return m_websiteRedirectLocationHasBeenSet; }
934
940 inline void SetWebsiteRedirectLocation(const Aws::String& value) { m_websiteRedirectLocationHasBeenSet = true; m_websiteRedirectLocation = value; }
941
947 inline void SetWebsiteRedirectLocation(Aws::String&& value) { m_websiteRedirectLocationHasBeenSet = true; m_websiteRedirectLocation = std::move(value); }
948
954 inline void SetWebsiteRedirectLocation(const char* value) { m_websiteRedirectLocationHasBeenSet = true; m_websiteRedirectLocation.assign(value); }
955
962
969
976
977
982 inline const Aws::String& GetSSECustomerAlgorithm() const{ return m_sSECustomerAlgorithm; }
983
988 inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; }
989
994 inline void SetSSECustomerAlgorithm(const Aws::String& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = value; }
995
1000 inline void SetSSECustomerAlgorithm(Aws::String&& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = std::move(value); }
1001
1006 inline void SetSSECustomerAlgorithm(const char* value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm.assign(value); }
1007
1013
1019
1024 inline CreateMultipartUploadRequest& WithSSECustomerAlgorithm(const char* value) { SetSSECustomerAlgorithm(value); return *this;}
1025
1026
1034 inline const Aws::String& GetSSECustomerKey() const{ return m_sSECustomerKey; }
1035
1043 inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; }
1044
1052 inline void SetSSECustomerKey(const Aws::String& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = value; }
1053
1061 inline void SetSSECustomerKey(Aws::String&& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = std::move(value); }
1062
1070 inline void SetSSECustomerKey(const char* value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey.assign(value); }
1071
1080
1088 inline CreateMultipartUploadRequest& WithSSECustomerKey(Aws::String&& value) { SetSSECustomerKey(std::move(value)); return *this;}
1089
1097 inline CreateMultipartUploadRequest& WithSSECustomerKey(const char* value) { SetSSECustomerKey(value); return *this;}
1098
1099
1105 inline const Aws::String& GetSSECustomerKeyMD5() const{ return m_sSECustomerKeyMD5; }
1106
1112 inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; }
1113
1119 inline void SetSSECustomerKeyMD5(const Aws::String& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = value; }
1120
1126 inline void SetSSECustomerKeyMD5(Aws::String&& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = std::move(value); }
1127
1133 inline void SetSSECustomerKeyMD5(const char* value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5.assign(value); }
1134
1141
1147 inline CreateMultipartUploadRequest& WithSSECustomerKeyMD5(Aws::String&& value) { SetSSECustomerKeyMD5(std::move(value)); return *this;}
1148
1154 inline CreateMultipartUploadRequest& WithSSECustomerKeyMD5(const char* value) { SetSSECustomerKeyMD5(value); return *this;}
1155
1156
1167 inline const Aws::String& GetSSEKMSKeyId() const{ return m_sSEKMSKeyId; }
1168
1179 inline bool SSEKMSKeyIdHasBeenSet() const { return m_sSEKMSKeyIdHasBeenSet; }
1180
1191 inline void SetSSEKMSKeyId(const Aws::String& value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId = value; }
1192
1203 inline void SetSSEKMSKeyId(Aws::String&& value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId = std::move(value); }
1204
1215 inline void SetSSEKMSKeyId(const char* value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId.assign(value); }
1216
1227 inline CreateMultipartUploadRequest& WithSSEKMSKeyId(const Aws::String& value) { SetSSEKMSKeyId(value); return *this;}
1228
1239 inline CreateMultipartUploadRequest& WithSSEKMSKeyId(Aws::String&& value) { SetSSEKMSKeyId(std::move(value)); return *this;}
1240
1251 inline CreateMultipartUploadRequest& WithSSEKMSKeyId(const char* value) { SetSSEKMSKeyId(value); return *this;}
1252
1253
1259 inline const Aws::String& GetSSEKMSEncryptionContext() const{ return m_sSEKMSEncryptionContext; }
1260
1266 inline bool SSEKMSEncryptionContextHasBeenSet() const { return m_sSEKMSEncryptionContextHasBeenSet; }
1267
1273 inline void SetSSEKMSEncryptionContext(const Aws::String& value) { m_sSEKMSEncryptionContextHasBeenSet = true; m_sSEKMSEncryptionContext = value; }
1274
1280 inline void SetSSEKMSEncryptionContext(Aws::String&& value) { m_sSEKMSEncryptionContextHasBeenSet = true; m_sSEKMSEncryptionContext = std::move(value); }
1281
1287 inline void SetSSEKMSEncryptionContext(const char* value) { m_sSEKMSEncryptionContextHasBeenSet = true; m_sSEKMSEncryptionContext.assign(value); }
1288
1295
1302
1309
1310
1318 inline bool GetBucketKeyEnabled() const{ return m_bucketKeyEnabled; }
1319
1327 inline bool BucketKeyEnabledHasBeenSet() const { return m_bucketKeyEnabledHasBeenSet; }
1328
1336 inline void SetBucketKeyEnabled(bool value) { m_bucketKeyEnabledHasBeenSet = true; m_bucketKeyEnabled = value; }
1337
1345 inline CreateMultipartUploadRequest& WithBucketKeyEnabled(bool value) { SetBucketKeyEnabled(value); return *this;}
1346
1347
1348
1349 inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; }
1350
1351
1352 inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; }
1353
1354
1355 inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; }
1356
1357
1358 inline void SetRequestPayer(RequestPayer&& value) { m_requestPayerHasBeenSet = true; m_requestPayer = std::move(value); }
1359
1360
1361 inline CreateMultipartUploadRequest& WithRequestPayer(const RequestPayer& value) { SetRequestPayer(value); return *this;}
1362
1363
1364 inline CreateMultipartUploadRequest& WithRequestPayer(RequestPayer&& value) { SetRequestPayer(std::move(value)); return *this;}
1365
1366
1371 inline const Aws::String& GetTagging() const{ return m_tagging; }
1372
1377 inline bool TaggingHasBeenSet() const { return m_taggingHasBeenSet; }
1378
1383 inline void SetTagging(const Aws::String& value) { m_taggingHasBeenSet = true; m_tagging = value; }
1384
1389 inline void SetTagging(Aws::String&& value) { m_taggingHasBeenSet = true; m_tagging = std::move(value); }
1390
1395 inline void SetTagging(const char* value) { m_taggingHasBeenSet = true; m_tagging.assign(value); }
1396
1401 inline CreateMultipartUploadRequest& WithTagging(const Aws::String& value) { SetTagging(value); return *this;}
1402
1407 inline CreateMultipartUploadRequest& WithTagging(Aws::String&& value) { SetTagging(std::move(value)); return *this;}
1408
1413 inline CreateMultipartUploadRequest& WithTagging(const char* value) { SetTagging(value); return *this;}
1414
1415
1420 inline const ObjectLockMode& GetObjectLockMode() const{ return m_objectLockMode; }
1421
1426 inline bool ObjectLockModeHasBeenSet() const { return m_objectLockModeHasBeenSet; }
1427
1432 inline void SetObjectLockMode(const ObjectLockMode& value) { m_objectLockModeHasBeenSet = true; m_objectLockMode = value; }
1433
1438 inline void SetObjectLockMode(ObjectLockMode&& value) { m_objectLockModeHasBeenSet = true; m_objectLockMode = std::move(value); }
1439
1445
1450 inline CreateMultipartUploadRequest& WithObjectLockMode(ObjectLockMode&& value) { SetObjectLockMode(std::move(value)); return *this;}
1451
1452
1456 inline const Aws::Utils::DateTime& GetObjectLockRetainUntilDate() const{ return m_objectLockRetainUntilDate; }
1457
1461 inline bool ObjectLockRetainUntilDateHasBeenSet() const { return m_objectLockRetainUntilDateHasBeenSet; }
1462
1466 inline void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = value; }
1467
1471 inline void SetObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = std::move(value); }
1472
1477
1482
1483
1487 inline const ObjectLockLegalHoldStatus& GetObjectLockLegalHoldStatus() const{ return m_objectLockLegalHoldStatus; }
1488
1492 inline bool ObjectLockLegalHoldStatusHasBeenSet() const { return m_objectLockLegalHoldStatusHasBeenSet; }
1493
1497 inline void SetObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = value; }
1498
1502 inline void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = std::move(value); }
1503
1508
1513
1514
1520 inline const Aws::String& GetExpectedBucketOwner() const{ return m_expectedBucketOwner; }
1521
1527 inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; }
1528
1534 inline void SetExpectedBucketOwner(const Aws::String& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = value; }
1535
1541 inline void SetExpectedBucketOwner(Aws::String&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::move(value); }
1542
1548 inline void SetExpectedBucketOwner(const char* value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner.assign(value); }
1549
1556
1563
1569 inline CreateMultipartUploadRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;}
1570
1571
1578 inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; }
1579
1586 inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; }
1587
1594 inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; }
1595
1602 inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); }
1603
1611
1619
1620
1621
1622 inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; }
1623
1624
1625 inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; }
1626
1627
1628 inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; }
1629
1630
1631 inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); }
1632
1633
1635
1636
1638
1639
1640 inline CreateMultipartUploadRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
1641
1642
1643 inline CreateMultipartUploadRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
1644
1645
1646 inline CreateMultipartUploadRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
1647
1648
1649 inline CreateMultipartUploadRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; }
1650
1651
1652 inline CreateMultipartUploadRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
1653
1654
1655 inline CreateMultipartUploadRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
1656
1657
1658 inline CreateMultipartUploadRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
1659
1660 private:
1661
1662 ObjectCannedACL m_aCL;
1663 bool m_aCLHasBeenSet = false;
1664
1665 Aws::String m_bucket;
1666 bool m_bucketHasBeenSet = false;
1667
1668 Aws::String m_cacheControl;
1669 bool m_cacheControlHasBeenSet = false;
1670
1671 Aws::String m_contentDisposition;
1672 bool m_contentDispositionHasBeenSet = false;
1673
1674 Aws::String m_contentEncoding;
1675 bool m_contentEncodingHasBeenSet = false;
1676
1677 Aws::String m_contentLanguage;
1678 bool m_contentLanguageHasBeenSet = false;
1679
1680 Aws::String m_contentType;
1681 bool m_contentTypeHasBeenSet = false;
1682
1683 Aws::Utils::DateTime m_expires;
1684 bool m_expiresHasBeenSet = false;
1685
1686 Aws::String m_grantFullControl;
1687 bool m_grantFullControlHasBeenSet = false;
1688
1689 Aws::String m_grantRead;
1690 bool m_grantReadHasBeenSet = false;
1691
1692 Aws::String m_grantReadACP;
1693 bool m_grantReadACPHasBeenSet = false;
1694
1695 Aws::String m_grantWriteACP;
1696 bool m_grantWriteACPHasBeenSet = false;
1697
1698 Aws::String m_key;
1699 bool m_keyHasBeenSet = false;
1700
1702 bool m_metadataHasBeenSet = false;
1703
1704 ServerSideEncryption m_serverSideEncryption;
1705 bool m_serverSideEncryptionHasBeenSet = false;
1706
1707 StorageClass m_storageClass;
1708 bool m_storageClassHasBeenSet = false;
1709
1710 Aws::String m_websiteRedirectLocation;
1711 bool m_websiteRedirectLocationHasBeenSet = false;
1712
1713 Aws::String m_sSECustomerAlgorithm;
1714 bool m_sSECustomerAlgorithmHasBeenSet = false;
1715
1716 Aws::String m_sSECustomerKey;
1717 bool m_sSECustomerKeyHasBeenSet = false;
1718
1719 Aws::String m_sSECustomerKeyMD5;
1720 bool m_sSECustomerKeyMD5HasBeenSet = false;
1721
1722 Aws::String m_sSEKMSKeyId;
1723 bool m_sSEKMSKeyIdHasBeenSet = false;
1724
1725 Aws::String m_sSEKMSEncryptionContext;
1726 bool m_sSEKMSEncryptionContextHasBeenSet = false;
1727
1728 bool m_bucketKeyEnabled;
1729 bool m_bucketKeyEnabledHasBeenSet = false;
1730
1731 RequestPayer m_requestPayer;
1732 bool m_requestPayerHasBeenSet = false;
1733
1734 Aws::String m_tagging;
1735 bool m_taggingHasBeenSet = false;
1736
1737 ObjectLockMode m_objectLockMode;
1738 bool m_objectLockModeHasBeenSet = false;
1739
1740 Aws::Utils::DateTime m_objectLockRetainUntilDate;
1741 bool m_objectLockRetainUntilDateHasBeenSet = false;
1742
1743 ObjectLockLegalHoldStatus m_objectLockLegalHoldStatus;
1744 bool m_objectLockLegalHoldStatusHasBeenSet = false;
1745
1746 Aws::String m_expectedBucketOwner;
1747 bool m_expectedBucketOwnerHasBeenSet = false;
1748
1749 ChecksumAlgorithm m_checksumAlgorithm;
1750 bool m_checksumAlgorithmHasBeenSet = false;
1751
1752 Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag;
1753 bool m_customizedAccessLogTagHasBeenSet = false;
1754 };
1755
1756} // namespace Model
1757} // namespace S3
1758} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
CreateMultipartUploadRequest & WithObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus &value)
CreateMultipartUploadRequest & WithExpectedBucketOwner(Aws::String &&value)
CreateMultipartUploadRequest & WithSSECustomerAlgorithm(Aws::String &&value)
CreateMultipartUploadRequest & WithSSEKMSKeyId(const char *value)
CreateMultipartUploadRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
CreateMultipartUploadRequest & WithContentType(const Aws::String &value)
CreateMultipartUploadRequest & WithSSECustomerKeyMD5(Aws::String &&value)
CreateMultipartUploadRequest & WithContentLanguage(const Aws::String &value)
CreateMultipartUploadRequest & WithBucket(const char *value)
CreateMultipartUploadRequest & WithStorageClass(StorageClass &&value)
CreateMultipartUploadRequest & WithACL(const ObjectCannedACL &value)
CreateMultipartUploadRequest & AddMetadata(const Aws::String &key, const Aws::String &value)
CreateMultipartUploadRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
CreateMultipartUploadRequest & WithCacheControl(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateMultipartUploadRequest & WithRequestPayer(RequestPayer &&value)
CreateMultipartUploadRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
CreateMultipartUploadRequest & WithTagging(const Aws::String &value)
const Aws::Utils::DateTime & GetObjectLockRetainUntilDate() const
CreateMultipartUploadRequest & WithContentEncoding(Aws::String &&value)
CreateMultipartUploadRequest & WithWebsiteRedirectLocation(Aws::String &&value)
CreateMultipartUploadRequest & WithSSECustomerAlgorithm(const Aws::String &value)
CreateMultipartUploadRequest & WithExpires(const Aws::Utils::DateTime &value)
void SetExpires(const Aws::Utils::DateTime &value)
CreateMultipartUploadRequest & WithServerSideEncryption(ServerSideEncryption &&value)
CreateMultipartUploadRequest & WithGrantRead(const Aws::String &value)
CreateMultipartUploadRequest & AddMetadata(const Aws::String &key, Aws::String &&value)
void SetChecksumAlgorithm(const ChecksumAlgorithm &value)
void SetCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
CreateMultipartUploadRequest & WithContentType(const char *value)
CreateMultipartUploadRequest & WithServerSideEncryption(const ServerSideEncryption &value)
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateMultipartUploadRequest & WithChecksumAlgorithm(const ChecksumAlgorithm &value)
CreateMultipartUploadRequest & WithContentLanguage(const char *value)
void SetServerSideEncryption(const ServerSideEncryption &value)
CreateMultipartUploadRequest & WithContentLanguage(Aws::String &&value)
CreateMultipartUploadRequest & WithBucket(const Aws::String &value)
void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus &&value)
CreateMultipartUploadRequest & WithExpires(Aws::Utils::DateTime &&value)
CreateMultipartUploadRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
CreateMultipartUploadRequest & WithACL(ObjectCannedACL &&value)
CreateMultipartUploadRequest & WithSSEKMSEncryptionContext(Aws::String &&value)
CreateMultipartUploadRequest & AddMetadata(const char *key, const char *value)
const ServerSideEncryption & GetServerSideEncryption() const
CreateMultipartUploadRequest & WithSSEKMSEncryptionContext(const Aws::String &value)
CreateMultipartUploadRequest & WithChecksumAlgorithm(ChecksumAlgorithm &&value)
CreateMultipartUploadRequest & WithStorageClass(const StorageClass &value)
CreateMultipartUploadRequest & WithTagging(Aws::String &&value)
CreateMultipartUploadRequest & WithGrantFullControl(const Aws::String &value)
CreateMultipartUploadRequest & WithSSEKMSKeyId(const Aws::String &value)
CreateMultipartUploadRequest & WithContentEncoding(const Aws::String &value)
AWS_S3_API Aws::String SerializePayload() const override
CreateMultipartUploadRequest & WithContentEncoding(const char *value)
CreateMultipartUploadRequest & WithCacheControl(const Aws::String &value)
void SetObjectLockRetainUntilDate(Aws::Utils::DateTime &&value)
CreateMultipartUploadRequest & WithExpectedBucketOwner(const char *value)
CreateMultipartUploadRequest & WithTagging(const char *value)
CreateMultipartUploadRequest & WithGrantRead(const char *value)
CreateMultipartUploadRequest & AddMetadata(Aws::String &&key, Aws::String &&value)
CreateMultipartUploadRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
CreateMultipartUploadRequest & AddMetadata(const char *key, Aws::String &&value)
CreateMultipartUploadRequest & WithSSECustomerKey(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
CreateMultipartUploadRequest & WithContentDisposition(Aws::String &&value)
CreateMultipartUploadRequest & WithWebsiteRedirectLocation(const Aws::String &value)
CreateMultipartUploadRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
CreateMultipartUploadRequest & WithKey(const Aws::String &value)
CreateMultipartUploadRequest & WithSSECustomerAlgorithm(const char *value)
CreateMultipartUploadRequest & WithSSECustomerKeyMD5(const char *value)
CreateMultipartUploadRequest & WithGrantReadACP(const Aws::String &value)
CreateMultipartUploadRequest & AddMetadata(Aws::String &&key, const Aws::String &value)
CreateMultipartUploadRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
CreateMultipartUploadRequest & WithGrantReadACP(Aws::String &&value)
CreateMultipartUploadRequest & WithBucketKeyEnabled(bool value)
CreateMultipartUploadRequest & WithContentType(Aws::String &&value)
CreateMultipartUploadRequest & WithContentDisposition(const Aws::String &value)
CreateMultipartUploadRequest & WithKey(const char *value)
CreateMultipartUploadRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
CreateMultipartUploadRequest & WithGrantFullControl(Aws::String &&value)
CreateMultipartUploadRequest & WithGrantReadACP(const char *value)
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
CreateMultipartUploadRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
void SetObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus &value)
CreateMultipartUploadRequest & WithGrantWriteACP(Aws::String &&value)
CreateMultipartUploadRequest & WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus &&value)
const ObjectLockLegalHoldStatus & GetObjectLockLegalHoldStatus() const
CreateMultipartUploadRequest & WithObjectLockRetainUntilDate(const Aws::Utils::DateTime &value)
CreateMultipartUploadRequest & WithObjectLockMode(const ObjectLockMode &value)
void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime &value)
CreateMultipartUploadRequest & WithObjectLockMode(ObjectLockMode &&value)
CreateMultipartUploadRequest & WithGrantWriteACP(const Aws::String &value)
CreateMultipartUploadRequest & WithObjectLockRetainUntilDate(Aws::Utils::DateTime &&value)
CreateMultipartUploadRequest & WithRequestPayer(const RequestPayer &value)
CreateMultipartUploadRequest & WithCacheControl(const char *value)
void SetCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
CreateMultipartUploadRequest & WithGrantFullControl(const char *value)
CreateMultipartUploadRequest & WithBucket(Aws::String &&value)
CreateMultipartUploadRequest & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
CreateMultipartUploadRequest & AddMetadata(Aws::String &&key, const char *value)
CreateMultipartUploadRequest & WithSSEKMSKeyId(Aws::String &&value)
void SetServerSideEncryption(ServerSideEncryption &&value)
CreateMultipartUploadRequest & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
CreateMultipartUploadRequest & WithExpectedBucketOwner(const Aws::String &value)
CreateMultipartUploadRequest & WithWebsiteRedirectLocation(const char *value)
CreateMultipartUploadRequest & WithSSECustomerKeyMD5(const Aws::String &value)
CreateMultipartUploadRequest & WithSSECustomerKey(const Aws::String &value)
CreateMultipartUploadRequest & WithSSEKMSEncryptionContext(const char *value)
CreateMultipartUploadRequest & WithGrantRead(Aws::String &&value)
CreateMultipartUploadRequest & WithSSECustomerKey(Aws::String &&value)
CreateMultipartUploadRequest & WithContentDisposition(const char *value)
CreateMultipartUploadRequest & WithGrantWriteACP(const char *value)
CreateMultipartUploadRequest & WithKey(Aws::String &&value)
Aws::Endpoint::EndpointParameters EndpointParameters
Definition: S3Request.h:22
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String