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>
94 template<
typename BucketT = Aws::String>
95 void SetBucket(BucketT&& value) { m_bucketHasBeenSet =
true; m_bucket = std::forward<BucketT>(value); }
96 template<
typename BucketT = Aws::String>
148 template<
typename CopySourceT = Aws::String>
149 void SetCopySource(CopySourceT&& value) { m_copySourceHasBeenSet =
true; m_copySource = std::forward<CopySourceT>(value); }
150 template<
typename CopySourceT = Aws::String>
167 template<
typename CopySourceIfMatchT = Aws::String>
168 void SetCopySourceIfMatch(CopySourceIfMatchT&& value) { m_copySourceIfMatchHasBeenSet =
true; m_copySourceIfMatch = std::forward<CopySourceIfMatchT>(value); }
169 template<
typename CopySourceIfMatchT = Aws::String>
186 template<
typename CopySourceIfModifiedSinceT = Aws::Utils::DateTime>
187 void SetCopySourceIfModifiedSince(CopySourceIfModifiedSinceT&& value) { m_copySourceIfModifiedSinceHasBeenSet =
true; m_copySourceIfModifiedSince = std::forward<CopySourceIfModifiedSinceT>(value); }
188 template<
typename CopySourceIfModifiedSinceT = Aws::Utils::DateTime>
205 template<
typename CopySourceIfNoneMatchT = Aws::String>
206 void SetCopySourceIfNoneMatch(CopySourceIfNoneMatchT&& value) { m_copySourceIfNoneMatchHasBeenSet =
true; m_copySourceIfNoneMatch = std::forward<CopySourceIfNoneMatchT>(value); }
207 template<
typename CopySourceIfNoneMatchT = Aws::String>
224 template<
typename CopySourceIfUnmodifiedSinceT = Aws::Utils::DateTime>
225 void SetCopySourceIfUnmodifiedSince(CopySourceIfUnmodifiedSinceT&& value) { m_copySourceIfUnmodifiedSinceHasBeenSet =
true; m_copySourceIfUnmodifiedSince = std::forward<CopySourceIfUnmodifiedSinceT>(value); }
226 template<
typename CopySourceIfUnmodifiedSinceT = Aws::Utils::DateTime>
240 template<
typename CopySourceRangeT = Aws::String>
241 void SetCopySourceRange(CopySourceRangeT&& value) { m_copySourceRangeHasBeenSet =
true; m_copySourceRange = std::forward<CopySourceRangeT>(value); }
242 template<
typename CopySourceRangeT = Aws::String>
252 template<
typename KeyT = Aws::String>
253 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
254 template<
typename KeyT = Aws::String>
265 inline void SetPartNumber(
int value) { m_partNumberHasBeenSet =
true; m_partNumber = value; }
275 template<
typename UploadIdT = Aws::String>
276 void SetUploadId(UploadIdT&& value) { m_uploadIdHasBeenSet =
true; m_uploadId = std::forward<UploadIdT>(value); }
277 template<
typename UploadIdT = Aws::String>
289 template<
typename SSECustomerAlgorithmT = Aws::String>
290 void SetSSECustomerAlgorithm(SSECustomerAlgorithmT&& value) { m_sSECustomerAlgorithmHasBeenSet =
true; m_sSECustomerAlgorithm = std::forward<SSECustomerAlgorithmT>(value); }
291 template<
typename SSECustomerAlgorithmT = Aws::String>
308 template<
typename SSECustomerKeyT = Aws::String>
309 void SetSSECustomerKey(SSECustomerKeyT&& value) { m_sSECustomerKeyHasBeenSet =
true; m_sSECustomerKey = std::forward<SSECustomerKeyT>(value); }
310 template<
typename SSECustomerKeyT = Aws::String>
323 template<
typename SSECustomerKeyMD5T = Aws::String>
324 void SetSSECustomerKeyMD5(SSECustomerKeyMD5T&& value) { m_sSECustomerKeyMD5HasBeenSet =
true; m_sSECustomerKeyMD5 = std::forward<SSECustomerKeyMD5T>(value); }
325 template<
typename SSECustomerKeyMD5T = Aws::String>
337 template<
typename CopySourceSSECustomerAlgorithmT = Aws::String>
338 void SetCopySourceSSECustomerAlgorithm(CopySourceSSECustomerAlgorithmT&& value) { m_copySourceSSECustomerAlgorithmHasBeenSet =
true; m_copySourceSSECustomerAlgorithm = std::forward<CopySourceSSECustomerAlgorithmT>(value); }
339 template<
typename CopySourceSSECustomerAlgorithmT = Aws::String>
353 template<
typename CopySourceSSECustomerKeyT = Aws::String>
354 void SetCopySourceSSECustomerKey(CopySourceSSECustomerKeyT&& value) { m_copySourceSSECustomerKeyHasBeenSet =
true; m_copySourceSSECustomerKey = std::forward<CopySourceSSECustomerKeyT>(value); }
355 template<
typename CopySourceSSECustomerKeyT = Aws::String>
368 template<
typename CopySourceSSECustomerKeyMD5T = Aws::String>
369 void SetCopySourceSSECustomerKeyMD5(CopySourceSSECustomerKeyMD5T&& value) { m_copySourceSSECustomerKeyMD5HasBeenSet =
true; m_copySourceSSECustomerKeyMD5 = std::forward<CopySourceSSECustomerKeyMD5T>(value); }
370 template<
typename CopySourceSSECustomerKeyMD5T = Aws::String>
391 template<
typename ExpectedBucketOwnerT = Aws::String>
392 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value); }
393 template<
typename ExpectedBucketOwnerT = Aws::String>
405 template<
typename ExpectedSourceBucketOwnerT = Aws::String>
406 void SetExpectedSourceBucketOwner(ExpectedSourceBucketOwnerT&& value) { m_expectedSourceBucketOwnerHasBeenSet =
true; m_expectedSourceBucketOwner = std::forward<ExpectedSourceBucketOwnerT>(value); }
407 template<
typename ExpectedSourceBucketOwnerT = Aws::String>
415 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
416 void SetCustomizedAccessLogTag(CustomizedAccessLogTagT&& value) { m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value); }
417 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
419 template<
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
421 m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
return *
this;
427 bool m_bucketHasBeenSet =
false;
430 bool m_copySourceHasBeenSet =
false;
433 bool m_copySourceIfMatchHasBeenSet =
false;
436 bool m_copySourceIfModifiedSinceHasBeenSet =
false;
439 bool m_copySourceIfNoneMatchHasBeenSet =
false;
442 bool m_copySourceIfUnmodifiedSinceHasBeenSet =
false;
445 bool m_copySourceRangeHasBeenSet =
false;
448 bool m_keyHasBeenSet =
false;
451 bool m_partNumberHasBeenSet =
false;
454 bool m_uploadIdHasBeenSet =
false;
457 bool m_sSECustomerAlgorithmHasBeenSet =
false;
460 bool m_sSECustomerKeyHasBeenSet =
false;
463 bool m_sSECustomerKeyMD5HasBeenSet =
false;
466 bool m_copySourceSSECustomerAlgorithmHasBeenSet =
false;
469 bool m_copySourceSSECustomerKeyHasBeenSet =
false;
472 bool m_copySourceSSECustomerKeyMD5HasBeenSet =
false;
475 bool m_requestPayerHasBeenSet =
false;
478 bool m_expectedBucketOwnerHasBeenSet =
false;
481 bool m_expectedSourceBucketOwnerHasBeenSet =
false;
484 bool m_customizedAccessLogTagHasBeenSet =
false;
UploadPartCopyRequest & WithBucket(BucketT &&value)
void SetCopySourceRange(CopySourceRangeT &&value)
UploadPartCopyRequest & WithSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
UploadPartCopyRequest & WithKey(KeyT &&value)
const Aws::String & GetCopySourceSSECustomerKey() const
UploadPartCopyRequest & WithCopySourceSSECustomerKeyMD5(CopySourceSSECustomerKeyMD5T &&value)
void SetCopySourceIfMatch(CopySourceIfMatchT &&value)
void SetUploadId(UploadIdT &&value)
void SetKey(KeyT &&value)
bool RequestPayerHasBeenSet() const
bool CopySourceSSECustomerKeyHasBeenSet() const
const Aws::String & GetCopySourceSSECustomerKeyMD5() const
UploadPartCopyRequest & WithCopySourceIfMatch(CopySourceIfMatchT &&value)
const Aws::String & GetSSECustomerKey() const
const Aws::String & GetUploadId() const
bool CopySourceIfMatchHasBeenSet() const
UploadPartCopyRequest & WithCopySourceIfUnmodifiedSince(CopySourceIfUnmodifiedSinceT &&value)
AWS_S3CRT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetCopySource() const
UploadPartCopyRequest & WithUploadId(UploadIdT &&value)
UploadPartCopyRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
const Aws::String & GetCopySourceRange() const
void SetCopySourceIfUnmodifiedSince(CopySourceIfUnmodifiedSinceT &&value)
void SetExpectedSourceBucketOwner(ExpectedSourceBucketOwnerT &&value)
void SetSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
void SetCopySourceSSECustomerAlgorithm(CopySourceSSECustomerAlgorithmT &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
void SetCopySourceIfNoneMatch(CopySourceIfNoneMatchT &&value)
void SetCopySourceSSECustomerKeyMD5(CopySourceSSECustomerKeyMD5T &&value)
UploadPartCopyRequest & WithCopySource(CopySourceT &&value)
bool CustomizedAccessLogTagHasBeenSet() const
UploadPartCopyRequest & WithCopySourceSSECustomerKey(CopySourceSSECustomerKeyT &&value)
AWS_S3CRT_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
void SetPartNumber(int value)
bool CopySourceIfUnmodifiedSinceHasBeenSet() const
UploadPartCopyRequest & WithExpectedSourceBucketOwner(ExpectedSourceBucketOwnerT &&value)
bool CopySourceSSECustomerAlgorithmHasBeenSet() const
const Aws::Utils::DateTime & GetCopySourceIfUnmodifiedSince() const
RequestPayer GetRequestPayer() const
UploadPartCopyRequest & WithCopySourceIfNoneMatch(CopySourceIfNoneMatchT &&value)
UploadPartCopyRequest & WithCopySourceIfModifiedSince(CopySourceIfModifiedSinceT &&value)
AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override
bool CopySourceHasBeenSet() const
int GetPartNumber() const
UploadPartCopyRequest & WithPartNumber(int value)
UploadPartCopyRequest & WithCopySourceRange(CopySourceRangeT &&value)
UploadPartCopyRequest & WithRequestPayer(RequestPayer value)
AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const Aws::Utils::DateTime & GetCopySourceIfModifiedSince() const
const Aws::String & GetCopySourceIfNoneMatch() const
const Aws::String & GetBucket() const
UploadPartCopyRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
void SetSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
const Aws::String & GetSSECustomerAlgorithm() const
virtual const char * GetServiceRequestName() const override
bool SSECustomerKeyMD5HasBeenSet() const
const Aws::String & GetExpectedSourceBucketOwner() const
UploadPartCopyRequest & WithSSECustomerKey(SSECustomerKeyT &&value)
bool SSECustomerAlgorithmHasBeenSet() const
void SetCopySourceIfModifiedSince(CopySourceIfModifiedSinceT &&value)
bool CopySourceRangeHasBeenSet() const
bool CopySourceSSECustomerKeyMD5HasBeenSet() const
const Aws::String & GetExpectedBucketOwner() const
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
void SetBucket(BucketT &&value)
AWS_S3CRT_API UploadPartCopyRequest()=default
bool SSECustomerKeyHasBeenSet() const
void SetRequestPayer(RequestPayer value)
bool CopySourceIfNoneMatchHasBeenSet() const
bool ExpectedSourceBucketOwnerHasBeenSet() const
AWS_S3CRT_API Aws::String SerializePayload() const override
bool UploadIdHasBeenSet() const
const Aws::String & GetKey() const
UploadPartCopyRequest & WithCopySourceSSECustomerAlgorithm(CopySourceSSECustomerAlgorithmT &&value)
bool KeyHasBeenSet() const
const Aws::String & GetCopySourceIfMatch() const
bool CopySourceIfModifiedSinceHasBeenSet() const
bool BucketHasBeenSet() const
void SetCopySourceSSECustomerKey(CopySourceSSECustomerKeyT &&value)
UploadPartCopyRequest & WithSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
const Aws::String & GetSSECustomerKeyMD5() const
void SetCopySource(CopySourceT &&value)
const Aws::String & GetCopySourceSSECustomerAlgorithm() const
bool ExpectedBucketOwnerHasBeenSet() const
bool PartNumberHasBeenSet() const
UploadPartCopyRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
void SetSSECustomerKey(SSECustomerKeyT &&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