AWS SDK for C++  1.8.71
AWS SDK for C++
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>
10 #include <aws/core/utils/Array.h>
19 #include <utility>
20 
21 namespace Aws
22 {
23 namespace Http
24 {
25  class URI;
26 } //namespace Http
27 namespace S3
28 {
29 namespace 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 "PutObject"; }
44 
45  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
46 
47  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
48 
49 
55  inline const ObjectCannedACL& GetACL() const{ return m_aCL; }
56 
62  inline bool ACLHasBeenSet() const { return m_aCLHasBeenSet; }
63 
69  inline void SetACL(const ObjectCannedACL& value) { m_aCLHasBeenSet = true; m_aCL = value; }
70 
76  inline void SetACL(ObjectCannedACL&& value) { m_aCLHasBeenSet = true; m_aCL = std::move(value); }
77 
83  inline PutObjectRequest& WithACL(const ObjectCannedACL& value) { SetACL(value); return *this;}
84 
90  inline PutObjectRequest& WithACL(ObjectCannedACL&& value) { SetACL(std::move(value)); return *this;}
91 
92 
114  inline const Aws::String& GetBucket() const{ return m_bucket; }
115 
137  inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
138 
160  inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
161 
183  inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
184 
206  inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
207 
229  inline PutObjectRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
230 
252  inline PutObjectRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
253 
275  inline PutObjectRequest& WithBucket(const char* value) { SetBucket(value); return *this;}
276 
277 
283  inline const Aws::String& GetCacheControl() const{ return m_cacheControl; }
284 
290  inline bool CacheControlHasBeenSet() const { return m_cacheControlHasBeenSet; }
291 
297  inline void SetCacheControl(const Aws::String& value) { m_cacheControlHasBeenSet = true; m_cacheControl = value; }
298 
304  inline void SetCacheControl(Aws::String&& value) { m_cacheControlHasBeenSet = true; m_cacheControl = std::move(value); }
305 
311  inline void SetCacheControl(const char* value) { m_cacheControlHasBeenSet = true; m_cacheControl.assign(value); }
312 
318  inline PutObjectRequest& WithCacheControl(const Aws::String& value) { SetCacheControl(value); return *this;}
319 
325  inline PutObjectRequest& WithCacheControl(Aws::String&& value) { SetCacheControl(std::move(value)); return *this;}
326 
332  inline PutObjectRequest& WithCacheControl(const char* value) { SetCacheControl(value); return *this;}
333 
334 
340  inline const Aws::String& GetContentDisposition() const{ return m_contentDisposition; }
341 
347  inline bool ContentDispositionHasBeenSet() const { return m_contentDispositionHasBeenSet; }
348 
354  inline void SetContentDisposition(const Aws::String& value) { m_contentDispositionHasBeenSet = true; m_contentDisposition = value; }
355 
361  inline void SetContentDisposition(Aws::String&& value) { m_contentDispositionHasBeenSet = true; m_contentDisposition = std::move(value); }
362 
368  inline void SetContentDisposition(const char* value) { m_contentDispositionHasBeenSet = true; m_contentDisposition.assign(value); }
369 
375  inline PutObjectRequest& WithContentDisposition(const Aws::String& value) { SetContentDisposition(value); return *this;}
376 
382  inline PutObjectRequest& WithContentDisposition(Aws::String&& value) { SetContentDisposition(std::move(value)); return *this;}
383 
389  inline PutObjectRequest& WithContentDisposition(const char* value) { SetContentDisposition(value); return *this;}
390 
391 
398  inline const Aws::String& GetContentEncoding() const{ return m_contentEncoding; }
399 
406  inline bool ContentEncodingHasBeenSet() const { return m_contentEncodingHasBeenSet; }
407 
414  inline void SetContentEncoding(const Aws::String& value) { m_contentEncodingHasBeenSet = true; m_contentEncoding = value; }
415 
422  inline void SetContentEncoding(Aws::String&& value) { m_contentEncodingHasBeenSet = true; m_contentEncoding = std::move(value); }
423 
430  inline void SetContentEncoding(const char* value) { m_contentEncodingHasBeenSet = true; m_contentEncoding.assign(value); }
431 
438  inline PutObjectRequest& WithContentEncoding(const Aws::String& value) { SetContentEncoding(value); return *this;}
439 
446  inline PutObjectRequest& WithContentEncoding(Aws::String&& value) { SetContentEncoding(std::move(value)); return *this;}
447 
454  inline PutObjectRequest& WithContentEncoding(const char* value) { SetContentEncoding(value); return *this;}
455 
456 
460  inline const Aws::String& GetContentLanguage() const{ return m_contentLanguage; }
461 
465  inline bool ContentLanguageHasBeenSet() const { return m_contentLanguageHasBeenSet; }
466 
470  inline void SetContentLanguage(const Aws::String& value) { m_contentLanguageHasBeenSet = true; m_contentLanguage = value; }
471 
475  inline void SetContentLanguage(Aws::String&& value) { m_contentLanguageHasBeenSet = true; m_contentLanguage = std::move(value); }
476 
480  inline void SetContentLanguage(const char* value) { m_contentLanguageHasBeenSet = true; m_contentLanguage.assign(value); }
481 
485  inline PutObjectRequest& WithContentLanguage(const Aws::String& value) { SetContentLanguage(value); return *this;}
486 
490  inline PutObjectRequest& WithContentLanguage(Aws::String&& value) { SetContentLanguage(std::move(value)); return *this;}
491 
495  inline PutObjectRequest& WithContentLanguage(const char* value) { SetContentLanguage(value); return *this;}
496 
497 
503  inline long long GetContentLength() const{ return m_contentLength; }
504 
510  inline bool ContentLengthHasBeenSet() const { return m_contentLengthHasBeenSet; }
511 
517  inline void SetContentLength(long long value) { m_contentLengthHasBeenSet = true; m_contentLength = value; }
518 
524  inline PutObjectRequest& WithContentLength(long long value) { SetContentLength(value); return *this;}
525 
526 
536  inline const Aws::String& GetContentMD5() const{ return m_contentMD5; }
537 
547  inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; }
548 
558  inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; }
559 
569  inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); }
570 
580  inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); }
581 
591  inline PutObjectRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;}
592 
602  inline PutObjectRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;}
603 
613  inline PutObjectRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;}
614 
615 
621  inline const Aws::Utils::DateTime& GetExpires() const{ return m_expires; }
622 
628  inline bool ExpiresHasBeenSet() const { return m_expiresHasBeenSet; }
629 
635  inline void SetExpires(const Aws::Utils::DateTime& value) { m_expiresHasBeenSet = true; m_expires = value; }
636 
642  inline void SetExpires(Aws::Utils::DateTime&& value) { m_expiresHasBeenSet = true; m_expires = std::move(value); }
643 
649  inline PutObjectRequest& WithExpires(const Aws::Utils::DateTime& value) { SetExpires(value); return *this;}
650 
656  inline PutObjectRequest& WithExpires(Aws::Utils::DateTime&& value) { SetExpires(std::move(value)); return *this;}
657 
658 
663  inline const Aws::String& GetGrantFullControl() const{ return m_grantFullControl; }
664 
669  inline bool GrantFullControlHasBeenSet() const { return m_grantFullControlHasBeenSet; }
670 
675  inline void SetGrantFullControl(const Aws::String& value) { m_grantFullControlHasBeenSet = true; m_grantFullControl = value; }
676 
681  inline void SetGrantFullControl(Aws::String&& value) { m_grantFullControlHasBeenSet = true; m_grantFullControl = std::move(value); }
682 
687  inline void SetGrantFullControl(const char* value) { m_grantFullControlHasBeenSet = true; m_grantFullControl.assign(value); }
688 
693  inline PutObjectRequest& WithGrantFullControl(const Aws::String& value) { SetGrantFullControl(value); return *this;}
694 
699  inline PutObjectRequest& WithGrantFullControl(Aws::String&& value) { SetGrantFullControl(std::move(value)); return *this;}
700 
705  inline PutObjectRequest& WithGrantFullControl(const char* value) { SetGrantFullControl(value); return *this;}
706 
707 
712  inline const Aws::String& GetGrantRead() const{ return m_grantRead; }
713 
718  inline bool GrantReadHasBeenSet() const { return m_grantReadHasBeenSet; }
719 
724  inline void SetGrantRead(const Aws::String& value) { m_grantReadHasBeenSet = true; m_grantRead = value; }
725 
730  inline void SetGrantRead(Aws::String&& value) { m_grantReadHasBeenSet = true; m_grantRead = std::move(value); }
731 
736  inline void SetGrantRead(const char* value) { m_grantReadHasBeenSet = true; m_grantRead.assign(value); }
737 
742  inline PutObjectRequest& WithGrantRead(const Aws::String& value) { SetGrantRead(value); return *this;}
743 
748  inline PutObjectRequest& WithGrantRead(Aws::String&& value) { SetGrantRead(std::move(value)); return *this;}
749 
754  inline PutObjectRequest& WithGrantRead(const char* value) { SetGrantRead(value); return *this;}
755 
756 
761  inline const Aws::String& GetGrantReadACP() const{ return m_grantReadACP; }
762 
767  inline bool GrantReadACPHasBeenSet() const { return m_grantReadACPHasBeenSet; }
768 
773  inline void SetGrantReadACP(const Aws::String& value) { m_grantReadACPHasBeenSet = true; m_grantReadACP = value; }
774 
779  inline void SetGrantReadACP(Aws::String&& value) { m_grantReadACPHasBeenSet = true; m_grantReadACP = std::move(value); }
780 
785  inline void SetGrantReadACP(const char* value) { m_grantReadACPHasBeenSet = true; m_grantReadACP.assign(value); }
786 
791  inline PutObjectRequest& WithGrantReadACP(const Aws::String& value) { SetGrantReadACP(value); return *this;}
792 
797  inline PutObjectRequest& WithGrantReadACP(Aws::String&& value) { SetGrantReadACP(std::move(value)); return *this;}
798 
803  inline PutObjectRequest& WithGrantReadACP(const char* value) { SetGrantReadACP(value); return *this;}
804 
805 
810  inline const Aws::String& GetGrantWriteACP() const{ return m_grantWriteACP; }
811 
816  inline bool GrantWriteACPHasBeenSet() const { return m_grantWriteACPHasBeenSet; }
817 
822  inline void SetGrantWriteACP(const Aws::String& value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP = value; }
823 
828  inline void SetGrantWriteACP(Aws::String&& value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP = std::move(value); }
829 
834  inline void SetGrantWriteACP(const char* value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP.assign(value); }
835 
840  inline PutObjectRequest& WithGrantWriteACP(const Aws::String& value) { SetGrantWriteACP(value); return *this;}
841 
846  inline PutObjectRequest& WithGrantWriteACP(Aws::String&& value) { SetGrantWriteACP(std::move(value)); return *this;}
847 
852  inline PutObjectRequest& WithGrantWriteACP(const char* value) { SetGrantWriteACP(value); return *this;}
853 
854 
858  inline const Aws::String& GetKey() const{ return m_key; }
859 
863  inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
864 
868  inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
869 
873  inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
874 
878  inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
879 
883  inline PutObjectRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;}
884 
888  inline PutObjectRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
889 
893  inline PutObjectRequest& WithKey(const char* value) { SetKey(value); return *this;}
894 
895 
899  inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const{ return m_metadata; }
900 
904  inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
905 
909  inline void SetMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_metadataHasBeenSet = true; m_metadata = value; }
910 
914  inline void SetMetadata(Aws::Map<Aws::String, Aws::String>&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); }
915 
919  inline PutObjectRequest& WithMetadata(const Aws::Map<Aws::String, Aws::String>& value) { SetMetadata(value); return *this;}
920 
924  inline PutObjectRequest& WithMetadata(Aws::Map<Aws::String, Aws::String>&& value) { SetMetadata(std::move(value)); return *this;}
925 
929  inline PutObjectRequest& AddMetadata(const Aws::String& key, const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, value); return *this; }
930 
934  inline PutObjectRequest& AddMetadata(Aws::String&& key, const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), value); return *this; }
935 
939  inline PutObjectRequest& AddMetadata(const Aws::String& key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, std::move(value)); return *this; }
940 
944  inline PutObjectRequest& AddMetadata(Aws::String&& key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), std::move(value)); return *this; }
945 
949  inline PutObjectRequest& AddMetadata(const char* key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, std::move(value)); return *this; }
950 
954  inline PutObjectRequest& AddMetadata(Aws::String&& key, const char* value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), value); return *this; }
955 
959  inline PutObjectRequest& AddMetadata(const char* key, const char* value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, value); return *this; }
960 
961 
966  inline const ServerSideEncryption& GetServerSideEncryption() const{ return m_serverSideEncryption; }
967 
972  inline bool ServerSideEncryptionHasBeenSet() const { return m_serverSideEncryptionHasBeenSet; }
973 
978  inline void SetServerSideEncryption(const ServerSideEncryption& value) { m_serverSideEncryptionHasBeenSet = true; m_serverSideEncryption = value; }
979 
984  inline void SetServerSideEncryption(ServerSideEncryption&& value) { m_serverSideEncryptionHasBeenSet = true; m_serverSideEncryption = std::move(value); }
985 
990  inline PutObjectRequest& WithServerSideEncryption(const ServerSideEncryption& value) { SetServerSideEncryption(value); return *this;}
991 
996  inline PutObjectRequest& WithServerSideEncryption(ServerSideEncryption&& value) { SetServerSideEncryption(std::move(value)); return *this;}
997 
998 
1008  inline const StorageClass& GetStorageClass() const{ return m_storageClass; }
1009 
1019  inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; }
1020 
1030  inline void SetStorageClass(const StorageClass& value) { m_storageClassHasBeenSet = true; m_storageClass = value; }
1031 
1041  inline void SetStorageClass(StorageClass&& value) { m_storageClassHasBeenSet = true; m_storageClass = std::move(value); }
1042 
1052  inline PutObjectRequest& WithStorageClass(const StorageClass& value) { SetStorageClass(value); return *this;}
1053 
1063  inline PutObjectRequest& WithStorageClass(StorageClass&& value) { SetStorageClass(std::move(value)); return *this;}
1064 
1065 
1084  inline const Aws::String& GetWebsiteRedirectLocation() const{ return m_websiteRedirectLocation; }
1085 
1104  inline bool WebsiteRedirectLocationHasBeenSet() const { return m_websiteRedirectLocationHasBeenSet; }
1105 
1124  inline void SetWebsiteRedirectLocation(const Aws::String& value) { m_websiteRedirectLocationHasBeenSet = true; m_websiteRedirectLocation = value; }
1125 
1144  inline void SetWebsiteRedirectLocation(Aws::String&& value) { m_websiteRedirectLocationHasBeenSet = true; m_websiteRedirectLocation = std::move(value); }
1145 
1164  inline void SetWebsiteRedirectLocation(const char* value) { m_websiteRedirectLocationHasBeenSet = true; m_websiteRedirectLocation.assign(value); }
1165 
1184  inline PutObjectRequest& WithWebsiteRedirectLocation(const Aws::String& value) { SetWebsiteRedirectLocation(value); return *this;}
1185 
1204  inline PutObjectRequest& WithWebsiteRedirectLocation(Aws::String&& value) { SetWebsiteRedirectLocation(std::move(value)); return *this;}
1205 
1224  inline PutObjectRequest& WithWebsiteRedirectLocation(const char* value) { SetWebsiteRedirectLocation(value); return *this;}
1225 
1226 
1231  inline const Aws::String& GetSSECustomerAlgorithm() const{ return m_sSECustomerAlgorithm; }
1232 
1237  inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; }
1238 
1243  inline void SetSSECustomerAlgorithm(const Aws::String& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = value; }
1244 
1249  inline void SetSSECustomerAlgorithm(Aws::String&& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = std::move(value); }
1250 
1255  inline void SetSSECustomerAlgorithm(const char* value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm.assign(value); }
1256 
1261  inline PutObjectRequest& WithSSECustomerAlgorithm(const Aws::String& value) { SetSSECustomerAlgorithm(value); return *this;}
1262 
1267  inline PutObjectRequest& WithSSECustomerAlgorithm(Aws::String&& value) { SetSSECustomerAlgorithm(std::move(value)); return *this;}
1268 
1273  inline PutObjectRequest& WithSSECustomerAlgorithm(const char* value) { SetSSECustomerAlgorithm(value); return *this;}
1274 
1275 
1283  inline const Aws::String& GetSSECustomerKey() const{ return m_sSECustomerKey; }
1284 
1292  inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; }
1293 
1301  inline void SetSSECustomerKey(const Aws::String& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = value; }
1302 
1310  inline void SetSSECustomerKey(Aws::String&& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = std::move(value); }
1311 
1319  inline void SetSSECustomerKey(const char* value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey.assign(value); }
1320 
1328  inline PutObjectRequest& WithSSECustomerKey(const Aws::String& value) { SetSSECustomerKey(value); return *this;}
1329 
1337  inline PutObjectRequest& WithSSECustomerKey(Aws::String&& value) { SetSSECustomerKey(std::move(value)); return *this;}
1338 
1346  inline PutObjectRequest& WithSSECustomerKey(const char* value) { SetSSECustomerKey(value); return *this;}
1347 
1348 
1354  inline const Aws::String& GetSSECustomerKeyMD5() const{ return m_sSECustomerKeyMD5; }
1355 
1361  inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; }
1362 
1368  inline void SetSSECustomerKeyMD5(const Aws::String& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = value; }
1369 
1375  inline void SetSSECustomerKeyMD5(Aws::String&& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = std::move(value); }
1376 
1382  inline void SetSSECustomerKeyMD5(const char* value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5.assign(value); }
1383 
1389  inline PutObjectRequest& WithSSECustomerKeyMD5(const Aws::String& value) { SetSSECustomerKeyMD5(value); return *this;}
1390 
1396  inline PutObjectRequest& WithSSECustomerKeyMD5(Aws::String&& value) { SetSSECustomerKeyMD5(std::move(value)); return *this;}
1397 
1403  inline PutObjectRequest& WithSSECustomerKeyMD5(const char* value) { SetSSECustomerKeyMD5(value); return *this;}
1404 
1405 
1418  inline const Aws::String& GetSSEKMSKeyId() const{ return m_sSEKMSKeyId; }
1419 
1432  inline bool SSEKMSKeyIdHasBeenSet() const { return m_sSEKMSKeyIdHasBeenSet; }
1433 
1446  inline void SetSSEKMSKeyId(const Aws::String& value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId = value; }
1447 
1460  inline void SetSSEKMSKeyId(Aws::String&& value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId = std::move(value); }
1461 
1474  inline void SetSSEKMSKeyId(const char* value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId.assign(value); }
1475 
1488  inline PutObjectRequest& WithSSEKMSKeyId(const Aws::String& value) { SetSSEKMSKeyId(value); return *this;}
1489 
1502  inline PutObjectRequest& WithSSEKMSKeyId(Aws::String&& value) { SetSSEKMSKeyId(std::move(value)); return *this;}
1503 
1516  inline PutObjectRequest& WithSSEKMSKeyId(const char* value) { SetSSEKMSKeyId(value); return *this;}
1517 
1518 
1524  inline const Aws::String& GetSSEKMSEncryptionContext() const{ return m_sSEKMSEncryptionContext; }
1525 
1531  inline bool SSEKMSEncryptionContextHasBeenSet() const { return m_sSEKMSEncryptionContextHasBeenSet; }
1532 
1538  inline void SetSSEKMSEncryptionContext(const Aws::String& value) { m_sSEKMSEncryptionContextHasBeenSet = true; m_sSEKMSEncryptionContext = value; }
1539 
1545  inline void SetSSEKMSEncryptionContext(Aws::String&& value) { m_sSEKMSEncryptionContextHasBeenSet = true; m_sSEKMSEncryptionContext = std::move(value); }
1546 
1552  inline void SetSSEKMSEncryptionContext(const char* value) { m_sSEKMSEncryptionContextHasBeenSet = true; m_sSEKMSEncryptionContext.assign(value); }
1553 
1559  inline PutObjectRequest& WithSSEKMSEncryptionContext(const Aws::String& value) { SetSSEKMSEncryptionContext(value); return *this;}
1560 
1566  inline PutObjectRequest& WithSSEKMSEncryptionContext(Aws::String&& value) { SetSSEKMSEncryptionContext(std::move(value)); return *this;}
1567 
1573  inline PutObjectRequest& WithSSEKMSEncryptionContext(const char* value) { SetSSEKMSEncryptionContext(value); return *this;}
1574 
1575 
1576 
1577  inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; }
1578 
1579 
1580  inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; }
1581 
1582 
1583  inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; }
1584 
1585 
1586  inline void SetRequestPayer(RequestPayer&& value) { m_requestPayerHasBeenSet = true; m_requestPayer = std::move(value); }
1587 
1588 
1589  inline PutObjectRequest& WithRequestPayer(const RequestPayer& value) { SetRequestPayer(value); return *this;}
1590 
1591 
1592  inline PutObjectRequest& WithRequestPayer(RequestPayer&& value) { SetRequestPayer(std::move(value)); return *this;}
1593 
1594 
1599  inline const Aws::String& GetTagging() const{ return m_tagging; }
1600 
1605  inline bool TaggingHasBeenSet() const { return m_taggingHasBeenSet; }
1606 
1611  inline void SetTagging(const Aws::String& value) { m_taggingHasBeenSet = true; m_tagging = value; }
1612 
1617  inline void SetTagging(Aws::String&& value) { m_taggingHasBeenSet = true; m_tagging = std::move(value); }
1618 
1623  inline void SetTagging(const char* value) { m_taggingHasBeenSet = true; m_tagging.assign(value); }
1624 
1629  inline PutObjectRequest& WithTagging(const Aws::String& value) { SetTagging(value); return *this;}
1630 
1635  inline PutObjectRequest& WithTagging(Aws::String&& value) { SetTagging(std::move(value)); return *this;}
1636 
1641  inline PutObjectRequest& WithTagging(const char* value) { SetTagging(value); return *this;}
1642 
1643 
1647  inline const ObjectLockMode& GetObjectLockMode() const{ return m_objectLockMode; }
1648 
1652  inline bool ObjectLockModeHasBeenSet() const { return m_objectLockModeHasBeenSet; }
1653 
1657  inline void SetObjectLockMode(const ObjectLockMode& value) { m_objectLockModeHasBeenSet = true; m_objectLockMode = value; }
1658 
1662  inline void SetObjectLockMode(ObjectLockMode&& value) { m_objectLockModeHasBeenSet = true; m_objectLockMode = std::move(value); }
1663 
1667  inline PutObjectRequest& WithObjectLockMode(const ObjectLockMode& value) { SetObjectLockMode(value); return *this;}
1668 
1672  inline PutObjectRequest& WithObjectLockMode(ObjectLockMode&& value) { SetObjectLockMode(std::move(value)); return *this;}
1673 
1674 
1678  inline const Aws::Utils::DateTime& GetObjectLockRetainUntilDate() const{ return m_objectLockRetainUntilDate; }
1679 
1683  inline bool ObjectLockRetainUntilDateHasBeenSet() const { return m_objectLockRetainUntilDateHasBeenSet; }
1684 
1688  inline void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = value; }
1689 
1693  inline void SetObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = std::move(value); }
1694 
1698  inline PutObjectRequest& WithObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { SetObjectLockRetainUntilDate(value); return *this;}
1699 
1703  inline PutObjectRequest& WithObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { SetObjectLockRetainUntilDate(std::move(value)); return *this;}
1704 
1705 
1712  inline const ObjectLockLegalHoldStatus& GetObjectLockLegalHoldStatus() const{ return m_objectLockLegalHoldStatus; }
1713 
1720  inline bool ObjectLockLegalHoldStatusHasBeenSet() const { return m_objectLockLegalHoldStatusHasBeenSet; }
1721 
1728  inline void SetObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = value; }
1729 
1736  inline void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = std::move(value); }
1737 
1744  inline PutObjectRequest& WithObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { SetObjectLockLegalHoldStatus(value); return *this;}
1745 
1752  inline PutObjectRequest& WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { SetObjectLockLegalHoldStatus(std::move(value)); return *this;}
1753 
1754 
1760  inline const Aws::String& GetExpectedBucketOwner() const{ return m_expectedBucketOwner; }
1761 
1767  inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; }
1768 
1774  inline void SetExpectedBucketOwner(const Aws::String& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = value; }
1775 
1781  inline void SetExpectedBucketOwner(Aws::String&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::move(value); }
1782 
1788  inline void SetExpectedBucketOwner(const char* value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner.assign(value); }
1789 
1795  inline PutObjectRequest& WithExpectedBucketOwner(const Aws::String& value) { SetExpectedBucketOwner(value); return *this;}
1796 
1802  inline PutObjectRequest& WithExpectedBucketOwner(Aws::String&& value) { SetExpectedBucketOwner(std::move(value)); return *this;}
1803 
1809  inline PutObjectRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;}
1810 
1811 
1812 
1813  inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; }
1814 
1815 
1816  inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; }
1817 
1818 
1819  inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; }
1820 
1821 
1822  inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); }
1823 
1824 
1825  inline PutObjectRequest& WithCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { SetCustomizedAccessLogTag(value); return *this;}
1826 
1827 
1828  inline PutObjectRequest& WithCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;}
1829 
1830 
1831  inline PutObjectRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
1832 
1833 
1834  inline PutObjectRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
1835 
1836 
1837  inline PutObjectRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
1838 
1839 
1840  inline PutObjectRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; }
1841 
1842 
1843  inline PutObjectRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
1844 
1845 
1846  inline PutObjectRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
1847 
1848 
1849  inline PutObjectRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
1850 
1851  private:
1852 
1853  ObjectCannedACL m_aCL;
1854  bool m_aCLHasBeenSet;
1855 
1856 
1857  Aws::String m_bucket;
1858  bool m_bucketHasBeenSet;
1859 
1860  Aws::String m_cacheControl;
1861  bool m_cacheControlHasBeenSet;
1862 
1863  Aws::String m_contentDisposition;
1864  bool m_contentDispositionHasBeenSet;
1865 
1866  Aws::String m_contentEncoding;
1867  bool m_contentEncodingHasBeenSet;
1868 
1869  Aws::String m_contentLanguage;
1870  bool m_contentLanguageHasBeenSet;
1871 
1872  long long m_contentLength;
1873  bool m_contentLengthHasBeenSet;
1874 
1875  Aws::String m_contentMD5;
1876  bool m_contentMD5HasBeenSet;
1877 
1878  Aws::Utils::DateTime m_expires;
1879  bool m_expiresHasBeenSet;
1880 
1881  Aws::String m_grantFullControl;
1882  bool m_grantFullControlHasBeenSet;
1883 
1884  Aws::String m_grantRead;
1885  bool m_grantReadHasBeenSet;
1886 
1887  Aws::String m_grantReadACP;
1888  bool m_grantReadACPHasBeenSet;
1889 
1890  Aws::String m_grantWriteACP;
1891  bool m_grantWriteACPHasBeenSet;
1892 
1893  Aws::String m_key;
1894  bool m_keyHasBeenSet;
1895 
1897  bool m_metadataHasBeenSet;
1898 
1899  ServerSideEncryption m_serverSideEncryption;
1900  bool m_serverSideEncryptionHasBeenSet;
1901 
1902  StorageClass m_storageClass;
1903  bool m_storageClassHasBeenSet;
1904 
1905  Aws::String m_websiteRedirectLocation;
1906  bool m_websiteRedirectLocationHasBeenSet;
1907 
1908  Aws::String m_sSECustomerAlgorithm;
1909  bool m_sSECustomerAlgorithmHasBeenSet;
1910 
1911  Aws::String m_sSECustomerKey;
1912  bool m_sSECustomerKeyHasBeenSet;
1913 
1914  Aws::String m_sSECustomerKeyMD5;
1915  bool m_sSECustomerKeyMD5HasBeenSet;
1916 
1917  Aws::String m_sSEKMSKeyId;
1918  bool m_sSEKMSKeyIdHasBeenSet;
1919 
1920  Aws::String m_sSEKMSEncryptionContext;
1921  bool m_sSEKMSEncryptionContextHasBeenSet;
1922 
1923  RequestPayer m_requestPayer;
1924  bool m_requestPayerHasBeenSet;
1925 
1926  Aws::String m_tagging;
1927  bool m_taggingHasBeenSet;
1928 
1929  ObjectLockMode m_objectLockMode;
1930  bool m_objectLockModeHasBeenSet;
1931 
1932  Aws::Utils::DateTime m_objectLockRetainUntilDate;
1933  bool m_objectLockRetainUntilDateHasBeenSet;
1934 
1935  ObjectLockLegalHoldStatus m_objectLockLegalHoldStatus;
1936  bool m_objectLockLegalHoldStatusHasBeenSet;
1937 
1938  Aws::String m_expectedBucketOwner;
1939  bool m_expectedBucketOwnerHasBeenSet;
1940 
1941  Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag;
1942  bool m_customizedAccessLogTagHasBeenSet;
1943  };
1944 
1945 } // namespace Model
1946 } // namespace S3
1947 } // namespace Aws
void SetServerSideEncryption(const ServerSideEncryption &value)
const Aws::String & GetSSECustomerKeyMD5() const
PutObjectRequest & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
PutObjectRequest & WithServerSideEncryption(const ServerSideEncryption &value)
const Aws::String & GetBucket() const
PutObjectRequest & WithObjectLockRetainUntilDate(const Aws::Utils::DateTime &value)
PutObjectRequest & WithContentMD5(Aws::String &&value)
PutObjectRequest & WithWebsiteRedirectLocation(const char *value)
PutObjectRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
void SetTagging(Aws::String &&value)
void SetWebsiteRedirectLocation(const char *value)
PutObjectRequest & WithGrantWriteACP(const char *value)
PutObjectRequest & WithSSECustomerKey(Aws::String &&value)
PutObjectRequest & WithExpires(const Aws::Utils::DateTime &value)
const Aws::String & GetSSECustomerKey() const
const Aws::String & GetContentLanguage() const
void SetContentLength(long long value)
void SetSSECustomerKeyMD5(const char *value)
const Aws::String & GetContentEncoding() const
PutObjectRequest & WithSSEKMSEncryptionContext(const Aws::String &value)
const Aws::String & GetSSEKMSKeyId() const
void SetObjectLockMode(const ObjectLockMode &value)
void SetBucket(Aws::String &&value)
PutObjectRequest & WithWebsiteRedirectLocation(const Aws::String &value)
PutObjectRequest & WithGrantWriteACP(const Aws::String &value)
void SetExpectedBucketOwner(const Aws::String &value)
void SetRequestPayer(const RequestPayer &value)
void SetSSEKMSKeyId(const char *value)
const Aws::String & GetKey() const
void SetACL(const ObjectCannedACL &value)
const Aws::String & GetGrantRead() const
void SetACL(ObjectCannedACL &&value)
void SetGrantWriteACP(const Aws::String &value)
void SetContentEncoding(const char *value)
PutObjectRequest & WithObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus &value)
void SetKey(const char *value)
PutObjectRequest & WithStorageClass(StorageClass &&value)
PutObjectRequest & WithObjectLockRetainUntilDate(Aws::Utils::DateTime &&value)
PutObjectRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
const Aws::String & GetGrantWriteACP() const
PutObjectRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
void SetExpectedBucketOwner(Aws::String &&value)
PutObjectRequest & WithKey(const Aws::String &value)
void SetSSECustomerAlgorithm(const Aws::String &value)
void SetGrantWriteACP(Aws::String &&value)
PutObjectRequest & WithCacheControl(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
void SetGrantReadACP(Aws::String &&value)
const Aws::Utils::DateTime & GetExpires() const
void SetSSECustomerKey(Aws::String &&value)
void SetBucket(const Aws::String &value)
void SetContentEncoding(Aws::String &&value)
PutObjectRequest & WithContentEncoding(const char *value)
void SetSSEKMSEncryptionContext(const char *value)
void SetSSEKMSEncryptionContext(Aws::String &&value)
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
PutObjectRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetContentMD5() const
void SetTagging(const char *value)
void SetWebsiteRedirectLocation(const Aws::String &value)
PutObjectRequest & WithCacheControl(Aws::String &&value)
void SetObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus &value)
PutObjectRequest & WithExpires(Aws::Utils::DateTime &&value)
PutObjectRequest & WithSSEKMSKeyId(const char *value)
PutObjectRequest & WithTagging(const char *value)
const Aws::String & GetTagging() const
PutObjectRequest & WithCacheControl(const Aws::String &value)
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
PutObjectRequest & WithContentLength(long long value)
void SetCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
void SetCacheControl(const Aws::String &value)
void SetGrantRead(const Aws::String &value)
PutObjectRequest & AddMetadata(Aws::String &&key, const Aws::String &value)
void SetKey(Aws::String &&value)
PutObjectRequest & AddMetadata(const Aws::String &key, Aws::String &&value)
PutObjectRequest & WithBucket(const char *value)
const ObjectLockMode & GetObjectLockMode() const
const ObjectLockLegalHoldStatus & GetObjectLockLegalHoldStatus() const
const ObjectCannedACL & GetACL() const
const Aws::String & GetExpectedBucketOwner() const
void SetContentLanguage(Aws::String &&value)
const ServerSideEncryption & GetServerSideEncryption() const
void SetSSECustomerAlgorithm(Aws::String &&value)
PutObjectRequest & WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus &&value)
PutObjectRequest & AddMetadata(const char *key, Aws::String &&value)
void SetGrantFullControl(const char *value)
PutObjectRequest & WithGrantRead(const char *value)
void SetContentMD5(const char *value)
PutObjectRequest & WithContentEncoding(Aws::String &&value)
PutObjectRequest & WithObjectLockMode(const ObjectLockMode &value)
PutObjectRequest & WithSSEKMSKeyId(const Aws::String &value)
PutObjectRequest & WithGrantReadACP(Aws::String &&value)
void SetWebsiteRedirectLocation(Aws::String &&value)
const Aws::Utils::DateTime & GetObjectLockRetainUntilDate() const
void SetSSECustomerKey(const char *value)
void SetContentLanguage(const Aws::String &value)
void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus &&value)
PutObjectRequest & WithSSECustomerKeyMD5(Aws::String &&value)
const Aws::String & GetSSECustomerAlgorithm() const
const Aws::String & GetWebsiteRedirectLocation() const
void SetRequestPayer(RequestPayer &&value)
PutObjectRequest & WithGrantFullControl(Aws::String &&value)
PutObjectRequest & WithGrantRead(const Aws::String &value)
PutObjectRequest & WithContentDisposition(const Aws::String &value)
void SetCacheControl(Aws::String &&value)
PutObjectRequest & WithContentMD5(const char *value)
void SetGrantWriteACP(const char *value)
void SetExpires(Aws::Utils::DateTime &&value)
void SetContentDisposition(Aws::String &&value)
const Aws::String & GetSSEKMSEncryptionContext() const
const StorageClass & GetStorageClass() const
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
PutObjectRequest & WithSSECustomerAlgorithm(Aws::String &&value)
void SetContentMD5(const Aws::String &value)
PutObjectRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
PutObjectRequest & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
PutObjectRequest & AddMetadata(Aws::String &&key, Aws::String &&value)
PutObjectRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
PutObjectRequest & WithSSECustomerKeyMD5(const Aws::String &value)
PutObjectRequest & WithRequestPayer(RequestPayer &&value)
const RequestPayer & GetRequestPayer() const
PutObjectRequest & WithExpectedBucketOwner(const char *value)
PutObjectRequest & WithGrantFullControl(const Aws::String &value)
PutObjectRequest & WithBucket(const Aws::String &value)
PutObjectRequest & WithObjectLockMode(ObjectLockMode &&value)
PutObjectRequest & AddMetadata(const char *key, const char *value)
PutObjectRequest & WithSSECustomerKeyMD5(const char *value)
void SetGrantRead(Aws::String &&value)
void SetSSECustomerKey(const Aws::String &value)
void SetContentEncoding(const Aws::String &value)
PutObjectRequest & WithKey(const char *value)
void SetContentMD5(Aws::String &&value)
void SetGrantFullControl(const Aws::String &value)
PutObjectRequest & WithExpectedBucketOwner(const Aws::String &value)
void SetBucket(const char *value)
PutObjectRequest & WithACL(ObjectCannedACL &&value)
PutObjectRequest & WithContentEncoding(const Aws::String &value)
PutObjectRequest & WithStorageClass(const StorageClass &value)
void SetGrantReadACP(const Aws::String &value)
PutObjectRequest & WithContentLanguage(const char *value)
void SetSSEKMSKeyId(const Aws::String &value)
PutObjectRequest & WithTagging(const Aws::String &value)
void SetSSEKMSKeyId(Aws::String &&value)
const Aws::String & GetGrantReadACP() const
void SetContentDisposition(const char *value)
PutObjectRequest & WithServerSideEncryption(ServerSideEncryption &&value)
PutObjectRequest & WithGrantWriteACP(Aws::String &&value)
void SetContentLanguage(const char *value)
PutObjectRequest & WithGrantFullControl(const char *value)
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
virtual const char * GetServiceRequestName() const override
void SetContentDisposition(const Aws::String &value)
void SetObjectLockRetainUntilDate(Aws::Utils::DateTime &&value)
void SetGrantReadACP(const char *value)
const Aws::String & GetCacheControl() const
void SetTagging(const Aws::String &value)
PutObjectRequest & WithBucket(Aws::String &&value)
void SetCacheControl(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
PutObjectRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
void SetExpectedBucketOwner(const char *value)
PutObjectRequest & AddMetadata(const Aws::String &key, const Aws::String &value)
PutObjectRequest & WithContentDisposition(Aws::String &&value)
void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime &value)
PutObjectRequest & WithGrantReadACP(const Aws::String &value)
PutObjectRequest & WithACL(const ObjectCannedACL &value)
PutObjectRequest & WithSSECustomerAlgorithm(const char *value)
void SetCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
PutObjectRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
void SetSSEKMSEncryptionContext(const Aws::String &value)
PutObjectRequest & WithWebsiteRedirectLocation(Aws::String &&value)
void SetKey(const Aws::String &value)
PutObjectRequest & WithGrantRead(Aws::String &&value)
PutObjectRequest & WithContentLanguage(Aws::String &&value)
void SetExpires(const Aws::Utils::DateTime &value)
PutObjectRequest & AddMetadata(Aws::String &&key, const char *value)
const Aws::String & GetContentDisposition() const
void SetStorageClass(const StorageClass &value)
PutObjectRequest & WithKey(Aws::String &&value)
void SetObjectLockMode(ObjectLockMode &&value)
void SetSSECustomerKeyMD5(Aws::String &&value)
PutObjectRequest & WithGrantReadACP(const char *value)
void SetSSECustomerAlgorithm(const char *value)
PutObjectRequest & WithExpectedBucketOwner(Aws::String &&value)
PutObjectRequest & WithTagging(Aws::String &&value)
PutObjectRequest & WithSSECustomerKey(const char *value)
PutObjectRequest & WithSSEKMSEncryptionContext(const char *value)
void SetSSECustomerKeyMD5(const Aws::String &value)
PutObjectRequest & WithSSEKMSKeyId(Aws::String &&value)
PutObjectRequest & WithContentDisposition(const char *value)
void SetStorageClass(StorageClass &&value)
PutObjectRequest & WithSSECustomerAlgorithm(const Aws::String &value)
PutObjectRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
PutObjectRequest & WithContentMD5(const Aws::String &value)
void SetGrantFullControl(Aws::String &&value)
PutObjectRequest & WithContentLanguage(const Aws::String &value)
PutObjectRequest & WithSSEKMSEncryptionContext(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
void SetGrantRead(const char *value)
PutObjectRequest & WithRequestPayer(const RequestPayer &value)
const Aws::String & GetGrantFullControl() const
PutObjectRequest & WithSSECustomerKey(const Aws::String &value)
void SetServerSideEncryption(ServerSideEncryption &&value)