AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateMultipartUploadRequest.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/S3Request.h>
9#include <aws/s3/model/ObjectCannedACL.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/s3/model/ServerSideEncryption.h>
14#include <aws/s3/model/StorageClass.h>
15#include <aws/s3/model/RequestPayer.h>
16#include <aws/s3/model/ObjectLockMode.h>
17#include <aws/s3/model/ObjectLockLegalHoldStatus.h>
18#include <aws/s3/model/ChecksumAlgorithm.h>
19#include <aws/s3/model/ChecksumType.h>
20#include <utility>
21
22namespace Aws
23{
24namespace Http
25{
26 class URI;
27} //namespace Http
28namespace S3
29{
30namespace Model
31{
32
36 {
37 public:
38 AWS_S3_API CreateMultipartUploadRequest() = default;
39
40 // Service request name is the Operation name which will send this request out,
41 // each operation should has unique request name, so that we can get operation's name from this request.
42 // Note: this is not true for response, multiple operations may have the same response name,
43 // so we can not get operation's name from response.
44 inline virtual const char* GetServiceRequestName() const override { return "CreateMultipartUpload"; }
45
46 AWS_S3_API Aws::String SerializePayload() const override;
47
48 AWS_S3_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
49
51
52 AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override;
56 AWS_S3_API EndpointParameters GetEndpointContextParams() const override;
57
59
76 inline ObjectCannedACL GetACL() const { return m_aCL; }
77 inline bool ACLHasBeenSet() const { return m_aCLHasBeenSet; }
78 inline void SetACL(ObjectCannedACL value) { m_aCLHasBeenSet = true; m_aCL = value; }
79 inline CreateMultipartUploadRequest& WithACL(ObjectCannedACL value) { SetACL(value); return *this;}
81
83
119 inline const Aws::String& GetBucket() const { return m_bucket; }
120 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
121 template<typename BucketT = Aws::String>
122 void SetBucket(BucketT&& value) { m_bucketHasBeenSet = true; m_bucket = std::forward<BucketT>(value); }
123 template<typename BucketT = Aws::String>
124 CreateMultipartUploadRequest& WithBucket(BucketT&& value) { SetBucket(std::forward<BucketT>(value)); return *this;}
126
128
131 inline const Aws::String& GetCacheControl() const { return m_cacheControl; }
132 inline bool CacheControlHasBeenSet() const { return m_cacheControlHasBeenSet; }
133 template<typename CacheControlT = Aws::String>
134 void SetCacheControl(CacheControlT&& value) { m_cacheControlHasBeenSet = true; m_cacheControl = std::forward<CacheControlT>(value); }
135 template<typename CacheControlT = Aws::String>
136 CreateMultipartUploadRequest& WithCacheControl(CacheControlT&& value) { SetCacheControl(std::forward<CacheControlT>(value)); return *this;}
138
140
143 inline const Aws::String& GetContentDisposition() const { return m_contentDisposition; }
144 inline bool ContentDispositionHasBeenSet() const { return m_contentDispositionHasBeenSet; }
145 template<typename ContentDispositionT = Aws::String>
146 void SetContentDisposition(ContentDispositionT&& value) { m_contentDispositionHasBeenSet = true; m_contentDisposition = std::forward<ContentDispositionT>(value); }
147 template<typename ContentDispositionT = Aws::String>
148 CreateMultipartUploadRequest& WithContentDisposition(ContentDispositionT&& value) { SetContentDisposition(std::forward<ContentDispositionT>(value)); return *this;}
150
152
158 inline const Aws::String& GetContentEncoding() const { return m_contentEncoding; }
159 inline bool ContentEncodingHasBeenSet() const { return m_contentEncodingHasBeenSet; }
160 template<typename ContentEncodingT = Aws::String>
161 void SetContentEncoding(ContentEncodingT&& value) { m_contentEncodingHasBeenSet = true; m_contentEncoding = std::forward<ContentEncodingT>(value); }
162 template<typename ContentEncodingT = Aws::String>
163 CreateMultipartUploadRequest& WithContentEncoding(ContentEncodingT&& value) { SetContentEncoding(std::forward<ContentEncodingT>(value)); return *this;}
165
167
170 inline const Aws::String& GetContentLanguage() const { return m_contentLanguage; }
171 inline bool ContentLanguageHasBeenSet() const { return m_contentLanguageHasBeenSet; }
172 template<typename ContentLanguageT = Aws::String>
173 void SetContentLanguage(ContentLanguageT&& value) { m_contentLanguageHasBeenSet = true; m_contentLanguage = std::forward<ContentLanguageT>(value); }
174 template<typename ContentLanguageT = Aws::String>
175 CreateMultipartUploadRequest& WithContentLanguage(ContentLanguageT&& value) { SetContentLanguage(std::forward<ContentLanguageT>(value)); return *this;}
177
179
182 inline const Aws::String& GetContentType() const { return m_contentType; }
183 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
184 template<typename ContentTypeT = Aws::String>
185 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::forward<ContentTypeT>(value); }
186 template<typename ContentTypeT = Aws::String>
187 CreateMultipartUploadRequest& WithContentType(ContentTypeT&& value) { SetContentType(std::forward<ContentTypeT>(value)); return *this;}
189
191
194 inline const Aws::Utils::DateTime& GetExpires() const { return m_expires; }
195 inline bool ExpiresHasBeenSet() const { return m_expiresHasBeenSet; }
196 template<typename ExpiresT = Aws::Utils::DateTime>
197 void SetExpires(ExpiresT&& value) { m_expiresHasBeenSet = true; m_expires = std::forward<ExpiresT>(value); }
198 template<typename ExpiresT = Aws::Utils::DateTime>
199 CreateMultipartUploadRequest& WithExpires(ExpiresT&& value) { SetExpires(std::forward<ExpiresT>(value)); return *this;}
201
203
235 inline const Aws::String& GetGrantFullControl() const { return m_grantFullControl; }
236 inline bool GrantFullControlHasBeenSet() const { return m_grantFullControlHasBeenSet; }
237 template<typename GrantFullControlT = Aws::String>
238 void SetGrantFullControl(GrantFullControlT&& value) { m_grantFullControlHasBeenSet = true; m_grantFullControl = std::forward<GrantFullControlT>(value); }
239 template<typename GrantFullControlT = Aws::String>
240 CreateMultipartUploadRequest& WithGrantFullControl(GrantFullControlT&& value) { SetGrantFullControl(std::forward<GrantFullControlT>(value)); return *this;}
242
244
276 inline const Aws::String& GetGrantRead() const { return m_grantRead; }
277 inline bool GrantReadHasBeenSet() const { return m_grantReadHasBeenSet; }
278 template<typename GrantReadT = Aws::String>
279 void SetGrantRead(GrantReadT&& value) { m_grantReadHasBeenSet = true; m_grantRead = std::forward<GrantReadT>(value); }
280 template<typename GrantReadT = Aws::String>
281 CreateMultipartUploadRequest& WithGrantRead(GrantReadT&& value) { SetGrantRead(std::forward<GrantReadT>(value)); return *this;}
283
285
317 inline const Aws::String& GetGrantReadACP() const { return m_grantReadACP; }
318 inline bool GrantReadACPHasBeenSet() const { return m_grantReadACPHasBeenSet; }
319 template<typename GrantReadACPT = Aws::String>
320 void SetGrantReadACP(GrantReadACPT&& value) { m_grantReadACPHasBeenSet = true; m_grantReadACP = std::forward<GrantReadACPT>(value); }
321 template<typename GrantReadACPT = Aws::String>
322 CreateMultipartUploadRequest& WithGrantReadACP(GrantReadACPT&& value) { SetGrantReadACP(std::forward<GrantReadACPT>(value)); return *this;}
324
326
358 inline const Aws::String& GetGrantWriteACP() const { return m_grantWriteACP; }
359 inline bool GrantWriteACPHasBeenSet() const { return m_grantWriteACPHasBeenSet; }
360 template<typename GrantWriteACPT = Aws::String>
361 void SetGrantWriteACP(GrantWriteACPT&& value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP = std::forward<GrantWriteACPT>(value); }
362 template<typename GrantWriteACPT = Aws::String>
363 CreateMultipartUploadRequest& WithGrantWriteACP(GrantWriteACPT&& value) { SetGrantWriteACP(std::forward<GrantWriteACPT>(value)); return *this;}
365
367
370 inline const Aws::String& GetKey() const { return m_key; }
371 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
372 template<typename KeyT = Aws::String>
373 void SetKey(KeyT&& value) { m_keyHasBeenSet = true; m_key = std::forward<KeyT>(value); }
374 template<typename KeyT = Aws::String>
375 CreateMultipartUploadRequest& WithKey(KeyT&& value) { SetKey(std::forward<KeyT>(value)); return *this;}
377
379
382 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const { return m_metadata; }
383 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
384 template<typename MetadataT = Aws::Map<Aws::String, Aws::String>>
385 void SetMetadata(MetadataT&& value) { m_metadataHasBeenSet = true; m_metadata = std::forward<MetadataT>(value); }
386 template<typename MetadataT = Aws::Map<Aws::String, Aws::String>>
387 CreateMultipartUploadRequest& WithMetadata(MetadataT&& value) { SetMetadata(std::forward<MetadataT>(value)); return *this;}
388 template<typename MetadataKeyT = Aws::String, typename MetadataValueT = Aws::String>
389 CreateMultipartUploadRequest& AddMetadata(MetadataKeyT&& key, MetadataValueT&& value) {
390 m_metadataHasBeenSet = true; m_metadata.emplace(std::forward<MetadataKeyT>(key), std::forward<MetadataValueT>(value)); return *this;
391 }
393
395
446 inline ServerSideEncryption GetServerSideEncryption() const { return m_serverSideEncryption; }
447 inline bool ServerSideEncryptionHasBeenSet() const { return m_serverSideEncryptionHasBeenSet; }
448 inline void SetServerSideEncryption(ServerSideEncryption value) { m_serverSideEncryptionHasBeenSet = true; m_serverSideEncryption = value; }
451
453
466 inline StorageClass GetStorageClass() const { return m_storageClass; }
467 inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; }
468 inline void SetStorageClass(StorageClass value) { m_storageClassHasBeenSet = true; m_storageClass = value; }
471
473
479 inline const Aws::String& GetWebsiteRedirectLocation() const { return m_websiteRedirectLocation; }
480 inline bool WebsiteRedirectLocationHasBeenSet() const { return m_websiteRedirectLocationHasBeenSet; }
481 template<typename WebsiteRedirectLocationT = Aws::String>
482 void SetWebsiteRedirectLocation(WebsiteRedirectLocationT&& value) { m_websiteRedirectLocationHasBeenSet = true; m_websiteRedirectLocation = std::forward<WebsiteRedirectLocationT>(value); }
483 template<typename WebsiteRedirectLocationT = Aws::String>
484 CreateMultipartUploadRequest& WithWebsiteRedirectLocation(WebsiteRedirectLocationT&& value) { SetWebsiteRedirectLocation(std::forward<WebsiteRedirectLocationT>(value)); return *this;}
486
488
493 inline const Aws::String& GetSSECustomerAlgorithm() const { return m_sSECustomerAlgorithm; }
494 inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; }
495 template<typename SSECustomerAlgorithmT = Aws::String>
496 void SetSSECustomerAlgorithm(SSECustomerAlgorithmT&& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = std::forward<SSECustomerAlgorithmT>(value); }
497 template<typename SSECustomerAlgorithmT = Aws::String>
498 CreateMultipartUploadRequest& WithSSECustomerAlgorithm(SSECustomerAlgorithmT&& value) { SetSSECustomerAlgorithm(std::forward<SSECustomerAlgorithmT>(value)); return *this;}
500
502
510 inline const Aws::String& GetSSECustomerKey() const { return m_sSECustomerKey; }
511 inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; }
512 template<typename SSECustomerKeyT = Aws::String>
513 void SetSSECustomerKey(SSECustomerKeyT&& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = std::forward<SSECustomerKeyT>(value); }
514 template<typename SSECustomerKeyT = Aws::String>
515 CreateMultipartUploadRequest& WithSSECustomerKey(SSECustomerKeyT&& value) { SetSSECustomerKey(std::forward<SSECustomerKeyT>(value)); return *this;}
517
519
525 inline const Aws::String& GetSSECustomerKeyMD5() const { return m_sSECustomerKeyMD5; }
526 inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; }
527 template<typename SSECustomerKeyMD5T = Aws::String>
528 void SetSSECustomerKeyMD5(SSECustomerKeyMD5T&& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = std::forward<SSECustomerKeyMD5T>(value); }
529 template<typename SSECustomerKeyMD5T = Aws::String>
530 CreateMultipartUploadRequest& WithSSECustomerKeyMD5(SSECustomerKeyMD5T&& value) { SetSSECustomerKeyMD5(std::forward<SSECustomerKeyMD5T>(value)); return *this;}
532
534
559 inline const Aws::String& GetSSEKMSKeyId() const { return m_sSEKMSKeyId; }
560 inline bool SSEKMSKeyIdHasBeenSet() const { return m_sSEKMSKeyIdHasBeenSet; }
561 template<typename SSEKMSKeyIdT = Aws::String>
562 void SetSSEKMSKeyId(SSEKMSKeyIdT&& value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId = std::forward<SSEKMSKeyIdT>(value); }
563 template<typename SSEKMSKeyIdT = Aws::String>
564 CreateMultipartUploadRequest& WithSSEKMSKeyId(SSEKMSKeyIdT&& value) { SetSSEKMSKeyId(std::forward<SSEKMSKeyIdT>(value)); return *this;}
566
568
577 inline const Aws::String& GetSSEKMSEncryptionContext() const { return m_sSEKMSEncryptionContext; }
578 inline bool SSEKMSEncryptionContextHasBeenSet() const { return m_sSEKMSEncryptionContextHasBeenSet; }
579 template<typename SSEKMSEncryptionContextT = Aws::String>
580 void SetSSEKMSEncryptionContext(SSEKMSEncryptionContextT&& value) { m_sSEKMSEncryptionContextHasBeenSet = true; m_sSEKMSEncryptionContext = std::forward<SSEKMSEncryptionContextT>(value); }
581 template<typename SSEKMSEncryptionContextT = Aws::String>
582 CreateMultipartUploadRequest& WithSSEKMSEncryptionContext(SSEKMSEncryptionContextT&& value) { SetSSEKMSEncryptionContext(std::forward<SSEKMSEncryptionContextT>(value)); return *this;}
584
586
608 inline bool GetBucketKeyEnabled() const { return m_bucketKeyEnabled; }
609 inline bool BucketKeyEnabledHasBeenSet() const { return m_bucketKeyEnabledHasBeenSet; }
610 inline void SetBucketKeyEnabled(bool value) { m_bucketKeyEnabledHasBeenSet = true; m_bucketKeyEnabled = value; }
611 inline CreateMultipartUploadRequest& WithBucketKeyEnabled(bool value) { SetBucketKeyEnabled(value); return *this;}
613
615
616 inline RequestPayer GetRequestPayer() const { return m_requestPayer; }
617 inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; }
618 inline void SetRequestPayer(RequestPayer value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; }
621
623
628 inline const Aws::String& GetTagging() const { return m_tagging; }
629 inline bool TaggingHasBeenSet() const { return m_taggingHasBeenSet; }
630 template<typename TaggingT = Aws::String>
631 void SetTagging(TaggingT&& value) { m_taggingHasBeenSet = true; m_tagging = std::forward<TaggingT>(value); }
632 template<typename TaggingT = Aws::String>
633 CreateMultipartUploadRequest& WithTagging(TaggingT&& value) { SetTagging(std::forward<TaggingT>(value)); return *this;}
635
637
642 inline ObjectLockMode GetObjectLockMode() const { return m_objectLockMode; }
643 inline bool ObjectLockModeHasBeenSet() const { return m_objectLockModeHasBeenSet; }
644 inline void SetObjectLockMode(ObjectLockMode value) { m_objectLockModeHasBeenSet = true; m_objectLockMode = value; }
647
649
653 inline const Aws::Utils::DateTime& GetObjectLockRetainUntilDate() const { return m_objectLockRetainUntilDate; }
654 inline bool ObjectLockRetainUntilDateHasBeenSet() const { return m_objectLockRetainUntilDateHasBeenSet; }
655 template<typename ObjectLockRetainUntilDateT = Aws::Utils::DateTime>
656 void SetObjectLockRetainUntilDate(ObjectLockRetainUntilDateT&& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = std::forward<ObjectLockRetainUntilDateT>(value); }
657 template<typename ObjectLockRetainUntilDateT = Aws::Utils::DateTime>
658 CreateMultipartUploadRequest& WithObjectLockRetainUntilDate(ObjectLockRetainUntilDateT&& value) { SetObjectLockRetainUntilDate(std::forward<ObjectLockRetainUntilDateT>(value)); return *this;}
660
662
666 inline ObjectLockLegalHoldStatus GetObjectLockLegalHoldStatus() const { return m_objectLockLegalHoldStatus; }
667 inline bool ObjectLockLegalHoldStatusHasBeenSet() const { return m_objectLockLegalHoldStatusHasBeenSet; }
668 inline void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = value; }
671
673
678 inline const Aws::String& GetExpectedBucketOwner() const { return m_expectedBucketOwner; }
679 inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; }
680 template<typename ExpectedBucketOwnerT = Aws::String>
681 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value); }
682 template<typename ExpectedBucketOwnerT = Aws::String>
683 CreateMultipartUploadRequest& WithExpectedBucketOwner(ExpectedBucketOwnerT&& value) { SetExpectedBucketOwner(std::forward<ExpectedBucketOwnerT>(value)); return *this;}
685
687
693 inline ChecksumAlgorithm GetChecksumAlgorithm() const { return m_checksumAlgorithm; }
694 inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; }
695 inline void SetChecksumAlgorithm(ChecksumAlgorithm value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; }
698
700
706 inline ChecksumType GetChecksumType() const { return m_checksumType; }
707 inline bool ChecksumTypeHasBeenSet() const { return m_checksumTypeHasBeenSet; }
708 inline void SetChecksumType(ChecksumType value) { m_checksumTypeHasBeenSet = true; m_checksumType = value; }
711
713
714 inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const { return m_customizedAccessLogTag; }
715 inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; }
716 template<typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
717 void SetCustomizedAccessLogTag(CustomizedAccessLogTagT&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value); }
718 template<typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
719 CreateMultipartUploadRequest& WithCustomizedAccessLogTag(CustomizedAccessLogTagT&& value) { SetCustomizedAccessLogTag(std::forward<CustomizedAccessLogTagT>(value)); return *this;}
720 template<typename CustomizedAccessLogTagKeyT = Aws::String, typename CustomizedAccessLogTagValueT = Aws::String>
721 CreateMultipartUploadRequest& AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT&& key, CustomizedAccessLogTagValueT&& value) {
722 m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value)); return *this;
723 }
725 private:
726
728 bool m_aCLHasBeenSet = false;
729
730 Aws::String m_bucket;
731 bool m_bucketHasBeenSet = false;
732
733 Aws::String m_cacheControl;
734 bool m_cacheControlHasBeenSet = false;
735
736 Aws::String m_contentDisposition;
737 bool m_contentDispositionHasBeenSet = false;
738
739 Aws::String m_contentEncoding;
740 bool m_contentEncodingHasBeenSet = false;
741
742 Aws::String m_contentLanguage;
743 bool m_contentLanguageHasBeenSet = false;
744
745 Aws::String m_contentType;
746 bool m_contentTypeHasBeenSet = false;
747
748 Aws::Utils::DateTime m_expires{};
749 bool m_expiresHasBeenSet = false;
750
751 Aws::String m_grantFullControl;
752 bool m_grantFullControlHasBeenSet = false;
753
754 Aws::String m_grantRead;
755 bool m_grantReadHasBeenSet = false;
756
757 Aws::String m_grantReadACP;
758 bool m_grantReadACPHasBeenSet = false;
759
760 Aws::String m_grantWriteACP;
761 bool m_grantWriteACPHasBeenSet = false;
762
763 Aws::String m_key;
764 bool m_keyHasBeenSet = false;
765
767 bool m_metadataHasBeenSet = false;
768
770 bool m_serverSideEncryptionHasBeenSet = false;
771
772 StorageClass m_storageClass{StorageClass::NOT_SET};
773 bool m_storageClassHasBeenSet = false;
774
775 Aws::String m_websiteRedirectLocation;
776 bool m_websiteRedirectLocationHasBeenSet = false;
777
778 Aws::String m_sSECustomerAlgorithm;
779 bool m_sSECustomerAlgorithmHasBeenSet = false;
780
781 Aws::String m_sSECustomerKey;
782 bool m_sSECustomerKeyHasBeenSet = false;
783
784 Aws::String m_sSECustomerKeyMD5;
785 bool m_sSECustomerKeyMD5HasBeenSet = false;
786
787 Aws::String m_sSEKMSKeyId;
788 bool m_sSEKMSKeyIdHasBeenSet = false;
789
790 Aws::String m_sSEKMSEncryptionContext;
791 bool m_sSEKMSEncryptionContextHasBeenSet = false;
792
793 bool m_bucketKeyEnabled{false};
794 bool m_bucketKeyEnabledHasBeenSet = false;
795
796 RequestPayer m_requestPayer{RequestPayer::NOT_SET};
797 bool m_requestPayerHasBeenSet = false;
798
799 Aws::String m_tagging;
800 bool m_taggingHasBeenSet = false;
801
802 ObjectLockMode m_objectLockMode{ObjectLockMode::NOT_SET};
803 bool m_objectLockModeHasBeenSet = false;
804
805 Aws::Utils::DateTime m_objectLockRetainUntilDate{};
806 bool m_objectLockRetainUntilDateHasBeenSet = false;
807
809 bool m_objectLockLegalHoldStatusHasBeenSet = false;
810
811 Aws::String m_expectedBucketOwner;
812 bool m_expectedBucketOwnerHasBeenSet = false;
813
815 bool m_checksumAlgorithmHasBeenSet = false;
816
817 ChecksumType m_checksumType{ChecksumType::NOT_SET};
818 bool m_checksumTypeHasBeenSet = false;
819
820 Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag;
821 bool m_customizedAccessLogTagHasBeenSet = false;
822 };
823
824} // namespace Model
825} // namespace S3
826} // 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:22
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_iostream< char, std::char_traits< char > > IOStream
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String