AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
CopyObjectRequest.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>
21#include <utility>
22
23namespace Aws
24{
25namespace Http
26{
27 class URI;
28} //namespace Http
29namespace S3
30{
31namespace Model
32{
33
37 {
38 public:
40
41 // Service request name is the Operation name which will send this request out,
42 // each operation should has unique request name, so that we can get operation's name from this request.
43 // Note: this is not true for response, multiple operations may have the same response name,
44 // so we can not get operation's name from response.
45 inline virtual const char* GetServiceRequestName() const override { return "CopyObject"; }
46
48
50
52
53 AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override;
58
63 inline const ObjectCannedACL& GetACL() const{ return m_aCL; }
64
69 inline bool ACLHasBeenSet() const { return m_aCLHasBeenSet; }
70
75 inline void SetACL(const ObjectCannedACL& value) { m_aCLHasBeenSet = true; m_aCL = value; }
76
81 inline void SetACL(ObjectCannedACL&& value) { m_aCLHasBeenSet = true; m_aCL = std::move(value); }
82
87 inline CopyObjectRequest& WithACL(const ObjectCannedACL& value) { SetACL(value); return *this;}
88
93 inline CopyObjectRequest& WithACL(ObjectCannedACL&& value) { SetACL(std::move(value)); return *this;}
94
95
115 inline const Aws::String& GetBucket() const{ return m_bucket; }
116
136 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
137
157 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
158
178 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
179
199 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
200
220 inline CopyObjectRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
221
241 inline CopyObjectRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
242
262 inline CopyObjectRequest& WithBucket(const char* value) { SetBucket(value); return *this;}
263
264
268 inline const Aws::String& GetCacheControl() const{ return m_cacheControl; }
269
273 inline bool CacheControlHasBeenSet() const { return m_cacheControlHasBeenSet; }
274
278 inline void SetCacheControl(const Aws::String& value) { m_cacheControlHasBeenSet = true; m_cacheControl = value; }
279
283 inline void SetCacheControl(Aws::String&& value) { m_cacheControlHasBeenSet = true; m_cacheControl = std::move(value); }
284
288 inline void SetCacheControl(const char* value) { m_cacheControlHasBeenSet = true; m_cacheControl.assign(value); }
289
293 inline CopyObjectRequest& WithCacheControl(const Aws::String& value) { SetCacheControl(value); return *this;}
294
298 inline CopyObjectRequest& WithCacheControl(Aws::String&& value) { SetCacheControl(std::move(value)); return *this;}
299
303 inline CopyObjectRequest& WithCacheControl(const char* value) { SetCacheControl(value); return *this;}
304
305
312 inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; }
313
320 inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; }
321
328 inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; }
329
336 inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); }
337
345
352 inline CopyObjectRequest& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;}
353
354
358 inline const Aws::String& GetContentDisposition() const{ return m_contentDisposition; }
359
363 inline bool ContentDispositionHasBeenSet() const { return m_contentDispositionHasBeenSet; }
364
368 inline void SetContentDisposition(const Aws::String& value) { m_contentDispositionHasBeenSet = true; m_contentDisposition = value; }
369
373 inline void SetContentDisposition(Aws::String&& value) { m_contentDispositionHasBeenSet = true; m_contentDisposition = std::move(value); }
374
378 inline void SetContentDisposition(const char* value) { m_contentDispositionHasBeenSet = true; m_contentDisposition.assign(value); }
379
383 inline CopyObjectRequest& WithContentDisposition(const Aws::String& value) { SetContentDisposition(value); return *this;}
384
388 inline CopyObjectRequest& WithContentDisposition(Aws::String&& value) { SetContentDisposition(std::move(value)); return *this;}
389
393 inline CopyObjectRequest& WithContentDisposition(const char* value) { SetContentDisposition(value); return *this;}
394
395
401 inline const Aws::String& GetContentEncoding() const{ return m_contentEncoding; }
402
408 inline bool ContentEncodingHasBeenSet() const { return m_contentEncodingHasBeenSet; }
409
415 inline void SetContentEncoding(const Aws::String& value) { m_contentEncodingHasBeenSet = true; m_contentEncoding = value; }
416
422 inline void SetContentEncoding(Aws::String&& value) { m_contentEncodingHasBeenSet = true; m_contentEncoding = std::move(value); }
423
429 inline void SetContentEncoding(const char* value) { m_contentEncodingHasBeenSet = true; m_contentEncoding.assign(value); }
430
436 inline CopyObjectRequest& WithContentEncoding(const Aws::String& value) { SetContentEncoding(value); return *this;}
437
443 inline CopyObjectRequest& WithContentEncoding(Aws::String&& value) { SetContentEncoding(std::move(value)); return *this;}
444
450 inline CopyObjectRequest& WithContentEncoding(const char* value) { SetContentEncoding(value); return *this;}
451
452
456 inline const Aws::String& GetContentLanguage() const{ return m_contentLanguage; }
457
461 inline bool ContentLanguageHasBeenSet() const { return m_contentLanguageHasBeenSet; }
462
466 inline void SetContentLanguage(const Aws::String& value) { m_contentLanguageHasBeenSet = true; m_contentLanguage = value; }
467
471 inline void SetContentLanguage(Aws::String&& value) { m_contentLanguageHasBeenSet = true; m_contentLanguage = std::move(value); }
472
476 inline void SetContentLanguage(const char* value) { m_contentLanguageHasBeenSet = true; m_contentLanguage.assign(value); }
477
481 inline CopyObjectRequest& WithContentLanguage(const Aws::String& value) { SetContentLanguage(value); return *this;}
482
486 inline CopyObjectRequest& WithContentLanguage(Aws::String&& value) { SetContentLanguage(std::move(value)); return *this;}
487
491 inline CopyObjectRequest& WithContentLanguage(const char* value) { SetContentLanguage(value); return *this;}
492
493
497 inline const Aws::String& GetContentType() const{ return m_contentType; }
498
502 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
503
507 inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
508
512 inline void SetContentType(Aws::String&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); }
513
517 inline void SetContentType(const char* value) { m_contentTypeHasBeenSet = true; m_contentType.assign(value); }
518
522 inline CopyObjectRequest& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
523
527 inline CopyObjectRequest& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
528
532 inline CopyObjectRequest& WithContentType(const char* value) { SetContentType(value); return *this;}
533
534
570 inline const Aws::String& GetCopySource() const{ return m_copySource; }
571
607 inline bool CopySourceHasBeenSet() const { return m_copySourceHasBeenSet; }
608
644 inline void SetCopySource(const Aws::String& value) { m_copySourceHasBeenSet = true; m_copySource = value; }
645
681 inline void SetCopySource(Aws::String&& value) { m_copySourceHasBeenSet = true; m_copySource = std::move(value); }
682
718 inline void SetCopySource(const char* value) { m_copySourceHasBeenSet = true; m_copySource.assign(value); }
719
755 inline CopyObjectRequest& WithCopySource(const Aws::String& value) { SetCopySource(value); return *this;}
756
792 inline CopyObjectRequest& WithCopySource(Aws::String&& value) { SetCopySource(std::move(value)); return *this;}
793
829 inline CopyObjectRequest& WithCopySource(const char* value) { SetCopySource(value); return *this;}
830
831
835 inline const Aws::String& GetCopySourceIfMatch() const{ return m_copySourceIfMatch; }
836
840 inline bool CopySourceIfMatchHasBeenSet() const { return m_copySourceIfMatchHasBeenSet; }
841
845 inline void SetCopySourceIfMatch(const Aws::String& value) { m_copySourceIfMatchHasBeenSet = true; m_copySourceIfMatch = value; }
846
850 inline void SetCopySourceIfMatch(Aws::String&& value) { m_copySourceIfMatchHasBeenSet = true; m_copySourceIfMatch = std::move(value); }
851
855 inline void SetCopySourceIfMatch(const char* value) { m_copySourceIfMatchHasBeenSet = true; m_copySourceIfMatch.assign(value); }
856
860 inline CopyObjectRequest& WithCopySourceIfMatch(const Aws::String& value) { SetCopySourceIfMatch(value); return *this;}
861
865 inline CopyObjectRequest& WithCopySourceIfMatch(Aws::String&& value) { SetCopySourceIfMatch(std::move(value)); return *this;}
866
870 inline CopyObjectRequest& WithCopySourceIfMatch(const char* value) { SetCopySourceIfMatch(value); return *this;}
871
872
876 inline const Aws::Utils::DateTime& GetCopySourceIfModifiedSince() const{ return m_copySourceIfModifiedSince; }
877
881 inline bool CopySourceIfModifiedSinceHasBeenSet() const { return m_copySourceIfModifiedSinceHasBeenSet; }
882
886 inline void SetCopySourceIfModifiedSince(const Aws::Utils::DateTime& value) { m_copySourceIfModifiedSinceHasBeenSet = true; m_copySourceIfModifiedSince = value; }
887
891 inline void SetCopySourceIfModifiedSince(Aws::Utils::DateTime&& value) { m_copySourceIfModifiedSinceHasBeenSet = true; m_copySourceIfModifiedSince = std::move(value); }
892
897
902
903
908 inline const Aws::String& GetCopySourceIfNoneMatch() const{ return m_copySourceIfNoneMatch; }
909
914 inline bool CopySourceIfNoneMatchHasBeenSet() const { return m_copySourceIfNoneMatchHasBeenSet; }
915
920 inline void SetCopySourceIfNoneMatch(const Aws::String& value) { m_copySourceIfNoneMatchHasBeenSet = true; m_copySourceIfNoneMatch = value; }
921
926 inline void SetCopySourceIfNoneMatch(Aws::String&& value) { m_copySourceIfNoneMatchHasBeenSet = true; m_copySourceIfNoneMatch = std::move(value); }
927
932 inline void SetCopySourceIfNoneMatch(const char* value) { m_copySourceIfNoneMatchHasBeenSet = true; m_copySourceIfNoneMatch.assign(value); }
933
939
944 inline CopyObjectRequest& WithCopySourceIfNoneMatch(Aws::String&& value) { SetCopySourceIfNoneMatch(std::move(value)); return *this;}
945
950 inline CopyObjectRequest& WithCopySourceIfNoneMatch(const char* value) { SetCopySourceIfNoneMatch(value); return *this;}
951
952
956 inline const Aws::Utils::DateTime& GetCopySourceIfUnmodifiedSince() const{ return m_copySourceIfUnmodifiedSince; }
957
961 inline bool CopySourceIfUnmodifiedSinceHasBeenSet() const { return m_copySourceIfUnmodifiedSinceHasBeenSet; }
962
966 inline void SetCopySourceIfUnmodifiedSince(const Aws::Utils::DateTime& value) { m_copySourceIfUnmodifiedSinceHasBeenSet = true; m_copySourceIfUnmodifiedSince = value; }
967
971 inline void SetCopySourceIfUnmodifiedSince(Aws::Utils::DateTime&& value) { m_copySourceIfUnmodifiedSinceHasBeenSet = true; m_copySourceIfUnmodifiedSince = std::move(value); }
972
977
982
983
987 inline const Aws::Utils::DateTime& GetExpires() const{ return m_expires; }
988
992 inline bool ExpiresHasBeenSet() const { return m_expiresHasBeenSet; }
993
997 inline void SetExpires(const Aws::Utils::DateTime& value) { m_expiresHasBeenSet = true; m_expires = value; }
998
1002 inline void SetExpires(Aws::Utils::DateTime&& value) { m_expiresHasBeenSet = true; m_expires = std::move(value); }
1003
1007 inline CopyObjectRequest& WithExpires(const Aws::Utils::DateTime& value) { SetExpires(value); return *this;}
1008
1012 inline CopyObjectRequest& WithExpires(Aws::Utils::DateTime&& value) { SetExpires(std::move(value)); return *this;}
1013
1014
1019 inline const Aws::String& GetGrantFullControl() const{ return m_grantFullControl; }
1020
1025 inline bool GrantFullControlHasBeenSet() const { return m_grantFullControlHasBeenSet; }
1026
1031 inline void SetGrantFullControl(const Aws::String& value) { m_grantFullControlHasBeenSet = true; m_grantFullControl = value; }
1032
1037 inline void SetGrantFullControl(Aws::String&& value) { m_grantFullControlHasBeenSet = true; m_grantFullControl = std::move(value); }
1038
1043 inline void SetGrantFullControl(const char* value) { m_grantFullControlHasBeenSet = true; m_grantFullControl.assign(value); }
1044
1049 inline CopyObjectRequest& WithGrantFullControl(const Aws::String& value) { SetGrantFullControl(value); return *this;}
1050
1055 inline CopyObjectRequest& WithGrantFullControl(Aws::String&& value) { SetGrantFullControl(std::move(value)); return *this;}
1056
1061 inline CopyObjectRequest& WithGrantFullControl(const char* value) { SetGrantFullControl(value); return *this;}
1062
1063
1068 inline const Aws::String& GetGrantRead() const{ return m_grantRead; }
1069
1074 inline bool GrantReadHasBeenSet() const { return m_grantReadHasBeenSet; }
1075
1080 inline void SetGrantRead(const Aws::String& value) { m_grantReadHasBeenSet = true; m_grantRead = value; }
1081
1086 inline void SetGrantRead(Aws::String&& value) { m_grantReadHasBeenSet = true; m_grantRead = std::move(value); }
1087
1092 inline void SetGrantRead(const char* value) { m_grantReadHasBeenSet = true; m_grantRead.assign(value); }
1093
1098 inline CopyObjectRequest& WithGrantRead(const Aws::String& value) { SetGrantRead(value); return *this;}
1099
1104 inline CopyObjectRequest& WithGrantRead(Aws::String&& value) { SetGrantRead(std::move(value)); return *this;}
1105
1110 inline CopyObjectRequest& WithGrantRead(const char* value) { SetGrantRead(value); return *this;}
1111
1112
1117 inline const Aws::String& GetGrantReadACP() const{ return m_grantReadACP; }
1118
1123 inline bool GrantReadACPHasBeenSet() const { return m_grantReadACPHasBeenSet; }
1124
1129 inline void SetGrantReadACP(const Aws::String& value) { m_grantReadACPHasBeenSet = true; m_grantReadACP = value; }
1130
1135 inline void SetGrantReadACP(Aws::String&& value) { m_grantReadACPHasBeenSet = true; m_grantReadACP = std::move(value); }
1136
1141 inline void SetGrantReadACP(const char* value) { m_grantReadACPHasBeenSet = true; m_grantReadACP.assign(value); }
1142
1147 inline CopyObjectRequest& WithGrantReadACP(const Aws::String& value) { SetGrantReadACP(value); return *this;}
1148
1153 inline CopyObjectRequest& WithGrantReadACP(Aws::String&& value) { SetGrantReadACP(std::move(value)); return *this;}
1154
1159 inline CopyObjectRequest& WithGrantReadACP(const char* value) { SetGrantReadACP(value); return *this;}
1160
1161
1166 inline const Aws::String& GetGrantWriteACP() const{ return m_grantWriteACP; }
1167
1172 inline bool GrantWriteACPHasBeenSet() const { return m_grantWriteACPHasBeenSet; }
1173
1178 inline void SetGrantWriteACP(const Aws::String& value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP = value; }
1179
1184 inline void SetGrantWriteACP(Aws::String&& value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP = std::move(value); }
1185
1190 inline void SetGrantWriteACP(const char* value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP.assign(value); }
1191
1196 inline CopyObjectRequest& WithGrantWriteACP(const Aws::String& value) { SetGrantWriteACP(value); return *this;}
1197
1202 inline CopyObjectRequest& WithGrantWriteACP(Aws::String&& value) { SetGrantWriteACP(std::move(value)); return *this;}
1203
1208 inline CopyObjectRequest& WithGrantWriteACP(const char* value) { SetGrantWriteACP(value); return *this;}
1209
1210
1214 inline const Aws::String& GetKey() const{ return m_key; }
1215
1219 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
1220
1224 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
1225
1229 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
1230
1234 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
1235
1239 inline CopyObjectRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;}
1240
1244 inline CopyObjectRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
1245
1249 inline CopyObjectRequest& WithKey(const char* value) { SetKey(value); return *this;}
1250
1251
1255 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const{ return m_metadata; }
1256
1260 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
1261
1265 inline void SetMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_metadataHasBeenSet = true; m_metadata = value; }
1266
1270 inline void SetMetadata(Aws::Map<Aws::String, Aws::String>&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); }
1271
1276
1280 inline CopyObjectRequest& WithMetadata(Aws::Map<Aws::String, Aws::String>&& value) { SetMetadata(std::move(value)); return *this;}
1281
1285 inline CopyObjectRequest& AddMetadata(const Aws::String& key, const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, value); return *this; }
1286
1290 inline CopyObjectRequest& AddMetadata(Aws::String&& key, const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), value); return *this; }
1291
1295 inline CopyObjectRequest& AddMetadata(const Aws::String& key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, std::move(value)); return *this; }
1296
1300 inline CopyObjectRequest& AddMetadata(Aws::String&& key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), std::move(value)); return *this; }
1301
1305 inline CopyObjectRequest& AddMetadata(const char* key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, std::move(value)); return *this; }
1306
1310 inline CopyObjectRequest& AddMetadata(Aws::String&& key, const char* value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), value); return *this; }
1311
1315 inline CopyObjectRequest& AddMetadata(const char* key, const char* value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, value); return *this; }
1316
1317
1322 inline const MetadataDirective& GetMetadataDirective() const{ return m_metadataDirective; }
1323
1328 inline bool MetadataDirectiveHasBeenSet() const { return m_metadataDirectiveHasBeenSet; }
1329
1334 inline void SetMetadataDirective(const MetadataDirective& value) { m_metadataDirectiveHasBeenSet = true; m_metadataDirective = value; }
1335
1340 inline void SetMetadataDirective(MetadataDirective&& value) { m_metadataDirectiveHasBeenSet = true; m_metadataDirective = std::move(value); }
1341
1347
1352 inline CopyObjectRequest& WithMetadataDirective(MetadataDirective&& value) { SetMetadataDirective(std::move(value)); return *this;}
1353
1354
1359 inline const TaggingDirective& GetTaggingDirective() const{ return m_taggingDirective; }
1360
1365 inline bool TaggingDirectiveHasBeenSet() const { return m_taggingDirectiveHasBeenSet; }
1366
1371 inline void SetTaggingDirective(const TaggingDirective& value) { m_taggingDirectiveHasBeenSet = true; m_taggingDirective = value; }
1372
1377 inline void SetTaggingDirective(TaggingDirective&& value) { m_taggingDirectiveHasBeenSet = true; m_taggingDirective = std::move(value); }
1378
1384
1389 inline CopyObjectRequest& WithTaggingDirective(TaggingDirective&& value) { SetTaggingDirective(std::move(value)); return *this;}
1390
1391
1396 inline const ServerSideEncryption& GetServerSideEncryption() const{ return m_serverSideEncryption; }
1397
1402 inline bool ServerSideEncryptionHasBeenSet() const { return m_serverSideEncryptionHasBeenSet; }
1403
1408 inline void SetServerSideEncryption(const ServerSideEncryption& value) { m_serverSideEncryptionHasBeenSet = true; m_serverSideEncryption = value; }
1409
1414 inline void SetServerSideEncryption(ServerSideEncryption&& value) { m_serverSideEncryptionHasBeenSet = true; m_serverSideEncryption = std::move(value); }
1415
1421
1427
1428
1438 inline const StorageClass& GetStorageClass() const{ return m_storageClass; }
1439
1449 inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; }
1450
1460 inline void SetStorageClass(const StorageClass& value) { m_storageClassHasBeenSet = true; m_storageClass = value; }
1461
1471 inline void SetStorageClass(StorageClass&& value) { m_storageClassHasBeenSet = true; m_storageClass = std::move(value); }
1472
1482 inline CopyObjectRequest& WithStorageClass(const StorageClass& value) { SetStorageClass(value); return *this;}
1483
1493 inline CopyObjectRequest& WithStorageClass(StorageClass&& value) { SetStorageClass(std::move(value)); return *this;}
1494
1495
1501 inline const Aws::String& GetWebsiteRedirectLocation() const{ return m_websiteRedirectLocation; }
1502
1508 inline bool WebsiteRedirectLocationHasBeenSet() const { return m_websiteRedirectLocationHasBeenSet; }
1509
1515 inline void SetWebsiteRedirectLocation(const Aws::String& value) { m_websiteRedirectLocationHasBeenSet = true; m_websiteRedirectLocation = value; }
1516
1522 inline void SetWebsiteRedirectLocation(Aws::String&& value) { m_websiteRedirectLocationHasBeenSet = true; m_websiteRedirectLocation = std::move(value); }
1523
1529 inline void SetWebsiteRedirectLocation(const char* value) { m_websiteRedirectLocationHasBeenSet = true; m_websiteRedirectLocation.assign(value); }
1530
1537
1544
1550 inline CopyObjectRequest& WithWebsiteRedirectLocation(const char* value) { SetWebsiteRedirectLocation(value); return *this;}
1551
1552
1557 inline const Aws::String& GetSSECustomerAlgorithm() const{ return m_sSECustomerAlgorithm; }
1558
1563 inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; }
1564
1569 inline void SetSSECustomerAlgorithm(const Aws::String& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = value; }
1570
1575 inline void SetSSECustomerAlgorithm(Aws::String&& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = std::move(value); }
1576
1581 inline void SetSSECustomerAlgorithm(const char* value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm.assign(value); }
1582
1588
1593 inline CopyObjectRequest& WithSSECustomerAlgorithm(Aws::String&& value) { SetSSECustomerAlgorithm(std::move(value)); return *this;}
1594
1599 inline CopyObjectRequest& WithSSECustomerAlgorithm(const char* value) { SetSSECustomerAlgorithm(value); return *this;}
1600
1601
1609 inline const Aws::String& GetSSECustomerKey() const{ return m_sSECustomerKey; }
1610
1618 inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; }
1619
1627 inline void SetSSECustomerKey(const Aws::String& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = value; }
1628
1636 inline void SetSSECustomerKey(Aws::String&& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = std::move(value); }
1637
1645 inline void SetSSECustomerKey(const char* value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey.assign(value); }
1646
1654 inline CopyObjectRequest& WithSSECustomerKey(const Aws::String& value) { SetSSECustomerKey(value); return *this;}
1655
1663 inline CopyObjectRequest& WithSSECustomerKey(Aws::String&& value) { SetSSECustomerKey(std::move(value)); return *this;}
1664
1672 inline CopyObjectRequest& WithSSECustomerKey(const char* value) { SetSSECustomerKey(value); return *this;}
1673
1674
1680 inline const Aws::String& GetSSECustomerKeyMD5() const{ return m_sSECustomerKeyMD5; }
1681
1687 inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; }
1688
1694 inline void SetSSECustomerKeyMD5(const Aws::String& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = value; }
1695
1701 inline void SetSSECustomerKeyMD5(Aws::String&& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = std::move(value); }
1702
1708 inline void SetSSECustomerKeyMD5(const char* value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5.assign(value); }
1709
1715 inline CopyObjectRequest& WithSSECustomerKeyMD5(const Aws::String& value) { SetSSECustomerKeyMD5(value); return *this;}
1716
1722 inline CopyObjectRequest& WithSSECustomerKeyMD5(Aws::String&& value) { SetSSECustomerKeyMD5(std::move(value)); return *this;}
1723
1729 inline CopyObjectRequest& WithSSECustomerKeyMD5(const char* value) { SetSSECustomerKeyMD5(value); return *this;}
1730
1731
1742 inline const Aws::String& GetSSEKMSKeyId() const{ return m_sSEKMSKeyId; }
1743
1754 inline bool SSEKMSKeyIdHasBeenSet() const { return m_sSEKMSKeyIdHasBeenSet; }
1755
1766 inline void SetSSEKMSKeyId(const Aws::String& value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId = value; }
1767
1778 inline void SetSSEKMSKeyId(Aws::String&& value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId = std::move(value); }
1779
1790 inline void SetSSEKMSKeyId(const char* value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId.assign(value); }
1791
1802 inline CopyObjectRequest& WithSSEKMSKeyId(const Aws::String& value) { SetSSEKMSKeyId(value); return *this;}
1803
1814 inline CopyObjectRequest& WithSSEKMSKeyId(Aws::String&& value) { SetSSEKMSKeyId(std::move(value)); return *this;}
1815
1826 inline CopyObjectRequest& WithSSEKMSKeyId(const char* value) { SetSSEKMSKeyId(value); return *this;}
1827
1828
1834 inline const Aws::String& GetSSEKMSEncryptionContext() const{ return m_sSEKMSEncryptionContext; }
1835
1841 inline bool SSEKMSEncryptionContextHasBeenSet() const { return m_sSEKMSEncryptionContextHasBeenSet; }
1842
1848 inline void SetSSEKMSEncryptionContext(const Aws::String& value) { m_sSEKMSEncryptionContextHasBeenSet = true; m_sSEKMSEncryptionContext = value; }
1849
1855 inline void SetSSEKMSEncryptionContext(Aws::String&& value) { m_sSEKMSEncryptionContextHasBeenSet = true; m_sSEKMSEncryptionContext = std::move(value); }
1856
1862 inline void SetSSEKMSEncryptionContext(const char* value) { m_sSEKMSEncryptionContextHasBeenSet = true; m_sSEKMSEncryptionContext.assign(value); }
1863
1870
1877
1883 inline CopyObjectRequest& WithSSEKMSEncryptionContext(const char* value) { SetSSEKMSEncryptionContext(value); return *this;}
1884
1885
1893 inline bool GetBucketKeyEnabled() const{ return m_bucketKeyEnabled; }
1894
1902 inline bool BucketKeyEnabledHasBeenSet() const { return m_bucketKeyEnabledHasBeenSet; }
1903
1911 inline void SetBucketKeyEnabled(bool value) { m_bucketKeyEnabledHasBeenSet = true; m_bucketKeyEnabled = value; }
1912
1920 inline CopyObjectRequest& WithBucketKeyEnabled(bool value) { SetBucketKeyEnabled(value); return *this;}
1921
1922
1927 inline const Aws::String& GetCopySourceSSECustomerAlgorithm() const{ return m_copySourceSSECustomerAlgorithm; }
1928
1933 inline bool CopySourceSSECustomerAlgorithmHasBeenSet() const { return m_copySourceSSECustomerAlgorithmHasBeenSet; }
1934
1939 inline void SetCopySourceSSECustomerAlgorithm(const Aws::String& value) { m_copySourceSSECustomerAlgorithmHasBeenSet = true; m_copySourceSSECustomerAlgorithm = value; }
1940
1945 inline void SetCopySourceSSECustomerAlgorithm(Aws::String&& value) { m_copySourceSSECustomerAlgorithmHasBeenSet = true; m_copySourceSSECustomerAlgorithm = std::move(value); }
1946
1951 inline void SetCopySourceSSECustomerAlgorithm(const char* value) { m_copySourceSSECustomerAlgorithmHasBeenSet = true; m_copySourceSSECustomerAlgorithm.assign(value); }
1952
1958
1964
1970
1971
1977 inline const Aws::String& GetCopySourceSSECustomerKey() const{ return m_copySourceSSECustomerKey; }
1978
1984 inline bool CopySourceSSECustomerKeyHasBeenSet() const { return m_copySourceSSECustomerKeyHasBeenSet; }
1985
1991 inline void SetCopySourceSSECustomerKey(const Aws::String& value) { m_copySourceSSECustomerKeyHasBeenSet = true; m_copySourceSSECustomerKey = value; }
1992
1998 inline void SetCopySourceSSECustomerKey(Aws::String&& value) { m_copySourceSSECustomerKeyHasBeenSet = true; m_copySourceSSECustomerKey = std::move(value); }
1999
2005 inline void SetCopySourceSSECustomerKey(const char* value) { m_copySourceSSECustomerKeyHasBeenSet = true; m_copySourceSSECustomerKey.assign(value); }
2006
2013
2020
2026 inline CopyObjectRequest& WithCopySourceSSECustomerKey(const char* value) { SetCopySourceSSECustomerKey(value); return *this;}
2027
2028
2034 inline const Aws::String& GetCopySourceSSECustomerKeyMD5() const{ return m_copySourceSSECustomerKeyMD5; }
2035
2041 inline bool CopySourceSSECustomerKeyMD5HasBeenSet() const { return m_copySourceSSECustomerKeyMD5HasBeenSet; }
2042
2048 inline void SetCopySourceSSECustomerKeyMD5(const Aws::String& value) { m_copySourceSSECustomerKeyMD5HasBeenSet = true; m_copySourceSSECustomerKeyMD5 = value; }
2049
2055 inline void SetCopySourceSSECustomerKeyMD5(Aws::String&& value) { m_copySourceSSECustomerKeyMD5HasBeenSet = true; m_copySourceSSECustomerKeyMD5 = std::move(value); }
2056
2062 inline void SetCopySourceSSECustomerKeyMD5(const char* value) { m_copySourceSSECustomerKeyMD5HasBeenSet = true; m_copySourceSSECustomerKeyMD5.assign(value); }
2063
2070
2077
2084
2085
2086
2087 inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; }
2088
2089
2090 inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; }
2091
2092
2093 inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; }
2094
2095
2096 inline void SetRequestPayer(RequestPayer&& value) { m_requestPayerHasBeenSet = true; m_requestPayer = std::move(value); }
2097
2098
2099 inline CopyObjectRequest& WithRequestPayer(const RequestPayer& value) { SetRequestPayer(value); return *this;}
2100
2101
2102 inline CopyObjectRequest& WithRequestPayer(RequestPayer&& value) { SetRequestPayer(std::move(value)); return *this;}
2103
2104
2110 inline const Aws::String& GetTagging() const{ return m_tagging; }
2111
2117 inline bool TaggingHasBeenSet() const { return m_taggingHasBeenSet; }
2118
2124 inline void SetTagging(const Aws::String& value) { m_taggingHasBeenSet = true; m_tagging = value; }
2125
2131 inline void SetTagging(Aws::String&& value) { m_taggingHasBeenSet = true; m_tagging = std::move(value); }
2132
2138 inline void SetTagging(const char* value) { m_taggingHasBeenSet = true; m_tagging.assign(value); }
2139
2145 inline CopyObjectRequest& WithTagging(const Aws::String& value) { SetTagging(value); return *this;}
2146
2152 inline CopyObjectRequest& WithTagging(Aws::String&& value) { SetTagging(std::move(value)); return *this;}
2153
2159 inline CopyObjectRequest& WithTagging(const char* value) { SetTagging(value); return *this;}
2160
2161
2165 inline const ObjectLockMode& GetObjectLockMode() const{ return m_objectLockMode; }
2166
2170 inline bool ObjectLockModeHasBeenSet() const { return m_objectLockModeHasBeenSet; }
2171
2175 inline void SetObjectLockMode(const ObjectLockMode& value) { m_objectLockModeHasBeenSet = true; m_objectLockMode = value; }
2176
2180 inline void SetObjectLockMode(ObjectLockMode&& value) { m_objectLockModeHasBeenSet = true; m_objectLockMode = std::move(value); }
2181
2185 inline CopyObjectRequest& WithObjectLockMode(const ObjectLockMode& value) { SetObjectLockMode(value); return *this;}
2186
2190 inline CopyObjectRequest& WithObjectLockMode(ObjectLockMode&& value) { SetObjectLockMode(std::move(value)); return *this;}
2191
2192
2197 inline const Aws::Utils::DateTime& GetObjectLockRetainUntilDate() const{ return m_objectLockRetainUntilDate; }
2198
2203 inline bool ObjectLockRetainUntilDateHasBeenSet() const { return m_objectLockRetainUntilDateHasBeenSet; }
2204
2209 inline void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = value; }
2210
2215 inline void SetObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = std::move(value); }
2216
2222
2228
2229
2233 inline const ObjectLockLegalHoldStatus& GetObjectLockLegalHoldStatus() const{ return m_objectLockLegalHoldStatus; }
2234
2238 inline bool ObjectLockLegalHoldStatusHasBeenSet() const { return m_objectLockLegalHoldStatusHasBeenSet; }
2239
2243 inline void SetObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = value; }
2244
2248 inline void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = std::move(value); }
2249
2254
2259
2260
2266 inline const Aws::String& GetExpectedBucketOwner() const{ return m_expectedBucketOwner; }
2267
2273 inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; }
2274
2280 inline void SetExpectedBucketOwner(const Aws::String& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = value; }
2281
2287 inline void SetExpectedBucketOwner(Aws::String&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::move(value); }
2288
2294 inline void SetExpectedBucketOwner(const char* value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner.assign(value); }
2295
2302
2308 inline CopyObjectRequest& WithExpectedBucketOwner(Aws::String&& value) { SetExpectedBucketOwner(std::move(value)); return *this;}
2309
2315 inline CopyObjectRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;}
2316
2317
2323 inline const Aws::String& GetExpectedSourceBucketOwner() const{ return m_expectedSourceBucketOwner; }
2324
2330 inline bool ExpectedSourceBucketOwnerHasBeenSet() const { return m_expectedSourceBucketOwnerHasBeenSet; }
2331
2337 inline void SetExpectedSourceBucketOwner(const Aws::String& value) { m_expectedSourceBucketOwnerHasBeenSet = true; m_expectedSourceBucketOwner = value; }
2338
2344 inline void SetExpectedSourceBucketOwner(Aws::String&& value) { m_expectedSourceBucketOwnerHasBeenSet = true; m_expectedSourceBucketOwner = std::move(value); }
2345
2351 inline void SetExpectedSourceBucketOwner(const char* value) { m_expectedSourceBucketOwnerHasBeenSet = true; m_expectedSourceBucketOwner.assign(value); }
2352
2359
2366
2372 inline CopyObjectRequest& WithExpectedSourceBucketOwner(const char* value) { SetExpectedSourceBucketOwner(value); return *this;}
2373
2374
2375
2376 inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; }
2377
2378
2379 inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; }
2380
2381
2382 inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; }
2383
2384
2385 inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); }
2386
2387
2389
2390
2392
2393
2394 inline CopyObjectRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
2395
2396
2397 inline CopyObjectRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
2398
2399
2400 inline CopyObjectRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
2401
2402
2403 inline CopyObjectRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; }
2404
2405
2406 inline CopyObjectRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
2407
2408
2409 inline CopyObjectRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
2410
2411
2412 inline CopyObjectRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
2413
2414 private:
2415
2416 ObjectCannedACL m_aCL;
2417 bool m_aCLHasBeenSet = false;
2418
2419 Aws::String m_bucket;
2420 bool m_bucketHasBeenSet = false;
2421
2422 Aws::String m_cacheControl;
2423 bool m_cacheControlHasBeenSet = false;
2424
2425 ChecksumAlgorithm m_checksumAlgorithm;
2426 bool m_checksumAlgorithmHasBeenSet = false;
2427
2428 Aws::String m_contentDisposition;
2429 bool m_contentDispositionHasBeenSet = false;
2430
2431 Aws::String m_contentEncoding;
2432 bool m_contentEncodingHasBeenSet = false;
2433
2434 Aws::String m_contentLanguage;
2435 bool m_contentLanguageHasBeenSet = false;
2436
2437 Aws::String m_contentType;
2438 bool m_contentTypeHasBeenSet = false;
2439
2440 Aws::String m_copySource;
2441 bool m_copySourceHasBeenSet = false;
2442
2443 Aws::String m_copySourceIfMatch;
2444 bool m_copySourceIfMatchHasBeenSet = false;
2445
2446 Aws::Utils::DateTime m_copySourceIfModifiedSince;
2447 bool m_copySourceIfModifiedSinceHasBeenSet = false;
2448
2449 Aws::String m_copySourceIfNoneMatch;
2450 bool m_copySourceIfNoneMatchHasBeenSet = false;
2451
2452 Aws::Utils::DateTime m_copySourceIfUnmodifiedSince;
2453 bool m_copySourceIfUnmodifiedSinceHasBeenSet = false;
2454
2455 Aws::Utils::DateTime m_expires;
2456 bool m_expiresHasBeenSet = false;
2457
2458 Aws::String m_grantFullControl;
2459 bool m_grantFullControlHasBeenSet = false;
2460
2461 Aws::String m_grantRead;
2462 bool m_grantReadHasBeenSet = false;
2463
2464 Aws::String m_grantReadACP;
2465 bool m_grantReadACPHasBeenSet = false;
2466
2467 Aws::String m_grantWriteACP;
2468 bool m_grantWriteACPHasBeenSet = false;
2469
2470 Aws::String m_key;
2471 bool m_keyHasBeenSet = false;
2472
2474 bool m_metadataHasBeenSet = false;
2475
2476 MetadataDirective m_metadataDirective;
2477 bool m_metadataDirectiveHasBeenSet = false;
2478
2479 TaggingDirective m_taggingDirective;
2480 bool m_taggingDirectiveHasBeenSet = false;
2481
2482 ServerSideEncryption m_serverSideEncryption;
2483 bool m_serverSideEncryptionHasBeenSet = false;
2484
2485 StorageClass m_storageClass;
2486 bool m_storageClassHasBeenSet = false;
2487
2488 Aws::String m_websiteRedirectLocation;
2489 bool m_websiteRedirectLocationHasBeenSet = false;
2490
2491 Aws::String m_sSECustomerAlgorithm;
2492 bool m_sSECustomerAlgorithmHasBeenSet = false;
2493
2494 Aws::String m_sSECustomerKey;
2495 bool m_sSECustomerKeyHasBeenSet = false;
2496
2497 Aws::String m_sSECustomerKeyMD5;
2498 bool m_sSECustomerKeyMD5HasBeenSet = false;
2499
2500 Aws::String m_sSEKMSKeyId;
2501 bool m_sSEKMSKeyIdHasBeenSet = false;
2502
2503 Aws::String m_sSEKMSEncryptionContext;
2504 bool m_sSEKMSEncryptionContextHasBeenSet = false;
2505
2506 bool m_bucketKeyEnabled;
2507 bool m_bucketKeyEnabledHasBeenSet = false;
2508
2509 Aws::String m_copySourceSSECustomerAlgorithm;
2510 bool m_copySourceSSECustomerAlgorithmHasBeenSet = false;
2511
2512 Aws::String m_copySourceSSECustomerKey;
2513 bool m_copySourceSSECustomerKeyHasBeenSet = false;
2514
2515 Aws::String m_copySourceSSECustomerKeyMD5;
2516 bool m_copySourceSSECustomerKeyMD5HasBeenSet = false;
2517
2518 RequestPayer m_requestPayer;
2519 bool m_requestPayerHasBeenSet = false;
2520
2521 Aws::String m_tagging;
2522 bool m_taggingHasBeenSet = false;
2523
2524 ObjectLockMode m_objectLockMode;
2525 bool m_objectLockModeHasBeenSet = false;
2526
2527 Aws::Utils::DateTime m_objectLockRetainUntilDate;
2528 bool m_objectLockRetainUntilDateHasBeenSet = false;
2529
2530 ObjectLockLegalHoldStatus m_objectLockLegalHoldStatus;
2531 bool m_objectLockLegalHoldStatusHasBeenSet = false;
2532
2533 Aws::String m_expectedBucketOwner;
2534 bool m_expectedBucketOwnerHasBeenSet = false;
2535
2536 Aws::String m_expectedSourceBucketOwner;
2537 bool m_expectedSourceBucketOwnerHasBeenSet = false;
2538
2539 Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag;
2540 bool m_customizedAccessLogTagHasBeenSet = false;
2541 };
2542
2543} // namespace Model
2544} // namespace S3
2545} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
void SetExpectedSourceBucketOwner(const Aws::String &value)
void SetCopySourceIfNoneMatch(Aws::String &&value)
CopyObjectRequest & WithGrantWriteACP(Aws::String &&value)
CopyObjectRequest & WithObjectLockRetainUntilDate(const Aws::Utils::DateTime &value)
void SetCopySourceIfMatch(const Aws::String &value)
void SetExpectedBucketOwner(Aws::String &&value)
CopyObjectRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
CopyObjectRequest & AddMetadata(Aws::String &&key, Aws::String &&value)
CopyObjectRequest & WithCopySourceSSECustomerAlgorithm(const Aws::String &value)
CopyObjectRequest & WithTagging(const char *value)
void SetContentEncoding(const Aws::String &value)
CopyObjectRequest & WithBucketKeyEnabled(bool value)
CopyObjectRequest & WithContentLanguage(const Aws::String &value)
CopyObjectRequest & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
const MetadataDirective & GetMetadataDirective() const
CopyObjectRequest & WithCopySourceSSECustomerAlgorithm(Aws::String &&value)
void SetStorageClass(StorageClass &&value)
CopyObjectRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
CopyObjectRequest & WithGrantReadACP(const Aws::String &value)
CopyObjectRequest & WithObjectLockMode(ObjectLockMode &&value)
void SetContentDisposition(const Aws::String &value)
const Aws::String & GetContentDisposition() const
CopyObjectRequest & WithCopySourceSSECustomerAlgorithm(const char *value)
CopyObjectRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
void SetGrantFullControl(const char *value)
void SetKey(Aws::String &&value)
CopyObjectRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
void SetServerSideEncryption(const ServerSideEncryption &value)
CopyObjectRequest & WithGrantFullControl(const char *value)
void SetCopySourceSSECustomerKey(const char *value)
void SetGrantRead(Aws::String &&value)
CopyObjectRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
CopyObjectRequest & WithContentDisposition(Aws::String &&value)
void SetGrantRead(const char *value)
void SetCopySourceIfMatch(const char *value)
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
CopyObjectRequest & WithCopySourceSSECustomerKeyMD5(Aws::String &&value)
CopyObjectRequest & WithCopySourceIfUnmodifiedSince(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCopySourceIfUnmodifiedSince() const
const Aws::String & GetWebsiteRedirectLocation() const
void SetBucket(const Aws::String &value)
CopyObjectRequest & WithBucket(Aws::String &&value)
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
void SetTagging(const Aws::String &value)
void SetContentLanguage(Aws::String &&value)
CopyObjectRequest & WithExpectedBucketOwner(const Aws::String &value)
CopyObjectRequest & WithSSECustomerKeyMD5(const char *value)
void SetTaggingDirective(const TaggingDirective &value)
const Aws::String & GetExpectedSourceBucketOwner() const
CopyObjectRequest & WithMetadataDirective(const MetadataDirective &value)
void SetChecksumAlgorithm(ChecksumAlgorithm &&value)
CopyObjectRequest & WithExpires(Aws::Utils::DateTime &&value)
const Aws::String & GetTagging() const
CopyObjectRequest & WithCopySourceIfMatch(const char *value)
void SetCopySourceIfNoneMatch(const char *value)
const ObjectLockLegalHoldStatus & GetObjectLockLegalHoldStatus() const
void SetContentEncoding(Aws::String &&value)
void SetExpectedBucketOwner(const char *value)
void SetCopySourceIfUnmodifiedSince(Aws::Utils::DateTime &&value)
CopyObjectRequest & WithContentType(const char *value)
void SetServerSideEncryption(ServerSideEncryption &&value)
void SetRequestPayer(const RequestPayer &value)
void SetCacheControl(Aws::String &&value)
CopyObjectRequest & WithCacheControl(const Aws::String &value)
void SetACL(ObjectCannedACL &&value)
CopyObjectRequest & AddMetadata(Aws::String &&key, const char *value)
void SetCopySourceSSECustomerKey(Aws::String &&value)
CopyObjectRequest & WithCacheControl(const char *value)
const Aws::Utils::DateTime & GetExpires() const
const Aws::String & GetContentLanguage() const
CopyObjectRequest & WithGrantRead(Aws::String &&value)
CopyObjectRequest & WithCopySourceSSECustomerKey(Aws::String &&value)
CopyObjectRequest & WithMetadataDirective(MetadataDirective &&value)
CopyObjectRequest & WithContentLanguage(const char *value)
CopyObjectRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
CopyObjectRequest & WithSSEKMSEncryptionContext(const char *value)
CopyObjectRequest & WithContentType(Aws::String &&value)
CopyObjectRequest & WithSSECustomerKeyMD5(const Aws::String &value)
const Aws::String & GetGrantWriteACP() const
CopyObjectRequest & WithCopySourceIfNoneMatch(const Aws::String &value)
CopyObjectRequest & WithBucket(const Aws::String &value)
CopyObjectRequest & WithCopySourceSSECustomerKeyMD5(const Aws::String &value)
void SetObjectLockRetainUntilDate(Aws::Utils::DateTime &&value)
CopyObjectRequest & WithBucket(const char *value)
CopyObjectRequest & WithSSECustomerKey(const Aws::String &value)
void SetCopySourceSSECustomerAlgorithm(Aws::String &&value)
CopyObjectRequest & WithCopySourceIfModifiedSince(const Aws::Utils::DateTime &value)
CopyObjectRequest & WithObjectLockMode(const ObjectLockMode &value)
void SetCopySourceSSECustomerAlgorithm(const char *value)
void SetCopySourceSSECustomerKey(const Aws::String &value)
CopyObjectRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
const TaggingDirective & GetTaggingDirective() const
CopyObjectRequest & WithExpectedBucketOwner(const char *value)
CopyObjectRequest & WithGrantFullControl(const Aws::String &value)
CopyObjectRequest & WithCopySourceIfMatch(Aws::String &&value)
void SetCopySourceSSECustomerKeyMD5(Aws::String &&value)
const Aws::String & GetSSECustomerKeyMD5() const
void SetGrantReadACP(Aws::String &&value)
CopyObjectRequest & WithObjectLockRetainUntilDate(Aws::Utils::DateTime &&value)
void SetContentType(const Aws::String &value)
void SetCopySource(const char *value)
const ChecksumAlgorithm & GetChecksumAlgorithm() const
void SetCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
void SetExpectedSourceBucketOwner(Aws::String &&value)
CopyObjectRequest & WithSSECustomerAlgorithm(const char *value)
CopyObjectRequest & WithGrantFullControl(Aws::String &&value)
void SetMetadataDirective(const MetadataDirective &value)
void SetWebsiteRedirectLocation(Aws::String &&value)
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
void SetCopySourceIfModifiedSince(const Aws::Utils::DateTime &value)
CopyObjectRequest & WithTaggingDirective(const TaggingDirective &value)
void SetCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
CopyObjectRequest & WithServerSideEncryption(const ServerSideEncryption &value)
virtual const char * GetServiceRequestName() const override
void SetSSECustomerKey(const char *value)
void SetGrantFullControl(const Aws::String &value)
const Aws::String & GetCopySourceSSECustomerKeyMD5() const
void SetSSECustomerAlgorithm(const Aws::String &value)
CopyObjectRequest & WithACL(const ObjectCannedACL &value)
CopyObjectRequest & WithCopySourceSSECustomerKey(const Aws::String &value)
const Aws::String & GetGrantFullControl() const
CopyObjectRequest & WithExpectedSourceBucketOwner(Aws::String &&value)
const Aws::String & GetCopySourceSSECustomerKey() const
void SetCacheControl(const char *value)
CopyObjectRequest & WithWebsiteRedirectLocation(const char *value)
void SetContentLanguage(const Aws::String &value)
const Aws::String & GetSSEKMSEncryptionContext() const
const Aws::String & GetCopySourceIfMatch() const
CopyObjectRequest & WithContentDisposition(const char *value)
void SetContentDisposition(Aws::String &&value)
void SetSSEKMSEncryptionContext(const Aws::String &value)
CopyObjectRequest & WithCopySource(const char *value)
CopyObjectRequest & WithSSEKMSEncryptionContext(Aws::String &&value)
const Aws::Utils::DateTime & GetCopySourceIfModifiedSince() const
void SetGrantRead(const Aws::String &value)
void SetSSEKMSKeyId(const Aws::String &value)
CopyObjectRequest & WithACL(ObjectCannedACL &&value)
void SetGrantWriteACP(const char *value)
CopyObjectRequest & AddMetadata(Aws::String &&key, const Aws::String &value)
void SetCopySource(Aws::String &&value)
CopyObjectRequest & WithTagging(Aws::String &&value)
CopyObjectRequest & WithStorageClass(StorageClass &&value)
CopyObjectRequest & WithStorageClass(const StorageClass &value)
CopyObjectRequest & WithRequestPayer(const RequestPayer &value)
void SetExpires(Aws::Utils::DateTime &&value)
void SetSSECustomerAlgorithm(Aws::String &&value)
void SetContentDisposition(const char *value)
CopyObjectRequest & WithServerSideEncryption(ServerSideEncryption &&value)
CopyObjectRequest & WithTaggingDirective(TaggingDirective &&value)
CopyObjectRequest & WithSSECustomerKeyMD5(Aws::String &&value)
void SetObjectLockMode(const ObjectLockMode &value)
void SetTagging(const char *value)
void SetSSEKMSKeyId(const char *value)
CopyObjectRequest & WithObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus &value)
void SetTagging(Aws::String &&value)
CopyObjectRequest & WithWebsiteRedirectLocation(Aws::String &&value)
const Aws::String & GetGrantReadACP() const
CopyObjectRequest & WithRequestPayer(RequestPayer &&value)
void SetGrantReadACP(const Aws::String &value)
CopyObjectRequest & WithExpectedSourceBucketOwner(const Aws::String &value)
CopyObjectRequest & WithSSEKMSEncryptionContext(const Aws::String &value)
void SetCacheControl(const Aws::String &value)
void SetCopySourceIfMatch(Aws::String &&value)
CopyObjectRequest & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
CopyObjectRequest & WithCopySourceSSECustomerKey(const char *value)
CopyObjectRequest & WithSSEKMSKeyId(const char *value)
CopyObjectRequest & WithCopySource(Aws::String &&value)
CopyObjectRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
const Aws::Utils::DateTime & GetObjectLockRetainUntilDate() const
const Aws::String & GetBucket() const
const Aws::String & GetCopySourceIfNoneMatch() const
void SetSSEKMSEncryptionContext(Aws::String &&value)
CopyObjectRequest & WithCopySourceSSECustomerKeyMD5(const char *value)
CopyObjectRequest & WithGrantReadACP(const char *value)
void SetCopySourceIfModifiedSince(Aws::Utils::DateTime &&value)
CopyObjectRequest & WithCopySource(const Aws::String &value)
CopyObjectRequest & WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus &&value)
const Aws::String & GetKey() const
void SetGrantWriteACP(Aws::String &&value)
CopyObjectRequest & WithSSEKMSKeyId(const Aws::String &value)
CopyObjectRequest & AddMetadata(const Aws::String &key, Aws::String &&value)
void SetSSEKMSKeyId(Aws::String &&value)
const Aws::String & GetCacheControl() const
void SetCopySourceSSECustomerKeyMD5(const char *value)
CopyObjectRequest & WithCopySourceIfMatch(const Aws::String &value)
void SetContentEncoding(const char *value)
CopyObjectRequest & WithCopySourceIfNoneMatch(Aws::String &&value)
void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime &value)
void SetWebsiteRedirectLocation(const Aws::String &value)
CopyObjectRequest & WithGrantWriteACP(const char *value)
CopyObjectRequest & AddMetadata(const Aws::String &key, const Aws::String &value)
void SetGrantWriteACP(const Aws::String &value)
CopyObjectRequest & WithWebsiteRedirectLocation(const Aws::String &value)
void SetCopySourceIfUnmodifiedSince(const Aws::Utils::DateTime &value)
CopyObjectRequest & WithSSECustomerKey(Aws::String &&value)
CopyObjectRequest & WithSSECustomerAlgorithm(Aws::String &&value)
const ServerSideEncryption & GetServerSideEncryption() const
void SetBucket(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
CopyObjectRequest & WithCopySourceIfModifiedSince(Aws::Utils::DateTime &&value)
CopyObjectRequest & WithCopySourceIfUnmodifiedSince(const Aws::Utils::DateTime &value)
void SetCopySourceSSECustomerAlgorithm(const Aws::String &value)
CopyObjectRequest & WithSSECustomerKey(const char *value)
CopyObjectRequest & WithExpectedBucketOwner(Aws::String &&value)
CopyObjectRequest & WithSSECustomerAlgorithm(const Aws::String &value)
CopyObjectRequest & WithCopySourceIfNoneMatch(const char *value)
CopyObjectRequest & WithGrantReadACP(Aws::String &&value)
void SetSSECustomerKey(const Aws::String &value)
CopyObjectRequest & WithSSEKMSKeyId(Aws::String &&value)
void SetKey(const Aws::String &value)
void SetSSECustomerAlgorithm(const char *value)
void SetSSECustomerKeyMD5(const char *value)
void SetExpires(const Aws::Utils::DateTime &value)
const StorageClass & GetStorageClass() const
void SetSSEKMSEncryptionContext(const char *value)
void SetContentLanguage(const char *value)
CopyObjectRequest & WithContentEncoding(Aws::String &&value)
void SetBucket(Aws::String &&value)
void SetGrantReadACP(const char *value)
CopyObjectRequest & WithContentLanguage(Aws::String &&value)
void SetChecksumAlgorithm(const ChecksumAlgorithm &value)
CopyObjectRequest & WithKey(const Aws::String &value)
const ObjectLockMode & GetObjectLockMode() const
void SetWebsiteRedirectLocation(const char *value)
void SetObjectLockMode(ObjectLockMode &&value)
void SetCopySourceIfNoneMatch(const Aws::String &value)
CopyObjectRequest & WithChecksumAlgorithm(const ChecksumAlgorithm &value)
void SetSSECustomerKey(Aws::String &&value)
const Aws::String & GetContentType() const
CopyObjectRequest & WithContentEncoding(const char *value)
CopyObjectRequest & WithExpectedSourceBucketOwner(const char *value)
void SetObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus &value)
void SetACL(const ObjectCannedACL &value)
CopyObjectRequest & WithGrantRead(const Aws::String &value)
const Aws::String & GetExpectedBucketOwner() const
void SetExpectedSourceBucketOwner(const char *value)
const Aws::String & GetSSECustomerKey() const
void SetRequestPayer(RequestPayer &&value)
CopyObjectRequest & WithTagging(const Aws::String &value)
const RequestPayer & GetRequestPayer() const
void SetContentType(Aws::String &&value)
void SetCopySource(const Aws::String &value)
CopyObjectRequest & WithExpires(const Aws::Utils::DateTime &value)
CopyObjectRequest & WithCacheControl(Aws::String &&value)
void SetTaggingDirective(TaggingDirective &&value)
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_S3_API Aws::String SerializePayload() const override
const Aws::String & GetSSECustomerAlgorithm() const
CopyObjectRequest & WithKey(const char *value)
void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus &&value)
CopyObjectRequest & WithGrantRead(const char *value)
AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
void SetStorageClass(const StorageClass &value)
const Aws::String & GetCopySource() const
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetSSECustomerKeyMD5(Aws::String &&value)
CopyObjectRequest & WithContentType(const Aws::String &value)
CopyObjectRequest & AddMetadata(const char *key, Aws::String &&value)
CopyObjectRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
void SetContentType(const char *value)
void SetExpectedBucketOwner(const Aws::String &value)
CopyObjectRequest & WithContentEncoding(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
const Aws::String & GetGrantRead() const
const ObjectCannedACL & GetACL() const
const Aws::String & GetContentEncoding() const
void SetMetadataDirective(MetadataDirective &&value)
void SetCopySourceSSECustomerKeyMD5(const Aws::String &value)
CopyObjectRequest & WithKey(Aws::String &&value)
const Aws::String & GetCopySourceSSECustomerAlgorithm() const
void SetSSECustomerKeyMD5(const Aws::String &value)
const Aws::String & GetSSEKMSKeyId() const
CopyObjectRequest & WithChecksumAlgorithm(ChecksumAlgorithm &&value)
CopyObjectRequest & WithContentDisposition(const Aws::String &value)
CopyObjectRequest & AddMetadata(const char *key, const char *value)
CopyObjectRequest & WithGrantWriteACP(const Aws::String &value)
void SetGrantFullControl(Aws::String &&value)
Aws::Endpoint::EndpointParameters EndpointParameters
Definition: S3Request.h:22
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_iostream< char, std::char_traits< char > > IOStream
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String