AWS SDK for C++

AWS SDK for C++ Version 1.11.892

Loading...
Searching...
No Matches
CopyObjectRequest.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3-crt/S3CrtRequest.h>
11#include <aws/s3-crt/S3Crt_EXPORTS.h>
12#include <aws/s3-crt/model/AnnotationDirective.h>
13#include <aws/s3-crt/model/ChecksumAlgorithm.h>
14#include <aws/s3-crt/model/MetadataDirective.h>
15#include <aws/s3-crt/model/ObjectCannedACL.h>
16#include <aws/s3-crt/model/ObjectLockEventHold.h>
17#include <aws/s3-crt/model/ObjectLockLegalHoldStatus.h>
18#include <aws/s3-crt/model/ObjectLockMode.h>
19#include <aws/s3-crt/model/RequestPayer.h>
20#include <aws/s3-crt/model/ServerSideEncryption.h>
21#include <aws/s3-crt/model/StorageClass.h>
22#include <aws/s3-crt/model/TaggingDirective.h>
23
24#include <utility>
25
26namespace Aws {
27namespace Http {
28class URI;
29} // namespace Http
30namespace S3Crt {
31namespace Model {
32
36 public:
37 AWS_S3CRT_API CopyObjectRequest() = default;
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 "CopyObject"; }
44
45 AWS_S3CRT_API Aws::String SerializePayload() const override;
46
47 AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
48
50
51 AWS_S3CRT_API bool HasEmbeddedError(IOStream& body, const Http::HeaderValueCollection& header) const override;
55 AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override;
56
58
81 inline ObjectCannedACL GetACL() const { return m_aCL; }
82 inline bool ACLHasBeenSet() const { return m_aCLHasBeenSet; }
83 inline void SetACL(ObjectCannedACL value) {
84 m_aCLHasBeenSet = true;
85 m_aCL = value;
86 }
88 SetACL(value);
89 return *this;
90 }
92
94
138 inline const Aws::String& GetBucket() const { return m_bucket; }
139 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
140 template <typename BucketT = Aws::String>
141 void SetBucket(BucketT&& value) {
142 m_bucketHasBeenSet = true;
143 m_bucket = std::forward<BucketT>(value);
144 }
145 template <typename BucketT = Aws::String>
146 CopyObjectRequest& WithBucket(BucketT&& value) {
147 SetBucket(std::forward<BucketT>(value));
148 return *this;
149 }
151
153
156 inline const Aws::String& GetCacheControl() const { return m_cacheControl; }
157 inline bool CacheControlHasBeenSet() const { return m_cacheControlHasBeenSet; }
158 template <typename CacheControlT = Aws::String>
159 void SetCacheControl(CacheControlT&& value) {
160 m_cacheControlHasBeenSet = true;
161 m_cacheControl = std::forward<CacheControlT>(value);
162 }
163 template <typename CacheControlT = Aws::String>
164 CopyObjectRequest& WithCacheControl(CacheControlT&& value) {
165 SetCacheControl(std::forward<CacheControlT>(value));
166 return *this;
167 }
169
171
187 inline ChecksumAlgorithm GetChecksumAlgorithm() const { return m_checksumAlgorithm; }
188 inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; }
190 m_checksumAlgorithmHasBeenSet = true;
191 m_checksumAlgorithm = value;
192 }
195 return *this;
196 }
198
200
205 inline const Aws::String& GetContentDisposition() const { return m_contentDisposition; }
206 inline bool ContentDispositionHasBeenSet() const { return m_contentDispositionHasBeenSet; }
207 template <typename ContentDispositionT = Aws::String>
208 void SetContentDisposition(ContentDispositionT&& value) {
209 m_contentDispositionHasBeenSet = true;
210 m_contentDisposition = std::forward<ContentDispositionT>(value);
211 }
212 template <typename ContentDispositionT = Aws::String>
213 CopyObjectRequest& WithContentDisposition(ContentDispositionT&& value) {
214 SetContentDisposition(std::forward<ContentDispositionT>(value));
215 return *this;
216 }
218
220
226 inline const Aws::String& GetContentEncoding() const { return m_contentEncoding; }
227 inline bool ContentEncodingHasBeenSet() const { return m_contentEncodingHasBeenSet; }
228 template <typename ContentEncodingT = Aws::String>
229 void SetContentEncoding(ContentEncodingT&& value) {
230 m_contentEncodingHasBeenSet = true;
231 m_contentEncoding = std::forward<ContentEncodingT>(value);
232 }
233 template <typename ContentEncodingT = Aws::String>
234 CopyObjectRequest& WithContentEncoding(ContentEncodingT&& value) {
235 SetContentEncoding(std::forward<ContentEncodingT>(value));
236 return *this;
237 }
239
241
244 inline const Aws::String& GetContentLanguage() const { return m_contentLanguage; }
245 inline bool ContentLanguageHasBeenSet() const { return m_contentLanguageHasBeenSet; }
246 template <typename ContentLanguageT = Aws::String>
247 void SetContentLanguage(ContentLanguageT&& value) {
248 m_contentLanguageHasBeenSet = true;
249 m_contentLanguage = std::forward<ContentLanguageT>(value);
250 }
251 template <typename ContentLanguageT = Aws::String>
252 CopyObjectRequest& WithContentLanguage(ContentLanguageT&& value) {
253 SetContentLanguage(std::forward<ContentLanguageT>(value));
254 return *this;
255 }
257
259
262 inline const Aws::String& GetContentType() const { return m_contentType; }
263 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
264 template <typename ContentTypeT = Aws::String>
265 void SetContentType(ContentTypeT&& value) {
266 m_contentTypeHasBeenSet = true;
267 m_contentType = std::forward<ContentTypeT>(value);
268 }
269 template <typename ContentTypeT = Aws::String>
270 CopyObjectRequest& WithContentType(ContentTypeT&& value) {
271 SetContentType(std::forward<ContentTypeT>(value));
272 return *this;
273 }
275
277
331 inline const Aws::String& GetCopySource() const { return m_copySource; }
332 inline bool CopySourceHasBeenSet() const { return m_copySourceHasBeenSet; }
333 template <typename CopySourceT = Aws::String>
334 void SetCopySource(CopySourceT&& value) {
335 m_copySourceHasBeenSet = true;
336 m_copySource = std::forward<CopySourceT>(value);
337 }
338 template <typename CopySourceT = Aws::String>
339 CopyObjectRequest& WithCopySource(CopySourceT&& value) {
340 SetCopySource(std::forward<CopySourceT>(value));
341 return *this;
342 }
344
346
356 inline const Aws::String& GetCopySourceIfMatch() const { return m_copySourceIfMatch; }
357 inline bool CopySourceIfMatchHasBeenSet() const { return m_copySourceIfMatchHasBeenSet; }
358 template <typename CopySourceIfMatchT = Aws::String>
359 void SetCopySourceIfMatch(CopySourceIfMatchT&& value) {
360 m_copySourceIfMatchHasBeenSet = true;
361 m_copySourceIfMatch = std::forward<CopySourceIfMatchT>(value);
362 }
363 template <typename CopySourceIfMatchT = Aws::String>
364 CopyObjectRequest& WithCopySourceIfMatch(CopySourceIfMatchT&& value) {
365 SetCopySourceIfMatch(std::forward<CopySourceIfMatchT>(value));
366 return *this;
367 }
369
371
381 inline const Aws::Utils::DateTime& GetCopySourceIfModifiedSince() const { return m_copySourceIfModifiedSince; }
382 inline bool CopySourceIfModifiedSinceHasBeenSet() const { return m_copySourceIfModifiedSinceHasBeenSet; }
383 template <typename CopySourceIfModifiedSinceT = Aws::Utils::DateTime>
384 void SetCopySourceIfModifiedSince(CopySourceIfModifiedSinceT&& value) {
385 m_copySourceIfModifiedSinceHasBeenSet = true;
386 m_copySourceIfModifiedSince = std::forward<CopySourceIfModifiedSinceT>(value);
387 }
388 template <typename CopySourceIfModifiedSinceT = Aws::Utils::DateTime>
389 CopyObjectRequest& WithCopySourceIfModifiedSince(CopySourceIfModifiedSinceT&& value) {
390 SetCopySourceIfModifiedSince(std::forward<CopySourceIfModifiedSinceT>(value));
391 return *this;
392 }
394
396
406 inline const Aws::String& GetCopySourceIfNoneMatch() const { return m_copySourceIfNoneMatch; }
407 inline bool CopySourceIfNoneMatchHasBeenSet() const { return m_copySourceIfNoneMatchHasBeenSet; }
408 template <typename CopySourceIfNoneMatchT = Aws::String>
409 void SetCopySourceIfNoneMatch(CopySourceIfNoneMatchT&& value) {
410 m_copySourceIfNoneMatchHasBeenSet = true;
411 m_copySourceIfNoneMatch = std::forward<CopySourceIfNoneMatchT>(value);
412 }
413 template <typename CopySourceIfNoneMatchT = Aws::String>
414 CopyObjectRequest& WithCopySourceIfNoneMatch(CopySourceIfNoneMatchT&& value) {
415 SetCopySourceIfNoneMatch(std::forward<CopySourceIfNoneMatchT>(value));
416 return *this;
417 }
419
421
431 inline const Aws::Utils::DateTime& GetCopySourceIfUnmodifiedSince() const { return m_copySourceIfUnmodifiedSince; }
432 inline bool CopySourceIfUnmodifiedSinceHasBeenSet() const { return m_copySourceIfUnmodifiedSinceHasBeenSet; }
433 template <typename CopySourceIfUnmodifiedSinceT = Aws::Utils::DateTime>
434 void SetCopySourceIfUnmodifiedSince(CopySourceIfUnmodifiedSinceT&& value) {
435 m_copySourceIfUnmodifiedSinceHasBeenSet = true;
436 m_copySourceIfUnmodifiedSince = std::forward<CopySourceIfUnmodifiedSinceT>(value);
437 }
438 template <typename CopySourceIfUnmodifiedSinceT = Aws::Utils::DateTime>
439 CopyObjectRequest& WithCopySourceIfUnmodifiedSince(CopySourceIfUnmodifiedSinceT&& value) {
440 SetCopySourceIfUnmodifiedSince(std::forward<CopySourceIfUnmodifiedSinceT>(value));
441 return *this;
442 }
444
446
449 inline const Aws::Utils::DateTime& GetExpires() const { return m_expires; }
450 inline bool ExpiresHasBeenSet() const { return m_expiresHasBeenSet; }
451 template <typename ExpiresT = Aws::Utils::DateTime>
452 void SetExpires(ExpiresT&& value) {
453 m_expiresHasBeenSet = true;
454 m_expires = std::forward<ExpiresT>(value);
455 }
456 template <typename ExpiresT = Aws::Utils::DateTime>
457 CopyObjectRequest& WithExpires(ExpiresT&& value) {
458 SetExpires(std::forward<ExpiresT>(value));
459 return *this;
460 }
462
464
470 inline const Aws::String& GetGrantFullControl() const { return m_grantFullControl; }
471 inline bool GrantFullControlHasBeenSet() const { return m_grantFullControlHasBeenSet; }
472 template <typename GrantFullControlT = Aws::String>
473 void SetGrantFullControl(GrantFullControlT&& value) {
474 m_grantFullControlHasBeenSet = true;
475 m_grantFullControl = std::forward<GrantFullControlT>(value);
476 }
477 template <typename GrantFullControlT = Aws::String>
478 CopyObjectRequest& WithGrantFullControl(GrantFullControlT&& value) {
479 SetGrantFullControl(std::forward<GrantFullControlT>(value));
480 return *this;
481 }
483
485
491 inline const Aws::String& GetGrantRead() const { return m_grantRead; }
492 inline bool GrantReadHasBeenSet() const { return m_grantReadHasBeenSet; }
493 template <typename GrantReadT = Aws::String>
494 void SetGrantRead(GrantReadT&& value) {
495 m_grantReadHasBeenSet = true;
496 m_grantRead = std::forward<GrantReadT>(value);
497 }
498 template <typename GrantReadT = Aws::String>
499 CopyObjectRequest& WithGrantRead(GrantReadT&& value) {
500 SetGrantRead(std::forward<GrantReadT>(value));
501 return *this;
502 }
504
506
512 inline const Aws::String& GetGrantReadACP() const { return m_grantReadACP; }
513 inline bool GrantReadACPHasBeenSet() const { return m_grantReadACPHasBeenSet; }
514 template <typename GrantReadACPT = Aws::String>
515 void SetGrantReadACP(GrantReadACPT&& value) {
516 m_grantReadACPHasBeenSet = true;
517 m_grantReadACP = std::forward<GrantReadACPT>(value);
518 }
519 template <typename GrantReadACPT = Aws::String>
520 CopyObjectRequest& WithGrantReadACP(GrantReadACPT&& value) {
521 SetGrantReadACP(std::forward<GrantReadACPT>(value));
522 return *this;
523 }
525
527
533 inline const Aws::String& GetGrantWriteACP() const { return m_grantWriteACP; }
534 inline bool GrantWriteACPHasBeenSet() const { return m_grantWriteACPHasBeenSet; }
535 template <typename GrantWriteACPT = Aws::String>
536 void SetGrantWriteACP(GrantWriteACPT&& value) {
537 m_grantWriteACPHasBeenSet = true;
538 m_grantWriteACP = std::forward<GrantWriteACPT>(value);
539 }
540 template <typename GrantWriteACPT = Aws::String>
541 CopyObjectRequest& WithGrantWriteACP(GrantWriteACPT&& value) {
542 SetGrantWriteACP(std::forward<GrantWriteACPT>(value));
543 return *this;
544 }
546
548
558 inline const Aws::String& GetIfMatch() const { return m_ifMatch; }
559 inline bool IfMatchHasBeenSet() const { return m_ifMatchHasBeenSet; }
560 template <typename IfMatchT = Aws::String>
561 void SetIfMatch(IfMatchT&& value) {
562 m_ifMatchHasBeenSet = true;
563 m_ifMatch = std::forward<IfMatchT>(value);
564 }
565 template <typename IfMatchT = Aws::String>
566 CopyObjectRequest& WithIfMatch(IfMatchT&& value) {
567 SetIfMatch(std::forward<IfMatchT>(value));
568 return *this;
569 }
571
573
582 inline const Aws::String& GetIfNoneMatch() const { return m_ifNoneMatch; }
583 inline bool IfNoneMatchHasBeenSet() const { return m_ifNoneMatchHasBeenSet; }
584 template <typename IfNoneMatchT = Aws::String>
585 void SetIfNoneMatch(IfNoneMatchT&& value) {
586 m_ifNoneMatchHasBeenSet = true;
587 m_ifNoneMatch = std::forward<IfNoneMatchT>(value);
588 }
589 template <typename IfNoneMatchT = Aws::String>
590 CopyObjectRequest& WithIfNoneMatch(IfNoneMatchT&& value) {
591 SetIfNoneMatch(std::forward<IfNoneMatchT>(value));
592 return *this;
593 }
595
597
600 inline const Aws::String& GetKey() const { return m_key; }
601 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
602 template <typename KeyT = Aws::String>
603 void SetKey(KeyT&& value) {
604 m_keyHasBeenSet = true;
605 m_key = std::forward<KeyT>(value);
606 }
607 template <typename KeyT = Aws::String>
608 CopyObjectRequest& WithKey(KeyT&& value) {
609 SetKey(std::forward<KeyT>(value));
610 return *this;
611 }
613
615
618 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const { return m_metadata; }
619 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
620 template <typename MetadataT = Aws::Map<Aws::String, Aws::String>>
621 void SetMetadata(MetadataT&& value) {
622 m_metadataHasBeenSet = true;
623 m_metadata = std::forward<MetadataT>(value);
624 }
625 template <typename MetadataT = Aws::Map<Aws::String, Aws::String>>
626 CopyObjectRequest& WithMetadata(MetadataT&& value) {
627 SetMetadata(std::forward<MetadataT>(value));
628 return *this;
629 }
630 template <typename MetadataKeyT = Aws::String, typename MetadataValueT = Aws::String>
631 CopyObjectRequest& AddMetadata(MetadataKeyT&& key, MetadataValueT&& value) {
632 m_metadataHasBeenSet = true;
633 m_metadata.emplace(std::forward<MetadataKeyT>(key), std::forward<MetadataValueT>(value));
634 return *this;
635 }
637
639
655 inline MetadataDirective GetMetadataDirective() const { return m_metadataDirective; }
656 inline bool MetadataDirectiveHasBeenSet() const { return m_metadataDirectiveHasBeenSet; }
658 m_metadataDirectiveHasBeenSet = true;
659 m_metadataDirective = value;
660 }
663 return *this;
664 }
666
668
699 inline TaggingDirective GetTaggingDirective() const { return m_taggingDirective; }
700 inline bool TaggingDirectiveHasBeenSet() const { return m_taggingDirectiveHasBeenSet; }
702 m_taggingDirectiveHasBeenSet = true;
703 m_taggingDirective = value;
704 }
706 SetTaggingDirective(value);
707 return *this;
708 }
710
712
737 inline AnnotationDirective GetAnnotationDirective() const { return m_annotationDirective; }
738 inline bool AnnotationDirectiveHasBeenSet() const { return m_annotationDirectiveHasBeenSet; }
740 m_annotationDirectiveHasBeenSet = true;
741 m_annotationDirective = value;
742 }
745 return *this;
746 }
748
750
819 inline ServerSideEncryption GetServerSideEncryption() const { return m_serverSideEncryption; }
820 inline bool ServerSideEncryptionHasBeenSet() const { return m_serverSideEncryptionHasBeenSet; }
822 m_serverSideEncryptionHasBeenSet = true;
823 m_serverSideEncryption = value;
824 }
827 return *this;
828 }
830
832
862 inline StorageClass GetStorageClass() const { return m_storageClass; }
863 inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; }
864 inline void SetStorageClass(StorageClass value) {
865 m_storageClassHasBeenSet = true;
866 m_storageClass = value;
867 }
869 SetStorageClass(value);
870 return *this;
871 }
873
875
885 inline const Aws::String& GetWebsiteRedirectLocation() const { return m_websiteRedirectLocation; }
886 inline bool WebsiteRedirectLocationHasBeenSet() const { return m_websiteRedirectLocationHasBeenSet; }
887 template <typename WebsiteRedirectLocationT = Aws::String>
888 void SetWebsiteRedirectLocation(WebsiteRedirectLocationT&& value) {
889 m_websiteRedirectLocationHasBeenSet = true;
890 m_websiteRedirectLocation = std::forward<WebsiteRedirectLocationT>(value);
891 }
892 template <typename WebsiteRedirectLocationT = Aws::String>
893 CopyObjectRequest& WithWebsiteRedirectLocation(WebsiteRedirectLocationT&& value) {
894 SetWebsiteRedirectLocation(std::forward<WebsiteRedirectLocationT>(value));
895 return *this;
896 }
898
900
912 inline const Aws::String& GetSSECustomerAlgorithm() const { return m_sSECustomerAlgorithm; }
913 inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; }
914 template <typename SSECustomerAlgorithmT = Aws::String>
915 void SetSSECustomerAlgorithm(SSECustomerAlgorithmT&& value) {
916 m_sSECustomerAlgorithmHasBeenSet = true;
917 m_sSECustomerAlgorithm = std::forward<SSECustomerAlgorithmT>(value);
918 }
919 template <typename SSECustomerAlgorithmT = Aws::String>
920 CopyObjectRequest& WithSSECustomerAlgorithm(SSECustomerAlgorithmT&& value) {
921 SetSSECustomerAlgorithm(std::forward<SSECustomerAlgorithmT>(value));
922 return *this;
923 }
925
927
936 inline const Aws::String& GetSSECustomerKey() const { return m_sSECustomerKey; }
937 inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; }
938 template <typename SSECustomerKeyT = Aws::String>
939 void SetSSECustomerKey(SSECustomerKeyT&& value) {
940 m_sSECustomerKeyHasBeenSet = true;
941 m_sSECustomerKey = std::forward<SSECustomerKeyT>(value);
942 }
943 template <typename SSECustomerKeyT = Aws::String>
944 CopyObjectRequest& WithSSECustomerKey(SSECustomerKeyT&& value) {
945 SetSSECustomerKey(std::forward<SSECustomerKeyT>(value));
946 return *this;
947 }
949
951
957 inline const Aws::String& GetSSECustomerKeyMD5() const { return m_sSECustomerKeyMD5; }
958 inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; }
959 template <typename SSECustomerKeyMD5T = Aws::String>
960 void SetSSECustomerKeyMD5(SSECustomerKeyMD5T&& value) {
961 m_sSECustomerKeyMD5HasBeenSet = true;
962 m_sSECustomerKeyMD5 = std::forward<SSECustomerKeyMD5T>(value);
963 }
964 template <typename SSECustomerKeyMD5T = Aws::String>
965 CopyObjectRequest& WithSSECustomerKeyMD5(SSECustomerKeyMD5T&& value) {
966 SetSSECustomerKeyMD5(std::forward<SSECustomerKeyMD5T>(value));
967 return *this;
968 }
970
972
994 inline const Aws::String& GetSSEKMSKeyId() const { return m_sSEKMSKeyId; }
995 inline bool SSEKMSKeyIdHasBeenSet() const { return m_sSEKMSKeyIdHasBeenSet; }
996 template <typename SSEKMSKeyIdT = Aws::String>
997 void SetSSEKMSKeyId(SSEKMSKeyIdT&& value) {
998 m_sSEKMSKeyIdHasBeenSet = true;
999 m_sSEKMSKeyId = std::forward<SSEKMSKeyIdT>(value);
1000 }
1001 template <typename SSEKMSKeyIdT = Aws::String>
1002 CopyObjectRequest& WithSSEKMSKeyId(SSEKMSKeyIdT&& value) {
1003 SetSSEKMSKeyId(std::forward<SSEKMSKeyIdT>(value));
1004 return *this;
1005 }
1007
1009
1024 inline const Aws::String& GetSSEKMSEncryptionContext() const { return m_sSEKMSEncryptionContext; }
1025 inline bool SSEKMSEncryptionContextHasBeenSet() const { return m_sSEKMSEncryptionContextHasBeenSet; }
1026 template <typename SSEKMSEncryptionContextT = Aws::String>
1027 void SetSSEKMSEncryptionContext(SSEKMSEncryptionContextT&& value) {
1028 m_sSEKMSEncryptionContextHasBeenSet = true;
1029 m_sSEKMSEncryptionContext = std::forward<SSEKMSEncryptionContextT>(value);
1030 }
1031 template <typename SSEKMSEncryptionContextT = Aws::String>
1032 CopyObjectRequest& WithSSEKMSEncryptionContext(SSEKMSEncryptionContextT&& value) {
1033 SetSSEKMSEncryptionContext(std::forward<SSEKMSEncryptionContextT>(value));
1034 return *this;
1035 }
1037
1039
1056 inline bool GetBucketKeyEnabled() const { return m_bucketKeyEnabled; }
1057 inline bool BucketKeyEnabledHasBeenSet() const { return m_bucketKeyEnabledHasBeenSet; }
1058 inline void SetBucketKeyEnabled(bool value) {
1059 m_bucketKeyEnabledHasBeenSet = true;
1060 m_bucketKeyEnabled = value;
1061 }
1063 SetBucketKeyEnabled(value);
1064 return *this;
1065 }
1067
1069
1077 inline const Aws::String& GetCopySourceSSECustomerAlgorithm() const { return m_copySourceSSECustomerAlgorithm; }
1078 inline bool CopySourceSSECustomerAlgorithmHasBeenSet() const { return m_copySourceSSECustomerAlgorithmHasBeenSet; }
1079 template <typename CopySourceSSECustomerAlgorithmT = Aws::String>
1080 void SetCopySourceSSECustomerAlgorithm(CopySourceSSECustomerAlgorithmT&& value) {
1081 m_copySourceSSECustomerAlgorithmHasBeenSet = true;
1082 m_copySourceSSECustomerAlgorithm = std::forward<CopySourceSSECustomerAlgorithmT>(value);
1083 }
1084 template <typename CopySourceSSECustomerAlgorithmT = Aws::String>
1085 CopyObjectRequest& WithCopySourceSSECustomerAlgorithm(CopySourceSSECustomerAlgorithmT&& value) {
1086 SetCopySourceSSECustomerAlgorithm(std::forward<CopySourceSSECustomerAlgorithmT>(value));
1087 return *this;
1088 }
1090
1092
1101 inline const Aws::String& GetCopySourceSSECustomerKey() const { return m_copySourceSSECustomerKey; }
1102 inline bool CopySourceSSECustomerKeyHasBeenSet() const { return m_copySourceSSECustomerKeyHasBeenSet; }
1103 template <typename CopySourceSSECustomerKeyT = Aws::String>
1104 void SetCopySourceSSECustomerKey(CopySourceSSECustomerKeyT&& value) {
1105 m_copySourceSSECustomerKeyHasBeenSet = true;
1106 m_copySourceSSECustomerKey = std::forward<CopySourceSSECustomerKeyT>(value);
1107 }
1108 template <typename CopySourceSSECustomerKeyT = Aws::String>
1109 CopyObjectRequest& WithCopySourceSSECustomerKey(CopySourceSSECustomerKeyT&& value) {
1110 SetCopySourceSSECustomerKey(std::forward<CopySourceSSECustomerKeyT>(value));
1111 return *this;
1112 }
1114
1116
1125 inline const Aws::String& GetCopySourceSSECustomerKeyMD5() const { return m_copySourceSSECustomerKeyMD5; }
1126 inline bool CopySourceSSECustomerKeyMD5HasBeenSet() const { return m_copySourceSSECustomerKeyMD5HasBeenSet; }
1127 template <typename CopySourceSSECustomerKeyMD5T = Aws::String>
1128 void SetCopySourceSSECustomerKeyMD5(CopySourceSSECustomerKeyMD5T&& value) {
1129 m_copySourceSSECustomerKeyMD5HasBeenSet = true;
1130 m_copySourceSSECustomerKeyMD5 = std::forward<CopySourceSSECustomerKeyMD5T>(value);
1131 }
1132 template <typename CopySourceSSECustomerKeyMD5T = Aws::String>
1133 CopyObjectRequest& WithCopySourceSSECustomerKeyMD5(CopySourceSSECustomerKeyMD5T&& value) {
1134 SetCopySourceSSECustomerKeyMD5(std::forward<CopySourceSSECustomerKeyMD5T>(value));
1135 return *this;
1136 }
1138
1140
1141 inline RequestPayer GetRequestPayer() const { return m_requestPayer; }
1142 inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; }
1143 inline void SetRequestPayer(RequestPayer value) {
1144 m_requestPayerHasBeenSet = true;
1145 m_requestPayer = value;
1146 }
1148 SetRequestPayer(value);
1149 return *this;
1150 }
1152
1154
1189 inline const Aws::String& GetTagging() const { return m_tagging; }
1190 inline bool TaggingHasBeenSet() const { return m_taggingHasBeenSet; }
1191 template <typename TaggingT = Aws::String>
1192 void SetTagging(TaggingT&& value) {
1193 m_taggingHasBeenSet = true;
1194 m_tagging = std::forward<TaggingT>(value);
1195 }
1196 template <typename TaggingT = Aws::String>
1197 CopyObjectRequest& WithTagging(TaggingT&& value) {
1198 SetTagging(std::forward<TaggingT>(value));
1199 return *this;
1200 }
1202
1204
1208 inline ObjectLockMode GetObjectLockMode() const { return m_objectLockMode; }
1209 inline bool ObjectLockModeHasBeenSet() const { return m_objectLockModeHasBeenSet; }
1211 m_objectLockModeHasBeenSet = true;
1212 m_objectLockMode = value;
1213 }
1215 SetObjectLockMode(value);
1216 return *this;
1217 }
1219
1221
1226 inline const Aws::Utils::DateTime& GetObjectLockRetainUntilDate() const { return m_objectLockRetainUntilDate; }
1227 inline bool ObjectLockRetainUntilDateHasBeenSet() const { return m_objectLockRetainUntilDateHasBeenSet; }
1228 template <typename ObjectLockRetainUntilDateT = Aws::Utils::DateTime>
1229 void SetObjectLockRetainUntilDate(ObjectLockRetainUntilDateT&& value) {
1230 m_objectLockRetainUntilDateHasBeenSet = true;
1231 m_objectLockRetainUntilDate = std::forward<ObjectLockRetainUntilDateT>(value);
1232 }
1233 template <typename ObjectLockRetainUntilDateT = Aws::Utils::DateTime>
1234 CopyObjectRequest& WithObjectLockRetainUntilDate(ObjectLockRetainUntilDateT&& value) {
1235 SetObjectLockRetainUntilDate(std::forward<ObjectLockRetainUntilDateT>(value));
1236 return *this;
1237 }
1239
1241
1245 inline ObjectLockLegalHoldStatus GetObjectLockLegalHoldStatus() const { return m_objectLockLegalHoldStatus; }
1246 inline bool ObjectLockLegalHoldStatusHasBeenSet() const { return m_objectLockLegalHoldStatusHasBeenSet; }
1248 m_objectLockLegalHoldStatusHasBeenSet = true;
1249 m_objectLockLegalHoldStatus = value;
1250 }
1253 return *this;
1254 }
1256
1258
1263 inline ObjectLockEventHold GetObjectLockEventHold() const { return m_objectLockEventHold; }
1264 inline bool ObjectLockEventHoldHasBeenSet() const { return m_objectLockEventHoldHasBeenSet; }
1266 m_objectLockEventHoldHasBeenSet = true;
1267 m_objectLockEventHold = value;
1268 }
1271 return *this;
1272 }
1274
1276
1281 inline int GetObjectLockEventHoldDurationDays() const { return m_objectLockEventHoldDurationDays; }
1282 inline bool ObjectLockEventHoldDurationDaysHasBeenSet() const { return m_objectLockEventHoldDurationDaysHasBeenSet; }
1283 inline void SetObjectLockEventHoldDurationDays(int value) {
1284 m_objectLockEventHoldDurationDaysHasBeenSet = true;
1285 m_objectLockEventHoldDurationDays = value;
1286 }
1289 return *this;
1290 }
1292
1294
1299 inline int GetObjectLockEventHoldDurationYears() const { return m_objectLockEventHoldDurationYears; }
1300 inline bool ObjectLockEventHoldDurationYearsHasBeenSet() const { return m_objectLockEventHoldDurationYearsHasBeenSet; }
1302 m_objectLockEventHoldDurationYearsHasBeenSet = true;
1303 m_objectLockEventHoldDurationYears = value;
1304 }
1307 return *this;
1308 }
1310
1312
1318 inline const Aws::String& GetExpectedBucketOwner() const { return m_expectedBucketOwner; }
1319 inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; }
1320 template <typename ExpectedBucketOwnerT = Aws::String>
1321 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) {
1322 m_expectedBucketOwnerHasBeenSet = true;
1323 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
1324 }
1325 template <typename ExpectedBucketOwnerT = Aws::String>
1326 CopyObjectRequest& WithExpectedBucketOwner(ExpectedBucketOwnerT&& value) {
1327 SetExpectedBucketOwner(std::forward<ExpectedBucketOwnerT>(value));
1328 return *this;
1329 }
1331
1333
1338 inline const Aws::String& GetExpectedSourceBucketOwner() const { return m_expectedSourceBucketOwner; }
1339 inline bool ExpectedSourceBucketOwnerHasBeenSet() const { return m_expectedSourceBucketOwnerHasBeenSet; }
1340 template <typename ExpectedSourceBucketOwnerT = Aws::String>
1341 void SetExpectedSourceBucketOwner(ExpectedSourceBucketOwnerT&& value) {
1342 m_expectedSourceBucketOwnerHasBeenSet = true;
1343 m_expectedSourceBucketOwner = std::forward<ExpectedSourceBucketOwnerT>(value);
1344 }
1345 template <typename ExpectedSourceBucketOwnerT = Aws::String>
1346 CopyObjectRequest& WithExpectedSourceBucketOwner(ExpectedSourceBucketOwnerT&& value) {
1347 SetExpectedSourceBucketOwner(std::forward<ExpectedSourceBucketOwnerT>(value));
1348 return *this;
1349 }
1351
1353
1354 inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const { return m_customizedAccessLogTag; }
1355 inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; }
1356 template <typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
1357 void SetCustomizedAccessLogTag(CustomizedAccessLogTagT&& value) {
1358 m_customizedAccessLogTagHasBeenSet = true;
1359 m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value);
1360 }
1361 template <typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
1362 CopyObjectRequest& WithCustomizedAccessLogTag(CustomizedAccessLogTagT&& value) {
1363 SetCustomizedAccessLogTag(std::forward<CustomizedAccessLogTagT>(value));
1364 return *this;
1365 }
1366 template <typename CustomizedAccessLogTagKeyT = Aws::String, typename CustomizedAccessLogTagValueT = Aws::String>
1367 CopyObjectRequest& AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT&& key, CustomizedAccessLogTagValueT&& value) {
1368 m_customizedAccessLogTagHasBeenSet = true;
1369 m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
1370 return *this;
1371 }
1373 private:
1375
1376 Aws::String m_bucket;
1377
1378 Aws::String m_cacheControl;
1379
1380 ChecksumAlgorithm m_checksumAlgorithm{ChecksumAlgorithm::NOT_SET};
1381
1382 Aws::String m_contentDisposition;
1383
1384 Aws::String m_contentEncoding;
1385
1386 Aws::String m_contentLanguage;
1387
1388 Aws::String m_contentType;
1389
1390 Aws::String m_copySource;
1391
1392 Aws::String m_copySourceIfMatch;
1393
1394 Aws::Utils::DateTime m_copySourceIfModifiedSince{};
1395
1396 Aws::String m_copySourceIfNoneMatch;
1397
1398 Aws::Utils::DateTime m_copySourceIfUnmodifiedSince{};
1399
1400 Aws::Utils::DateTime m_expires{};
1401
1402 Aws::String m_grantFullControl;
1403
1404 Aws::String m_grantRead;
1405
1406 Aws::String m_grantReadACP;
1407
1408 Aws::String m_grantWriteACP;
1409
1410 Aws::String m_ifMatch;
1411
1412 Aws::String m_ifNoneMatch;
1413
1414 Aws::String m_key;
1415
1417
1418 MetadataDirective m_metadataDirective{MetadataDirective::NOT_SET};
1419
1420 TaggingDirective m_taggingDirective{TaggingDirective::NOT_SET};
1421
1423
1425
1426 StorageClass m_storageClass{StorageClass::NOT_SET};
1427
1428 Aws::String m_websiteRedirectLocation;
1429
1430 Aws::String m_sSECustomerAlgorithm;
1431
1432 Aws::String m_sSECustomerKey;
1433
1434 Aws::String m_sSECustomerKeyMD5;
1435
1436 Aws::String m_sSEKMSKeyId;
1437
1438 Aws::String m_sSEKMSEncryptionContext;
1439
1440 bool m_bucketKeyEnabled{false};
1441
1442 Aws::String m_copySourceSSECustomerAlgorithm;
1443
1444 Aws::String m_copySourceSSECustomerKey;
1445
1446 Aws::String m_copySourceSSECustomerKeyMD5;
1447
1448 RequestPayer m_requestPayer{RequestPayer::NOT_SET};
1449
1450 Aws::String m_tagging;
1451
1452 ObjectLockMode m_objectLockMode{ObjectLockMode::NOT_SET};
1453
1454 Aws::Utils::DateTime m_objectLockRetainUntilDate{};
1455
1457
1459
1460 int m_objectLockEventHoldDurationDays{0};
1461
1462 int m_objectLockEventHoldDurationYears{0};
1463
1464 Aws::String m_expectedBucketOwner;
1465
1466 Aws::String m_expectedSourceBucketOwner;
1467
1468 Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag;
1469 bool m_aCLHasBeenSet = false;
1470 bool m_bucketHasBeenSet = false;
1471 bool m_cacheControlHasBeenSet = false;
1472 bool m_checksumAlgorithmHasBeenSet = false;
1473 bool m_contentDispositionHasBeenSet = false;
1474 bool m_contentEncodingHasBeenSet = false;
1475 bool m_contentLanguageHasBeenSet = false;
1476 bool m_contentTypeHasBeenSet = false;
1477 bool m_copySourceHasBeenSet = false;
1478 bool m_copySourceIfMatchHasBeenSet = false;
1479 bool m_copySourceIfModifiedSinceHasBeenSet = false;
1480 bool m_copySourceIfNoneMatchHasBeenSet = false;
1481 bool m_copySourceIfUnmodifiedSinceHasBeenSet = false;
1482 bool m_expiresHasBeenSet = false;
1483 bool m_grantFullControlHasBeenSet = false;
1484 bool m_grantReadHasBeenSet = false;
1485 bool m_grantReadACPHasBeenSet = false;
1486 bool m_grantWriteACPHasBeenSet = false;
1487 bool m_ifMatchHasBeenSet = false;
1488 bool m_ifNoneMatchHasBeenSet = false;
1489 bool m_keyHasBeenSet = false;
1490 bool m_metadataHasBeenSet = false;
1491 bool m_metadataDirectiveHasBeenSet = false;
1492 bool m_taggingDirectiveHasBeenSet = false;
1493 bool m_annotationDirectiveHasBeenSet = false;
1494 bool m_serverSideEncryptionHasBeenSet = false;
1495 bool m_storageClassHasBeenSet = false;
1496 bool m_websiteRedirectLocationHasBeenSet = false;
1497 bool m_sSECustomerAlgorithmHasBeenSet = false;
1498 bool m_sSECustomerKeyHasBeenSet = false;
1499 bool m_sSECustomerKeyMD5HasBeenSet = false;
1500 bool m_sSEKMSKeyIdHasBeenSet = false;
1501 bool m_sSEKMSEncryptionContextHasBeenSet = false;
1502 bool m_bucketKeyEnabledHasBeenSet = false;
1503 bool m_copySourceSSECustomerAlgorithmHasBeenSet = false;
1504 bool m_copySourceSSECustomerKeyHasBeenSet = false;
1505 bool m_copySourceSSECustomerKeyMD5HasBeenSet = false;
1506 bool m_requestPayerHasBeenSet = false;
1507 bool m_taggingHasBeenSet = false;
1508 bool m_objectLockModeHasBeenSet = false;
1509 bool m_objectLockRetainUntilDateHasBeenSet = false;
1510 bool m_objectLockLegalHoldStatusHasBeenSet = false;
1511 bool m_objectLockEventHoldHasBeenSet = false;
1512 bool m_objectLockEventHoldDurationDaysHasBeenSet = false;
1513 bool m_objectLockEventHoldDurationYearsHasBeenSet = false;
1514 bool m_expectedBucketOwnerHasBeenSet = false;
1515 bool m_expectedSourceBucketOwnerHasBeenSet = false;
1516 bool m_customizedAccessLogTagHasBeenSet = false;
1517};
1518
1519} // namespace Model
1520} // namespace S3Crt
1521} // namespace Aws
void SetExpectedSourceBucketOwner(ExpectedSourceBucketOwnerT &&value)
const Aws::String & GetContentLanguage() const
void SetCopySourceIfUnmodifiedSince(CopySourceIfUnmodifiedSinceT &&value)
const Aws::Utils::DateTime & GetObjectLockRetainUntilDate() const
CopyObjectRequest & WithGrantReadACP(GrantReadACPT &&value)
CopyObjectRequest & WithCopySourceSSECustomerKeyMD5(CopySourceSSECustomerKeyMD5T &&value)
CopyObjectRequest & WithServerSideEncryption(ServerSideEncryption value)
void SetGrantReadACP(GrantReadACPT &&value)
const Aws::String & GetSSECustomerKey() const
void SetCopySourceIfNoneMatch(CopySourceIfNoneMatchT &&value)
CopyObjectRequest & WithObjectLockMode(ObjectLockMode value)
CopyObjectRequest & WithBucketKeyEnabled(bool value)
CopyObjectRequest & WithCopySourceIfMatch(CopySourceIfMatchT &&value)
CopyObjectRequest & WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus value)
CopyObjectRequest & WithCopySourceIfNoneMatch(CopySourceIfNoneMatchT &&value)
const Aws::String & GetWebsiteRedirectLocation() const
const Aws::String & GetContentDisposition() const
const Aws::Utils::DateTime & GetCopySourceIfModifiedSince() const
CopyObjectRequest & WithAnnotationDirective(AnnotationDirective value)
const Aws::String & GetGrantRead() const
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
CopyObjectRequest & WithCopySource(CopySourceT &&value)
CopyObjectRequest & WithChecksumAlgorithm(ChecksumAlgorithm value)
AWS_S3CRT_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
const Aws::Utils::DateTime & GetExpires() const
const Aws::String & GetSSEKMSEncryptionContext() const
void SetCacheControl(CacheControlT &&value)
void SetCopySourceIfMatch(CopySourceIfMatchT &&value)
CopyObjectRequest & WithSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
CopyObjectRequest & WithIfMatch(IfMatchT &&value)
CopyObjectRequest & WithExpectedSourceBucketOwner(ExpectedSourceBucketOwnerT &&value)
const Aws::String & GetIfNoneMatch() const
CopyObjectRequest & WithGrantWriteACP(GrantWriteACPT &&value)
CopyObjectRequest & WithIfNoneMatch(IfNoneMatchT &&value)
CopyObjectRequest & WithStorageClass(StorageClass value)
const Aws::String & GetExpectedSourceBucketOwner() const
const Aws::String & GetCopySource() const
CopyObjectRequest & WithSSECustomerKey(SSECustomerKeyT &&value)
void SetObjectLockEventHold(ObjectLockEventHold value)
ChecksumAlgorithm GetChecksumAlgorithm() const
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
void SetSSECustomerKey(SSECustomerKeyT &&value)
void SetContentDisposition(ContentDispositionT &&value)
void SetGrantWriteACP(GrantWriteACPT &&value)
void SetACL(ObjectCannedACL value)
CopyObjectRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
CopyObjectRequest & WithKey(KeyT &&value)
CopyObjectRequest & WithContentType(ContentTypeT &&value)
AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override
void SetServerSideEncryption(ServerSideEncryption value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
void SetAnnotationDirective(AnnotationDirective value)
void SetCopySourceIfModifiedSince(CopySourceIfModifiedSinceT &&value)
CopyObjectRequest & WithSSEKMSKeyId(SSEKMSKeyIdT &&value)
void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus value)
CopyObjectRequest & WithGrantFullControl(GrantFullControlT &&value)
CopyObjectRequest & WithMetadata(MetadataT &&value)
ObjectLockLegalHoldStatus GetObjectLockLegalHoldStatus() const
void SetCopySourceSSECustomerKeyMD5(CopySourceSSECustomerKeyMD5T &&value)
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
CopyObjectRequest & WithTagging(TaggingT &&value)
void SetSSEKMSKeyId(SSEKMSKeyIdT &&value)
void SetCopySourceSSECustomerAlgorithm(CopySourceSSECustomerAlgorithmT &&value)
CopyObjectRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
CopyObjectRequest & WithObjectLockRetainUntilDate(ObjectLockRetainUntilDateT &&value)
const Aws::String & GetCopySourceSSECustomerKeyMD5() const
CopyObjectRequest & WithSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
ObjectLockEventHold GetObjectLockEventHold() const
const Aws::String & GetIfMatch() const
CopyObjectRequest & WithACL(ObjectCannedACL value)
ServerSideEncryption GetServerSideEncryption() const
void SetSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
CopyObjectRequest & WithBucket(BucketT &&value)
void SetContentEncoding(ContentEncodingT &&value)
const Aws::String & GetKey() const
CopyObjectRequest & WithMetadataDirective(MetadataDirective value)
AWS_S3CRT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CopyObjectRequest & WithExpires(ExpiresT &&value)
CopyObjectRequest & WithContentDisposition(ContentDispositionT &&value)
CopyObjectRequest & WithSSEKMSEncryptionContext(SSEKMSEncryptionContextT &&value)
void SetCopySourceSSECustomerKey(CopySourceSSECustomerKeyT &&value)
TaggingDirective GetTaggingDirective() const
const Aws::String & GetBucket() const
const Aws::String & GetExpectedBucketOwner() const
const Aws::String & GetGrantWriteACP() const
CopyObjectRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
const Aws::String & GetSSEKMSKeyId() const
CopyObjectRequest & WithWebsiteRedirectLocation(WebsiteRedirectLocationT &&value)
void SetObjectLockMode(ObjectLockMode value)
void SetSSEKMSEncryptionContext(SSEKMSEncryptionContextT &&value)
AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
CopyObjectRequest & WithCopySourceIfModifiedSince(CopySourceIfModifiedSinceT &&value)
const Aws::String & GetCacheControl() const
CopyObjectRequest & WithCopySourceSSECustomerKey(CopySourceSSECustomerKeyT &&value)
virtual const char * GetServiceRequestName() const override
AnnotationDirective GetAnnotationDirective() const
CopyObjectRequest & WithCacheControl(CacheControlT &&value)
const Aws::String & GetSSECustomerAlgorithm() const
CopyObjectRequest & AddMetadata(MetadataKeyT &&key, MetadataValueT &&value)
CopyObjectRequest & WithCopySourceSSECustomerAlgorithm(CopySourceSSECustomerAlgorithmT &&value)
void SetObjectLockRetainUntilDate(ObjectLockRetainUntilDateT &&value)
void SetContentType(ContentTypeT &&value)
CopyObjectRequest & WithContentEncoding(ContentEncodingT &&value)
const Aws::Utils::DateTime & GetCopySourceIfUnmodifiedSince() const
const Aws::String & GetCopySourceIfMatch() const
AWS_S3CRT_API CopyObjectRequest()=default
CopyObjectRequest & WithRequestPayer(RequestPayer value)
const Aws::String & GetCopySourceSSECustomerKey() const
CopyObjectRequest & WithObjectLockEventHoldDurationDays(int value)
const Aws::String & GetGrantFullControl() const
void SetTaggingDirective(TaggingDirective value)
void SetStorageClass(StorageClass value)
void SetGrantFullControl(GrantFullControlT &&value)
CopyObjectRequest & WithGrantRead(GrantReadT &&value)
void SetCopySource(CopySourceT &&value)
void SetContentLanguage(ContentLanguageT &&value)
const Aws::String & GetCopySourceIfNoneMatch() const
const Aws::String & GetContentType() const
const Aws::String & GetSSECustomerKeyMD5() const
const Aws::String & GetCopySourceSSECustomerAlgorithm() const
void SetMetadataDirective(MetadataDirective value)
void SetIfNoneMatch(IfNoneMatchT &&value)
const Aws::String & GetTagging() const
CopyObjectRequest & WithCopySourceIfUnmodifiedSince(CopySourceIfUnmodifiedSinceT &&value)
void SetWebsiteRedirectLocation(WebsiteRedirectLocationT &&value)
void SetSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
CopyObjectRequest & WithObjectLockEventHoldDurationYears(int value)
CopyObjectRequest & WithContentLanguage(ContentLanguageT &&value)
const Aws::String & GetGrantReadACP() const
AWS_S3CRT_API Aws::String SerializePayload() const override
CopyObjectRequest & WithTaggingDirective(TaggingDirective value)
MetadataDirective GetMetadataDirective() const
const Aws::String & GetContentEncoding() const
void SetChecksumAlgorithm(ChecksumAlgorithm value)
CopyObjectRequest & WithObjectLockEventHold(ObjectLockEventHold value)
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_iostream< char, std::char_traits< char > > IOStream
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String