AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
CreateMultipartUploadRequest.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/S3Request.h>
11#include <aws/s3/S3_EXPORTS.h>
12#include <aws/s3/model/ChecksumAlgorithm.h>
13#include <aws/s3/model/ChecksumType.h>
14#include <aws/s3/model/ObjectCannedACL.h>
15#include <aws/s3/model/ObjectLockLegalHoldStatus.h>
16#include <aws/s3/model/ObjectLockMode.h>
17#include <aws/s3/model/RequestPayer.h>
18#include <aws/s3/model/ServerSideEncryption.h>
19#include <aws/s3/model/StorageClass.h>
20
21#include <utility>
22
23namespace Aws {
24namespace Http {
25class URI;
26} // namespace Http
27namespace S3 {
28namespace Model {
29
33 public:
34 AWS_S3_API CreateMultipartUploadRequest() = default;
35
36 // Service request name is the Operation name which will send this request out,
37 // each operation should has unique request name, so that we can get operation's name from this request.
38 // Note: this is not true for response, multiple operations may have the same response name,
39 // so we can not get operation's name from response.
40 inline virtual const char* GetServiceRequestName() const override { return "CreateMultipartUpload"; }
41
42 AWS_S3_API Aws::String SerializePayload() const override;
43
44 AWS_S3_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
45
47
48 AWS_S3_API bool HasEmbeddedError(IOStream& body, const Http::HeaderValueCollection& header) const override;
52 AWS_S3_API EndpointParameters GetEndpointContextParams() const override;
53
55
72 inline ObjectCannedACL GetACL() const { return m_aCL; }
73 inline bool ACLHasBeenSet() const { return m_aCLHasBeenSet; }
74 inline void SetACL(ObjectCannedACL value) {
75 m_aCLHasBeenSet = true;
76 m_aCL = value;
77 }
79 SetACL(value);
80 return *this;
81 }
83
85
121 inline const Aws::String& GetBucket() const { return m_bucket; }
122 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
123 template <typename BucketT = Aws::String>
124 void SetBucket(BucketT&& value) {
125 m_bucketHasBeenSet = true;
126 m_bucket = std::forward<BucketT>(value);
127 }
128 template <typename BucketT = Aws::String>
130 SetBucket(std::forward<BucketT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::String& GetCacheControl() const { return m_cacheControl; }
140 inline bool CacheControlHasBeenSet() const { return m_cacheControlHasBeenSet; }
141 template <typename CacheControlT = Aws::String>
142 void SetCacheControl(CacheControlT&& value) {
143 m_cacheControlHasBeenSet = true;
144 m_cacheControl = std::forward<CacheControlT>(value);
145 }
146 template <typename CacheControlT = Aws::String>
148 SetCacheControl(std::forward<CacheControlT>(value));
149 return *this;
150 }
152
154
157 inline const Aws::String& GetContentDisposition() const { return m_contentDisposition; }
158 inline bool ContentDispositionHasBeenSet() const { return m_contentDispositionHasBeenSet; }
159 template <typename ContentDispositionT = Aws::String>
160 void SetContentDisposition(ContentDispositionT&& value) {
161 m_contentDispositionHasBeenSet = true;
162 m_contentDisposition = std::forward<ContentDispositionT>(value);
163 }
164 template <typename ContentDispositionT = Aws::String>
166 SetContentDisposition(std::forward<ContentDispositionT>(value));
167 return *this;
168 }
170
172
178 inline const Aws::String& GetContentEncoding() const { return m_contentEncoding; }
179 inline bool ContentEncodingHasBeenSet() const { return m_contentEncodingHasBeenSet; }
180 template <typename ContentEncodingT = Aws::String>
181 void SetContentEncoding(ContentEncodingT&& value) {
182 m_contentEncodingHasBeenSet = true;
183 m_contentEncoding = std::forward<ContentEncodingT>(value);
184 }
185 template <typename ContentEncodingT = Aws::String>
187 SetContentEncoding(std::forward<ContentEncodingT>(value));
188 return *this;
189 }
191
193
196 inline const Aws::String& GetContentLanguage() const { return m_contentLanguage; }
197 inline bool ContentLanguageHasBeenSet() const { return m_contentLanguageHasBeenSet; }
198 template <typename ContentLanguageT = Aws::String>
199 void SetContentLanguage(ContentLanguageT&& value) {
200 m_contentLanguageHasBeenSet = true;
201 m_contentLanguage = std::forward<ContentLanguageT>(value);
202 }
203 template <typename ContentLanguageT = Aws::String>
205 SetContentLanguage(std::forward<ContentLanguageT>(value));
206 return *this;
207 }
209
211
214 inline const Aws::String& GetContentType() const { return m_contentType; }
215 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
216 template <typename ContentTypeT = Aws::String>
217 void SetContentType(ContentTypeT&& value) {
218 m_contentTypeHasBeenSet = true;
219 m_contentType = std::forward<ContentTypeT>(value);
220 }
221 template <typename ContentTypeT = Aws::String>
223 SetContentType(std::forward<ContentTypeT>(value));
224 return *this;
225 }
227
229
232 inline const Aws::Utils::DateTime& GetExpires() const { return m_expires; }
233 inline bool ExpiresHasBeenSet() const { return m_expiresHasBeenSet; }
234 template <typename ExpiresT = Aws::Utils::DateTime>
235 void SetExpires(ExpiresT&& value) {
236 m_expiresHasBeenSet = true;
237 m_expires = std::forward<ExpiresT>(value);
238 }
239 template <typename ExpiresT = Aws::Utils::DateTime>
241 SetExpires(std::forward<ExpiresT>(value));
242 return *this;
243 }
245
247
279 inline const Aws::String& GetGrantFullControl() const { return m_grantFullControl; }
280 inline bool GrantFullControlHasBeenSet() const { return m_grantFullControlHasBeenSet; }
281 template <typename GrantFullControlT = Aws::String>
282 void SetGrantFullControl(GrantFullControlT&& value) {
283 m_grantFullControlHasBeenSet = true;
284 m_grantFullControl = std::forward<GrantFullControlT>(value);
285 }
286 template <typename GrantFullControlT = Aws::String>
288 SetGrantFullControl(std::forward<GrantFullControlT>(value));
289 return *this;
290 }
292
294
326 inline const Aws::String& GetGrantRead() const { return m_grantRead; }
327 inline bool GrantReadHasBeenSet() const { return m_grantReadHasBeenSet; }
328 template <typename GrantReadT = Aws::String>
329 void SetGrantRead(GrantReadT&& value) {
330 m_grantReadHasBeenSet = true;
331 m_grantRead = std::forward<GrantReadT>(value);
332 }
333 template <typename GrantReadT = Aws::String>
335 SetGrantRead(std::forward<GrantReadT>(value));
336 return *this;
337 }
339
341
373 inline const Aws::String& GetGrantReadACP() const { return m_grantReadACP; }
374 inline bool GrantReadACPHasBeenSet() const { return m_grantReadACPHasBeenSet; }
375 template <typename GrantReadACPT = Aws::String>
376 void SetGrantReadACP(GrantReadACPT&& value) {
377 m_grantReadACPHasBeenSet = true;
378 m_grantReadACP = std::forward<GrantReadACPT>(value);
379 }
380 template <typename GrantReadACPT = Aws::String>
382 SetGrantReadACP(std::forward<GrantReadACPT>(value));
383 return *this;
384 }
386
388
420 inline const Aws::String& GetGrantWriteACP() const { return m_grantWriteACP; }
421 inline bool GrantWriteACPHasBeenSet() const { return m_grantWriteACPHasBeenSet; }
422 template <typename GrantWriteACPT = Aws::String>
423 void SetGrantWriteACP(GrantWriteACPT&& value) {
424 m_grantWriteACPHasBeenSet = true;
425 m_grantWriteACP = std::forward<GrantWriteACPT>(value);
426 }
427 template <typename GrantWriteACPT = Aws::String>
429 SetGrantWriteACP(std::forward<GrantWriteACPT>(value));
430 return *this;
431 }
433
435
438 inline const Aws::String& GetKey() const { return m_key; }
439 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
440 template <typename KeyT = Aws::String>
441 void SetKey(KeyT&& value) {
442 m_keyHasBeenSet = true;
443 m_key = std::forward<KeyT>(value);
444 }
445 template <typename KeyT = Aws::String>
447 SetKey(std::forward<KeyT>(value));
448 return *this;
449 }
451
453
456 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const { return m_metadata; }
457 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
458 template <typename MetadataT = Aws::Map<Aws::String, Aws::String>>
459 void SetMetadata(MetadataT&& value) {
460 m_metadataHasBeenSet = true;
461 m_metadata = std::forward<MetadataT>(value);
462 }
463 template <typename MetadataT = Aws::Map<Aws::String, Aws::String>>
465 SetMetadata(std::forward<MetadataT>(value));
466 return *this;
467 }
468 template <typename MetadataKeyT = Aws::String, typename MetadataValueT = Aws::String>
469 CreateMultipartUploadRequest& AddMetadata(MetadataKeyT&& key, MetadataValueT&& value) {
470 m_metadataHasBeenSet = true;
471 m_metadata.emplace(std::forward<MetadataKeyT>(key), std::forward<MetadataValueT>(value));
472 return *this;
473 }
475
477
528 inline ServerSideEncryption GetServerSideEncryption() const { return m_serverSideEncryption; }
529 inline bool ServerSideEncryptionHasBeenSet() const { return m_serverSideEncryptionHasBeenSet; }
531 m_serverSideEncryptionHasBeenSet = true;
532 m_serverSideEncryption = value;
533 }
536 return *this;
537 }
539
541
554 inline StorageClass GetStorageClass() const { return m_storageClass; }
555 inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; }
556 inline void SetStorageClass(StorageClass value) {
557 m_storageClassHasBeenSet = true;
558 m_storageClass = value;
559 }
561 SetStorageClass(value);
562 return *this;
563 }
565
567
573 inline const Aws::String& GetWebsiteRedirectLocation() const { return m_websiteRedirectLocation; }
574 inline bool WebsiteRedirectLocationHasBeenSet() const { return m_websiteRedirectLocationHasBeenSet; }
575 template <typename WebsiteRedirectLocationT = Aws::String>
576 void SetWebsiteRedirectLocation(WebsiteRedirectLocationT&& value) {
577 m_websiteRedirectLocationHasBeenSet = true;
578 m_websiteRedirectLocation = std::forward<WebsiteRedirectLocationT>(value);
579 }
580 template <typename WebsiteRedirectLocationT = Aws::String>
582 SetWebsiteRedirectLocation(std::forward<WebsiteRedirectLocationT>(value));
583 return *this;
584 }
586
588
593 inline const Aws::String& GetSSECustomerAlgorithm() const { return m_sSECustomerAlgorithm; }
594 inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; }
595 template <typename SSECustomerAlgorithmT = Aws::String>
596 void SetSSECustomerAlgorithm(SSECustomerAlgorithmT&& value) {
597 m_sSECustomerAlgorithmHasBeenSet = true;
598 m_sSECustomerAlgorithm = std::forward<SSECustomerAlgorithmT>(value);
599 }
600 template <typename SSECustomerAlgorithmT = Aws::String>
602 SetSSECustomerAlgorithm(std::forward<SSECustomerAlgorithmT>(value));
603 return *this;
604 }
606
608
616 inline const Aws::String& GetSSECustomerKey() const { return m_sSECustomerKey; }
617 inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; }
618 template <typename SSECustomerKeyT = Aws::String>
619 void SetSSECustomerKey(SSECustomerKeyT&& value) {
620 m_sSECustomerKeyHasBeenSet = true;
621 m_sSECustomerKey = std::forward<SSECustomerKeyT>(value);
622 }
623 template <typename SSECustomerKeyT = Aws::String>
625 SetSSECustomerKey(std::forward<SSECustomerKeyT>(value));
626 return *this;
627 }
629
631
637 inline const Aws::String& GetSSECustomerKeyMD5() const { return m_sSECustomerKeyMD5; }
638 inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; }
639 template <typename SSECustomerKeyMD5T = Aws::String>
640 void SetSSECustomerKeyMD5(SSECustomerKeyMD5T&& value) {
641 m_sSECustomerKeyMD5HasBeenSet = true;
642 m_sSECustomerKeyMD5 = std::forward<SSECustomerKeyMD5T>(value);
643 }
644 template <typename SSECustomerKeyMD5T = Aws::String>
646 SetSSECustomerKeyMD5(std::forward<SSECustomerKeyMD5T>(value));
647 return *this;
648 }
650
652
677 inline const Aws::String& GetSSEKMSKeyId() const { return m_sSEKMSKeyId; }
678 inline bool SSEKMSKeyIdHasBeenSet() const { return m_sSEKMSKeyIdHasBeenSet; }
679 template <typename SSEKMSKeyIdT = Aws::String>
680 void SetSSEKMSKeyId(SSEKMSKeyIdT&& value) {
681 m_sSEKMSKeyIdHasBeenSet = true;
682 m_sSEKMSKeyId = std::forward<SSEKMSKeyIdT>(value);
683 }
684 template <typename SSEKMSKeyIdT = Aws::String>
686 SetSSEKMSKeyId(std::forward<SSEKMSKeyIdT>(value));
687 return *this;
688 }
690
692
701 inline const Aws::String& GetSSEKMSEncryptionContext() const { return m_sSEKMSEncryptionContext; }
702 inline bool SSEKMSEncryptionContextHasBeenSet() const { return m_sSEKMSEncryptionContextHasBeenSet; }
703 template <typename SSEKMSEncryptionContextT = Aws::String>
704 void SetSSEKMSEncryptionContext(SSEKMSEncryptionContextT&& value) {
705 m_sSEKMSEncryptionContextHasBeenSet = true;
706 m_sSEKMSEncryptionContext = std::forward<SSEKMSEncryptionContextT>(value);
707 }
708 template <typename SSEKMSEncryptionContextT = Aws::String>
710 SetSSEKMSEncryptionContext(std::forward<SSEKMSEncryptionContextT>(value));
711 return *this;
712 }
714
716
738 inline bool GetBucketKeyEnabled() const { return m_bucketKeyEnabled; }
739 inline bool BucketKeyEnabledHasBeenSet() const { return m_bucketKeyEnabledHasBeenSet; }
740 inline void SetBucketKeyEnabled(bool value) {
741 m_bucketKeyEnabledHasBeenSet = true;
742 m_bucketKeyEnabled = value;
743 }
745 SetBucketKeyEnabled(value);
746 return *this;
747 }
749
751
752 inline RequestPayer GetRequestPayer() const { return m_requestPayer; }
753 inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; }
754 inline void SetRequestPayer(RequestPayer value) {
755 m_requestPayerHasBeenSet = true;
756 m_requestPayer = value;
757 }
759 SetRequestPayer(value);
760 return *this;
761 }
763
765
770 inline const Aws::String& GetTagging() const { return m_tagging; }
771 inline bool TaggingHasBeenSet() const { return m_taggingHasBeenSet; }
772 template <typename TaggingT = Aws::String>
773 void SetTagging(TaggingT&& value) {
774 m_taggingHasBeenSet = true;
775 m_tagging = std::forward<TaggingT>(value);
776 }
777 template <typename TaggingT = Aws::String>
779 SetTagging(std::forward<TaggingT>(value));
780 return *this;
781 }
783
785
790 inline ObjectLockMode GetObjectLockMode() const { return m_objectLockMode; }
791 inline bool ObjectLockModeHasBeenSet() const { return m_objectLockModeHasBeenSet; }
793 m_objectLockModeHasBeenSet = true;
794 m_objectLockMode = value;
795 }
797 SetObjectLockMode(value);
798 return *this;
799 }
801
803
807 inline const Aws::Utils::DateTime& GetObjectLockRetainUntilDate() const { return m_objectLockRetainUntilDate; }
808 inline bool ObjectLockRetainUntilDateHasBeenSet() const { return m_objectLockRetainUntilDateHasBeenSet; }
809 template <typename ObjectLockRetainUntilDateT = Aws::Utils::DateTime>
810 void SetObjectLockRetainUntilDate(ObjectLockRetainUntilDateT&& value) {
811 m_objectLockRetainUntilDateHasBeenSet = true;
812 m_objectLockRetainUntilDate = std::forward<ObjectLockRetainUntilDateT>(value);
813 }
814 template <typename ObjectLockRetainUntilDateT = Aws::Utils::DateTime>
815 CreateMultipartUploadRequest& WithObjectLockRetainUntilDate(ObjectLockRetainUntilDateT&& value) {
816 SetObjectLockRetainUntilDate(std::forward<ObjectLockRetainUntilDateT>(value));
817 return *this;
818 }
820
822
826 inline ObjectLockLegalHoldStatus GetObjectLockLegalHoldStatus() const { return m_objectLockLegalHoldStatus; }
827 inline bool ObjectLockLegalHoldStatusHasBeenSet() const { return m_objectLockLegalHoldStatusHasBeenSet; }
829 m_objectLockLegalHoldStatusHasBeenSet = true;
830 m_objectLockLegalHoldStatus = value;
831 }
834 return *this;
835 }
837
839
844 inline const Aws::String& GetExpectedBucketOwner() const { return m_expectedBucketOwner; }
845 inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; }
846 template <typename ExpectedBucketOwnerT = Aws::String>
847 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) {
848 m_expectedBucketOwnerHasBeenSet = true;
849 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
850 }
851 template <typename ExpectedBucketOwnerT = Aws::String>
853 SetExpectedBucketOwner(std::forward<ExpectedBucketOwnerT>(value));
854 return *this;
855 }
857
859
865 inline ChecksumAlgorithm GetChecksumAlgorithm() const { return m_checksumAlgorithm; }
866 inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; }
868 m_checksumAlgorithmHasBeenSet = true;
869 m_checksumAlgorithm = value;
870 }
873 return *this;
874 }
876
878
884 inline ChecksumType GetChecksumType() const { return m_checksumType; }
885 inline bool ChecksumTypeHasBeenSet() const { return m_checksumTypeHasBeenSet; }
886 inline void SetChecksumType(ChecksumType value) {
887 m_checksumTypeHasBeenSet = true;
888 m_checksumType = value;
889 }
891 SetChecksumType(value);
892 return *this;
893 }
895
897
898 inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const { return m_customizedAccessLogTag; }
899 inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; }
900 template <typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
901 void SetCustomizedAccessLogTag(CustomizedAccessLogTagT&& value) {
902 m_customizedAccessLogTagHasBeenSet = true;
903 m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value);
904 }
905 template <typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
907 SetCustomizedAccessLogTag(std::forward<CustomizedAccessLogTagT>(value));
908 return *this;
909 }
910 template <typename CustomizedAccessLogTagKeyT = Aws::String, typename CustomizedAccessLogTagValueT = Aws::String>
911 CreateMultipartUploadRequest& AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT&& key, CustomizedAccessLogTagValueT&& value) {
912 m_customizedAccessLogTagHasBeenSet = true;
913 m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
914 return *this;
915 }
917 private:
919
920 Aws::String m_bucket;
921
922 Aws::String m_cacheControl;
923
924 Aws::String m_contentDisposition;
925
926 Aws::String m_contentEncoding;
927
928 Aws::String m_contentLanguage;
929
930 Aws::String m_contentType;
931
932 Aws::Utils::DateTime m_expires{};
933
934 Aws::String m_grantFullControl;
935
936 Aws::String m_grantRead;
937
938 Aws::String m_grantReadACP;
939
940 Aws::String m_grantWriteACP;
941
942 Aws::String m_key;
943
945
947
948 StorageClass m_storageClass{StorageClass::NOT_SET};
949
950 Aws::String m_websiteRedirectLocation;
951
952 Aws::String m_sSECustomerAlgorithm;
953
954 Aws::String m_sSECustomerKey;
955
956 Aws::String m_sSECustomerKeyMD5;
957
958 Aws::String m_sSEKMSKeyId;
959
960 Aws::String m_sSEKMSEncryptionContext;
961
962 bool m_bucketKeyEnabled{false};
963
964 RequestPayer m_requestPayer{RequestPayer::NOT_SET};
965
966 Aws::String m_tagging;
967
968 ObjectLockMode m_objectLockMode{ObjectLockMode::NOT_SET};
969
970 Aws::Utils::DateTime m_objectLockRetainUntilDate{};
971
973
974 Aws::String m_expectedBucketOwner;
975
977
978 ChecksumType m_checksumType{ChecksumType::NOT_SET};
979
980 Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag;
981 bool m_aCLHasBeenSet = false;
982 bool m_bucketHasBeenSet = false;
983 bool m_cacheControlHasBeenSet = false;
984 bool m_contentDispositionHasBeenSet = false;
985 bool m_contentEncodingHasBeenSet = false;
986 bool m_contentLanguageHasBeenSet = false;
987 bool m_contentTypeHasBeenSet = false;
988 bool m_expiresHasBeenSet = false;
989 bool m_grantFullControlHasBeenSet = false;
990 bool m_grantReadHasBeenSet = false;
991 bool m_grantReadACPHasBeenSet = false;
992 bool m_grantWriteACPHasBeenSet = false;
993 bool m_keyHasBeenSet = false;
994 bool m_metadataHasBeenSet = false;
995 bool m_serverSideEncryptionHasBeenSet = false;
996 bool m_storageClassHasBeenSet = false;
997 bool m_websiteRedirectLocationHasBeenSet = false;
998 bool m_sSECustomerAlgorithmHasBeenSet = false;
999 bool m_sSECustomerKeyHasBeenSet = false;
1000 bool m_sSECustomerKeyMD5HasBeenSet = false;
1001 bool m_sSEKMSKeyIdHasBeenSet = false;
1002 bool m_sSEKMSEncryptionContextHasBeenSet = false;
1003 bool m_bucketKeyEnabledHasBeenSet = false;
1004 bool m_requestPayerHasBeenSet = false;
1005 bool m_taggingHasBeenSet = false;
1006 bool m_objectLockModeHasBeenSet = false;
1007 bool m_objectLockRetainUntilDateHasBeenSet = false;
1008 bool m_objectLockLegalHoldStatusHasBeenSet = false;
1009 bool m_expectedBucketOwnerHasBeenSet = false;
1010 bool m_checksumAlgorithmHasBeenSet = false;
1011 bool m_checksumTypeHasBeenSet = false;
1012 bool m_customizedAccessLogTagHasBeenSet = false;
1013};
1014
1015} // namespace Model
1016} // namespace S3
1017} // namespace Aws
CreateMultipartUploadRequest & WithSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus value)
CreateMultipartUploadRequest & WithTagging(TaggingT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Utils::DateTime & GetObjectLockRetainUntilDate() const
AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
CreateMultipartUploadRequest & WithObjectLockRetainUntilDate(ObjectLockRetainUntilDateT &&value)
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateMultipartUploadRequest & WithContentType(ContentTypeT &&value)
CreateMultipartUploadRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
CreateMultipartUploadRequest & WithCacheControl(CacheControlT &&value)
CreateMultipartUploadRequest & WithMetadata(MetadataT &&value)
CreateMultipartUploadRequest & WithGrantWriteACP(GrantWriteACPT &&value)
ObjectLockLegalHoldStatus GetObjectLockLegalHoldStatus() const
void SetObjectLockRetainUntilDate(ObjectLockRetainUntilDateT &&value)
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
CreateMultipartUploadRequest & WithSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
CreateMultipartUploadRequest & WithGrantReadACP(GrantReadACPT &&value)
void SetSSEKMSEncryptionContext(SSEKMSEncryptionContextT &&value)
CreateMultipartUploadRequest & WithACL(ObjectCannedACL value)
CreateMultipartUploadRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
CreateMultipartUploadRequest & WithExpires(ExpiresT &&value)
CreateMultipartUploadRequest & WithContentLanguage(ContentLanguageT &&value)
CreateMultipartUploadRequest & WithBucket(BucketT &&value)
CreateMultipartUploadRequest & WithServerSideEncryption(ServerSideEncryption value)
AWS_S3_API Aws::String SerializePayload() const override
CreateMultipartUploadRequest & WithSSEKMSEncryptionContext(SSEKMSEncryptionContextT &&value)
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
CreateMultipartUploadRequest & WithGrantRead(GrantReadT &&value)
CreateMultipartUploadRequest & WithKey(KeyT &&value)
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
CreateMultipartUploadRequest & WithObjectLockMode(ObjectLockMode value)
CreateMultipartUploadRequest & WithChecksumAlgorithm(ChecksumAlgorithm value)
CreateMultipartUploadRequest & WithChecksumType(ChecksumType value)
CreateMultipartUploadRequest & WithRequestPayer(RequestPayer value)
CreateMultipartUploadRequest & WithBucketKeyEnabled(bool value)
CreateMultipartUploadRequest & WithSSECustomerKey(SSECustomerKeyT &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
void SetSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
CreateMultipartUploadRequest & WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus value)
void SetWebsiteRedirectLocation(WebsiteRedirectLocationT &&value)
CreateMultipartUploadRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
CreateMultipartUploadRequest & WithWebsiteRedirectLocation(WebsiteRedirectLocationT &&value)
CreateMultipartUploadRequest & WithContentDisposition(ContentDispositionT &&value)
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
CreateMultipartUploadRequest & WithGrantFullControl(GrantFullControlT &&value)
CreateMultipartUploadRequest & AddMetadata(MetadataKeyT &&key, MetadataValueT &&value)
CreateMultipartUploadRequest & WithStorageClass(StorageClass value)
CreateMultipartUploadRequest & WithSSEKMSKeyId(SSEKMSKeyIdT &&value)
CreateMultipartUploadRequest & WithContentEncoding(ContentEncodingT &&value)
Aws::Endpoint::EndpointParameters EndpointParameters
Definition S3Request.h:19
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