7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/S3CrtRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/s3-crt/model/RequestPayer.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
89 inline void SetBucket(
const char* value) { m_bucketHasBeenSet =
true; m_bucket.assign(value); }
145 inline void SetCopySource(
const char* value) { m_copySourceHasBeenSet =
true; m_copySource.assign(value); }
166 inline void SetCopySourceIfMatch(
const char* value) { m_copySourceIfMatchHasBeenSet =
true; m_copySourceIfMatch.assign(value); }
206 inline void SetCopySourceIfNoneMatch(
const char* value) { m_copySourceIfNoneMatchHasBeenSet =
true; m_copySourceIfNoneMatch.assign(value); }
243 inline void SetCopySourceRange(
const char* value) { m_copySourceRangeHasBeenSet =
true; m_copySourceRange.assign(value); }
257 inline void SetKey(
const char* value) { m_keyHasBeenSet =
true; m_key.assign(value); }
270 inline void SetPartNumber(
int value) { m_partNumberHasBeenSet =
true; m_partNumber = value; }
282 inline void SetUploadId(
const char* value) { m_uploadIdHasBeenSet =
true; m_uploadId.assign(value); }
298 inline void SetSSECustomerAlgorithm(
const char* value) { m_sSECustomerAlgorithmHasBeenSet =
true; m_sSECustomerAlgorithm.assign(value); }
319 inline void SetSSECustomerKey(
const char* value) { m_sSECustomerKeyHasBeenSet =
true; m_sSECustomerKey.assign(value); }
336 inline void SetSSECustomerKeyMD5(
const char* value) { m_sSECustomerKeyMD5HasBeenSet =
true; m_sSECustomerKeyMD5.assign(value); }
370 inline void SetCopySourceSSECustomerKey(
const char* value) { m_copySourceSSECustomerKeyHasBeenSet =
true; m_copySourceSSECustomerKey.assign(value); }
414 inline void SetExpectedBucketOwner(
const char* value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner.assign(value); }
430 inline void SetExpectedSourceBucketOwner(
const char* value) { m_expectedSourceBucketOwnerHasBeenSet =
true; m_expectedSourceBucketOwner.assign(value); }
455 bool m_bucketHasBeenSet =
false;
458 bool m_copySourceHasBeenSet =
false;
461 bool m_copySourceIfMatchHasBeenSet =
false;
464 bool m_copySourceIfModifiedSinceHasBeenSet =
false;
467 bool m_copySourceIfNoneMatchHasBeenSet =
false;
470 bool m_copySourceIfUnmodifiedSinceHasBeenSet =
false;
473 bool m_copySourceRangeHasBeenSet =
false;
476 bool m_keyHasBeenSet =
false;
479 bool m_partNumberHasBeenSet =
false;
482 bool m_uploadIdHasBeenSet =
false;
485 bool m_sSECustomerAlgorithmHasBeenSet =
false;
488 bool m_sSECustomerKeyHasBeenSet =
false;
491 bool m_sSECustomerKeyMD5HasBeenSet =
false;
494 bool m_copySourceSSECustomerAlgorithmHasBeenSet =
false;
497 bool m_copySourceSSECustomerKeyHasBeenSet =
false;
500 bool m_copySourceSSECustomerKeyMD5HasBeenSet =
false;
503 bool m_requestPayerHasBeenSet =
false;
506 bool m_expectedBucketOwnerHasBeenSet =
false;
509 bool m_expectedSourceBucketOwnerHasBeenSet =
false;
512 bool m_customizedAccessLogTagHasBeenSet =
false;
void SetExpectedSourceBucketOwner(const Aws::String &value)
UploadPartCopyRequest & WithCopySourceSSECustomerKey(const char *value)
UploadPartCopyRequest & WithExpectedSourceBucketOwner(Aws::String &&value)
UploadPartCopyRequest & WithBucket(const char *value)
void SetSSECustomerKeyMD5(Aws::String &&value)
UploadPartCopyRequest & WithCopySourceRange(const Aws::String &value)
UploadPartCopyRequest & WithSSECustomerKey(const char *value)
void SetSSECustomerAlgorithm(const Aws::String &value)
UploadPartCopyRequest & WithSSECustomerKeyMD5(const Aws::String &value)
const Aws::String & GetCopySourceSSECustomerKey() const
UploadPartCopyRequest & WithSSECustomerKey(const Aws::String &value)
UploadPartCopyRequest & WithCopySourceSSECustomerAlgorithm(const char *value)
UploadPartCopyRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
UploadPartCopyRequest & WithExpectedSourceBucketOwner(const Aws::String &value)
void SetSSECustomerKey(Aws::String &&value)
void SetKey(const char *value)
bool RequestPayerHasBeenSet() const
UploadPartCopyRequest & WithBucket(const Aws::String &value)
bool CopySourceSSECustomerKeyHasBeenSet() const
UploadPartCopyRequest & WithUploadId(Aws::String &&value)
UploadPartCopyRequest & WithCopySourceIfUnmodifiedSince(Aws::Utils::DateTime &&value)
const Aws::String & GetCopySourceSSECustomerKeyMD5() const
void SetCopySourceSSECustomerKeyMD5(const char *value)
const Aws::String & GetSSECustomerKey() const
UploadPartCopyRequest & WithCopySourceRange(Aws::String &&value)
const Aws::String & GetUploadId() const
void SetCopySourceIfNoneMatch(Aws::String &&value)
bool CopySourceIfMatchHasBeenSet() const
UploadPartCopyRequest & WithSSECustomerKeyMD5(const char *value)
void SetCopySourceSSECustomerAlgorithm(const char *value)
const RequestPayer & GetRequestPayer() const
UploadPartCopyRequest & WithExpectedBucketOwner(Aws::String &&value)
void SetExpectedBucketOwner(const char *value)
AWS_S3CRT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetCopySourceRange(Aws::String &&value)
UploadPartCopyRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
UploadPartCopyRequest & WithSSECustomerAlgorithm(const char *value)
UploadPartCopyRequest & WithKey(const Aws::String &value)
UploadPartCopyRequest & WithUploadId(const Aws::String &value)
const Aws::String & GetCopySource() const
void SetCopySourceRange(const char *value)
void SetCopySourceIfNoneMatch(const Aws::String &value)
UploadPartCopyRequest & WithCopySourceSSECustomerKey(Aws::String &&value)
void SetCopySourceSSECustomerAlgorithm(const Aws::String &value)
UploadPartCopyRequest & WithCopySourceIfMatch(Aws::String &&value)
void SetKey(Aws::String &&value)
const Aws::String & GetCopySourceRange() const
UploadPartCopyRequest & WithCopySourceSSECustomerKey(const Aws::String &value)
void SetCopySource(Aws::String &&value)
UploadPartCopyRequest & WithSSECustomerKey(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
void SetCopySourceIfUnmodifiedSince(const Aws::Utils::DateTime &value)
void SetCopySourceIfUnmodifiedSince(Aws::Utils::DateTime &&value)
UploadPartCopyRequest & WithCopySource(const Aws::String &value)
void SetCopySourceSSECustomerKey(const Aws::String &value)
void SetCopySourceIfNoneMatch(const char *value)
void SetCopySourceIfMatch(const Aws::String &value)
bool CustomizedAccessLogTagHasBeenSet() const
UploadPartCopyRequest & WithCopySourceSSECustomerAlgorithm(const Aws::String &value)
UploadPartCopyRequest & WithCopySourceRange(const char *value)
AWS_S3CRT_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
void SetPartNumber(int value)
void SetCopySourceIfMatch(Aws::String &&value)
bool CopySourceIfUnmodifiedSinceHasBeenSet() const
void SetSSECustomerKey(const char *value)
UploadPartCopyRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
void SetCopySourceSSECustomerKeyMD5(const Aws::String &value)
void SetExpectedBucketOwner(const Aws::String &value)
void SetUploadId(const char *value)
UploadPartCopyRequest & WithCopySourceIfMatch(const char *value)
UploadPartCopyRequest & WithSSECustomerAlgorithm(const Aws::String &value)
void SetCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
void SetCopySourceSSECustomerKey(Aws::String &&value)
UploadPartCopyRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
bool CopySourceSSECustomerAlgorithmHasBeenSet() const
void SetSSECustomerKeyMD5(const char *value)
const Aws::Utils::DateTime & GetCopySourceIfUnmodifiedSince() const
void SetSSECustomerAlgorithm(const char *value)
UploadPartCopyRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
UploadPartCopyRequest & WithExpectedBucketOwner(const char *value)
void SetCopySourceIfMatch(const char *value)
void SetCopySource(const Aws::String &value)
void SetKey(const Aws::String &value)
void SetBucket(const char *value)
AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override
UploadPartCopyRequest & WithCopySourceSSECustomerKeyMD5(const char *value)
bool CopySourceHasBeenSet() const
UploadPartCopyRequest & WithCopySourceSSECustomerKeyMD5(const Aws::String &value)
void SetRequestPayer(const RequestPayer &value)
int GetPartNumber() const
UploadPartCopyRequest & WithPartNumber(int value)
UploadPartCopyRequest & WithKey(Aws::String &&value)
AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const Aws::Utils::DateTime & GetCopySourceIfModifiedSince() const
const Aws::String & GetCopySourceIfNoneMatch() const
UploadPartCopyRequest & WithExpectedSourceBucketOwner(const char *value)
AWS_S3CRT_API UploadPartCopyRequest()
void SetSSECustomerKey(const Aws::String &value)
UploadPartCopyRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
const Aws::String & GetBucket() const
UploadPartCopyRequest & WithCopySourceIfUnmodifiedSince(const Aws::Utils::DateTime &value)
void SetCopySourceRange(const Aws::String &value)
UploadPartCopyRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
UploadPartCopyRequest & WithCopySource(Aws::String &&value)
void SetExpectedSourceBucketOwner(const char *value)
const Aws::String & GetSSECustomerAlgorithm() const
virtual const char * GetServiceRequestName() const override
void SetCopySourceSSECustomerKey(const char *value)
UploadPartCopyRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
UploadPartCopyRequest & WithCopySource(const char *value)
void SetCopySourceSSECustomerKeyMD5(Aws::String &&value)
UploadPartCopyRequest & WithSSECustomerKeyMD5(Aws::String &&value)
UploadPartCopyRequest & WithCopySourceIfNoneMatch(const Aws::String &value)
bool SSECustomerKeyMD5HasBeenSet() const
const Aws::String & GetExpectedSourceBucketOwner() const
UploadPartCopyRequest & WithSSECustomerAlgorithm(Aws::String &&value)
UploadPartCopyRequest & WithCopySourceIfModifiedSince(const Aws::Utils::DateTime &value)
bool SSECustomerAlgorithmHasBeenSet() const
UploadPartCopyRequest & WithCopySourceSSECustomerAlgorithm(Aws::String &&value)
void SetBucket(Aws::String &&value)
void SetCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
bool CopySourceRangeHasBeenSet() const
bool CopySourceSSECustomerKeyMD5HasBeenSet() const
const Aws::String & GetExpectedBucketOwner() const
UploadPartCopyRequest & WithCopySourceIfMatch(const Aws::String &value)
void SetCopySourceSSECustomerAlgorithm(Aws::String &&value)
UploadPartCopyRequest & WithUploadId(const char *value)
UploadPartCopyRequest & WithKey(const char *value)
void SetSSECustomerAlgorithm(Aws::String &&value)
UploadPartCopyRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
void SetExpectedBucketOwner(Aws::String &&value)
bool SSECustomerKeyHasBeenSet() const
UploadPartCopyRequest & WithCopySourceIfNoneMatch(const char *value)
UploadPartCopyRequest & WithCopySourceIfNoneMatch(Aws::String &&value)
bool CopySourceIfNoneMatchHasBeenSet() const
void SetUploadId(Aws::String &&value)
UploadPartCopyRequest & WithCopySourceSSECustomerKeyMD5(Aws::String &&value)
UploadPartCopyRequest & WithBucket(Aws::String &&value)
UploadPartCopyRequest & WithRequestPayer(const RequestPayer &value)
bool ExpectedSourceBucketOwnerHasBeenSet() const
UploadPartCopyRequest & WithRequestPayer(RequestPayer &&value)
AWS_S3CRT_API Aws::String SerializePayload() const override
void SetRequestPayer(RequestPayer &&value)
bool UploadIdHasBeenSet() const
const Aws::String & GetKey() const
void SetCopySource(const char *value)
UploadPartCopyRequest & WithCopySourceIfModifiedSince(Aws::Utils::DateTime &&value)
void SetBucket(const Aws::String &value)
bool KeyHasBeenSet() const
void SetExpectedSourceBucketOwner(Aws::String &&value)
UploadPartCopyRequest & WithExpectedBucketOwner(const Aws::String &value)
void SetUploadId(const Aws::String &value)
void SetCopySourceIfModifiedSince(const Aws::Utils::DateTime &value)
const Aws::String & GetCopySourceIfMatch() const
bool CopySourceIfModifiedSinceHasBeenSet() const
bool BucketHasBeenSet() const
const Aws::String & GetSSECustomerKeyMD5() const
const Aws::String & GetCopySourceSSECustomerAlgorithm() const
void SetCopySourceIfModifiedSince(Aws::Utils::DateTime &&value)
bool ExpectedBucketOwnerHasBeenSet() const
bool PartNumberHasBeenSet() const
void SetSSECustomerKeyMD5(const Aws::String &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