AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
PutObjectRequest.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>
20#include <utility>
21
22namespace Aws
23{
24namespace Http
25{
26 class URI;
27} //namespace Http
28namespace S3
29{
30namespace Model
31{
32
36 {
37 public:
39
40 // Service request name is the Operation name which will send this request out,
41 // each operation should has unique request name, so that we can get operation's name from this request.
42 // Note: this is not true for response, multiple operations may have the same response name,
43 // so we can not get operation's name from response.
44 inline virtual const char* GetServiceRequestName() const override { return "PutObject"; }
45
47
49
51
56
62 inline const ObjectCannedACL& GetACL() const{ return m_aCL; }
63
69 inline bool ACLHasBeenSet() const { return m_aCLHasBeenSet; }
70
76 inline void SetACL(const ObjectCannedACL& value) { m_aCLHasBeenSet = true; m_aCL = value; }
77
83 inline void SetACL(ObjectCannedACL&& value) { m_aCLHasBeenSet = true; m_aCL = std::move(value); }
84
90 inline PutObjectRequest& WithACL(const ObjectCannedACL& value) { SetACL(value); return *this;}
91
97 inline PutObjectRequest& WithACL(ObjectCannedACL&& value) { SetACL(std::move(value)); return *this;}
98
99
119 inline const Aws::String& GetBucket() const{ return m_bucket; }
120
140 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
141
161 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
162
182 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
183
203 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
204
224 inline PutObjectRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
225
245 inline PutObjectRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
246
266 inline PutObjectRequest& WithBucket(const char* value) { SetBucket(value); return *this;}
267
268
274 inline const Aws::String& GetCacheControl() const{ return m_cacheControl; }
275
281 inline bool CacheControlHasBeenSet() const { return m_cacheControlHasBeenSet; }
282
288 inline void SetCacheControl(const Aws::String& value) { m_cacheControlHasBeenSet = true; m_cacheControl = value; }
289
295 inline void SetCacheControl(Aws::String&& value) { m_cacheControlHasBeenSet = true; m_cacheControl = std::move(value); }
296
302 inline void SetCacheControl(const char* value) { m_cacheControlHasBeenSet = true; m_cacheControl.assign(value); }
303
309 inline PutObjectRequest& WithCacheControl(const Aws::String& value) { SetCacheControl(value); return *this;}
310
316 inline PutObjectRequest& WithCacheControl(Aws::String&& value) { SetCacheControl(std::move(value)); return *this;}
317
323 inline PutObjectRequest& WithCacheControl(const char* value) { SetCacheControl(value); return *this;}
324
325
331 inline const Aws::String& GetContentDisposition() const{ return m_contentDisposition; }
332
338 inline bool ContentDispositionHasBeenSet() const { return m_contentDispositionHasBeenSet; }
339
345 inline void SetContentDisposition(const Aws::String& value) { m_contentDispositionHasBeenSet = true; m_contentDisposition = value; }
346
352 inline void SetContentDisposition(Aws::String&& value) { m_contentDispositionHasBeenSet = true; m_contentDisposition = std::move(value); }
353
359 inline void SetContentDisposition(const char* value) { m_contentDispositionHasBeenSet = true; m_contentDisposition.assign(value); }
360
366 inline PutObjectRequest& WithContentDisposition(const Aws::String& value) { SetContentDisposition(value); return *this;}
367
373 inline PutObjectRequest& WithContentDisposition(Aws::String&& value) { SetContentDisposition(std::move(value)); return *this;}
374
380 inline PutObjectRequest& WithContentDisposition(const char* value) { SetContentDisposition(value); return *this;}
381
382
389 inline const Aws::String& GetContentEncoding() const{ return m_contentEncoding; }
390
397 inline bool ContentEncodingHasBeenSet() const { return m_contentEncodingHasBeenSet; }
398
405 inline void SetContentEncoding(const Aws::String& value) { m_contentEncodingHasBeenSet = true; m_contentEncoding = value; }
406
413 inline void SetContentEncoding(Aws::String&& value) { m_contentEncodingHasBeenSet = true; m_contentEncoding = std::move(value); }
414
421 inline void SetContentEncoding(const char* value) { m_contentEncodingHasBeenSet = true; m_contentEncoding.assign(value); }
422
429 inline PutObjectRequest& WithContentEncoding(const Aws::String& value) { SetContentEncoding(value); return *this;}
430
437 inline PutObjectRequest& WithContentEncoding(Aws::String&& value) { SetContentEncoding(std::move(value)); return *this;}
438
445 inline PutObjectRequest& WithContentEncoding(const char* value) { SetContentEncoding(value); return *this;}
446
447
451 inline const Aws::String& GetContentLanguage() const{ return m_contentLanguage; }
452
456 inline bool ContentLanguageHasBeenSet() const { return m_contentLanguageHasBeenSet; }
457
461 inline void SetContentLanguage(const Aws::String& value) { m_contentLanguageHasBeenSet = true; m_contentLanguage = value; }
462
466 inline void SetContentLanguage(Aws::String&& value) { m_contentLanguageHasBeenSet = true; m_contentLanguage = std::move(value); }
467
471 inline void SetContentLanguage(const char* value) { m_contentLanguageHasBeenSet = true; m_contentLanguage.assign(value); }
472
476 inline PutObjectRequest& WithContentLanguage(const Aws::String& value) { SetContentLanguage(value); return *this;}
477
481 inline PutObjectRequest& WithContentLanguage(Aws::String&& value) { SetContentLanguage(std::move(value)); return *this;}
482
486 inline PutObjectRequest& WithContentLanguage(const char* value) { SetContentLanguage(value); return *this;}
487
488
494 inline long long GetContentLength() const{ return m_contentLength; }
495
501 inline bool ContentLengthHasBeenSet() const { return m_contentLengthHasBeenSet; }
502
508 inline void SetContentLength(long long value) { m_contentLengthHasBeenSet = true; m_contentLength = value; }
509
515 inline PutObjectRequest& WithContentLength(long long value) { SetContentLength(value); return *this;}
516
517
527 inline const Aws::String& GetContentMD5() const{ return m_contentMD5; }
528
538 inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; }
539
549 inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; }
550
560 inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); }
561
571 inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); }
572
582 inline PutObjectRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;}
583
593 inline PutObjectRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;}
594
604 inline PutObjectRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;}
605
606
619 inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; }
620
633 inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; }
634
647 inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; }
648
661 inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); }
662
676
689 inline PutObjectRequest& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;}
690
691
700 inline const Aws::String& GetChecksumCRC32() const{ return m_checksumCRC32; }
701
710 inline bool ChecksumCRC32HasBeenSet() const { return m_checksumCRC32HasBeenSet; }
711
720 inline void SetChecksumCRC32(const Aws::String& value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32 = value; }
721
730 inline void SetChecksumCRC32(Aws::String&& value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32 = std::move(value); }
731
740 inline void SetChecksumCRC32(const char* value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32.assign(value); }
741
750 inline PutObjectRequest& WithChecksumCRC32(const Aws::String& value) { SetChecksumCRC32(value); return *this;}
751
760 inline PutObjectRequest& WithChecksumCRC32(Aws::String&& value) { SetChecksumCRC32(std::move(value)); return *this;}
761
770 inline PutObjectRequest& WithChecksumCRC32(const char* value) { SetChecksumCRC32(value); return *this;}
771
772
781 inline const Aws::String& GetChecksumCRC32C() const{ return m_checksumCRC32C; }
782
791 inline bool ChecksumCRC32CHasBeenSet() const { return m_checksumCRC32CHasBeenSet; }
792
801 inline void SetChecksumCRC32C(const Aws::String& value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C = value; }
802
811 inline void SetChecksumCRC32C(Aws::String&& value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C = std::move(value); }
812
821 inline void SetChecksumCRC32C(const char* value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C.assign(value); }
822
831 inline PutObjectRequest& WithChecksumCRC32C(const Aws::String& value) { SetChecksumCRC32C(value); return *this;}
832
841 inline PutObjectRequest& WithChecksumCRC32C(Aws::String&& value) { SetChecksumCRC32C(std::move(value)); return *this;}
842
851 inline PutObjectRequest& WithChecksumCRC32C(const char* value) { SetChecksumCRC32C(value); return *this;}
852
853
861 inline const Aws::String& GetChecksumSHA1() const{ return m_checksumSHA1; }
862
870 inline bool ChecksumSHA1HasBeenSet() const { return m_checksumSHA1HasBeenSet; }
871
879 inline void SetChecksumSHA1(const Aws::String& value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1 = value; }
880
888 inline void SetChecksumSHA1(Aws::String&& value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1 = std::move(value); }
889
897 inline void SetChecksumSHA1(const char* value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1.assign(value); }
898
906 inline PutObjectRequest& WithChecksumSHA1(const Aws::String& value) { SetChecksumSHA1(value); return *this;}
907
915 inline PutObjectRequest& WithChecksumSHA1(Aws::String&& value) { SetChecksumSHA1(std::move(value)); return *this;}
916
924 inline PutObjectRequest& WithChecksumSHA1(const char* value) { SetChecksumSHA1(value); return *this;}
925
926
935 inline const Aws::String& GetChecksumSHA256() const{ return m_checksumSHA256; }
936
945 inline bool ChecksumSHA256HasBeenSet() const { return m_checksumSHA256HasBeenSet; }
946
955 inline void SetChecksumSHA256(const Aws::String& value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256 = value; }
956
965 inline void SetChecksumSHA256(Aws::String&& value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256 = std::move(value); }
966
975 inline void SetChecksumSHA256(const char* value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256.assign(value); }
976
985 inline PutObjectRequest& WithChecksumSHA256(const Aws::String& value) { SetChecksumSHA256(value); return *this;}
986
995 inline PutObjectRequest& WithChecksumSHA256(Aws::String&& value) { SetChecksumSHA256(std::move(value)); return *this;}
996
1005 inline PutObjectRequest& WithChecksumSHA256(const char* value) { SetChecksumSHA256(value); return *this;}
1006
1007
1013 inline const Aws::Utils::DateTime& GetExpires() const{ return m_expires; }
1014
1020 inline bool ExpiresHasBeenSet() const { return m_expiresHasBeenSet; }
1021
1027 inline void SetExpires(const Aws::Utils::DateTime& value) { m_expiresHasBeenSet = true; m_expires = value; }
1028
1034 inline void SetExpires(Aws::Utils::DateTime&& value) { m_expiresHasBeenSet = true; m_expires = std::move(value); }
1035
1041 inline PutObjectRequest& WithExpires(const Aws::Utils::DateTime& value) { SetExpires(value); return *this;}
1042
1048 inline PutObjectRequest& WithExpires(Aws::Utils::DateTime&& value) { SetExpires(std::move(value)); return *this;}
1049
1050
1055 inline const Aws::String& GetGrantFullControl() const{ return m_grantFullControl; }
1056
1061 inline bool GrantFullControlHasBeenSet() const { return m_grantFullControlHasBeenSet; }
1062
1067 inline void SetGrantFullControl(const Aws::String& value) { m_grantFullControlHasBeenSet = true; m_grantFullControl = value; }
1068
1073 inline void SetGrantFullControl(Aws::String&& value) { m_grantFullControlHasBeenSet = true; m_grantFullControl = std::move(value); }
1074
1079 inline void SetGrantFullControl(const char* value) { m_grantFullControlHasBeenSet = true; m_grantFullControl.assign(value); }
1080
1085 inline PutObjectRequest& WithGrantFullControl(const Aws::String& value) { SetGrantFullControl(value); return *this;}
1086
1091 inline PutObjectRequest& WithGrantFullControl(Aws::String&& value) { SetGrantFullControl(std::move(value)); return *this;}
1092
1097 inline PutObjectRequest& WithGrantFullControl(const char* value) { SetGrantFullControl(value); return *this;}
1098
1099
1104 inline const Aws::String& GetGrantRead() const{ return m_grantRead; }
1105
1110 inline bool GrantReadHasBeenSet() const { return m_grantReadHasBeenSet; }
1111
1116 inline void SetGrantRead(const Aws::String& value) { m_grantReadHasBeenSet = true; m_grantRead = value; }
1117
1122 inline void SetGrantRead(Aws::String&& value) { m_grantReadHasBeenSet = true; m_grantRead = std::move(value); }
1123
1128 inline void SetGrantRead(const char* value) { m_grantReadHasBeenSet = true; m_grantRead.assign(value); }
1129
1134 inline PutObjectRequest& WithGrantRead(const Aws::String& value) { SetGrantRead(value); return *this;}
1135
1140 inline PutObjectRequest& WithGrantRead(Aws::String&& value) { SetGrantRead(std::move(value)); return *this;}
1141
1146 inline PutObjectRequest& WithGrantRead(const char* value) { SetGrantRead(value); return *this;}
1147
1148
1153 inline const Aws::String& GetGrantReadACP() const{ return m_grantReadACP; }
1154
1159 inline bool GrantReadACPHasBeenSet() const { return m_grantReadACPHasBeenSet; }
1160
1165 inline void SetGrantReadACP(const Aws::String& value) { m_grantReadACPHasBeenSet = true; m_grantReadACP = value; }
1166
1171 inline void SetGrantReadACP(Aws::String&& value) { m_grantReadACPHasBeenSet = true; m_grantReadACP = std::move(value); }
1172
1177 inline void SetGrantReadACP(const char* value) { m_grantReadACPHasBeenSet = true; m_grantReadACP.assign(value); }
1178
1183 inline PutObjectRequest& WithGrantReadACP(const Aws::String& value) { SetGrantReadACP(value); return *this;}
1184
1189 inline PutObjectRequest& WithGrantReadACP(Aws::String&& value) { SetGrantReadACP(std::move(value)); return *this;}
1190
1195 inline PutObjectRequest& WithGrantReadACP(const char* value) { SetGrantReadACP(value); return *this;}
1196
1197
1202 inline const Aws::String& GetGrantWriteACP() const{ return m_grantWriteACP; }
1203
1208 inline bool GrantWriteACPHasBeenSet() const { return m_grantWriteACPHasBeenSet; }
1209
1214 inline void SetGrantWriteACP(const Aws::String& value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP = value; }
1215
1220 inline void SetGrantWriteACP(Aws::String&& value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP = std::move(value); }
1221
1226 inline void SetGrantWriteACP(const char* value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP.assign(value); }
1227
1232 inline PutObjectRequest& WithGrantWriteACP(const Aws::String& value) { SetGrantWriteACP(value); return *this;}
1233
1238 inline PutObjectRequest& WithGrantWriteACP(Aws::String&& value) { SetGrantWriteACP(std::move(value)); return *this;}
1239
1244 inline PutObjectRequest& WithGrantWriteACP(const char* value) { SetGrantWriteACP(value); return *this;}
1245
1246
1250 inline const Aws::String& GetKey() const{ return m_key; }
1251
1255 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
1256
1260 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
1261
1265 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
1266
1270 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
1271
1275 inline PutObjectRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;}
1276
1280 inline PutObjectRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
1281
1285 inline PutObjectRequest& WithKey(const char* value) { SetKey(value); return *this;}
1286
1287
1291 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const{ return m_metadata; }
1292
1296 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
1297
1301 inline void SetMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_metadataHasBeenSet = true; m_metadata = value; }
1302
1306 inline void SetMetadata(Aws::Map<Aws::String, Aws::String>&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); }
1307
1312
1316 inline PutObjectRequest& WithMetadata(Aws::Map<Aws::String, Aws::String>&& value) { SetMetadata(std::move(value)); return *this;}
1317
1321 inline PutObjectRequest& AddMetadata(const Aws::String& key, const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, value); return *this; }
1322
1326 inline PutObjectRequest& AddMetadata(Aws::String&& key, const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), value); return *this; }
1327
1331 inline PutObjectRequest& AddMetadata(const Aws::String& key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, std::move(value)); return *this; }
1332
1336 inline PutObjectRequest& AddMetadata(Aws::String&& key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), std::move(value)); return *this; }
1337
1341 inline PutObjectRequest& AddMetadata(const char* key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, std::move(value)); return *this; }
1342
1346 inline PutObjectRequest& AddMetadata(Aws::String&& key, const char* value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), value); return *this; }
1347
1351 inline PutObjectRequest& AddMetadata(const char* key, const char* value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, value); return *this; }
1352
1353
1358 inline const ServerSideEncryption& GetServerSideEncryption() const{ return m_serverSideEncryption; }
1359
1364 inline bool ServerSideEncryptionHasBeenSet() const { return m_serverSideEncryptionHasBeenSet; }
1365
1370 inline void SetServerSideEncryption(const ServerSideEncryption& value) { m_serverSideEncryptionHasBeenSet = true; m_serverSideEncryption = value; }
1371
1376 inline void SetServerSideEncryption(ServerSideEncryption&& value) { m_serverSideEncryptionHasBeenSet = true; m_serverSideEncryption = std::move(value); }
1377
1383
1389
1390
1400 inline const StorageClass& GetStorageClass() const{ return m_storageClass; }
1401
1411 inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; }
1412
1422 inline void SetStorageClass(const StorageClass& value) { m_storageClassHasBeenSet = true; m_storageClass = value; }
1423
1433 inline void SetStorageClass(StorageClass&& value) { m_storageClassHasBeenSet = true; m_storageClass = std::move(value); }
1434
1444 inline PutObjectRequest& WithStorageClass(const StorageClass& value) { SetStorageClass(value); return *this;}
1445
1455 inline PutObjectRequest& WithStorageClass(StorageClass&& value) { SetStorageClass(std::move(value)); return *this;}
1456
1457
1476 inline const Aws::String& GetWebsiteRedirectLocation() const{ return m_websiteRedirectLocation; }
1477
1496 inline bool WebsiteRedirectLocationHasBeenSet() const { return m_websiteRedirectLocationHasBeenSet; }
1497
1516 inline void SetWebsiteRedirectLocation(const Aws::String& value) { m_websiteRedirectLocationHasBeenSet = true; m_websiteRedirectLocation = value; }
1517
1536 inline void SetWebsiteRedirectLocation(Aws::String&& value) { m_websiteRedirectLocationHasBeenSet = true; m_websiteRedirectLocation = std::move(value); }
1537
1556 inline void SetWebsiteRedirectLocation(const char* value) { m_websiteRedirectLocationHasBeenSet = true; m_websiteRedirectLocation.assign(value); }
1557
1577
1596 inline PutObjectRequest& WithWebsiteRedirectLocation(Aws::String&& value) { SetWebsiteRedirectLocation(std::move(value)); return *this;}
1597
1616 inline PutObjectRequest& WithWebsiteRedirectLocation(const char* value) { SetWebsiteRedirectLocation(value); return *this;}
1617
1618
1623 inline const Aws::String& GetSSECustomerAlgorithm() const{ return m_sSECustomerAlgorithm; }
1624
1629 inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; }
1630
1635 inline void SetSSECustomerAlgorithm(const Aws::String& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = value; }
1636
1641 inline void SetSSECustomerAlgorithm(Aws::String&& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = std::move(value); }
1642
1647 inline void SetSSECustomerAlgorithm(const char* value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm.assign(value); }
1648
1654
1659 inline PutObjectRequest& WithSSECustomerAlgorithm(Aws::String&& value) { SetSSECustomerAlgorithm(std::move(value)); return *this;}
1660
1665 inline PutObjectRequest& WithSSECustomerAlgorithm(const char* value) { SetSSECustomerAlgorithm(value); return *this;}
1666
1667
1675 inline const Aws::String& GetSSECustomerKey() const{ return m_sSECustomerKey; }
1676
1684 inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; }
1685
1693 inline void SetSSECustomerKey(const Aws::String& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = value; }
1694
1702 inline void SetSSECustomerKey(Aws::String&& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = std::move(value); }
1703
1711 inline void SetSSECustomerKey(const char* value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey.assign(value); }
1712
1720 inline PutObjectRequest& WithSSECustomerKey(const Aws::String& value) { SetSSECustomerKey(value); return *this;}
1721
1729 inline PutObjectRequest& WithSSECustomerKey(Aws::String&& value) { SetSSECustomerKey(std::move(value)); return *this;}
1730
1738 inline PutObjectRequest& WithSSECustomerKey(const char* value) { SetSSECustomerKey(value); return *this;}
1739
1740
1746 inline const Aws::String& GetSSECustomerKeyMD5() const{ return m_sSECustomerKeyMD5; }
1747
1753 inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; }
1754
1760 inline void SetSSECustomerKeyMD5(const Aws::String& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = value; }
1761
1767 inline void SetSSECustomerKeyMD5(Aws::String&& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = std::move(value); }
1768
1774 inline void SetSSECustomerKeyMD5(const char* value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5.assign(value); }
1775
1781 inline PutObjectRequest& WithSSECustomerKeyMD5(const Aws::String& value) { SetSSECustomerKeyMD5(value); return *this;}
1782
1788 inline PutObjectRequest& WithSSECustomerKeyMD5(Aws::String&& value) { SetSSECustomerKeyMD5(std::move(value)); return *this;}
1789
1795 inline PutObjectRequest& WithSSECustomerKeyMD5(const char* value) { SetSSECustomerKeyMD5(value); return *this;}
1796
1797
1809 inline const Aws::String& GetSSEKMSKeyId() const{ return m_sSEKMSKeyId; }
1810
1822 inline bool SSEKMSKeyIdHasBeenSet() const { return m_sSEKMSKeyIdHasBeenSet; }
1823
1835 inline void SetSSEKMSKeyId(const Aws::String& value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId = value; }
1836
1848 inline void SetSSEKMSKeyId(Aws::String&& value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId = std::move(value); }
1849
1861 inline void SetSSEKMSKeyId(const char* value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId.assign(value); }
1862
1874 inline PutObjectRequest& WithSSEKMSKeyId(const Aws::String& value) { SetSSEKMSKeyId(value); return *this;}
1875
1887 inline PutObjectRequest& WithSSEKMSKeyId(Aws::String&& value) { SetSSEKMSKeyId(std::move(value)); return *this;}
1888
1900 inline PutObjectRequest& WithSSEKMSKeyId(const char* value) { SetSSEKMSKeyId(value); return *this;}
1901
1902
1908 inline const Aws::String& GetSSEKMSEncryptionContext() const{ return m_sSEKMSEncryptionContext; }
1909
1915 inline bool SSEKMSEncryptionContextHasBeenSet() const { return m_sSEKMSEncryptionContextHasBeenSet; }
1916
1922 inline void SetSSEKMSEncryptionContext(const Aws::String& value) { m_sSEKMSEncryptionContextHasBeenSet = true; m_sSEKMSEncryptionContext = value; }
1923
1929 inline void SetSSEKMSEncryptionContext(Aws::String&& value) { m_sSEKMSEncryptionContextHasBeenSet = true; m_sSEKMSEncryptionContext = std::move(value); }
1930
1936 inline void SetSSEKMSEncryptionContext(const char* value) { m_sSEKMSEncryptionContextHasBeenSet = true; m_sSEKMSEncryptionContext.assign(value); }
1937
1944
1950 inline PutObjectRequest& WithSSEKMSEncryptionContext(Aws::String&& value) { SetSSEKMSEncryptionContext(std::move(value)); return *this;}
1951
1957 inline PutObjectRequest& WithSSEKMSEncryptionContext(const char* value) { SetSSEKMSEncryptionContext(value); return *this;}
1958
1959
1967 inline bool GetBucketKeyEnabled() const{ return m_bucketKeyEnabled; }
1968
1976 inline bool BucketKeyEnabledHasBeenSet() const { return m_bucketKeyEnabledHasBeenSet; }
1977
1985 inline void SetBucketKeyEnabled(bool value) { m_bucketKeyEnabledHasBeenSet = true; m_bucketKeyEnabled = value; }
1986
1994 inline PutObjectRequest& WithBucketKeyEnabled(bool value) { SetBucketKeyEnabled(value); return *this;}
1995
1996
1997
1998 inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; }
1999
2000
2001 inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; }
2002
2003
2004 inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; }
2005
2006
2007 inline void SetRequestPayer(RequestPayer&& value) { m_requestPayerHasBeenSet = true; m_requestPayer = std::move(value); }
2008
2009
2010 inline PutObjectRequest& WithRequestPayer(const RequestPayer& value) { SetRequestPayer(value); return *this;}
2011
2012
2013 inline PutObjectRequest& WithRequestPayer(RequestPayer&& value) { SetRequestPayer(std::move(value)); return *this;}
2014
2015
2020 inline const Aws::String& GetTagging() const{ return m_tagging; }
2021
2026 inline bool TaggingHasBeenSet() const { return m_taggingHasBeenSet; }
2027
2032 inline void SetTagging(const Aws::String& value) { m_taggingHasBeenSet = true; m_tagging = value; }
2033
2038 inline void SetTagging(Aws::String&& value) { m_taggingHasBeenSet = true; m_tagging = std::move(value); }
2039
2044 inline void SetTagging(const char* value) { m_taggingHasBeenSet = true; m_tagging.assign(value); }
2045
2050 inline PutObjectRequest& WithTagging(const Aws::String& value) { SetTagging(value); return *this;}
2051
2056 inline PutObjectRequest& WithTagging(Aws::String&& value) { SetTagging(std::move(value)); return *this;}
2057
2062 inline PutObjectRequest& WithTagging(const char* value) { SetTagging(value); return *this;}
2063
2064
2068 inline const ObjectLockMode& GetObjectLockMode() const{ return m_objectLockMode; }
2069
2073 inline bool ObjectLockModeHasBeenSet() const { return m_objectLockModeHasBeenSet; }
2074
2078 inline void SetObjectLockMode(const ObjectLockMode& value) { m_objectLockModeHasBeenSet = true; m_objectLockMode = value; }
2079
2083 inline void SetObjectLockMode(ObjectLockMode&& value) { m_objectLockModeHasBeenSet = true; m_objectLockMode = std::move(value); }
2084
2088 inline PutObjectRequest& WithObjectLockMode(const ObjectLockMode& value) { SetObjectLockMode(value); return *this;}
2089
2093 inline PutObjectRequest& WithObjectLockMode(ObjectLockMode&& value) { SetObjectLockMode(std::move(value)); return *this;}
2094
2095
2100 inline const Aws::Utils::DateTime& GetObjectLockRetainUntilDate() const{ return m_objectLockRetainUntilDate; }
2101
2106 inline bool ObjectLockRetainUntilDateHasBeenSet() const { return m_objectLockRetainUntilDateHasBeenSet; }
2107
2112 inline void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = value; }
2113
2118 inline void SetObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = std::move(value); }
2119
2125
2131
2132
2139 inline const ObjectLockLegalHoldStatus& GetObjectLockLegalHoldStatus() const{ return m_objectLockLegalHoldStatus; }
2140
2147 inline bool ObjectLockLegalHoldStatusHasBeenSet() const { return m_objectLockLegalHoldStatusHasBeenSet; }
2148
2155 inline void SetObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = value; }
2156
2163 inline void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = std::move(value); }
2164
2172
2180
2181
2187 inline const Aws::String& GetExpectedBucketOwner() const{ return m_expectedBucketOwner; }
2188
2194 inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; }
2195
2201 inline void SetExpectedBucketOwner(const Aws::String& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = value; }
2202
2208 inline void SetExpectedBucketOwner(Aws::String&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::move(value); }
2209
2215 inline void SetExpectedBucketOwner(const char* value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner.assign(value); }
2216
2223
2229 inline PutObjectRequest& WithExpectedBucketOwner(Aws::String&& value) { SetExpectedBucketOwner(std::move(value)); return *this;}
2230
2236 inline PutObjectRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;}
2237
2238
2239
2240 inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; }
2241
2242
2243 inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; }
2244
2245
2246 inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; }
2247
2248
2249 inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); }
2250
2251
2253
2254
2256
2257
2258 inline PutObjectRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
2259
2260
2261 inline PutObjectRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
2262
2263
2264 inline PutObjectRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
2265
2266
2267 inline PutObjectRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; }
2268
2269
2270 inline PutObjectRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
2271
2272
2273 inline PutObjectRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
2274
2275
2276 inline PutObjectRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
2277
2278 private:
2279
2280 ObjectCannedACL m_aCL;
2281 bool m_aCLHasBeenSet = false;
2282
2283
2284 Aws::String m_bucket;
2285 bool m_bucketHasBeenSet = false;
2286
2287 Aws::String m_cacheControl;
2288 bool m_cacheControlHasBeenSet = false;
2289
2290 Aws::String m_contentDisposition;
2291 bool m_contentDispositionHasBeenSet = false;
2292
2293 Aws::String m_contentEncoding;
2294 bool m_contentEncodingHasBeenSet = false;
2295
2296 Aws::String m_contentLanguage;
2297 bool m_contentLanguageHasBeenSet = false;
2298
2299 long long m_contentLength;
2300 bool m_contentLengthHasBeenSet = false;
2301
2302 Aws::String m_contentMD5;
2303 bool m_contentMD5HasBeenSet = false;
2304
2305 ChecksumAlgorithm m_checksumAlgorithm;
2306 bool m_checksumAlgorithmHasBeenSet = false;
2307
2308 Aws::String m_checksumCRC32;
2309 bool m_checksumCRC32HasBeenSet = false;
2310
2311 Aws::String m_checksumCRC32C;
2312 bool m_checksumCRC32CHasBeenSet = false;
2313
2314 Aws::String m_checksumSHA1;
2315 bool m_checksumSHA1HasBeenSet = false;
2316
2317 Aws::String m_checksumSHA256;
2318 bool m_checksumSHA256HasBeenSet = false;
2319
2320 Aws::Utils::DateTime m_expires;
2321 bool m_expiresHasBeenSet = false;
2322
2323 Aws::String m_grantFullControl;
2324 bool m_grantFullControlHasBeenSet = false;
2325
2326 Aws::String m_grantRead;
2327 bool m_grantReadHasBeenSet = false;
2328
2329 Aws::String m_grantReadACP;
2330 bool m_grantReadACPHasBeenSet = false;
2331
2332 Aws::String m_grantWriteACP;
2333 bool m_grantWriteACPHasBeenSet = false;
2334
2335 Aws::String m_key;
2336 bool m_keyHasBeenSet = false;
2337
2339 bool m_metadataHasBeenSet = false;
2340
2341 ServerSideEncryption m_serverSideEncryption;
2342 bool m_serverSideEncryptionHasBeenSet = false;
2343
2344 StorageClass m_storageClass;
2345 bool m_storageClassHasBeenSet = false;
2346
2347 Aws::String m_websiteRedirectLocation;
2348 bool m_websiteRedirectLocationHasBeenSet = false;
2349
2350 Aws::String m_sSECustomerAlgorithm;
2351 bool m_sSECustomerAlgorithmHasBeenSet = false;
2352
2353 Aws::String m_sSECustomerKey;
2354 bool m_sSECustomerKeyHasBeenSet = false;
2355
2356 Aws::String m_sSECustomerKeyMD5;
2357 bool m_sSECustomerKeyMD5HasBeenSet = false;
2358
2359 Aws::String m_sSEKMSKeyId;
2360 bool m_sSEKMSKeyIdHasBeenSet = false;
2361
2362 Aws::String m_sSEKMSEncryptionContext;
2363 bool m_sSEKMSEncryptionContextHasBeenSet = false;
2364
2365 bool m_bucketKeyEnabled;
2366 bool m_bucketKeyEnabledHasBeenSet = false;
2367
2368 RequestPayer m_requestPayer;
2369 bool m_requestPayerHasBeenSet = false;
2370
2371 Aws::String m_tagging;
2372 bool m_taggingHasBeenSet = false;
2373
2374 ObjectLockMode m_objectLockMode;
2375 bool m_objectLockModeHasBeenSet = false;
2376
2377 Aws::Utils::DateTime m_objectLockRetainUntilDate;
2378 bool m_objectLockRetainUntilDateHasBeenSet = false;
2379
2380 ObjectLockLegalHoldStatus m_objectLockLegalHoldStatus;
2381 bool m_objectLockLegalHoldStatusHasBeenSet = false;
2382
2383 Aws::String m_expectedBucketOwner;
2384 bool m_expectedBucketOwnerHasBeenSet = false;
2385
2386 Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag;
2387 bool m_customizedAccessLogTagHasBeenSet = false;
2388 };
2389
2390} // namespace Model
2391} // namespace S3
2392} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
Aws::Vector< Aws::Endpoint::EndpointParameter > EndpointParameters
PutObjectRequest & WithContentLanguage(const char *value)
PutObjectRequest & WithChecksumCRC32(Aws::String &&value)
PutObjectRequest & WithChecksumCRC32C(const Aws::String &value)
PutObjectRequest & WithExpectedBucketOwner(const char *value)
PutObjectRequest & WithObjectLockMode(const ObjectLockMode &value)
const Aws::String & GetSSEKMSKeyId() const
void SetSSECustomerKey(Aws::String &&value)
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutObjectRequest & WithSSECustomerKey(Aws::String &&value)
void SetGrantWriteACP(Aws::String &&value)
PutObjectRequest & WithTagging(const Aws::String &value)
void SetSSEKMSEncryptionContext(const char *value)
void SetChecksumCRC32C(const char *value)
PutObjectRequest & WithGrantRead(const Aws::String &value)
PutObjectRequest & WithChecksumCRC32(const Aws::String &value)
PutObjectRequest & WithSSECustomerKey(const Aws::String &value)
PutObjectRequest & WithExpectedBucketOwner(Aws::String &&value)
PutObjectRequest & WithContentEncoding(Aws::String &&value)
void SetCacheControl(const Aws::String &value)
void SetSSECustomerKeyMD5(Aws::String &&value)
PutObjectRequest & WithChecksumCRC32C(const char *value)
PutObjectRequest & WithChecksumSHA256(const char *value)
PutObjectRequest & WithChecksumSHA1(const Aws::String &value)
PutObjectRequest & WithContentMD5(Aws::String &&value)
PutObjectRequest & AddMetadata(Aws::String &&key, const char *value)
PutObjectRequest & WithContentLanguage(Aws::String &&value)
PutObjectRequest & WithContentDisposition(const Aws::String &value)
PutObjectRequest & WithObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus &value)
PutObjectRequest & WithExpires(Aws::Utils::DateTime &&value)
PutObjectRequest & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
PutObjectRequest & WithGrantWriteACP(const Aws::String &value)
const ObjectLockMode & GetObjectLockMode() const
void SetChecksumSHA1(const char *value)
void SetChecksumCRC32C(Aws::String &&value)
const Aws::String & GetChecksumCRC32C() const
PutObjectRequest & AddMetadata(Aws::String &&key, const Aws::String &value)
void SetServerSideEncryption(const ServerSideEncryption &value)
virtual const char * GetServiceRequestName() const override
PutObjectRequest & WithBucket(Aws::String &&value)
void SetGrantWriteACP(const char *value)
void SetExpires(const Aws::Utils::DateTime &value)
void SetWebsiteRedirectLocation(Aws::String &&value)
PutObjectRequest & WithRequestPayer(RequestPayer &&value)
PutObjectRequest & WithContentDisposition(Aws::String &&value)
void SetChecksumSHA256(Aws::String &&value)
void SetGrantRead(const Aws::String &value)
void SetKey(const Aws::String &value)
void SetContentMD5(Aws::String &&value)
PutObjectRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
const Aws::String & GetExpectedBucketOwner() const
PutObjectRequest & WithGrantRead(const char *value)
PutObjectRequest & WithBucket(const Aws::String &value)
PutObjectRequest & WithBucket(const char *value)
const ObjectLockLegalHoldStatus & GetObjectLockLegalHoldStatus() const
void SetSSECustomerAlgorithm(const char *value)
PutObjectRequest & WithGrantWriteACP(Aws::String &&value)
PutObjectRequest & AddMetadata(Aws::String &&key, Aws::String &&value)
const Aws::String & GetGrantRead() const
PutObjectRequest & WithKey(const char *value)
PutObjectRequest & WithSSECustomerKey(const char *value)
PutObjectRequest & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
void SetSSEKMSEncryptionContext(const Aws::String &value)
void SetStorageClass(StorageClass &&value)
void SetGrantReadACP(Aws::String &&value)
void SetTagging(const char *value)
PutObjectRequest & WithWebsiteRedirectLocation(const char *value)
PutObjectRequest & WithWebsiteRedirectLocation(const Aws::String &value)
PutObjectRequest & WithBucketKeyEnabled(bool value)
void SetWebsiteRedirectLocation(const char *value)
void SetContentMD5(const char *value)
PutObjectRequest & WithRequestPayer(const RequestPayer &value)
PutObjectRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
void SetServerSideEncryption(ServerSideEncryption &&value)
const Aws::String & GetContentLanguage() const
PutObjectRequest & WithContentEncoding(const Aws::String &value)
PutObjectRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
PutObjectRequest & WithServerSideEncryption(const ServerSideEncryption &value)
PutObjectRequest & WithSSEKMSKeyId(Aws::String &&value)
void SetSSECustomerKeyMD5(const char *value)
void SetACL(const ObjectCannedACL &value)
PutObjectRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
void SetContentLanguage(const char *value)
const Aws::String & GetContentEncoding() const
void SetRequestPayer(const RequestPayer &value)
PutObjectRequest & WithSSEKMSEncryptionContext(const char *value)
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetSSEKMSKeyId(const char *value)
PutObjectRequest & WithGrantReadACP(const Aws::String &value)
void SetChecksumSHA256(const char *value)
void SetObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus &value)
const Aws::String & GetTagging() const
void SetGrantRead(Aws::String &&value)
void SetObjectLockRetainUntilDate(Aws::Utils::DateTime &&value)
PutObjectRequest & WithChecksumCRC32(const char *value)
PutObjectRequest & AddMetadata(const Aws::String &key, Aws::String &&value)
void SetChecksumCRC32(const Aws::String &value)
PutObjectRequest & WithSSECustomerKeyMD5(Aws::String &&value)
PutObjectRequest & WithExpectedBucketOwner(const Aws::String &value)
void SetStorageClass(const StorageClass &value)
void SetContentLanguage(const Aws::String &value)
void SetContentDisposition(const Aws::String &value)
void SetChecksumCRC32(Aws::String &&value)
void SetExpectedBucketOwner(Aws::String &&value)
void SetSSEKMSKeyId(Aws::String &&value)
PutObjectRequest & WithSSEKMSEncryptionContext(const Aws::String &value)
PutObjectRequest & AddMetadata(const char *key, const char *value)
void SetObjectLockMode(ObjectLockMode &&value)
void SetContentMD5(const Aws::String &value)
void SetGrantFullControl(const char *value)
AWS_S3_API Aws::String GetChecksumAlgorithmName() const override
PutObjectRequest & WithChecksumCRC32C(Aws::String &&value)
void SetChecksumAlgorithm(ChecksumAlgorithm &&value)
PutObjectRequest & WithGrantRead(Aws::String &&value)
void SetWebsiteRedirectLocation(const Aws::String &value)
void SetChecksumCRC32C(const Aws::String &value)
PutObjectRequest & AddMetadata(const char *key, Aws::String &&value)
PutObjectRequest & WithObjectLockRetainUntilDate(const Aws::Utils::DateTime &value)
PutObjectRequest & WithContentMD5(const char *value)
void SetRequestPayer(RequestPayer &&value)
const Aws::String & GetSSECustomerKey() const
void SetObjectLockMode(const ObjectLockMode &value)
void SetBucket(const Aws::String &value)
const Aws::String & GetContentMD5() const
const Aws::String & GetSSECustomerAlgorithm() const
PutObjectRequest & WithTagging(const char *value)
const Aws::String & GetGrantFullControl() const
const ServerSideEncryption & GetServerSideEncryption() const
PutObjectRequest & WithSSEKMSKeyId(const Aws::String &value)
void SetContentLength(long long value)
PutObjectRequest & WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus &&value)
PutObjectRequest & WithGrantFullControl(const char *value)
PutObjectRequest & WithContentEncoding(const char *value)
void SetSSECustomerKey(const Aws::String &value)
const Aws::Utils::DateTime & GetExpires() const
PutObjectRequest & WithStorageClass(StorageClass &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
PutObjectRequest & AddMetadata(const Aws::String &key, const Aws::String &value)
void SetExpectedBucketOwner(const Aws::String &value)
PutObjectRequest & WithServerSideEncryption(ServerSideEncryption &&value)
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
PutObjectRequest & WithSSECustomerKeyMD5(const Aws::String &value)
PutObjectRequest & WithCacheControl(Aws::String &&value)
PutObjectRequest & WithCacheControl(const char *value)
void SetTagging(const Aws::String &value)
void SetSSECustomerAlgorithm(Aws::String &&value)
void SetContentEncoding(const Aws::String &value)
void SetGrantReadACP(const Aws::String &value)
void SetBucket(Aws::String &&value)
const Aws::String & GetGrantReadACP() const
PutObjectRequest & WithChecksumSHA256(Aws::String &&value)
void SetCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
void SetCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Utils::DateTime & GetObjectLockRetainUntilDate() const
void SetChecksumSHA256(const Aws::String &value)
PutObjectRequest & WithTagging(Aws::String &&value)
PutObjectRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
PutObjectRequest & WithGrantReadACP(const char *value)
const Aws::String & GetChecksumCRC32() const
const Aws::String & GetChecksumSHA1() const
PutObjectRequest & WithContentLanguage(const Aws::String &value)
void SetGrantFullControl(const Aws::String &value)
PutObjectRequest & WithObjectLockRetainUntilDate(Aws::Utils::DateTime &&value)
PutObjectRequest & WithWebsiteRedirectLocation(Aws::String &&value)
PutObjectRequest & WithGrantReadACP(Aws::String &&value)
const StorageClass & GetStorageClass() const
PutObjectRequest & WithChecksumSHA1(Aws::String &&value)
const Aws::String & GetKey() const
PutObjectRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
PutObjectRequest & WithChecksumAlgorithm(const ChecksumAlgorithm &value)
const Aws::String & GetGrantWriteACP() const
PutObjectRequest & WithStorageClass(const StorageClass &value)
const Aws::String & GetBucket() const
void SetChecksumCRC32(const char *value)
void SetSSEKMSKeyId(const Aws::String &value)
const Aws::String & GetChecksumSHA256() const
void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus &&value)
PutObjectRequest & WithSSECustomerAlgorithm(const char *value)
PutObjectRequest & WithSSEKMSEncryptionContext(Aws::String &&value)
void SetSSECustomerAlgorithm(const Aws::String &value)
const Aws::String & GetWebsiteRedirectLocation() const
void SetKey(const char *value)
const Aws::String & GetSSECustomerKeyMD5() const
void SetSSECustomerKey(const char *value)
PutObjectRequest & WithSSECustomerAlgorithm(const Aws::String &value)
PutObjectRequest & WithContentDisposition(const char *value)
PutObjectRequest & WithChecksumSHA1(const char *value)
void SetTagging(Aws::String &&value)
void SetGrantWriteACP(const Aws::String &value)
PutObjectRequest & WithACL(const ObjectCannedACL &value)
PutObjectRequest & WithKey(Aws::String &&value)
void SetGrantReadACP(const char *value)
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
PutObjectRequest & WithSSECustomerAlgorithm(Aws::String &&value)
PutObjectRequest & WithSSECustomerKeyMD5(const char *value)
PutObjectRequest & WithGrantFullControl(Aws::String &&value)
const Aws::String & GetSSEKMSEncryptionContext() const
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
void SetACL(ObjectCannedACL &&value)
PutObjectRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
void SetCacheControl(Aws::String &&value)
void SetGrantRead(const char *value)
void SetGrantFullControl(Aws::String &&value)
PutObjectRequest & WithKey(const Aws::String &value)
void SetChecksumAlgorithm(const ChecksumAlgorithm &value)
void SetContentDisposition(Aws::String &&value)
void SetCacheControl(const char *value)
void SetContentLanguage(Aws::String &&value)
void SetKey(Aws::String &&value)
PutObjectRequest & WithContentMD5(const Aws::String &value)
void SetContentDisposition(const char *value)
PutObjectRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
const RequestPayer & GetRequestPayer() const
PutObjectRequest & WithObjectLockMode(ObjectLockMode &&value)
PutObjectRequest & WithChecksumAlgorithm(ChecksumAlgorithm &&value)
PutObjectRequest & WithExpires(const Aws::Utils::DateTime &value)
const Aws::String & GetCacheControl() const
const ChecksumAlgorithm & GetChecksumAlgorithm() const
PutObjectRequest & WithGrantWriteACP(const char *value)
PutObjectRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
PutObjectRequest & WithCacheControl(const Aws::String &value)
const Aws::String & GetContentDisposition() const
void SetChecksumSHA1(const Aws::String &value)
void SetSSECustomerKeyMD5(const Aws::String &value)
PutObjectRequest & WithGrantFullControl(const Aws::String &value)
void SetBucket(const char *value)
const ObjectCannedACL & GetACL() const
void SetContentEncoding(const char *value)
PutObjectRequest & WithACL(ObjectCannedACL &&value)
void SetExpectedBucketOwner(const char *value)
void SetChecksumSHA1(Aws::String &&value)
PutObjectRequest & WithChecksumSHA256(const Aws::String &value)
void SetExpires(Aws::Utils::DateTime &&value)
PutObjectRequest & WithSSEKMSKeyId(const char *value)
void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime &value)
void SetSSEKMSEncryptionContext(Aws::String &&value)
void SetContentEncoding(Aws::String &&value)
PutObjectRequest & WithContentLength(long long value)
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