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/RequestPayer.h>
90 template <
typename BucketT = Aws::String>
92 m_bucketHasBeenSet =
true;
93 m_bucket = std::forward<BucketT>(value);
95 template <
typename BucketT = Aws::String>
150 template <
typename CopySourceT = Aws::String>
152 m_copySourceHasBeenSet =
true;
153 m_copySource = std::forward<CopySourceT>(value);
155 template <
typename CopySourceT = Aws::String>
175 template <
typename CopySourceIfMatchT = Aws::String>
177 m_copySourceIfMatchHasBeenSet =
true;
178 m_copySourceIfMatch = std::forward<CopySourceIfMatchT>(value);
180 template <
typename CopySourceIfMatchT = Aws::String>
200 template <
typename CopySourceIfModifiedSinceT = Aws::Utils::DateTime>
202 m_copySourceIfModifiedSinceHasBeenSet =
true;
203 m_copySourceIfModifiedSince = std::forward<CopySourceIfModifiedSinceT>(value);
205 template <
typename CopySourceIfModifiedSinceT = Aws::Utils::DateTime>
225 template <
typename CopySourceIfNoneMatchT = Aws::String>
227 m_copySourceIfNoneMatchHasBeenSet =
true;
228 m_copySourceIfNoneMatch = std::forward<CopySourceIfNoneMatchT>(value);
230 template <
typename CopySourceIfNoneMatchT = Aws::String>
250 template <
typename CopySourceIfUnmodifiedSinceT = Aws::Utils::DateTime>
252 m_copySourceIfUnmodifiedSinceHasBeenSet =
true;
253 m_copySourceIfUnmodifiedSince = std::forward<CopySourceIfUnmodifiedSinceT>(value);
255 template <
typename CopySourceIfUnmodifiedSinceT = Aws::Utils::DateTime>
272 template <
typename CopySourceRangeT = Aws::String>
274 m_copySourceRangeHasBeenSet =
true;
275 m_copySourceRange = std::forward<CopySourceRangeT>(value);
277 template <
typename CopySourceRangeT = Aws::String>
290 template <
typename KeyT = Aws::String>
292 m_keyHasBeenSet =
true;
293 m_key = std::forward<KeyT>(value);
295 template <
typename KeyT = Aws::String>
297 SetKey(std::forward<KeyT>(value));
310 m_partNumberHasBeenSet =
true;
311 m_partNumber = value;
325 template <
typename UploadIdT = Aws::String>
327 m_uploadIdHasBeenSet =
true;
328 m_uploadId = std::forward<UploadIdT>(value);
330 template <
typename UploadIdT = Aws::String>
345 template <
typename SSECustomerAlgorithmT = Aws::String>
347 m_sSECustomerAlgorithmHasBeenSet =
true;
348 m_sSECustomerAlgorithm = std::forward<SSECustomerAlgorithmT>(value);
350 template <
typename SSECustomerAlgorithmT = Aws::String>
370 template <
typename SSECustomerKeyT = Aws::String>
372 m_sSECustomerKeyHasBeenSet =
true;
373 m_sSECustomerKey = std::forward<SSECustomerKeyT>(value);
375 template <
typename SSECustomerKeyT = Aws::String>
391 template <
typename SSECustomerKeyMD5T = Aws::String>
393 m_sSECustomerKeyMD5HasBeenSet =
true;
394 m_sSECustomerKeyMD5 = std::forward<SSECustomerKeyMD5T>(value);
396 template <
typename SSECustomerKeyMD5T = Aws::String>
411 template <
typename CopySourceSSECustomerAlgorithmT = Aws::String>
413 m_copySourceSSECustomerAlgorithmHasBeenSet =
true;
414 m_copySourceSSECustomerAlgorithm = std::forward<CopySourceSSECustomerAlgorithmT>(value);
416 template <
typename CopySourceSSECustomerAlgorithmT = Aws::String>
433 template <
typename CopySourceSSECustomerKeyT = Aws::String>
435 m_copySourceSSECustomerKeyHasBeenSet =
true;
436 m_copySourceSSECustomerKey = std::forward<CopySourceSSECustomerKeyT>(value);
438 template <
typename CopySourceSSECustomerKeyT = Aws::String>
454 template <
typename CopySourceSSECustomerKeyMD5T = Aws::String>
456 m_copySourceSSECustomerKeyMD5HasBeenSet =
true;
457 m_copySourceSSECustomerKeyMD5 = std::forward<CopySourceSSECustomerKeyMD5T>(value);
459 template <
typename CopySourceSSECustomerKeyMD5T = Aws::String>
471 m_requestPayerHasBeenSet =
true;
472 m_requestPayer = value;
489 template <
typename ExpectedBucketOwnerT = Aws::String>
491 m_expectedBucketOwnerHasBeenSet =
true;
492 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
494 template <
typename ExpectedBucketOwnerT = Aws::String>
509 template <
typename ExpectedSourceBucketOwnerT = Aws::String>
511 m_expectedSourceBucketOwnerHasBeenSet =
true;
512 m_expectedSourceBucketOwner = std::forward<ExpectedSourceBucketOwnerT>(value);
514 template <
typename ExpectedSourceBucketOwnerT = Aws::String>
525 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
527 m_customizedAccessLogTagHasBeenSet =
true;
528 m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value);
530 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
535 template <
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
537 m_customizedAccessLogTagHasBeenSet =
true;
538 m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
544 bool m_bucketHasBeenSet =
false;
547 bool m_copySourceHasBeenSet =
false;
550 bool m_copySourceIfMatchHasBeenSet =
false;
553 bool m_copySourceIfModifiedSinceHasBeenSet =
false;
556 bool m_copySourceIfNoneMatchHasBeenSet =
false;
559 bool m_copySourceIfUnmodifiedSinceHasBeenSet =
false;
562 bool m_copySourceRangeHasBeenSet =
false;
565 bool m_keyHasBeenSet =
false;
568 bool m_partNumberHasBeenSet =
false;
571 bool m_uploadIdHasBeenSet =
false;
574 bool m_sSECustomerAlgorithmHasBeenSet =
false;
577 bool m_sSECustomerKeyHasBeenSet =
false;
580 bool m_sSECustomerKeyMD5HasBeenSet =
false;
583 bool m_copySourceSSECustomerAlgorithmHasBeenSet =
false;
586 bool m_copySourceSSECustomerKeyHasBeenSet =
false;
589 bool m_copySourceSSECustomerKeyMD5HasBeenSet =
false;
592 bool m_requestPayerHasBeenSet =
false;
595 bool m_expectedBucketOwnerHasBeenSet =
false;
598 bool m_expectedSourceBucketOwnerHasBeenSet =
false;
601 bool m_customizedAccessLogTagHasBeenSet =
false;
int GetPartNumber() const
void SetKey(KeyT &&value)
void SetCopySourceRange(CopySourceRangeT &&value)
const Aws::Utils::DateTime & GetCopySourceIfUnmodifiedSince() const
const Aws::String & GetBucket() const
void SetCopySourceIfUnmodifiedSince(CopySourceIfUnmodifiedSinceT &&value)
UploadPartCopyRequest & WithUploadId(UploadIdT &&value)
bool KeyHasBeenSet() const
const Aws::String & GetCopySource() const
UploadPartCopyRequest & WithExpectedSourceBucketOwner(ExpectedSourceBucketOwnerT &&value)
UploadPartCopyRequest & WithBucket(BucketT &&value)
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
const Aws::Utils::DateTime & GetCopySourceIfModifiedSince() const
const Aws::String & GetCopySourceIfNoneMatch() const
void SetSSECustomerKey(SSECustomerKeyT &&value)
void SetCopySourceIfModifiedSince(CopySourceIfModifiedSinceT &&value)
const Aws::String & GetKey() const
bool CopySourceIfNoneMatchHasBeenSet() const
void SetSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool CopySourceIfMatchHasBeenSet() const
void SetCopySourceSSECustomerKeyMD5(CopySourceSSECustomerKeyMD5T &&value)
void SetRequestPayer(RequestPayer value)
bool CopySourceSSECustomerAlgorithmHasBeenSet() const
UploadPartCopyRequest & WithCopySourceIfModifiedSince(CopySourceIfModifiedSinceT &&value)
const Aws::String & GetCopySourceSSECustomerKeyMD5() const
bool ExpectedBucketOwnerHasBeenSet() const
void SetUploadId(UploadIdT &&value)
bool CustomizedAccessLogTagHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
UploadPartCopyRequest & WithSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
bool PartNumberHasBeenSet() const
RequestPayer GetRequestPayer() const
UploadPartCopyRequest & WithKey(KeyT &&value)
AWS_S3_API Aws::String SerializePayload() const override
void SetExpectedSourceBucketOwner(ExpectedSourceBucketOwnerT &&value)
void SetSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
const Aws::String & GetSSECustomerKey() const
bool BucketHasBeenSet() const
bool CopySourceSSECustomerKeyMD5HasBeenSet() const
void SetCopySourceSSECustomerKey(CopySourceSSECustomerKeyT &&value)
void SetCopySourceSSECustomerAlgorithm(CopySourceSSECustomerAlgorithmT &&value)
const Aws::String & GetCopySourceIfMatch() const
UploadPartCopyRequest & WithCopySourceSSECustomerKey(CopySourceSSECustomerKeyT &&value)
bool CopySourceHasBeenSet() const
bool SSECustomerKeyMD5HasBeenSet() const
const Aws::String & GetSSECustomerKeyMD5() const
bool CopySourceIfUnmodifiedSinceHasBeenSet() const
bool RequestPayerHasBeenSet() const
const Aws::String & GetExpectedSourceBucketOwner() const
bool CopySourceRangeHasBeenSet() const
UploadPartCopyRequest & WithCopySourceSSECustomerKeyMD5(CopySourceSSECustomerKeyMD5T &&value)
AWS_S3_API UploadPartCopyRequest()=default
UploadPartCopyRequest & WithSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
bool UploadIdHasBeenSet() const
UploadPartCopyRequest & WithCopySourceIfUnmodifiedSince(CopySourceIfUnmodifiedSinceT &&value)
virtual const char * GetServiceRequestName() const override
void SetPartNumber(int value)
bool CopySourceSSECustomerKeyHasBeenSet() const
UploadPartCopyRequest & WithCopySourceSSECustomerAlgorithm(CopySourceSSECustomerAlgorithmT &&value)
AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
UploadPartCopyRequest & WithCopySourceIfNoneMatch(CopySourceIfNoneMatchT &&value)
UploadPartCopyRequest & WithCopySourceRange(CopySourceRangeT &&value)
const Aws::String & GetExpectedBucketOwner() const
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
bool SSECustomerKeyHasBeenSet() const
bool CopySourceIfModifiedSinceHasBeenSet() const
UploadPartCopyRequest & WithCopySourceIfMatch(CopySourceIfMatchT &&value)
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
UploadPartCopyRequest & WithSSECustomerKey(SSECustomerKeyT &&value)
UploadPartCopyRequest & WithPartNumber(int value)
bool ExpectedSourceBucketOwnerHasBeenSet() const
UploadPartCopyRequest & WithRequestPayer(RequestPayer value)
const Aws::String & GetCopySourceSSECustomerKey() const
void SetBucket(BucketT &&value)
const Aws::String & GetSSECustomerAlgorithm() const
UploadPartCopyRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
bool SSECustomerAlgorithmHasBeenSet() const
UploadPartCopyRequest & WithCopySource(CopySourceT &&value)
void SetCopySourceIfNoneMatch(CopySourceIfNoneMatchT &&value)
void SetCopySourceIfMatch(CopySourceIfMatchT &&value)
const Aws::String & GetCopySourceRange() const
void SetCopySource(CopySourceT &&value)
const Aws::String & GetCopySourceSSECustomerAlgorithm() const
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
const Aws::String & GetUploadId() const
UploadPartCopyRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
UploadPartCopyRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_iostream< char, std::char_traits< char > > IOStream
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String