AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CopyObjectRequest.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/S3CrtRequest.h>
9#include <aws/s3-crt/model/ObjectCannedACL.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/s3-crt/model/ChecksumAlgorithm.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/s3-crt/model/MetadataDirective.h>
15#include <aws/s3-crt/model/TaggingDirective.h>
16#include <aws/s3-crt/model/ServerSideEncryption.h>
17#include <aws/s3-crt/model/StorageClass.h>
18#include <aws/s3-crt/model/RequestPayer.h>
19#include <aws/s3-crt/model/ObjectLockMode.h>
20#include <aws/s3-crt/model/ObjectLockLegalHoldStatus.h>
21#include <utility>
22
23namespace Aws
24{
25namespace Http
26{
27 class URI;
28} //namespace Http
29namespace S3Crt
30{
31namespace Model
32{
33
37 {
38 public:
39 AWS_S3CRT_API CopyObjectRequest();
40
41 // Service request name is the Operation name which will send this request out,
42 // each operation should has unique request name, so that we can get operation's name from this request.
43 // Note: this is not true for response, multiple operations may have the same response name,
44 // so we can not get operation's name from response.
45 inline virtual const char* GetServiceRequestName() const override { return "CopyObject"; }
46
47 AWS_S3CRT_API Aws::String SerializePayload() const override;
48
49 AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
50
52
53 AWS_S3CRT_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override;
57 AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override;
58
60
83 inline const ObjectCannedACL& GetACL() const{ return m_aCL; }
84 inline bool ACLHasBeenSet() const { return m_aCLHasBeenSet; }
85 inline void SetACL(const ObjectCannedACL& value) { m_aCLHasBeenSet = true; m_aCL = value; }
86 inline void SetACL(ObjectCannedACL&& value) { m_aCLHasBeenSet = true; m_aCL = std::move(value); }
87 inline CopyObjectRequest& WithACL(const ObjectCannedACL& value) { SetACL(value); return *this;}
88 inline CopyObjectRequest& WithACL(ObjectCannedACL&& value) { SetACL(std::move(value)); return *this;}
90
92
125 inline const Aws::String& GetBucket() const{ return m_bucket; }
126 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
127 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
128 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
129 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
130 inline CopyObjectRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
131 inline CopyObjectRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
132 inline CopyObjectRequest& WithBucket(const char* value) { SetBucket(value); return *this;}
134
136
139 inline const Aws::String& GetCacheControl() const{ return m_cacheControl; }
140 inline bool CacheControlHasBeenSet() const { return m_cacheControlHasBeenSet; }
141 inline void SetCacheControl(const Aws::String& value) { m_cacheControlHasBeenSet = true; m_cacheControl = value; }
142 inline void SetCacheControl(Aws::String&& value) { m_cacheControlHasBeenSet = true; m_cacheControl = std::move(value); }
143 inline void SetCacheControl(const char* value) { m_cacheControlHasBeenSet = true; m_cacheControl.assign(value); }
144 inline CopyObjectRequest& WithCacheControl(const Aws::String& value) { SetCacheControl(value); return *this;}
145 inline CopyObjectRequest& WithCacheControl(Aws::String&& value) { SetCacheControl(std::move(value)); return *this;}
146 inline CopyObjectRequest& WithCacheControl(const char* value) { SetCacheControl(value); return *this;}
148
150
166 inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; }
167 inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; }
168 inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; }
169 inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); }
171 inline CopyObjectRequest& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;}
173
175
180 inline const Aws::String& GetContentDisposition() const{ return m_contentDisposition; }
181 inline bool ContentDispositionHasBeenSet() const { return m_contentDispositionHasBeenSet; }
182 inline void SetContentDisposition(const Aws::String& value) { m_contentDispositionHasBeenSet = true; m_contentDisposition = value; }
183 inline void SetContentDisposition(Aws::String&& value) { m_contentDispositionHasBeenSet = true; m_contentDisposition = std::move(value); }
184 inline void SetContentDisposition(const char* value) { m_contentDispositionHasBeenSet = true; m_contentDisposition.assign(value); }
185 inline CopyObjectRequest& WithContentDisposition(const Aws::String& value) { SetContentDisposition(value); return *this;}
186 inline CopyObjectRequest& WithContentDisposition(Aws::String&& value) { SetContentDisposition(std::move(value)); return *this;}
187 inline CopyObjectRequest& WithContentDisposition(const char* value) { SetContentDisposition(value); return *this;}
189
191
197 inline const Aws::String& GetContentEncoding() const{ return m_contentEncoding; }
198 inline bool ContentEncodingHasBeenSet() const { return m_contentEncodingHasBeenSet; }
199 inline void SetContentEncoding(const Aws::String& value) { m_contentEncodingHasBeenSet = true; m_contentEncoding = value; }
200 inline void SetContentEncoding(Aws::String&& value) { m_contentEncodingHasBeenSet = true; m_contentEncoding = std::move(value); }
201 inline void SetContentEncoding(const char* value) { m_contentEncodingHasBeenSet = true; m_contentEncoding.assign(value); }
202 inline CopyObjectRequest& WithContentEncoding(const Aws::String& value) { SetContentEncoding(value); return *this;}
203 inline CopyObjectRequest& WithContentEncoding(Aws::String&& value) { SetContentEncoding(std::move(value)); return *this;}
204 inline CopyObjectRequest& WithContentEncoding(const char* value) { SetContentEncoding(value); return *this;}
206
208
211 inline const Aws::String& GetContentLanguage() const{ return m_contentLanguage; }
212 inline bool ContentLanguageHasBeenSet() const { return m_contentLanguageHasBeenSet; }
213 inline void SetContentLanguage(const Aws::String& value) { m_contentLanguageHasBeenSet = true; m_contentLanguage = value; }
214 inline void SetContentLanguage(Aws::String&& value) { m_contentLanguageHasBeenSet = true; m_contentLanguage = std::move(value); }
215 inline void SetContentLanguage(const char* value) { m_contentLanguageHasBeenSet = true; m_contentLanguage.assign(value); }
216 inline CopyObjectRequest& WithContentLanguage(const Aws::String& value) { SetContentLanguage(value); return *this;}
217 inline CopyObjectRequest& WithContentLanguage(Aws::String&& value) { SetContentLanguage(std::move(value)); return *this;}
218 inline CopyObjectRequest& WithContentLanguage(const char* value) { SetContentLanguage(value); return *this;}
220
222
225 inline const Aws::String& GetContentType() const{ return m_contentType; }
226 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
227 inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
228 inline void SetContentType(Aws::String&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); }
229 inline void SetContentType(const char* value) { m_contentTypeHasBeenSet = true; m_contentType.assign(value); }
230 inline CopyObjectRequest& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
231 inline CopyObjectRequest& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
232 inline CopyObjectRequest& WithContentType(const char* value) { SetContentType(value); return *this;}
234
236
290 inline const Aws::String& GetCopySource() const{ return m_copySource; }
291 inline bool CopySourceHasBeenSet() const { return m_copySourceHasBeenSet; }
292 inline void SetCopySource(const Aws::String& value) { m_copySourceHasBeenSet = true; m_copySource = value; }
293 inline void SetCopySource(Aws::String&& value) { m_copySourceHasBeenSet = true; m_copySource = std::move(value); }
294 inline void SetCopySource(const char* value) { m_copySourceHasBeenSet = true; m_copySource.assign(value); }
295 inline CopyObjectRequest& WithCopySource(const Aws::String& value) { SetCopySource(value); return *this;}
296 inline CopyObjectRequest& WithCopySource(Aws::String&& value) { SetCopySource(std::move(value)); return *this;}
297 inline CopyObjectRequest& WithCopySource(const char* value) { SetCopySource(value); return *this;}
299
301
311 inline const Aws::String& GetCopySourceIfMatch() const{ return m_copySourceIfMatch; }
312 inline bool CopySourceIfMatchHasBeenSet() const { return m_copySourceIfMatchHasBeenSet; }
313 inline void SetCopySourceIfMatch(const Aws::String& value) { m_copySourceIfMatchHasBeenSet = true; m_copySourceIfMatch = value; }
314 inline void SetCopySourceIfMatch(Aws::String&& value) { m_copySourceIfMatchHasBeenSet = true; m_copySourceIfMatch = std::move(value); }
315 inline void SetCopySourceIfMatch(const char* value) { m_copySourceIfMatchHasBeenSet = true; m_copySourceIfMatch.assign(value); }
316 inline CopyObjectRequest& WithCopySourceIfMatch(const Aws::String& value) { SetCopySourceIfMatch(value); return *this;}
317 inline CopyObjectRequest& WithCopySourceIfMatch(Aws::String&& value) { SetCopySourceIfMatch(std::move(value)); return *this;}
318 inline CopyObjectRequest& WithCopySourceIfMatch(const char* value) { SetCopySourceIfMatch(value); return *this;}
320
322
332 inline const Aws::Utils::DateTime& GetCopySourceIfModifiedSince() const{ return m_copySourceIfModifiedSince; }
333 inline bool CopySourceIfModifiedSinceHasBeenSet() const { return m_copySourceIfModifiedSinceHasBeenSet; }
334 inline void SetCopySourceIfModifiedSince(const Aws::Utils::DateTime& value) { m_copySourceIfModifiedSinceHasBeenSet = true; m_copySourceIfModifiedSince = value; }
335 inline void SetCopySourceIfModifiedSince(Aws::Utils::DateTime&& value) { m_copySourceIfModifiedSinceHasBeenSet = true; m_copySourceIfModifiedSince = std::move(value); }
339
341
351 inline const Aws::String& GetCopySourceIfNoneMatch() const{ return m_copySourceIfNoneMatch; }
352 inline bool CopySourceIfNoneMatchHasBeenSet() const { return m_copySourceIfNoneMatchHasBeenSet; }
353 inline void SetCopySourceIfNoneMatch(const Aws::String& value) { m_copySourceIfNoneMatchHasBeenSet = true; m_copySourceIfNoneMatch = value; }
354 inline void SetCopySourceIfNoneMatch(Aws::String&& value) { m_copySourceIfNoneMatchHasBeenSet = true; m_copySourceIfNoneMatch = std::move(value); }
355 inline void SetCopySourceIfNoneMatch(const char* value) { m_copySourceIfNoneMatchHasBeenSet = true; m_copySourceIfNoneMatch.assign(value); }
357 inline CopyObjectRequest& WithCopySourceIfNoneMatch(Aws::String&& value) { SetCopySourceIfNoneMatch(std::move(value)); return *this;}
358 inline CopyObjectRequest& WithCopySourceIfNoneMatch(const char* value) { SetCopySourceIfNoneMatch(value); return *this;}
360
362
372 inline const Aws::Utils::DateTime& GetCopySourceIfUnmodifiedSince() const{ return m_copySourceIfUnmodifiedSince; }
373 inline bool CopySourceIfUnmodifiedSinceHasBeenSet() const { return m_copySourceIfUnmodifiedSinceHasBeenSet; }
374 inline void SetCopySourceIfUnmodifiedSince(const Aws::Utils::DateTime& value) { m_copySourceIfUnmodifiedSinceHasBeenSet = true; m_copySourceIfUnmodifiedSince = value; }
375 inline void SetCopySourceIfUnmodifiedSince(Aws::Utils::DateTime&& value) { m_copySourceIfUnmodifiedSinceHasBeenSet = true; m_copySourceIfUnmodifiedSince = std::move(value); }
379
381
384 inline const Aws::Utils::DateTime& GetExpires() const{ return m_expires; }
385 inline bool ExpiresHasBeenSet() const { return m_expiresHasBeenSet; }
386 inline void SetExpires(const Aws::Utils::DateTime& value) { m_expiresHasBeenSet = true; m_expires = value; }
387 inline void SetExpires(Aws::Utils::DateTime&& value) { m_expiresHasBeenSet = true; m_expires = std::move(value); }
388 inline CopyObjectRequest& WithExpires(const Aws::Utils::DateTime& value) { SetExpires(value); return *this;}
389 inline CopyObjectRequest& WithExpires(Aws::Utils::DateTime&& value) { SetExpires(std::move(value)); return *this;}
391
393
399 inline const Aws::String& GetGrantFullControl() const{ return m_grantFullControl; }
400 inline bool GrantFullControlHasBeenSet() const { return m_grantFullControlHasBeenSet; }
401 inline void SetGrantFullControl(const Aws::String& value) { m_grantFullControlHasBeenSet = true; m_grantFullControl = value; }
402 inline void SetGrantFullControl(Aws::String&& value) { m_grantFullControlHasBeenSet = true; m_grantFullControl = std::move(value); }
403 inline void SetGrantFullControl(const char* value) { m_grantFullControlHasBeenSet = true; m_grantFullControl.assign(value); }
404 inline CopyObjectRequest& WithGrantFullControl(const Aws::String& value) { SetGrantFullControl(value); return *this;}
405 inline CopyObjectRequest& WithGrantFullControl(Aws::String&& value) { SetGrantFullControl(std::move(value)); return *this;}
406 inline CopyObjectRequest& WithGrantFullControl(const char* value) { SetGrantFullControl(value); return *this;}
408
410
416 inline const Aws::String& GetGrantRead() const{ return m_grantRead; }
417 inline bool GrantReadHasBeenSet() const { return m_grantReadHasBeenSet; }
418 inline void SetGrantRead(const Aws::String& value) { m_grantReadHasBeenSet = true; m_grantRead = value; }
419 inline void SetGrantRead(Aws::String&& value) { m_grantReadHasBeenSet = true; m_grantRead = std::move(value); }
420 inline void SetGrantRead(const char* value) { m_grantReadHasBeenSet = true; m_grantRead.assign(value); }
421 inline CopyObjectRequest& WithGrantRead(const Aws::String& value) { SetGrantRead(value); return *this;}
422 inline CopyObjectRequest& WithGrantRead(Aws::String&& value) { SetGrantRead(std::move(value)); return *this;}
423 inline CopyObjectRequest& WithGrantRead(const char* value) { SetGrantRead(value); return *this;}
425
427
433 inline const Aws::String& GetGrantReadACP() const{ return m_grantReadACP; }
434 inline bool GrantReadACPHasBeenSet() const { return m_grantReadACPHasBeenSet; }
435 inline void SetGrantReadACP(const Aws::String& value) { m_grantReadACPHasBeenSet = true; m_grantReadACP = value; }
436 inline void SetGrantReadACP(Aws::String&& value) { m_grantReadACPHasBeenSet = true; m_grantReadACP = std::move(value); }
437 inline void SetGrantReadACP(const char* value) { m_grantReadACPHasBeenSet = true; m_grantReadACP.assign(value); }
438 inline CopyObjectRequest& WithGrantReadACP(const Aws::String& value) { SetGrantReadACP(value); return *this;}
439 inline CopyObjectRequest& WithGrantReadACP(Aws::String&& value) { SetGrantReadACP(std::move(value)); return *this;}
440 inline CopyObjectRequest& WithGrantReadACP(const char* value) { SetGrantReadACP(value); return *this;}
442
444
450 inline const Aws::String& GetGrantWriteACP() const{ return m_grantWriteACP; }
451 inline bool GrantWriteACPHasBeenSet() const { return m_grantWriteACPHasBeenSet; }
452 inline void SetGrantWriteACP(const Aws::String& value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP = value; }
453 inline void SetGrantWriteACP(Aws::String&& value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP = std::move(value); }
454 inline void SetGrantWriteACP(const char* value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP.assign(value); }
455 inline CopyObjectRequest& WithGrantWriteACP(const Aws::String& value) { SetGrantWriteACP(value); return *this;}
456 inline CopyObjectRequest& WithGrantWriteACP(Aws::String&& value) { SetGrantWriteACP(std::move(value)); return *this;}
457 inline CopyObjectRequest& WithGrantWriteACP(const char* value) { SetGrantWriteACP(value); return *this;}
459
461
464 inline const Aws::String& GetKey() const{ return m_key; }
465 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
466 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
467 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
468 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
469 inline CopyObjectRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;}
470 inline CopyObjectRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
471 inline CopyObjectRequest& WithKey(const char* value) { SetKey(value); return *this;}
473
475
478 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const{ return m_metadata; }
479 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
480 inline void SetMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_metadataHasBeenSet = true; m_metadata = value; }
481 inline void SetMetadata(Aws::Map<Aws::String, Aws::String>&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); }
483 inline CopyObjectRequest& WithMetadata(Aws::Map<Aws::String, Aws::String>&& value) { SetMetadata(std::move(value)); return *this;}
484 inline CopyObjectRequest& AddMetadata(const Aws::String& key, const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, value); return *this; }
485 inline CopyObjectRequest& AddMetadata(Aws::String&& key, const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), value); return *this; }
486 inline CopyObjectRequest& AddMetadata(const Aws::String& key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, std::move(value)); return *this; }
487 inline CopyObjectRequest& AddMetadata(Aws::String&& key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), std::move(value)); return *this; }
488 inline CopyObjectRequest& AddMetadata(const char* key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, std::move(value)); return *this; }
489 inline CopyObjectRequest& AddMetadata(Aws::String&& key, const char* value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), value); return *this; }
490 inline CopyObjectRequest& AddMetadata(const char* key, const char* value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, value); return *this; }
492
494
510 inline const MetadataDirective& GetMetadataDirective() const{ return m_metadataDirective; }
511 inline bool MetadataDirectiveHasBeenSet() const { return m_metadataDirectiveHasBeenSet; }
512 inline void SetMetadataDirective(const MetadataDirective& value) { m_metadataDirectiveHasBeenSet = true; m_metadataDirective = value; }
513 inline void SetMetadataDirective(MetadataDirective&& value) { m_metadataDirectiveHasBeenSet = true; m_metadataDirective = std::move(value); }
515 inline CopyObjectRequest& WithMetadataDirective(MetadataDirective&& value) { SetMetadataDirective(std::move(value)); return *this;}
517
519
550 inline const TaggingDirective& GetTaggingDirective() const{ return m_taggingDirective; }
551 inline bool TaggingDirectiveHasBeenSet() const { return m_taggingDirectiveHasBeenSet; }
552 inline void SetTaggingDirective(const TaggingDirective& value) { m_taggingDirectiveHasBeenSet = true; m_taggingDirective = value; }
553 inline void SetTaggingDirective(TaggingDirective&& value) { m_taggingDirectiveHasBeenSet = true; m_taggingDirective = std::move(value); }
554 inline CopyObjectRequest& WithTaggingDirective(const TaggingDirective& value) { SetTaggingDirective(value); return *this;}
555 inline CopyObjectRequest& WithTaggingDirective(TaggingDirective&& value) { SetTaggingDirective(std::move(value)); return *this;}
557
559
622 inline const ServerSideEncryption& GetServerSideEncryption() const{ return m_serverSideEncryption; }
623 inline bool ServerSideEncryptionHasBeenSet() const { return m_serverSideEncryptionHasBeenSet; }
624 inline void SetServerSideEncryption(const ServerSideEncryption& value) { m_serverSideEncryptionHasBeenSet = true; m_serverSideEncryption = value; }
625 inline void SetServerSideEncryption(ServerSideEncryption&& value) { m_serverSideEncryptionHasBeenSet = true; m_serverSideEncryption = std::move(value); }
629
631
660 inline const StorageClass& GetStorageClass() const{ return m_storageClass; }
661 inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; }
662 inline void SetStorageClass(const StorageClass& value) { m_storageClassHasBeenSet = true; m_storageClass = value; }
663 inline void SetStorageClass(StorageClass&& value) { m_storageClassHasBeenSet = true; m_storageClass = std::move(value); }
664 inline CopyObjectRequest& WithStorageClass(const StorageClass& value) { SetStorageClass(value); return *this;}
665 inline CopyObjectRequest& WithStorageClass(StorageClass&& value) { SetStorageClass(std::move(value)); return *this;}
667
669
679 inline const Aws::String& GetWebsiteRedirectLocation() const{ return m_websiteRedirectLocation; }
680 inline bool WebsiteRedirectLocationHasBeenSet() const { return m_websiteRedirectLocationHasBeenSet; }
681 inline void SetWebsiteRedirectLocation(const Aws::String& value) { m_websiteRedirectLocationHasBeenSet = true; m_websiteRedirectLocation = value; }
682 inline void SetWebsiteRedirectLocation(Aws::String&& value) { m_websiteRedirectLocationHasBeenSet = true; m_websiteRedirectLocation = std::move(value); }
683 inline void SetWebsiteRedirectLocation(const char* value) { m_websiteRedirectLocationHasBeenSet = true; m_websiteRedirectLocation.assign(value); }
685 inline CopyObjectRequest& WithWebsiteRedirectLocation(Aws::String&& value) { SetWebsiteRedirectLocation(std::move(value)); return *this;}
686 inline CopyObjectRequest& WithWebsiteRedirectLocation(const char* value) { SetWebsiteRedirectLocation(value); return *this;}
688
690
702 inline const Aws::String& GetSSECustomerAlgorithm() const{ return m_sSECustomerAlgorithm; }
703 inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; }
704 inline void SetSSECustomerAlgorithm(const Aws::String& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = value; }
705 inline void SetSSECustomerAlgorithm(Aws::String&& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = std::move(value); }
706 inline void SetSSECustomerAlgorithm(const char* value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm.assign(value); }
708 inline CopyObjectRequest& WithSSECustomerAlgorithm(Aws::String&& value) { SetSSECustomerAlgorithm(std::move(value)); return *this;}
709 inline CopyObjectRequest& WithSSECustomerAlgorithm(const char* value) { SetSSECustomerAlgorithm(value); return *this;}
711
713
722 inline const Aws::String& GetSSECustomerKey() const{ return m_sSECustomerKey; }
723 inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; }
724 inline void SetSSECustomerKey(const Aws::String& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = value; }
725 inline void SetSSECustomerKey(Aws::String&& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = std::move(value); }
726 inline void SetSSECustomerKey(const char* value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey.assign(value); }
727 inline CopyObjectRequest& WithSSECustomerKey(const Aws::String& value) { SetSSECustomerKey(value); return *this;}
728 inline CopyObjectRequest& WithSSECustomerKey(Aws::String&& value) { SetSSECustomerKey(std::move(value)); return *this;}
729 inline CopyObjectRequest& WithSSECustomerKey(const char* value) { SetSSECustomerKey(value); return *this;}
731
733
739 inline const Aws::String& GetSSECustomerKeyMD5() const{ return m_sSECustomerKeyMD5; }
740 inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; }
741 inline void SetSSECustomerKeyMD5(const Aws::String& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = value; }
742 inline void SetSSECustomerKeyMD5(Aws::String&& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = std::move(value); }
743 inline void SetSSECustomerKeyMD5(const char* value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5.assign(value); }
744 inline CopyObjectRequest& WithSSECustomerKeyMD5(const Aws::String& value) { SetSSECustomerKeyMD5(value); return *this;}
745 inline CopyObjectRequest& WithSSECustomerKeyMD5(Aws::String&& value) { SetSSECustomerKeyMD5(std::move(value)); return *this;}
746 inline CopyObjectRequest& WithSSECustomerKeyMD5(const char* value) { SetSSECustomerKeyMD5(value); return *this;}
748
750
774 inline const Aws::String& GetSSEKMSKeyId() const{ return m_sSEKMSKeyId; }
775 inline bool SSEKMSKeyIdHasBeenSet() const { return m_sSEKMSKeyIdHasBeenSet; }
776 inline void SetSSEKMSKeyId(const Aws::String& value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId = value; }
777 inline void SetSSEKMSKeyId(Aws::String&& value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId = std::move(value); }
778 inline void SetSSEKMSKeyId(const char* value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId.assign(value); }
779 inline CopyObjectRequest& WithSSEKMSKeyId(const Aws::String& value) { SetSSEKMSKeyId(value); return *this;}
780 inline CopyObjectRequest& WithSSEKMSKeyId(Aws::String&& value) { SetSSEKMSKeyId(std::move(value)); return *this;}
781 inline CopyObjectRequest& WithSSEKMSKeyId(const char* value) { SetSSEKMSKeyId(value); return *this;}
783
785
800 inline const Aws::String& GetSSEKMSEncryptionContext() const{ return m_sSEKMSEncryptionContext; }
801 inline bool SSEKMSEncryptionContextHasBeenSet() const { return m_sSEKMSEncryptionContextHasBeenSet; }
802 inline void SetSSEKMSEncryptionContext(const Aws::String& value) { m_sSEKMSEncryptionContextHasBeenSet = true; m_sSEKMSEncryptionContext = value; }
803 inline void SetSSEKMSEncryptionContext(Aws::String&& value) { m_sSEKMSEncryptionContextHasBeenSet = true; m_sSEKMSEncryptionContext = std::move(value); }
804 inline void SetSSEKMSEncryptionContext(const char* value) { m_sSEKMSEncryptionContextHasBeenSet = true; m_sSEKMSEncryptionContext.assign(value); }
806 inline CopyObjectRequest& WithSSEKMSEncryptionContext(Aws::String&& value) { SetSSEKMSEncryptionContext(std::move(value)); return *this;}
807 inline CopyObjectRequest& WithSSEKMSEncryptionContext(const char* value) { SetSSEKMSEncryptionContext(value); return *this;}
809
811
828 inline bool GetBucketKeyEnabled() const{ return m_bucketKeyEnabled; }
829 inline bool BucketKeyEnabledHasBeenSet() const { return m_bucketKeyEnabledHasBeenSet; }
830 inline void SetBucketKeyEnabled(bool value) { m_bucketKeyEnabledHasBeenSet = true; m_bucketKeyEnabled = value; }
831 inline CopyObjectRequest& WithBucketKeyEnabled(bool value) { SetBucketKeyEnabled(value); return *this;}
833
835
843 inline const Aws::String& GetCopySourceSSECustomerAlgorithm() const{ return m_copySourceSSECustomerAlgorithm; }
844 inline bool CopySourceSSECustomerAlgorithmHasBeenSet() const { return m_copySourceSSECustomerAlgorithmHasBeenSet; }
845 inline void SetCopySourceSSECustomerAlgorithm(const Aws::String& value) { m_copySourceSSECustomerAlgorithmHasBeenSet = true; m_copySourceSSECustomerAlgorithm = value; }
846 inline void SetCopySourceSSECustomerAlgorithm(Aws::String&& value) { m_copySourceSSECustomerAlgorithmHasBeenSet = true; m_copySourceSSECustomerAlgorithm = std::move(value); }
847 inline void SetCopySourceSSECustomerAlgorithm(const char* value) { m_copySourceSSECustomerAlgorithmHasBeenSet = true; m_copySourceSSECustomerAlgorithm.assign(value); }
852
854
863 inline const Aws::String& GetCopySourceSSECustomerKey() const{ return m_copySourceSSECustomerKey; }
864 inline bool CopySourceSSECustomerKeyHasBeenSet() const { return m_copySourceSSECustomerKeyHasBeenSet; }
865 inline void SetCopySourceSSECustomerKey(const Aws::String& value) { m_copySourceSSECustomerKeyHasBeenSet = true; m_copySourceSSECustomerKey = value; }
866 inline void SetCopySourceSSECustomerKey(Aws::String&& value) { m_copySourceSSECustomerKeyHasBeenSet = true; m_copySourceSSECustomerKey = std::move(value); }
867 inline void SetCopySourceSSECustomerKey(const char* value) { m_copySourceSSECustomerKeyHasBeenSet = true; m_copySourceSSECustomerKey.assign(value); }
870 inline CopyObjectRequest& WithCopySourceSSECustomerKey(const char* value) { SetCopySourceSSECustomerKey(value); return *this;}
872
874
883 inline const Aws::String& GetCopySourceSSECustomerKeyMD5() const{ return m_copySourceSSECustomerKeyMD5; }
884 inline bool CopySourceSSECustomerKeyMD5HasBeenSet() const { return m_copySourceSSECustomerKeyMD5HasBeenSet; }
885 inline void SetCopySourceSSECustomerKeyMD5(const Aws::String& value) { m_copySourceSSECustomerKeyMD5HasBeenSet = true; m_copySourceSSECustomerKeyMD5 = value; }
886 inline void SetCopySourceSSECustomerKeyMD5(Aws::String&& value) { m_copySourceSSECustomerKeyMD5HasBeenSet = true; m_copySourceSSECustomerKeyMD5 = std::move(value); }
887 inline void SetCopySourceSSECustomerKeyMD5(const char* value) { m_copySourceSSECustomerKeyMD5HasBeenSet = true; m_copySourceSSECustomerKeyMD5.assign(value); }
890 inline CopyObjectRequest& WithCopySourceSSECustomerKeyMD5(const char* value) { SetCopySourceSSECustomerKeyMD5(value); return *this;}
892
894
895 inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; }
896 inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; }
897 inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; }
898 inline void SetRequestPayer(RequestPayer&& value) { m_requestPayerHasBeenSet = true; m_requestPayer = std::move(value); }
899 inline CopyObjectRequest& WithRequestPayer(const RequestPayer& value) { SetRequestPayer(value); return *this;}
900 inline CopyObjectRequest& WithRequestPayer(RequestPayer&& value) { SetRequestPayer(std::move(value)); return *this;}
902
904
939 inline const Aws::String& GetTagging() const{ return m_tagging; }
940 inline bool TaggingHasBeenSet() const { return m_taggingHasBeenSet; }
941 inline void SetTagging(const Aws::String& value) { m_taggingHasBeenSet = true; m_tagging = value; }
942 inline void SetTagging(Aws::String&& value) { m_taggingHasBeenSet = true; m_tagging = std::move(value); }
943 inline void SetTagging(const char* value) { m_taggingHasBeenSet = true; m_tagging.assign(value); }
944 inline CopyObjectRequest& WithTagging(const Aws::String& value) { SetTagging(value); return *this;}
945 inline CopyObjectRequest& WithTagging(Aws::String&& value) { SetTagging(std::move(value)); return *this;}
946 inline CopyObjectRequest& WithTagging(const char* value) { SetTagging(value); return *this;}
948
950
954 inline const ObjectLockMode& GetObjectLockMode() const{ return m_objectLockMode; }
955 inline bool ObjectLockModeHasBeenSet() const { return m_objectLockModeHasBeenSet; }
956 inline void SetObjectLockMode(const ObjectLockMode& value) { m_objectLockModeHasBeenSet = true; m_objectLockMode = value; }
957 inline void SetObjectLockMode(ObjectLockMode&& value) { m_objectLockModeHasBeenSet = true; m_objectLockMode = std::move(value); }
958 inline CopyObjectRequest& WithObjectLockMode(const ObjectLockMode& value) { SetObjectLockMode(value); return *this;}
959 inline CopyObjectRequest& WithObjectLockMode(ObjectLockMode&& value) { SetObjectLockMode(std::move(value)); return *this;}
961
963
968 inline const Aws::Utils::DateTime& GetObjectLockRetainUntilDate() const{ return m_objectLockRetainUntilDate; }
969 inline bool ObjectLockRetainUntilDateHasBeenSet() const { return m_objectLockRetainUntilDateHasBeenSet; }
970 inline void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = value; }
971 inline void SetObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = std::move(value); }
975
977
981 inline const ObjectLockLegalHoldStatus& GetObjectLockLegalHoldStatus() const{ return m_objectLockLegalHoldStatus; }
982 inline bool ObjectLockLegalHoldStatusHasBeenSet() const { return m_objectLockLegalHoldStatusHasBeenSet; }
983 inline void SetObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = value; }
984 inline void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = std::move(value); }
988
990
996 inline const Aws::String& GetExpectedBucketOwner() const{ return m_expectedBucketOwner; }
997 inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; }
998 inline void SetExpectedBucketOwner(const Aws::String& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = value; }
999 inline void SetExpectedBucketOwner(Aws::String&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::move(value); }
1000 inline void SetExpectedBucketOwner(const char* value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner.assign(value); }
1002 inline CopyObjectRequest& WithExpectedBucketOwner(Aws::String&& value) { SetExpectedBucketOwner(std::move(value)); return *this;}
1003 inline CopyObjectRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;}
1005
1007
1012 inline const Aws::String& GetExpectedSourceBucketOwner() const{ return m_expectedSourceBucketOwner; }
1013 inline bool ExpectedSourceBucketOwnerHasBeenSet() const { return m_expectedSourceBucketOwnerHasBeenSet; }
1014 inline void SetExpectedSourceBucketOwner(const Aws::String& value) { m_expectedSourceBucketOwnerHasBeenSet = true; m_expectedSourceBucketOwner = value; }
1015 inline void SetExpectedSourceBucketOwner(Aws::String&& value) { m_expectedSourceBucketOwnerHasBeenSet = true; m_expectedSourceBucketOwner = std::move(value); }
1016 inline void SetExpectedSourceBucketOwner(const char* value) { m_expectedSourceBucketOwnerHasBeenSet = true; m_expectedSourceBucketOwner.assign(value); }
1019 inline CopyObjectRequest& WithExpectedSourceBucketOwner(const char* value) { SetExpectedSourceBucketOwner(value); return *this;}
1021
1023
1024 inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; }
1025 inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; }
1026 inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; }
1027 inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); }
1030 inline CopyObjectRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
1031 inline CopyObjectRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
1032 inline CopyObjectRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
1033 inline CopyObjectRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; }
1034 inline CopyObjectRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
1035 inline CopyObjectRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
1036 inline CopyObjectRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
1038 private:
1039
1040 ObjectCannedACL m_aCL;
1041 bool m_aCLHasBeenSet = false;
1042
1043 Aws::String m_bucket;
1044 bool m_bucketHasBeenSet = false;
1045
1046 Aws::String m_cacheControl;
1047 bool m_cacheControlHasBeenSet = false;
1048
1049 ChecksumAlgorithm m_checksumAlgorithm;
1050 bool m_checksumAlgorithmHasBeenSet = false;
1051
1052 Aws::String m_contentDisposition;
1053 bool m_contentDispositionHasBeenSet = false;
1054
1055 Aws::String m_contentEncoding;
1056 bool m_contentEncodingHasBeenSet = false;
1057
1058 Aws::String m_contentLanguage;
1059 bool m_contentLanguageHasBeenSet = false;
1060
1061 Aws::String m_contentType;
1062 bool m_contentTypeHasBeenSet = false;
1063
1064 Aws::String m_copySource;
1065 bool m_copySourceHasBeenSet = false;
1066
1067 Aws::String m_copySourceIfMatch;
1068 bool m_copySourceIfMatchHasBeenSet = false;
1069
1070 Aws::Utils::DateTime m_copySourceIfModifiedSince;
1071 bool m_copySourceIfModifiedSinceHasBeenSet = false;
1072
1073 Aws::String m_copySourceIfNoneMatch;
1074 bool m_copySourceIfNoneMatchHasBeenSet = false;
1075
1076 Aws::Utils::DateTime m_copySourceIfUnmodifiedSince;
1077 bool m_copySourceIfUnmodifiedSinceHasBeenSet = false;
1078
1079 Aws::Utils::DateTime m_expires;
1080 bool m_expiresHasBeenSet = false;
1081
1082 Aws::String m_grantFullControl;
1083 bool m_grantFullControlHasBeenSet = false;
1084
1085 Aws::String m_grantRead;
1086 bool m_grantReadHasBeenSet = false;
1087
1088 Aws::String m_grantReadACP;
1089 bool m_grantReadACPHasBeenSet = false;
1090
1091 Aws::String m_grantWriteACP;
1092 bool m_grantWriteACPHasBeenSet = false;
1093
1094 Aws::String m_key;
1095 bool m_keyHasBeenSet = false;
1096
1098 bool m_metadataHasBeenSet = false;
1099
1100 MetadataDirective m_metadataDirective;
1101 bool m_metadataDirectiveHasBeenSet = false;
1102
1103 TaggingDirective m_taggingDirective;
1104 bool m_taggingDirectiveHasBeenSet = false;
1105
1106 ServerSideEncryption m_serverSideEncryption;
1107 bool m_serverSideEncryptionHasBeenSet = false;
1108
1109 StorageClass m_storageClass;
1110 bool m_storageClassHasBeenSet = false;
1111
1112 Aws::String m_websiteRedirectLocation;
1113 bool m_websiteRedirectLocationHasBeenSet = false;
1114
1115 Aws::String m_sSECustomerAlgorithm;
1116 bool m_sSECustomerAlgorithmHasBeenSet = false;
1117
1118 Aws::String m_sSECustomerKey;
1119 bool m_sSECustomerKeyHasBeenSet = false;
1120
1121 Aws::String m_sSECustomerKeyMD5;
1122 bool m_sSECustomerKeyMD5HasBeenSet = false;
1123
1124 Aws::String m_sSEKMSKeyId;
1125 bool m_sSEKMSKeyIdHasBeenSet = false;
1126
1127 Aws::String m_sSEKMSEncryptionContext;
1128 bool m_sSEKMSEncryptionContextHasBeenSet = false;
1129
1130 bool m_bucketKeyEnabled;
1131 bool m_bucketKeyEnabledHasBeenSet = false;
1132
1133 Aws::String m_copySourceSSECustomerAlgorithm;
1134 bool m_copySourceSSECustomerAlgorithmHasBeenSet = false;
1135
1136 Aws::String m_copySourceSSECustomerKey;
1137 bool m_copySourceSSECustomerKeyHasBeenSet = false;
1138
1139 Aws::String m_copySourceSSECustomerKeyMD5;
1140 bool m_copySourceSSECustomerKeyMD5HasBeenSet = false;
1141
1142 RequestPayer m_requestPayer;
1143 bool m_requestPayerHasBeenSet = false;
1144
1145 Aws::String m_tagging;
1146 bool m_taggingHasBeenSet = false;
1147
1148 ObjectLockMode m_objectLockMode;
1149 bool m_objectLockModeHasBeenSet = false;
1150
1151 Aws::Utils::DateTime m_objectLockRetainUntilDate;
1152 bool m_objectLockRetainUntilDateHasBeenSet = false;
1153
1154 ObjectLockLegalHoldStatus m_objectLockLegalHoldStatus;
1155 bool m_objectLockLegalHoldStatusHasBeenSet = false;
1156
1157 Aws::String m_expectedBucketOwner;
1158 bool m_expectedBucketOwnerHasBeenSet = false;
1159
1160 Aws::String m_expectedSourceBucketOwner;
1161 bool m_expectedSourceBucketOwnerHasBeenSet = false;
1162
1163 Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag;
1164 bool m_customizedAccessLogTagHasBeenSet = false;
1165 };
1166
1167} // namespace Model
1168} // namespace S3Crt
1169} // namespace Aws
void SetContentDisposition(const char *value)
const Aws::String & GetContentLanguage() const
void SetContentEncoding(Aws::String &&value)
void SetSSEKMSEncryptionContext(Aws::String &&value)
CopyObjectRequest & WithServerSideEncryption(const ServerSideEncryption &value)
const Aws::Utils::DateTime & GetObjectLockRetainUntilDate() const
CopyObjectRequest & AddMetadata(Aws::String &&key, const Aws::String &value)
void SetCopySourceIfNoneMatch(const Aws::String &value)
CopyObjectRequest & WithSSEKMSEncryptionContext(const Aws::String &value)
CopyObjectRequest & WithSSEKMSKeyId(Aws::String &&value)
CopyObjectRequest & WithObjectLockMode(const ObjectLockMode &value)
void SetObjectLockMode(ObjectLockMode &&value)
CopyObjectRequest & WithContentType(const char *value)
CopyObjectRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
const Aws::String & GetSSECustomerKey() const
void SetSSECustomerKey(const Aws::String &value)
CopyObjectRequest & WithBucketKeyEnabled(bool value)
const TaggingDirective & GetTaggingDirective() const
CopyObjectRequest & WithCopySourceSSECustomerKey(const char *value)
const Aws::String & GetWebsiteRedirectLocation() const
const Aws::String & GetContentDisposition() const
void SetKey(const Aws::String &value)
CopyObjectRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
const Aws::Utils::DateTime & GetCopySourceIfModifiedSince() const
void SetObjectLockMode(const ObjectLockMode &value)
CopyObjectRequest & WithCopySource(Aws::String &&value)
const Aws::String & GetGrantRead() const
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
void SetCopySourceSSECustomerAlgorithm(const char *value)
void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus &&value)
CopyObjectRequest & WithGrantReadACP(const char *value)
void SetCopySourceIfUnmodifiedSince(Aws::Utils::DateTime &&value)
CopyObjectRequest & WithCopySourceSSECustomerKeyMD5(Aws::String &&value)
AWS_S3CRT_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
const Aws::Utils::DateTime & GetExpires() const
void SetExpires(const Aws::Utils::DateTime &value)
CopyObjectRequest & WithSSEKMSEncryptionContext(const char *value)
void SetRequestPayer(const RequestPayer &value)
void SetCopySourceSSECustomerKeyMD5(Aws::String &&value)
void SetCopySourceSSECustomerAlgorithm(const Aws::String &value)
void SetGrantFullControl(const char *value)
CopyObjectRequest & WithGrantWriteACP(const char *value)
CopyObjectRequest & WithGrantReadACP(const Aws::String &value)
CopyObjectRequest & WithContentDisposition(const Aws::String &value)
CopyObjectRequest & WithGrantWriteACP(const Aws::String &value)
const Aws::String & GetSSEKMSEncryptionContext() const
void SetSSECustomerAlgorithm(const char *value)
CopyObjectRequest & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
CopyObjectRequest & WithStorageClass(StorageClass &&value)
CopyObjectRequest & AddMetadata(const Aws::String &key, const Aws::String &value)
void SetTaggingDirective(TaggingDirective &&value)
void SetObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus &value)
CopyObjectRequest & WithContentType(const Aws::String &value)
CopyObjectRequest & WithWebsiteRedirectLocation(Aws::String &&value)
CopyObjectRequest & WithCopySourceSSECustomerKey(Aws::String &&value)
void SetSSEKMSEncryptionContext(const char *value)
void SetCopySourceIfMatch(const char *value)
CopyObjectRequest & WithSSECustomerAlgorithm(Aws::String &&value)
CopyObjectRequest & WithTaggingDirective(const TaggingDirective &value)
const ObjectLockLegalHoldStatus & GetObjectLockLegalHoldStatus() const
CopyObjectRequest & WithRequestPayer(RequestPayer &&value)
void SetRequestPayer(RequestPayer &&value)
CopyObjectRequest & WithCopySourceSSECustomerKeyMD5(const char *value)
CopyObjectRequest & WithSSECustomerAlgorithm(const Aws::String &value)
CopyObjectRequest & WithCopySourceIfMatch(Aws::String &&value)
CopyObjectRequest & WithCopySourceIfMatch(const char *value)
CopyObjectRequest & WithCacheControl(Aws::String &&value)
const Aws::String & GetExpectedSourceBucketOwner() const
CopyObjectRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
const Aws::String & GetCopySource() const
CopyObjectRequest & WithTagging(const Aws::String &value)
void SetContentEncoding(const char *value)
CopyObjectRequest & WithSSEKMSKeyId(const char *value)
void SetSSECustomerKey(const char *value)
const MetadataDirective & GetMetadataDirective() const
CopyObjectRequest & WithObjectLockMode(ObjectLockMode &&value)
CopyObjectRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
void SetMetadataDirective(const MetadataDirective &value)
CopyObjectRequest & WithCacheControl(const char *value)
void SetContentType(Aws::String &&value)
void SetExpectedSourceBucketOwner(const char *value)
void SetExpires(Aws::Utils::DateTime &&value)
AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override
const ServerSideEncryption & GetServerSideEncryption() const
void SetContentEncoding(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
CopyObjectRequest & WithCopySourceIfNoneMatch(Aws::String &&value)
void SetServerSideEncryption(const ServerSideEncryption &value)
void SetCopySourceIfModifiedSince(Aws::Utils::DateTime &&value)
void SetGrantFullControl(Aws::String &&value)
CopyObjectRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
CopyObjectRequest & WithCopySourceIfModifiedSince(Aws::Utils::DateTime &&value)
void SetExpectedSourceBucketOwner(const Aws::String &value)
void SetSSECustomerKeyMD5(Aws::String &&value)
CopyObjectRequest & WithSSECustomerKey(const Aws::String &value)
CopyObjectRequest & WithWebsiteRedirectLocation(const char *value)
CopyObjectRequest & WithSSECustomerAlgorithm(const char *value)
CopyObjectRequest & WithContentDisposition(const char *value)
CopyObjectRequest & WithContentType(Aws::String &&value)
CopyObjectRequest & WithContentLanguage(const char *value)
CopyObjectRequest & AddMetadata(const char *key, Aws::String &&value)
CopyObjectRequest & WithMetadataDirective(MetadataDirective &&value)
CopyObjectRequest & WithSSECustomerKeyMD5(const Aws::String &value)
CopyObjectRequest & WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus &&value)
void SetWebsiteRedirectLocation(const Aws::String &value)
void SetContentLanguage(const char *value)
CopyObjectRequest & WithCopySource(const Aws::String &value)
void SetSSECustomerKey(Aws::String &&value)
void SetCopySourceIfUnmodifiedSince(const Aws::Utils::DateTime &value)
CopyObjectRequest & WithObjectLockRetainUntilDate(const Aws::Utils::DateTime &value)
CopyObjectRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
void SetSSEKMSKeyId(const Aws::String &value)
void SetContentDisposition(const Aws::String &value)
CopyObjectRequest & WithExpires(Aws::Utils::DateTime &&value)
void SetTagging(const Aws::String &value)
CopyObjectRequest & WithCopySourceSSECustomerAlgorithm(Aws::String &&value)
void SetSSECustomerAlgorithm(Aws::String &&value)
CopyObjectRequest & WithRequestPayer(const RequestPayer &value)
void SetWebsiteRedirectLocation(Aws::String &&value)
CopyObjectRequest & WithACL(ObjectCannedACL &&value)
const Aws::String & GetCopySourceSSECustomerKeyMD5() const
void SetCopySourceSSECustomerKey(Aws::String &&value)
void SetCopySourceSSECustomerKey(const char *value)
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
void SetACL(const ObjectCannedACL &value)
CopyObjectRequest & WithSSEKMSKeyId(const Aws::String &value)
CopyObjectRequest & WithWebsiteRedirectLocation(const Aws::String &value)
CopyObjectRequest & WithGrantReadACP(Aws::String &&value)
void SetObjectLockRetainUntilDate(Aws::Utils::DateTime &&value)
void SetCopySourceSSECustomerKeyMD5(const char *value)
void SetStorageClass(StorageClass &&value)
CopyObjectRequest & WithKey(const Aws::String &value)
void SetGrantFullControl(const Aws::String &value)
void SetExpectedBucketOwner(const Aws::String &value)
const Aws::String & GetKey() const
const StorageClass & GetStorageClass() const
void SetCacheControl(const Aws::String &value)
AWS_S3CRT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CopyObjectRequest & WithCopySource(const char *value)
CopyObjectRequest & WithExpectedBucketOwner(Aws::String &&value)
CopyObjectRequest & WithCopySourceSSECustomerKey(const Aws::String &value)
CopyObjectRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
const Aws::String & GetBucket() const
void SetChecksumAlgorithm(ChecksumAlgorithm &&value)
const ObjectLockMode & GetObjectLockMode() const
CopyObjectRequest & WithSSECustomerKey(const char *value)
void SetBucket(const Aws::String &value)
const Aws::String & GetExpectedBucketOwner() const
CopyObjectRequest & WithACL(const ObjectCannedACL &value)
void SetCopySourceIfNoneMatch(Aws::String &&value)
CopyObjectRequest & WithExpectedSourceBucketOwner(const Aws::String &value)
void SetGrantRead(Aws::String &&value)
void SetCopySourceSSECustomerKey(const Aws::String &value)
const Aws::String & GetGrantWriteACP() const
void SetExpectedSourceBucketOwner(Aws::String &&value)
const RequestPayer & GetRequestPayer() const
CopyObjectRequest & WithCopySourceIfMatch(const Aws::String &value)
CopyObjectRequest & WithStorageClass(const StorageClass &value)
CopyObjectRequest & WithExpectedBucketOwner(const char *value)
CopyObjectRequest & WithGrantWriteACP(Aws::String &&value)
void SetCopySourceIfMatch(Aws::String &&value)
CopyObjectRequest & WithTagging(Aws::String &&value)
CopyObjectRequest & WithCopySourceIfUnmodifiedSince(Aws::Utils::DateTime &&value)
CopyObjectRequest & WithExpectedBucketOwner(const Aws::String &value)
void SetCopySourceIfNoneMatch(const char *value)
void SetSSECustomerKeyMD5(const Aws::String &value)
CopyObjectRequest & WithCopySourceSSECustomerKeyMD5(const Aws::String &value)
const Aws::String & GetSSEKMSKeyId() const
CopyObjectRequest & AddMetadata(const char *key, const char *value)
const ObjectCannedACL & GetACL() const
void SetSSECustomerAlgorithm(const Aws::String &value)
CopyObjectRequest & WithContentDisposition(Aws::String &&value)
CopyObjectRequest & WithSSEKMSEncryptionContext(Aws::String &&value)
CopyObjectRequest & WithGrantRead(const Aws::String &value)
void SetCopySource(Aws::String &&value)
CopyObjectRequest & WithMetadataDirective(const MetadataDirective &value)
CopyObjectRequest & WithCopySourceIfModifiedSince(const Aws::Utils::DateTime &value)
void SetMetadataDirective(MetadataDirective &&value)
AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
CopyObjectRequest & AddMetadata(Aws::String &&key, const char *value)
void SetChecksumAlgorithm(const ChecksumAlgorithm &value)
CopyObjectRequest & WithObjectLockRetainUntilDate(Aws::Utils::DateTime &&value)
CopyObjectRequest & WithObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus &value)
const Aws::String & GetCacheControl() const
virtual const char * GetServiceRequestName() const override
void SetStorageClass(const StorageClass &value)
void SetCopySourceIfModifiedSince(const Aws::Utils::DateTime &value)
void SetServerSideEncryption(ServerSideEncryption &&value)
CopyObjectRequest & WithGrantFullControl(const Aws::String &value)
CopyObjectRequest & WithCacheControl(const Aws::String &value)
void SetContentLanguage(const Aws::String &value)
CopyObjectRequest & WithGrantFullControl(const char *value)
void SetContentDisposition(Aws::String &&value)
const Aws::String & GetSSECustomerAlgorithm() const
void SetCopySourceSSECustomerKeyMD5(const Aws::String &value)
CopyObjectRequest & WithContentEncoding(Aws::String &&value)
void SetGrantWriteACP(const Aws::String &value)
CopyObjectRequest & WithSSECustomerKeyMD5(Aws::String &&value)
CopyObjectRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
void SetWebsiteRedirectLocation(const char *value)
CopyObjectRequest & WithKey(Aws::String &&value)
void SetSSECustomerKeyMD5(const char *value)
CopyObjectRequest & WithContentLanguage(const Aws::String &value)
CopyObjectRequest & WithContentLanguage(Aws::String &&value)
void SetGrantReadACP(const Aws::String &value)
CopyObjectRequest & WithBucket(const Aws::String &value)
const Aws::Utils::DateTime & GetCopySourceIfUnmodifiedSince() const
const Aws::String & GetCopySourceIfMatch() const
CopyObjectRequest & WithSSECustomerKey(Aws::String &&value)
void SetGrantReadACP(Aws::String &&value)
void SetExpectedBucketOwner(Aws::String &&value)
CopyObjectRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
CopyObjectRequest & WithTagging(const char *value)
CopyObjectRequest & WithTaggingDirective(TaggingDirective &&value)
CopyObjectRequest & AddMetadata(const Aws::String &key, Aws::String &&value)
void SetGrantWriteACP(Aws::String &&value)
const Aws::String & GetCopySourceSSECustomerKey() const
CopyObjectRequest & WithExpectedSourceBucketOwner(const char *value)
void SetSSEKMSEncryptionContext(const Aws::String &value)
void SetACL(ObjectCannedACL &&value)
const Aws::String & GetGrantFullControl() const
void SetCopySourceIfMatch(const Aws::String &value)
void SetContentType(const Aws::String &value)
CopyObjectRequest & WithExpectedSourceBucketOwner(Aws::String &&value)
CopyObjectRequest & WithChecksumAlgorithm(const ChecksumAlgorithm &value)
CopyObjectRequest & WithGrantFullControl(Aws::String &&value)
CopyObjectRequest & WithGrantRead(Aws::String &&value)
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
CopyObjectRequest & WithCopySourceIfUnmodifiedSince(const Aws::Utils::DateTime &value)
void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime &value)
void SetCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetCopySourceIfNoneMatch() const
const Aws::String & GetContentType() const
const Aws::String & GetSSECustomerKeyMD5() const
const Aws::String & GetCopySourceSSECustomerAlgorithm() const
void SetExpectedBucketOwner(const char *value)
CopyObjectRequest & WithCopySourceSSECustomerAlgorithm(const char *value)
void SetGrantRead(const Aws::String &value)
const ChecksumAlgorithm & GetChecksumAlgorithm() const
void SetCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
CopyObjectRequest & WithExpires(const Aws::Utils::DateTime &value)
void SetCacheControl(Aws::String &&value)
void SetCopySourceSSECustomerAlgorithm(Aws::String &&value)
const Aws::String & GetTagging() const
CopyObjectRequest & WithSSECustomerKeyMD5(const char *value)
CopyObjectRequest & WithCopySourceSSECustomerAlgorithm(const Aws::String &value)
void SetContentLanguage(Aws::String &&value)
CopyObjectRequest & AddMetadata(Aws::String &&key, Aws::String &&value)
CopyObjectRequest & WithServerSideEncryption(ServerSideEncryption &&value)
const Aws::String & GetGrantReadACP() const
CopyObjectRequest & WithCopySourceIfNoneMatch(const Aws::String &value)
CopyObjectRequest & WithBucket(Aws::String &&value)
CopyObjectRequest & WithKey(const char *value)
AWS_S3CRT_API Aws::String SerializePayload() const override
void SetSSEKMSKeyId(Aws::String &&value)
CopyObjectRequest & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
void SetCopySource(const Aws::String &value)
CopyObjectRequest & WithCopySourceIfNoneMatch(const char *value)
CopyObjectRequest & WithBucket(const char *value)
const Aws::String & GetContentEncoding() const
CopyObjectRequest & WithChecksumAlgorithm(ChecksumAlgorithm &&value)
CopyObjectRequest & WithContentEncoding(const Aws::String &value)
void SetTaggingDirective(const TaggingDirective &value)
CopyObjectRequest & WithContentEncoding(const char *value)
CopyObjectRequest & WithGrantRead(const char *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