7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/S3Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3/model/CompletedMultipartUpload.h>
11#include <aws/s3/model/ChecksumType.h>
12#include <aws/s3/model/RequestPayer.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
90 template<
typename BucketT = Aws::String>
91 void SetBucket(BucketT&& value) { m_bucketHasBeenSet =
true; m_bucket = std::forward<BucketT>(value); }
92 template<
typename BucketT = Aws::String>
102 template<
typename KeyT = Aws::String>
103 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
104 template<
typename KeyT = Aws::String>
114 template<
typename MultipartUploadT = CompletedMultipartUpload>
115 void SetMultipartUpload(MultipartUploadT&& value) { m_multipartUploadHasBeenSet =
true; m_multipartUpload = std::forward<MultipartUploadT>(value); }
116 template<
typename MultipartUploadT = CompletedMultipartUpload>
126 template<
typename UploadIdT = Aws::String>
127 void SetUploadId(UploadIdT&& value) { m_uploadIdHasBeenSet =
true; m_uploadId = std::forward<UploadIdT>(value); }
128 template<
typename UploadIdT = Aws::String>
143 template<
typename ChecksumCRC32T = Aws::String>
144 void SetChecksumCRC32(ChecksumCRC32T&& value) { m_checksumCRC32HasBeenSet =
true; m_checksumCRC32 = std::forward<ChecksumCRC32T>(value); }
145 template<
typename ChecksumCRC32T = Aws::String>
160 template<
typename ChecksumCRC32CT = Aws::String>
161 void SetChecksumCRC32C(ChecksumCRC32CT&& value) { m_checksumCRC32CHasBeenSet =
true; m_checksumCRC32C = std::forward<ChecksumCRC32CT>(value); }
162 template<
typename ChecksumCRC32CT = Aws::String>
178 template<
typename ChecksumCRC64NVMET = Aws::String>
179 void SetChecksumCRC64NVME(ChecksumCRC64NVMET&& value) { m_checksumCRC64NVMEHasBeenSet =
true; m_checksumCRC64NVME = std::forward<ChecksumCRC64NVMET>(value); }
180 template<
typename ChecksumCRC64NVMET = Aws::String>
195 template<
typename ChecksumSHA1T = Aws::String>
196 void SetChecksumSHA1(ChecksumSHA1T&& value) { m_checksumSHA1HasBeenSet =
true; m_checksumSHA1 = std::forward<ChecksumSHA1T>(value); }
197 template<
typename ChecksumSHA1T = Aws::String>
212 template<
typename ChecksumSHA256T = Aws::String>
213 void SetChecksumSHA256(ChecksumSHA256T&& value) { m_checksumSHA256HasBeenSet =
true; m_checksumSHA256 = std::forward<ChecksumSHA256T>(value); }
214 template<
typename ChecksumSHA256T = Aws::String>
243 inline void SetMpuObjectSize(
long long value) { m_mpuObjectSizeHasBeenSet =
true; m_mpuObjectSize = value; }
263 template<
typename ExpectedBucketOwnerT = Aws::String>
264 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value); }
265 template<
typename ExpectedBucketOwnerT = Aws::String>
285 template<
typename IfMatchT = Aws::String>
286 void SetIfMatch(IfMatchT&& value) { m_ifMatchHasBeenSet =
true; m_ifMatch = std::forward<IfMatchT>(value); }
287 template<
typename IfMatchT = Aws::String>
306 template<
typename IfNoneMatchT = Aws::String>
307 void SetIfNoneMatch(IfNoneMatchT&& value) { m_ifNoneMatchHasBeenSet =
true; m_ifNoneMatch = std::forward<IfNoneMatchT>(value); }
308 template<
typename IfNoneMatchT = Aws::String>
324 template<
typename SSECustomerAlgorithmT = Aws::String>
325 void SetSSECustomerAlgorithm(SSECustomerAlgorithmT&& value) { m_sSECustomerAlgorithmHasBeenSet =
true; m_sSECustomerAlgorithm = std::forward<SSECustomerAlgorithmT>(value); }
326 template<
typename SSECustomerAlgorithmT = Aws::String>
341 template<
typename SSECustomerKeyT = Aws::String>
342 void SetSSECustomerKey(SSECustomerKeyT&& value) { m_sSECustomerKeyHasBeenSet =
true; m_sSECustomerKey = std::forward<SSECustomerKeyT>(value); }
343 template<
typename SSECustomerKeyT = Aws::String>
358 template<
typename SSECustomerKeyMD5T = Aws::String>
359 void SetSSECustomerKeyMD5(SSECustomerKeyMD5T&& value) { m_sSECustomerKeyMD5HasBeenSet =
true; m_sSECustomerKeyMD5 = std::forward<SSECustomerKeyMD5T>(value); }
360 template<
typename SSECustomerKeyMD5T = Aws::String>
368 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
369 void SetCustomizedAccessLogTag(CustomizedAccessLogTagT&& value) { m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value); }
370 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
372 template<
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
374 m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
return *
this;
380 bool m_bucketHasBeenSet =
false;
383 bool m_keyHasBeenSet =
false;
386 bool m_multipartUploadHasBeenSet =
false;
389 bool m_uploadIdHasBeenSet =
false;
392 bool m_checksumCRC32HasBeenSet =
false;
395 bool m_checksumCRC32CHasBeenSet =
false;
398 bool m_checksumCRC64NVMEHasBeenSet =
false;
401 bool m_checksumSHA1HasBeenSet =
false;
404 bool m_checksumSHA256HasBeenSet =
false;
407 bool m_checksumTypeHasBeenSet =
false;
409 long long m_mpuObjectSize{0};
410 bool m_mpuObjectSizeHasBeenSet =
false;
413 bool m_requestPayerHasBeenSet =
false;
416 bool m_expectedBucketOwnerHasBeenSet =
false;
419 bool m_ifMatchHasBeenSet =
false;
422 bool m_ifNoneMatchHasBeenSet =
false;
425 bool m_sSECustomerAlgorithmHasBeenSet =
false;
428 bool m_sSECustomerKeyHasBeenSet =
false;
431 bool m_sSECustomerKeyMD5HasBeenSet =
false;
434 bool m_customizedAccessLogTagHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
AWS_S3_API Aws::String SerializePayload() const override
bool ExpectedBucketOwnerHasBeenSet() const
void SetChecksumType(ChecksumType value)
const Aws::String & GetSSECustomerAlgorithm() const
const Aws::String & GetIfMatch() const
void SetChecksumCRC64NVME(ChecksumCRC64NVMET &&value)
bool SSECustomerAlgorithmHasBeenSet() const
AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
CompleteMultipartUploadRequest & WithKey(KeyT &&value)
void SetChecksumCRC32C(ChecksumCRC32CT &&value)
bool ChecksumCRC32CHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
const Aws::String & GetUploadId() const
bool ChecksumSHA1HasBeenSet() const
bool SSECustomerKeyHasBeenSet() const
void SetIfMatch(IfMatchT &&value)
const Aws::String & GetChecksumCRC32() const
const Aws::String & GetChecksumCRC64NVME() const
CompleteMultipartUploadRequest & WithChecksumCRC32C(ChecksumCRC32CT &&value)
CompleteMultipartUploadRequest & WithChecksumCRC64NVME(ChecksumCRC64NVMET &&value)
const Aws::String & GetChecksumSHA1() const
bool ChecksumSHA256HasBeenSet() const
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
CompleteMultipartUploadRequest & WithIfNoneMatch(IfNoneMatchT &&value)
CompleteMultipartUploadRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
CompleteMultipartUploadRequest & WithChecksumCRC32(ChecksumCRC32T &&value)
const Aws::String & GetSSECustomerKeyMD5() const
CompleteMultipartUploadRequest & WithBucket(BucketT &&value)
const Aws::String & GetChecksumCRC32C() const
bool BucketHasBeenSet() const
CompleteMultipartUploadRequest & WithIfMatch(IfMatchT &&value)
ChecksumType GetChecksumType() const
bool SSECustomerKeyMD5HasBeenSet() const
CompleteMultipartUploadRequest & WithChecksumType(ChecksumType value)
void SetSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
long long GetMpuObjectSize() const
bool RequestPayerHasBeenSet() const
bool CustomizedAccessLogTagHasBeenSet() const
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
const CompletedMultipartUpload & GetMultipartUpload() const
CompleteMultipartUploadRequest & WithRequestPayer(RequestPayer value)
bool KeyHasBeenSet() const
void SetChecksumSHA1(ChecksumSHA1T &&value)
bool UploadIdHasBeenSet() const
const Aws::String & GetKey() const
void SetRequestPayer(RequestPayer value)
void SetMultipartUpload(MultipartUploadT &&value)
bool ChecksumTypeHasBeenSet() const
bool ChecksumCRC64NVMEHasBeenSet() const
CompleteMultipartUploadRequest & WithMultipartUpload(MultipartUploadT &&value)
const Aws::String & GetChecksumSHA256() const
CompleteMultipartUploadRequest & WithSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
bool ChecksumCRC32HasBeenSet() const
CompleteMultipartUploadRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
void SetSSECustomerKey(SSECustomerKeyT &&value)
void SetChecksumCRC32(ChecksumCRC32T &&value)
void SetChecksumSHA256(ChecksumSHA256T &&value)
void SetMpuObjectSize(long long value)
void SetKey(KeyT &&value)
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
CompleteMultipartUploadRequest & WithChecksumSHA256(ChecksumSHA256T &&value)
bool MpuObjectSizeHasBeenSet() const
CompleteMultipartUploadRequest & WithSSECustomerKey(SSECustomerKeyT &&value)
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
RequestPayer GetRequestPayer() const
CompleteMultipartUploadRequest & WithChecksumSHA1(ChecksumSHA1T &&value)
void SetIfNoneMatch(IfNoneMatchT &&value)
CompleteMultipartUploadRequest & WithMpuObjectSize(long long value)
CompleteMultipartUploadRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
bool MultipartUploadHasBeenSet() const
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetBucket(BucketT &&value)
CompleteMultipartUploadRequest & WithSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
CompleteMultipartUploadRequest & WithUploadId(UploadIdT &&value)
void SetUploadId(UploadIdT &&value)
void SetSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
const Aws::String & GetBucket() const
const Aws::String & GetExpectedBucketOwner() const
const Aws::String & GetIfNoneMatch() const
const Aws::String & GetSSECustomerKey() const
AWS_S3_API CompleteMultipartUploadRequest()=default
bool IfMatchHasBeenSet() const
bool IfNoneMatchHasBeenSet() const
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_iostream< char, std::char_traits< char > > IOStream
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String