AWS SDK for C++

AWS SDK for C++ Version 1.11.892

Loading...
Searching...
No Matches
PutObjectRequest.h
1
6#pragma once
7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/s3-crt/S3CrtRequest.h>
12#include <aws/s3-crt/S3Crt_EXPORTS.h>
13#include <aws/s3-crt/model/ChecksumAlgorithm.h>
14#include <aws/s3-crt/model/ObjectCannedACL.h>
15#include <aws/s3-crt/model/ObjectLockEventHold.h>
16#include <aws/s3-crt/model/ObjectLockLegalHoldStatus.h>
17#include <aws/s3-crt/model/ObjectLockMode.h>
18#include <aws/s3-crt/model/RequestPayer.h>
19#include <aws/s3-crt/model/ServerSideEncryption.h>
20#include <aws/s3-crt/model/StorageClass.h>
21
22#include <utility>
23
24namespace Aws {
25namespace Http {
26class URI;
27} // namespace Http
28namespace S3Crt {
29namespace Model {
30
34 public:
35 AWS_S3CRT_API PutObjectRequest() = default;
36
37 // Service request name is the Operation name which will send this request out,
38 // each operation should has unique request name, so that we can get operation's name from this request.
39 // Note: this is not true for response, multiple operations may have the same response name,
40 // so we can not get operation's name from response.
41 inline virtual const char* GetServiceRequestName() const override { return "PutObject"; }
42
43 AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44
46
47 AWS_S3CRT_API bool HasEmbeddedError(IOStream& body, const Http::HeaderValueCollection& header) const override;
48 AWS_S3CRT_API Aws::String GetChecksumAlgorithmName() const override;
49 AWS_S3CRT_API bool ChecksumAlgorithmIsSet() const override;
53 AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override;
54
56
83 inline ObjectCannedACL GetACL() const { return m_aCL; }
84 inline bool ACLHasBeenSet() const { return m_aCLHasBeenSet; }
85 inline void SetACL(ObjectCannedACL value) {
86 m_aCLHasBeenSet = true;
87 m_aCL = value;
88 }
90 SetACL(value);
91 return *this;
92 }
94
96
131 inline const Aws::String& GetBucket() const { return m_bucket; }
132 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
133 template <typename BucketT = Aws::String>
134 void SetBucket(BucketT&& value) {
135 m_bucketHasBeenSet = true;
136 m_bucket = std::forward<BucketT>(value);
137 }
138 template <typename BucketT = Aws::String>
139 PutObjectRequest& WithBucket(BucketT&& value) {
140 SetBucket(std::forward<BucketT>(value));
141 return *this;
142 }
144
146
151 inline const Aws::String& GetCacheControl() const { return m_cacheControl; }
152 inline bool CacheControlHasBeenSet() const { return m_cacheControlHasBeenSet; }
153 template <typename CacheControlT = Aws::String>
154 void SetCacheControl(CacheControlT&& value) {
155 m_cacheControlHasBeenSet = true;
156 m_cacheControl = std::forward<CacheControlT>(value);
157 }
158 template <typename CacheControlT = Aws::String>
159 PutObjectRequest& WithCacheControl(CacheControlT&& value) {
160 SetCacheControl(std::forward<CacheControlT>(value));
161 return *this;
162 }
164
166
171 inline const Aws::String& GetContentDisposition() const { return m_contentDisposition; }
172 inline bool ContentDispositionHasBeenSet() const { return m_contentDispositionHasBeenSet; }
173 template <typename ContentDispositionT = Aws::String>
174 void SetContentDisposition(ContentDispositionT&& value) {
175 m_contentDispositionHasBeenSet = true;
176 m_contentDisposition = std::forward<ContentDispositionT>(value);
177 }
178 template <typename ContentDispositionT = Aws::String>
179 PutObjectRequest& WithContentDisposition(ContentDispositionT&& value) {
180 SetContentDisposition(std::forward<ContentDispositionT>(value));
181 return *this;
182 }
184
186
192 inline const Aws::String& GetContentEncoding() const { return m_contentEncoding; }
193 inline bool ContentEncodingHasBeenSet() const { return m_contentEncodingHasBeenSet; }
194 template <typename ContentEncodingT = Aws::String>
195 void SetContentEncoding(ContentEncodingT&& value) {
196 m_contentEncodingHasBeenSet = true;
197 m_contentEncoding = std::forward<ContentEncodingT>(value);
198 }
199 template <typename ContentEncodingT = Aws::String>
200 PutObjectRequest& WithContentEncoding(ContentEncodingT&& value) {
201 SetContentEncoding(std::forward<ContentEncodingT>(value));
202 return *this;
203 }
205
207
210 inline const Aws::String& GetContentLanguage() const { return m_contentLanguage; }
211 inline bool ContentLanguageHasBeenSet() const { return m_contentLanguageHasBeenSet; }
212 template <typename ContentLanguageT = Aws::String>
213 void SetContentLanguage(ContentLanguageT&& value) {
214 m_contentLanguageHasBeenSet = true;
215 m_contentLanguage = std::forward<ContentLanguageT>(value);
216 }
217 template <typename ContentLanguageT = Aws::String>
218 PutObjectRequest& WithContentLanguage(ContentLanguageT&& value) {
219 SetContentLanguage(std::forward<ContentLanguageT>(value));
220 return *this;
221 }
223
225
230 inline long long GetContentLength() const { return m_contentLength; }
231 inline bool ContentLengthHasBeenSet() const { return m_contentLengthHasBeenSet; }
232 inline void SetContentLength(long long value) {
233 m_contentLengthHasBeenSet = true;
234 m_contentLength = value;
235 }
236 inline PutObjectRequest& WithContentLength(long long value) {
237 SetContentLength(value);
238 return *this;
239 }
241
243
260 inline const Aws::String& GetContentMD5() const { return m_contentMD5; }
261 inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; }
262 template <typename ContentMD5T = Aws::String>
263 void SetContentMD5(ContentMD5T&& value) {
264 m_contentMD5HasBeenSet = true;
265 m_contentMD5 = std::forward<ContentMD5T>(value);
266 }
267 template <typename ContentMD5T = Aws::String>
268 PutObjectRequest& WithContentMD5(ContentMD5T&& value) {
269 SetContentMD5(std::forward<ContentMD5T>(value));
270 return *this;
271 }
273
275
305 inline ChecksumAlgorithm GetChecksumAlgorithm() const { return m_checksumAlgorithm; }
306 inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; }
308 m_checksumAlgorithmHasBeenSet = true;
309 m_checksumAlgorithm = value;
310 }
313 return *this;
314 }
316
318
326 inline const Aws::String& GetChecksumCRC32() const { return m_checksumCRC32; }
327 inline bool ChecksumCRC32HasBeenSet() const { return m_checksumCRC32HasBeenSet; }
328 template <typename ChecksumCRC32T = Aws::String>
329 void SetChecksumCRC32(ChecksumCRC32T&& value) {
330 m_checksumCRC32HasBeenSet = true;
331 m_checksumCRC32 = std::forward<ChecksumCRC32T>(value);
333 }
334 inline void SetChecksumCRC32(const char* value) {
335 m_checksumCRC32HasBeenSet = true;
336 m_checksumCRC32.assign(value);
338 }
339 template <typename ChecksumCRC32T = Aws::String>
340 PutObjectRequest& WithChecksumCRC32(ChecksumCRC32T&& value) {
341 SetChecksumCRC32(std::forward<ChecksumCRC32T>(value));
342 return *this;
343 }
345
347
355 inline const Aws::String& GetChecksumCRC32C() const { return m_checksumCRC32C; }
356 inline bool ChecksumCRC32CHasBeenSet() const { return m_checksumCRC32CHasBeenSet; }
357 template <typename ChecksumCRC32CT = Aws::String>
358 void SetChecksumCRC32C(ChecksumCRC32CT&& value) {
359 m_checksumCRC32CHasBeenSet = true;
360 m_checksumCRC32C = std::forward<ChecksumCRC32CT>(value);
362 }
363 inline void SetChecksumCRC32C(const char* value) {
364 m_checksumCRC32CHasBeenSet = true;
365 m_checksumCRC32C.assign(value);
367 }
368 template <typename ChecksumCRC32CT = Aws::String>
369 PutObjectRequest& WithChecksumCRC32C(ChecksumCRC32CT&& value) {
370 SetChecksumCRC32C(std::forward<ChecksumCRC32CT>(value));
371 return *this;
372 }
374
376
385 inline const Aws::String& GetChecksumCRC64NVME() const { return m_checksumCRC64NVME; }
386 inline bool ChecksumCRC64NVMEHasBeenSet() const { return m_checksumCRC64NVMEHasBeenSet; }
387 template <typename ChecksumCRC64NVMET = Aws::String>
388 void SetChecksumCRC64NVME(ChecksumCRC64NVMET&& value) {
389 m_checksumCRC64NVMEHasBeenSet = true;
390 m_checksumCRC64NVME = std::forward<ChecksumCRC64NVMET>(value);
391 }
392 template <typename ChecksumCRC64NVMET = Aws::String>
393 PutObjectRequest& WithChecksumCRC64NVME(ChecksumCRC64NVMET&& value) {
394 SetChecksumCRC64NVME(std::forward<ChecksumCRC64NVMET>(value));
395 return *this;
396 }
398
400
408 inline const Aws::String& GetChecksumSHA1() const { return m_checksumSHA1; }
409 inline bool ChecksumSHA1HasBeenSet() const { return m_checksumSHA1HasBeenSet; }
410 template <typename ChecksumSHA1T = Aws::String>
411 void SetChecksumSHA1(ChecksumSHA1T&& value) {
412 m_checksumSHA1HasBeenSet = true;
413 m_checksumSHA1 = std::forward<ChecksumSHA1T>(value);
415 }
416 inline void SetChecksumSHA1(const char* value) {
417 m_checksumSHA1HasBeenSet = true;
418 m_checksumSHA1.assign(value);
420 }
421 template <typename ChecksumSHA1T = Aws::String>
422 PutObjectRequest& WithChecksumSHA1(ChecksumSHA1T&& value) {
423 SetChecksumSHA1(std::forward<ChecksumSHA1T>(value));
424 return *this;
425 }
427
429
437 inline const Aws::String& GetChecksumSHA256() const { return m_checksumSHA256; }
438 inline bool ChecksumSHA256HasBeenSet() const { return m_checksumSHA256HasBeenSet; }
439 template <typename ChecksumSHA256T = Aws::String>
440 void SetChecksumSHA256(ChecksumSHA256T&& value) {
441 m_checksumSHA256HasBeenSet = true;
442 m_checksumSHA256 = std::forward<ChecksumSHA256T>(value);
444 }
445 inline void SetChecksumSHA256(const char* value) {
446 m_checksumSHA256HasBeenSet = true;
447 m_checksumSHA256.assign(value);
449 }
450 template <typename ChecksumSHA256T = Aws::String>
451 PutObjectRequest& WithChecksumSHA256(ChecksumSHA256T&& value) {
452 SetChecksumSHA256(std::forward<ChecksumSHA256T>(value));
453 return *this;
454 }
456
458
466 inline const Aws::String& GetChecksumSHA512() const { return m_checksumSHA512; }
467 inline bool ChecksumSHA512HasBeenSet() const { return m_checksumSHA512HasBeenSet; }
468 template <typename ChecksumSHA512T = Aws::String>
469 void SetChecksumSHA512(ChecksumSHA512T&& value) {
470 m_checksumSHA512HasBeenSet = true;
471 m_checksumSHA512 = std::forward<ChecksumSHA512T>(value);
473 }
474 inline void SetChecksumSHA512(const char* value) {
475 m_checksumSHA512HasBeenSet = true;
476 m_checksumSHA512.assign(value);
478 }
479 template <typename ChecksumSHA512T = Aws::String>
480 PutObjectRequest& WithChecksumSHA512(ChecksumSHA512T&& value) {
481 SetChecksumSHA512(std::forward<ChecksumSHA512T>(value));
482 return *this;
483 }
485
487
495 inline const Aws::String& GetChecksumMD5() const { return m_checksumMD5; }
496 inline bool ChecksumMD5HasBeenSet() const { return m_checksumMD5HasBeenSet; }
497 template <typename ChecksumMD5T = Aws::String>
498 void SetChecksumMD5(ChecksumMD5T&& value) {
499 m_checksumMD5HasBeenSet = true;
500 m_checksumMD5 = std::forward<ChecksumMD5T>(value);
502 }
503 inline void SetChecksumMD5(const char* value) {
504 m_checksumMD5HasBeenSet = true;
505 m_checksumMD5.assign(value);
507 }
508 template <typename ChecksumMD5T = Aws::String>
509 PutObjectRequest& WithChecksumMD5(ChecksumMD5T&& value) {
510 SetChecksumMD5(std::forward<ChecksumMD5T>(value));
511 return *this;
512 }
514
516
524 inline const Aws::String& GetChecksumXXHASH64() const { return m_checksumXXHASH64; }
525 inline bool ChecksumXXHASH64HasBeenSet() const { return m_checksumXXHASH64HasBeenSet; }
526 template <typename ChecksumXXHASH64T = Aws::String>
527 void SetChecksumXXHASH64(ChecksumXXHASH64T&& value) {
528 m_checksumXXHASH64HasBeenSet = true;
529 m_checksumXXHASH64 = std::forward<ChecksumXXHASH64T>(value);
531 }
532 inline void SetChecksumXXHASH64(const char* value) {
533 m_checksumXXHASH64HasBeenSet = true;
534 m_checksumXXHASH64.assign(value);
536 }
537 template <typename ChecksumXXHASH64T = Aws::String>
538 PutObjectRequest& WithChecksumXXHASH64(ChecksumXXHASH64T&& value) {
539 SetChecksumXXHASH64(std::forward<ChecksumXXHASH64T>(value));
540 return *this;
541 }
543
545
553 inline const Aws::String& GetChecksumXXHASH3() const { return m_checksumXXHASH3; }
554 inline bool ChecksumXXHASH3HasBeenSet() const { return m_checksumXXHASH3HasBeenSet; }
555 template <typename ChecksumXXHASH3T = Aws::String>
556 void SetChecksumXXHASH3(ChecksumXXHASH3T&& value) {
557 m_checksumXXHASH3HasBeenSet = true;
558 m_checksumXXHASH3 = std::forward<ChecksumXXHASH3T>(value);
560 }
561 inline void SetChecksumXXHASH3(const char* value) {
562 m_checksumXXHASH3HasBeenSet = true;
563 m_checksumXXHASH3.assign(value);
565 }
566 template <typename ChecksumXXHASH3T = Aws::String>
567 PutObjectRequest& WithChecksumXXHASH3(ChecksumXXHASH3T&& value) {
568 SetChecksumXXHASH3(std::forward<ChecksumXXHASH3T>(value));
569 return *this;
570 }
572
574
582 inline const Aws::String& GetChecksumXXHASH128() const { return m_checksumXXHASH128; }
583 inline bool ChecksumXXHASH128HasBeenSet() const { return m_checksumXXHASH128HasBeenSet; }
584 template <typename ChecksumXXHASH128T = Aws::String>
585 void SetChecksumXXHASH128(ChecksumXXHASH128T&& value) {
586 m_checksumXXHASH128HasBeenSet = true;
587 m_checksumXXHASH128 = std::forward<ChecksumXXHASH128T>(value);
589 }
590 inline void SetChecksumXXHASH128(const char* value) {
591 m_checksumXXHASH128HasBeenSet = true;
592 m_checksumXXHASH128.assign(value);
594 }
595 template <typename ChecksumXXHASH128T = Aws::String>
596 PutObjectRequest& WithChecksumXXHASH128(ChecksumXXHASH128T&& value) {
597 SetChecksumXXHASH128(std::forward<ChecksumXXHASH128T>(value));
598 return *this;
599 }
601
603
608 inline const Aws::Utils::DateTime& GetExpires() const { return m_expires; }
609 inline bool ExpiresHasBeenSet() const { return m_expiresHasBeenSet; }
610 template <typename ExpiresT = Aws::Utils::DateTime>
611 void SetExpires(ExpiresT&& value) {
612 m_expiresHasBeenSet = true;
613 m_expires = std::forward<ExpiresT>(value);
614 }
615 template <typename ExpiresT = Aws::Utils::DateTime>
616 PutObjectRequest& WithExpires(ExpiresT&& value) {
617 SetExpires(std::forward<ExpiresT>(value));
618 return *this;
619 }
621
623
635 inline const Aws::String& GetIfMatch() const { return m_ifMatch; }
636 inline bool IfMatchHasBeenSet() const { return m_ifMatchHasBeenSet; }
637 template <typename IfMatchT = Aws::String>
638 void SetIfMatch(IfMatchT&& value) {
639 m_ifMatchHasBeenSet = true;
640 m_ifMatch = std::forward<IfMatchT>(value);
641 }
642 template <typename IfMatchT = Aws::String>
643 PutObjectRequest& WithIfMatch(IfMatchT&& value) {
644 SetIfMatch(std::forward<IfMatchT>(value));
645 return *this;
646 }
648
650
661 inline const Aws::String& GetIfNoneMatch() const { return m_ifNoneMatch; }
662 inline bool IfNoneMatchHasBeenSet() const { return m_ifNoneMatchHasBeenSet; }
663 template <typename IfNoneMatchT = Aws::String>
664 void SetIfNoneMatch(IfNoneMatchT&& value) {
665 m_ifNoneMatchHasBeenSet = true;
666 m_ifNoneMatch = std::forward<IfNoneMatchT>(value);
667 }
668 template <typename IfNoneMatchT = Aws::String>
669 PutObjectRequest& WithIfNoneMatch(IfNoneMatchT&& value) {
670 SetIfNoneMatch(std::forward<IfNoneMatchT>(value));
671 return *this;
672 }
674
676
682 inline const Aws::String& GetGrantFullControl() const { return m_grantFullControl; }
683 inline bool GrantFullControlHasBeenSet() const { return m_grantFullControlHasBeenSet; }
684 template <typename GrantFullControlT = Aws::String>
685 void SetGrantFullControl(GrantFullControlT&& value) {
686 m_grantFullControlHasBeenSet = true;
687 m_grantFullControl = std::forward<GrantFullControlT>(value);
688 }
689 template <typename GrantFullControlT = Aws::String>
690 PutObjectRequest& WithGrantFullControl(GrantFullControlT&& value) {
691 SetGrantFullControl(std::forward<GrantFullControlT>(value));
692 return *this;
693 }
695
697
703 inline const Aws::String& GetGrantRead() const { return m_grantRead; }
704 inline bool GrantReadHasBeenSet() const { return m_grantReadHasBeenSet; }
705 template <typename GrantReadT = Aws::String>
706 void SetGrantRead(GrantReadT&& value) {
707 m_grantReadHasBeenSet = true;
708 m_grantRead = std::forward<GrantReadT>(value);
709 }
710 template <typename GrantReadT = Aws::String>
711 PutObjectRequest& WithGrantRead(GrantReadT&& value) {
712 SetGrantRead(std::forward<GrantReadT>(value));
713 return *this;
714 }
716
718
724 inline const Aws::String& GetGrantReadACP() const { return m_grantReadACP; }
725 inline bool GrantReadACPHasBeenSet() const { return m_grantReadACPHasBeenSet; }
726 template <typename GrantReadACPT = Aws::String>
727 void SetGrantReadACP(GrantReadACPT&& value) {
728 m_grantReadACPHasBeenSet = true;
729 m_grantReadACP = std::forward<GrantReadACPT>(value);
730 }
731 template <typename GrantReadACPT = Aws::String>
732 PutObjectRequest& WithGrantReadACP(GrantReadACPT&& value) {
733 SetGrantReadACP(std::forward<GrantReadACPT>(value));
734 return *this;
735 }
737
739
745 inline const Aws::String& GetGrantWriteACP() const { return m_grantWriteACP; }
746 inline bool GrantWriteACPHasBeenSet() const { return m_grantWriteACPHasBeenSet; }
747 template <typename GrantWriteACPT = Aws::String>
748 void SetGrantWriteACP(GrantWriteACPT&& value) {
749 m_grantWriteACPHasBeenSet = true;
750 m_grantWriteACP = std::forward<GrantWriteACPT>(value);
751 }
752 template <typename GrantWriteACPT = Aws::String>
753 PutObjectRequest& WithGrantWriteACP(GrantWriteACPT&& value) {
754 SetGrantWriteACP(std::forward<GrantWriteACPT>(value));
755 return *this;
756 }
758
760
763 inline const Aws::String& GetKey() const { return m_key; }
764 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
765 template <typename KeyT = Aws::String>
766 void SetKey(KeyT&& value) {
767 m_keyHasBeenSet = true;
768 m_key = std::forward<KeyT>(value);
769 }
770 template <typename KeyT = Aws::String>
771 PutObjectRequest& WithKey(KeyT&& value) {
772 SetKey(std::forward<KeyT>(value));
773 return *this;
774 }
776
778
785 inline long long GetWriteOffsetBytes() const { return m_writeOffsetBytes; }
786 inline bool WriteOffsetBytesHasBeenSet() const { return m_writeOffsetBytesHasBeenSet; }
787 inline void SetWriteOffsetBytes(long long value) {
788 m_writeOffsetBytesHasBeenSet = true;
789 m_writeOffsetBytes = value;
790 }
791 inline PutObjectRequest& WithWriteOffsetBytes(long long value) {
792 SetWriteOffsetBytes(value);
793 return *this;
794 }
796
798
801 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const { return m_metadata; }
802 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
803 template <typename MetadataT = Aws::Map<Aws::String, Aws::String>>
804 void SetMetadata(MetadataT&& value) {
805 m_metadataHasBeenSet = true;
806 m_metadata = std::forward<MetadataT>(value);
807 }
808 template <typename MetadataT = Aws::Map<Aws::String, Aws::String>>
809 PutObjectRequest& WithMetadata(MetadataT&& value) {
810 SetMetadata(std::forward<MetadataT>(value));
811 return *this;
812 }
813 template <typename MetadataKeyT = Aws::String, typename MetadataValueT = Aws::String>
814 PutObjectRequest& AddMetadata(MetadataKeyT&& key, MetadataValueT&& value) {
815 m_metadataHasBeenSet = true;
816 m_metadata.emplace(std::forward<MetadataKeyT>(key), std::forward<MetadataValueT>(value));
817 return *this;
818 }
820
822
884 inline ServerSideEncryption GetServerSideEncryption() const { return m_serverSideEncryption; }
885 inline bool ServerSideEncryptionHasBeenSet() const { return m_serverSideEncryptionHasBeenSet; }
887 m_serverSideEncryptionHasBeenSet = true;
888 m_serverSideEncryption = value;
889 }
892 return *this;
893 }
895
897
910 inline StorageClass GetStorageClass() const { return m_storageClass; }
911 inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; }
912 inline void SetStorageClass(StorageClass value) {
913 m_storageClassHasBeenSet = true;
914 m_storageClass = value;
915 }
917 SetStorageClass(value);
918 return *this;
919 }
921
923
942 inline const Aws::String& GetWebsiteRedirectLocation() const { return m_websiteRedirectLocation; }
943 inline bool WebsiteRedirectLocationHasBeenSet() const { return m_websiteRedirectLocationHasBeenSet; }
944 template <typename WebsiteRedirectLocationT = Aws::String>
945 void SetWebsiteRedirectLocation(WebsiteRedirectLocationT&& value) {
946 m_websiteRedirectLocationHasBeenSet = true;
947 m_websiteRedirectLocation = std::forward<WebsiteRedirectLocationT>(value);
948 }
949 template <typename WebsiteRedirectLocationT = Aws::String>
950 PutObjectRequest& WithWebsiteRedirectLocation(WebsiteRedirectLocationT&& value) {
951 SetWebsiteRedirectLocation(std::forward<WebsiteRedirectLocationT>(value));
952 return *this;
953 }
955
957
962 inline const Aws::String& GetSSECustomerAlgorithm() const { return m_sSECustomerAlgorithm; }
963 inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; }
964 template <typename SSECustomerAlgorithmT = Aws::String>
965 void SetSSECustomerAlgorithm(SSECustomerAlgorithmT&& value) {
966 m_sSECustomerAlgorithmHasBeenSet = true;
967 m_sSECustomerAlgorithm = std::forward<SSECustomerAlgorithmT>(value);
968 }
969 template <typename SSECustomerAlgorithmT = Aws::String>
970 PutObjectRequest& WithSSECustomerAlgorithm(SSECustomerAlgorithmT&& value) {
971 SetSSECustomerAlgorithm(std::forward<SSECustomerAlgorithmT>(value));
972 return *this;
973 }
975
977
985 inline const Aws::String& GetSSECustomerKey() const { return m_sSECustomerKey; }
986 inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; }
987 template <typename SSECustomerKeyT = Aws::String>
988 void SetSSECustomerKey(SSECustomerKeyT&& value) {
989 m_sSECustomerKeyHasBeenSet = true;
990 m_sSECustomerKey = std::forward<SSECustomerKeyT>(value);
991 }
992 template <typename SSECustomerKeyT = Aws::String>
993 PutObjectRequest& WithSSECustomerKey(SSECustomerKeyT&& value) {
994 SetSSECustomerKey(std::forward<SSECustomerKeyT>(value));
995 return *this;
996 }
998
1000
1006 inline const Aws::String& GetSSECustomerKeyMD5() const { return m_sSECustomerKeyMD5; }
1007 inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; }
1008 template <typename SSECustomerKeyMD5T = Aws::String>
1009 void SetSSECustomerKeyMD5(SSECustomerKeyMD5T&& value) {
1010 m_sSECustomerKeyMD5HasBeenSet = true;
1011 m_sSECustomerKeyMD5 = std::forward<SSECustomerKeyMD5T>(value);
1012 }
1013 template <typename SSECustomerKeyMD5T = Aws::String>
1014 PutObjectRequest& WithSSECustomerKeyMD5(SSECustomerKeyMD5T&& value) {
1015 SetSSECustomerKeyMD5(std::forward<SSECustomerKeyMD5T>(value));
1016 return *this;
1017 }
1019
1021
1046 inline const Aws::String& GetSSEKMSKeyId() const { return m_sSEKMSKeyId; }
1047 inline bool SSEKMSKeyIdHasBeenSet() const { return m_sSEKMSKeyIdHasBeenSet; }
1048 template <typename SSEKMSKeyIdT = Aws::String>
1049 void SetSSEKMSKeyId(SSEKMSKeyIdT&& value) {
1050 m_sSEKMSKeyIdHasBeenSet = true;
1051 m_sSEKMSKeyId = std::forward<SSEKMSKeyIdT>(value);
1052 }
1053 template <typename SSEKMSKeyIdT = Aws::String>
1054 PutObjectRequest& WithSSEKMSKeyId(SSEKMSKeyIdT&& value) {
1055 SetSSEKMSKeyId(std::forward<SSEKMSKeyIdT>(value));
1056 return *this;
1057 }
1059
1061
1077 inline const Aws::String& GetSSEKMSEncryptionContext() const { return m_sSEKMSEncryptionContext; }
1078 inline bool SSEKMSEncryptionContextHasBeenSet() const { return m_sSEKMSEncryptionContextHasBeenSet; }
1079 template <typename SSEKMSEncryptionContextT = Aws::String>
1080 void SetSSEKMSEncryptionContext(SSEKMSEncryptionContextT&& value) {
1081 m_sSEKMSEncryptionContextHasBeenSet = true;
1082 m_sSEKMSEncryptionContext = std::forward<SSEKMSEncryptionContextT>(value);
1083 }
1084 template <typename SSEKMSEncryptionContextT = Aws::String>
1085 PutObjectRequest& WithSSEKMSEncryptionContext(SSEKMSEncryptionContextT&& value) {
1086 SetSSEKMSEncryptionContext(std::forward<SSEKMSEncryptionContextT>(value));
1087 return *this;
1088 }
1090
1092
1114 inline bool GetBucketKeyEnabled() const { return m_bucketKeyEnabled; }
1115 inline bool BucketKeyEnabledHasBeenSet() const { return m_bucketKeyEnabledHasBeenSet; }
1116 inline void SetBucketKeyEnabled(bool value) {
1117 m_bucketKeyEnabledHasBeenSet = true;
1118 m_bucketKeyEnabled = value;
1119 }
1121 SetBucketKeyEnabled(value);
1122 return *this;
1123 }
1125
1127
1128 inline RequestPayer GetRequestPayer() const { return m_requestPayer; }
1129 inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; }
1130 inline void SetRequestPayer(RequestPayer value) {
1131 m_requestPayerHasBeenSet = true;
1132 m_requestPayer = value;
1133 }
1135 SetRequestPayer(value);
1136 return *this;
1137 }
1139
1141
1146 inline const Aws::String& GetTagging() const { return m_tagging; }
1147 inline bool TaggingHasBeenSet() const { return m_taggingHasBeenSet; }
1148 template <typename TaggingT = Aws::String>
1149 void SetTagging(TaggingT&& value) {
1150 m_taggingHasBeenSet = true;
1151 m_tagging = std::forward<TaggingT>(value);
1152 }
1153 template <typename TaggingT = Aws::String>
1154 PutObjectRequest& WithTagging(TaggingT&& value) {
1155 SetTagging(std::forward<TaggingT>(value));
1156 return *this;
1157 }
1159
1161
1165 inline ObjectLockMode GetObjectLockMode() const { return m_objectLockMode; }
1166 inline bool ObjectLockModeHasBeenSet() const { return m_objectLockModeHasBeenSet; }
1168 m_objectLockModeHasBeenSet = true;
1169 m_objectLockMode = value;
1170 }
1172 SetObjectLockMode(value);
1173 return *this;
1174 }
1176
1178
1183 inline const Aws::Utils::DateTime& GetObjectLockRetainUntilDate() const { return m_objectLockRetainUntilDate; }
1184 inline bool ObjectLockRetainUntilDateHasBeenSet() const { return m_objectLockRetainUntilDateHasBeenSet; }
1185 template <typename ObjectLockRetainUntilDateT = Aws::Utils::DateTime>
1186 void SetObjectLockRetainUntilDate(ObjectLockRetainUntilDateT&& value) {
1187 m_objectLockRetainUntilDateHasBeenSet = true;
1188 m_objectLockRetainUntilDate = std::forward<ObjectLockRetainUntilDateT>(value);
1189 }
1190 template <typename ObjectLockRetainUntilDateT = Aws::Utils::DateTime>
1191 PutObjectRequest& WithObjectLockRetainUntilDate(ObjectLockRetainUntilDateT&& value) {
1192 SetObjectLockRetainUntilDate(std::forward<ObjectLockRetainUntilDateT>(value));
1193 return *this;
1194 }
1196
1198
1205 inline ObjectLockLegalHoldStatus GetObjectLockLegalHoldStatus() const { return m_objectLockLegalHoldStatus; }
1206 inline bool ObjectLockLegalHoldStatusHasBeenSet() const { return m_objectLockLegalHoldStatusHasBeenSet; }
1208 m_objectLockLegalHoldStatusHasBeenSet = true;
1209 m_objectLockLegalHoldStatus = value;
1210 }
1213 return *this;
1214 }
1216
1218
1223 inline ObjectLockEventHold GetObjectLockEventHold() const { return m_objectLockEventHold; }
1224 inline bool ObjectLockEventHoldHasBeenSet() const { return m_objectLockEventHoldHasBeenSet; }
1226 m_objectLockEventHoldHasBeenSet = true;
1227 m_objectLockEventHold = value;
1228 }
1231 return *this;
1232 }
1234
1236
1241 inline int GetObjectLockEventHoldDurationDays() const { return m_objectLockEventHoldDurationDays; }
1242 inline bool ObjectLockEventHoldDurationDaysHasBeenSet() const { return m_objectLockEventHoldDurationDaysHasBeenSet; }
1243 inline void SetObjectLockEventHoldDurationDays(int value) {
1244 m_objectLockEventHoldDurationDaysHasBeenSet = true;
1245 m_objectLockEventHoldDurationDays = value;
1246 }
1249 return *this;
1250 }
1252
1254
1259 inline int GetObjectLockEventHoldDurationYears() const { return m_objectLockEventHoldDurationYears; }
1260 inline bool ObjectLockEventHoldDurationYearsHasBeenSet() const { return m_objectLockEventHoldDurationYearsHasBeenSet; }
1262 m_objectLockEventHoldDurationYearsHasBeenSet = true;
1263 m_objectLockEventHoldDurationYears = value;
1264 }
1267 return *this;
1268 }
1270
1272
1277 inline const Aws::String& GetExpectedBucketOwner() const { return m_expectedBucketOwner; }
1278 inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; }
1279 template <typename ExpectedBucketOwnerT = Aws::String>
1280 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) {
1281 m_expectedBucketOwnerHasBeenSet = true;
1282 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
1283 }
1284 template <typename ExpectedBucketOwnerT = Aws::String>
1285 PutObjectRequest& WithExpectedBucketOwner(ExpectedBucketOwnerT&& value) {
1286 SetExpectedBucketOwner(std::forward<ExpectedBucketOwnerT>(value));
1287 return *this;
1288 }
1290
1292
1293 inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const { return m_customizedAccessLogTag; }
1294 inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; }
1295 template <typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
1296 void SetCustomizedAccessLogTag(CustomizedAccessLogTagT&& value) {
1297 m_customizedAccessLogTagHasBeenSet = true;
1298 m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value);
1299 }
1300 template <typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
1301 PutObjectRequest& WithCustomizedAccessLogTag(CustomizedAccessLogTagT&& value) {
1302 SetCustomizedAccessLogTag(std::forward<CustomizedAccessLogTagT>(value));
1303 return *this;
1304 }
1305 template <typename CustomizedAccessLogTagKeyT = Aws::String, typename CustomizedAccessLogTagValueT = Aws::String>
1306 PutObjectRequest& AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT&& key, CustomizedAccessLogTagValueT&& value) {
1307 m_customizedAccessLogTagHasBeenSet = true;
1308 m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
1309 return *this;
1310 }
1312 private:
1314
1315 Aws::String m_bucket;
1316
1317 Aws::String m_cacheControl;
1318
1319 Aws::String m_contentDisposition;
1320
1321 Aws::String m_contentEncoding;
1322
1323 Aws::String m_contentLanguage;
1324
1325 long long m_contentLength{0};
1326
1327 Aws::String m_contentMD5;
1328
1329 ChecksumAlgorithm m_checksumAlgorithm{ChecksumAlgorithm::NOT_SET};
1330
1331 Aws::String m_checksumCRC32;
1332
1333 Aws::String m_checksumCRC32C;
1334
1335 Aws::String m_checksumCRC64NVME;
1336
1337 Aws::String m_checksumSHA1;
1338
1339 Aws::String m_checksumSHA256;
1340
1341 Aws::String m_checksumSHA512;
1342
1343 Aws::String m_checksumMD5;
1344
1345 Aws::String m_checksumXXHASH64;
1346
1347 Aws::String m_checksumXXHASH3;
1348
1349 Aws::String m_checksumXXHASH128;
1350
1351 Aws::Utils::DateTime m_expires{};
1352
1353 Aws::String m_ifMatch;
1354
1355 Aws::String m_ifNoneMatch;
1356
1357 Aws::String m_grantFullControl;
1358
1359 Aws::String m_grantRead;
1360
1361 Aws::String m_grantReadACP;
1362
1363 Aws::String m_grantWriteACP;
1364
1365 Aws::String m_key;
1366
1367 long long m_writeOffsetBytes{0};
1368
1370
1372
1373 StorageClass m_storageClass{StorageClass::NOT_SET};
1374
1375 Aws::String m_websiteRedirectLocation;
1376
1377 Aws::String m_sSECustomerAlgorithm;
1378
1379 Aws::String m_sSECustomerKey;
1380
1381 Aws::String m_sSECustomerKeyMD5;
1382
1383 Aws::String m_sSEKMSKeyId;
1384
1385 Aws::String m_sSEKMSEncryptionContext;
1386
1387 bool m_bucketKeyEnabled{false};
1388
1389 RequestPayer m_requestPayer{RequestPayer::NOT_SET};
1390
1391 Aws::String m_tagging;
1392
1393 ObjectLockMode m_objectLockMode{ObjectLockMode::NOT_SET};
1394
1395 Aws::Utils::DateTime m_objectLockRetainUntilDate{};
1396
1398
1400
1401 int m_objectLockEventHoldDurationDays{0};
1402
1403 int m_objectLockEventHoldDurationYears{0};
1404
1405 Aws::String m_expectedBucketOwner;
1406
1407 Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag;
1408 bool m_aCLHasBeenSet = false;
1409 bool m_bucketHasBeenSet = false;
1410 bool m_cacheControlHasBeenSet = false;
1411 bool m_contentDispositionHasBeenSet = false;
1412 bool m_contentEncodingHasBeenSet = false;
1413 bool m_contentLanguageHasBeenSet = false;
1414 bool m_contentLengthHasBeenSet = false;
1415 bool m_contentMD5HasBeenSet = false;
1416 bool m_checksumAlgorithmHasBeenSet = false;
1417 bool m_checksumCRC32HasBeenSet = false;
1418 bool m_checksumCRC32CHasBeenSet = false;
1419 bool m_checksumCRC64NVMEHasBeenSet = false;
1420 bool m_checksumSHA1HasBeenSet = false;
1421 bool m_checksumSHA256HasBeenSet = false;
1422 bool m_checksumSHA512HasBeenSet = false;
1423 bool m_checksumMD5HasBeenSet = false;
1424 bool m_checksumXXHASH64HasBeenSet = false;
1425 bool m_checksumXXHASH3HasBeenSet = false;
1426 bool m_checksumXXHASH128HasBeenSet = false;
1427 bool m_expiresHasBeenSet = false;
1428 bool m_ifMatchHasBeenSet = false;
1429 bool m_ifNoneMatchHasBeenSet = false;
1430 bool m_grantFullControlHasBeenSet = false;
1431 bool m_grantReadHasBeenSet = false;
1432 bool m_grantReadACPHasBeenSet = false;
1433 bool m_grantWriteACPHasBeenSet = false;
1434 bool m_keyHasBeenSet = false;
1435 bool m_writeOffsetBytesHasBeenSet = false;
1436 bool m_metadataHasBeenSet = false;
1437 bool m_serverSideEncryptionHasBeenSet = false;
1438 bool m_storageClassHasBeenSet = false;
1439 bool m_websiteRedirectLocationHasBeenSet = false;
1440 bool m_sSECustomerAlgorithmHasBeenSet = false;
1441 bool m_sSECustomerKeyHasBeenSet = false;
1442 bool m_sSECustomerKeyMD5HasBeenSet = false;
1443 bool m_sSEKMSKeyIdHasBeenSet = false;
1444 bool m_sSEKMSEncryptionContextHasBeenSet = false;
1445 bool m_bucketKeyEnabledHasBeenSet = false;
1446 bool m_requestPayerHasBeenSet = false;
1447 bool m_taggingHasBeenSet = false;
1448 bool m_objectLockModeHasBeenSet = false;
1449 bool m_objectLockRetainUntilDateHasBeenSet = false;
1450 bool m_objectLockLegalHoldStatusHasBeenSet = false;
1451 bool m_objectLockEventHoldHasBeenSet = false;
1452 bool m_objectLockEventHoldDurationDaysHasBeenSet = false;
1453 bool m_objectLockEventHoldDurationYearsHasBeenSet = false;
1454 bool m_expectedBucketOwnerHasBeenSet = false;
1455 bool m_customizedAccessLogTagHasBeenSet = false;
1456};
1457
1458} // namespace Model
1459} // namespace S3Crt
1460} // namespace Aws
Aws::Vector< Aws::Endpoint::EndpointParameter > EndpointParameters
PutObjectRequest & WithServerSideEncryption(ServerSideEncryption value)
const Aws::String & GetChecksumSHA256() const
void SetObjectLockRetainUntilDate(ObjectLockRetainUntilDateT &&value)
PutObjectRequest & WithGrantFullControl(GrantFullControlT &&value)
const Aws::String & GetChecksumXXHASH3() const
PutObjectRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
void SetWebsiteRedirectLocation(WebsiteRedirectLocationT &&value)
PutObjectRequest & WithChecksumSHA512(ChecksumSHA512T &&value)
void SetChecksumMD5(ChecksumMD5T &&value)
ServerSideEncryption GetServerSideEncryption() const
PutObjectRequest & WithExpires(ExpiresT &&value)
AWS_S3CRT_API PutObjectRequest()=default
void SetChecksumSHA1(ChecksumSHA1T &&value)
PutObjectRequest & WithChecksumXXHASH128(ChecksumXXHASH128T &&value)
AWS_S3CRT_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
PutObjectRequest & WithChecksumAlgorithm(ChecksumAlgorithm value)
void SetSSECustomerKey(SSECustomerKeyT &&value)
void SetChecksumXXHASH64(ChecksumXXHASH64T &&value)
const Aws::String & GetGrantRead() const
void SetRequestPayer(RequestPayer value)
const Aws::String & GetContentEncoding() const
const Aws::String & GetChecksumSHA512() const
const Aws::String & GetChecksumCRC64NVME() const
PutObjectRequest & WithTagging(TaggingT &&value)
PutObjectRequest & WithContentEncoding(ContentEncodingT &&value)
const Aws::String & GetGrantReadACP() const
PutObjectRequest & WithContentDisposition(ContentDispositionT &&value)
void SetChecksumSHA256(const char *value)
const Aws::String & GetChecksumXXHASH128() const
PutObjectRequest & WithObjectLockEventHold(ObjectLockEventHold value)
void SetObjectLockMode(ObjectLockMode value)
void SetSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
PutObjectRequest & WithObjectLockEventHoldDurationDays(int value)
void SetGrantFullControl(GrantFullControlT &&value)
PutObjectRequest & WithContentMD5(ContentMD5T &&value)
PutObjectRequest & WithContentLanguage(ContentLanguageT &&value)
PutObjectRequest & WithContentLength(long long value)
virtual const char * GetServiceRequestName() const override
void SetChecksumCRC32C(ChecksumCRC32CT &&value)
void SetChecksumCRC32(ChecksumCRC32T &&value)
const Aws::String & GetContentMD5() const
void SetChecksumSHA512(const char *value)
PutObjectRequest & WithRequestPayer(RequestPayer value)
void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus value)
void SetGrantWriteACP(GrantWriteACPT &&value)
PutObjectRequest & WithChecksumMD5(ChecksumMD5T &&value)
ChecksumAlgorithm GetChecksumAlgorithm() const
AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override
const Aws::String & GetSSEKMSKeyId() const
void SetChecksumCRC32(const char *value)
const Aws::String & GetChecksumSHA1() const
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
void SetContentDisposition(ContentDispositionT &&value)
void SetChecksumCRC32C(const char *value)
AWS_S3CRT_API Aws::String GetChecksumAlgorithmName() const override
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
void SetServerSideEncryption(ServerSideEncryption value)
PutObjectRequest & WithGrantWriteACP(GrantWriteACPT &&value)
void SetStorageClass(StorageClass value)
void SetIfNoneMatch(IfNoneMatchT &&value)
const Aws::String & GetIfNoneMatch() const
void SetCacheControl(CacheControlT &&value)
PutObjectRequest & WithChecksumSHA1(ChecksumSHA1T &&value)
PutObjectRequest & WithSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
void SetGrantRead(GrantReadT &&value)
void SetChecksumSHA1(const char *value)
void SetChecksumAlgorithm(ChecksumAlgorithm value)
void SetChecksumXXHASH128(const char *value)
void SetContentMD5(ContentMD5T &&value)
PutObjectRequest & WithIfMatch(IfMatchT &&value)
PutObjectRequest & WithChecksumCRC32C(ChecksumCRC32CT &&value)
void SetSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
ObjectLockEventHold GetObjectLockEventHold() const
PutObjectRequest & WithSSEKMSKeyId(SSEKMSKeyIdT &&value)
PutObjectRequest & WithWriteOffsetBytes(long long value)
PutObjectRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
const Aws::String & GetChecksumCRC32C() const
PutObjectRequest & WithIfNoneMatch(IfNoneMatchT &&value)
PutObjectRequest & WithBucketKeyEnabled(bool value)
void SetWriteOffsetBytes(long long value)
const Aws::Utils::DateTime & GetExpires() const
const Aws::String & GetGrantWriteACP() const
PutObjectRequest & WithCacheControl(CacheControlT &&value)
PutObjectRequest & WithChecksumXXHASH3(ChecksumXXHASH3T &&value)
const Aws::String & GetSSEKMSEncryptionContext() const
const Aws::String & GetWebsiteRedirectLocation() const
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
const Aws::String & GetContentDisposition() const
void SetSSEKMSKeyId(SSEKMSKeyIdT &&value)
void SetChecksumXXHASH64(const char *value)
const Aws::String & GetSSECustomerAlgorithm() const
PutObjectRequest & WithSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
PutObjectRequest & WithChecksumXXHASH64(ChecksumXXHASH64T &&value)
void SetSSEKMSEncryptionContext(SSEKMSEncryptionContextT &&value)
void SetChecksumXXHASH3(const char *value)
void SetACL(ObjectCannedACL value)
const Aws::String & GetTagging() const
PutObjectRequest & WithChecksumCRC32(ChecksumCRC32T &&value)
PutObjectRequest & WithObjectLockRetainUntilDate(ObjectLockRetainUntilDateT &&value)
const Aws::Utils::DateTime & GetObjectLockRetainUntilDate() const
PutObjectRequest & WithSSECustomerKey(SSECustomerKeyT &&value)
PutObjectRequest & WithKey(KeyT &&value)
const Aws::String & GetChecksumMD5() const
ObjectLockLegalHoldStatus GetObjectLockLegalHoldStatus() const
void SetObjectLockEventHold(ObjectLockEventHold value)
const Aws::String & GetExpectedBucketOwner() const
void SetChecksumCRC64NVME(ChecksumCRC64NVMET &&value)
PutObjectRequest & WithObjectLockMode(ObjectLockMode value)
const Aws::String & GetKey() const
PutObjectRequest & WithObjectLockEventHoldDurationYears(int value)
void SetChecksumXXHASH128(ChecksumXXHASH128T &&value)
const Aws::String & GetContentLanguage() const
const Aws::String & GetChecksumCRC32() const
PutObjectRequest & WithGrantRead(GrantReadT &&value)
AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const Aws::String & GetIfMatch() const
const Aws::String & GetBucket() const
void SetChecksumXXHASH3(ChecksumXXHASH3T &&value)
PutObjectRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
PutObjectRequest & WithWebsiteRedirectLocation(WebsiteRedirectLocationT &&value)
PutObjectRequest & WithSSEKMSEncryptionContext(SSEKMSEncryptionContextT &&value)
const Aws::String & GetSSECustomerKeyMD5() const
PutObjectRequest & WithACL(ObjectCannedACL value)
void SetGrantReadACP(GrantReadACPT &&value)
AWS_S3CRT_API bool ChecksumAlgorithmIsSet() const override
PutObjectRequest & AddMetadata(MetadataKeyT &&key, MetadataValueT &&value)
PutObjectRequest & WithGrantReadACP(GrantReadACPT &&value)
PutObjectRequest & WithChecksumSHA256(ChecksumSHA256T &&value)
PutObjectRequest & WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus value)
void SetContentEncoding(ContentEncodingT &&value)
PutObjectRequest & WithMetadata(MetadataT &&value)
const Aws::String & GetCacheControl() const
const Aws::String & GetGrantFullControl() const
void SetChecksumMD5(const char *value)
AWS_S3CRT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetSSECustomerKey() const
void SetChecksumSHA256(ChecksumSHA256T &&value)
PutObjectRequest & WithChecksumCRC64NVME(ChecksumCRC64NVMET &&value)
const Aws::String & GetChecksumXXHASH64() const
PutObjectRequest & WithBucket(BucketT &&value)
void SetChecksumSHA512(ChecksumSHA512T &&value)
void SetContentLanguage(ContentLanguageT &&value)
PutObjectRequest & WithStorageClass(StorageClass value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_iostream< char, std::char_traits< char > > IOStream
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String