AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutObjectRequest.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/Array.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/s3-crt/model/ChecksumAlgorithm.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/s3-crt/model/ServerSideEncryption.h>
16#include <aws/s3-crt/model/StorageClass.h>
17#include <aws/s3-crt/model/RequestPayer.h>
18#include <aws/s3-crt/model/ObjectLockMode.h>
19#include <aws/s3-crt/model/ObjectLockLegalHoldStatus.h>
20#include <utility>
21
22namespace Aws
23{
24namespace Http
25{
26 class URI;
27} //namespace Http
28namespace S3Crt
29{
30namespace Model
31{
32
36 {
37 public:
38 AWS_S3CRT_API PutObjectRequest();
39
40 // Service request name is the Operation name which will send this request out,
41 // each operation should has unique request name, so that we can get operation's name from this request.
42 // Note: this is not true for response, multiple operations may have the same response name,
43 // so we can not get operation's name from response.
44 inline virtual const char* GetServiceRequestName() const override { return "PutObject"; }
45
46 AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
47
49
50 AWS_S3CRT_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override;
51 AWS_S3CRT_API Aws::String GetChecksumAlgorithmName() const override;
52
56 AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override;
57
59
86 inline const ObjectCannedACL& GetACL() const{ return m_aCL; }
87 inline bool ACLHasBeenSet() const { return m_aCLHasBeenSet; }
88 inline void SetACL(const ObjectCannedACL& value) { m_aCLHasBeenSet = true; m_aCL = value; }
89 inline void SetACL(ObjectCannedACL&& value) { m_aCLHasBeenSet = true; m_aCL = std::move(value); }
90 inline PutObjectRequest& WithACL(const ObjectCannedACL& value) { SetACL(value); return *this;}
91 inline PutObjectRequest& WithACL(ObjectCannedACL&& value) { SetACL(std::move(value)); return *this;}
93
95
128 inline const Aws::String& GetBucket() const{ return m_bucket; }
129 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
130 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
131 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
132 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
133 inline PutObjectRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
134 inline PutObjectRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
135 inline PutObjectRequest& WithBucket(const char* value) { SetBucket(value); return *this;}
137
139
144 inline const Aws::String& GetCacheControl() const{ return m_cacheControl; }
145 inline bool CacheControlHasBeenSet() const { return m_cacheControlHasBeenSet; }
146 inline void SetCacheControl(const Aws::String& value) { m_cacheControlHasBeenSet = true; m_cacheControl = value; }
147 inline void SetCacheControl(Aws::String&& value) { m_cacheControlHasBeenSet = true; m_cacheControl = std::move(value); }
148 inline void SetCacheControl(const char* value) { m_cacheControlHasBeenSet = true; m_cacheControl.assign(value); }
149 inline PutObjectRequest& WithCacheControl(const Aws::String& value) { SetCacheControl(value); return *this;}
150 inline PutObjectRequest& WithCacheControl(Aws::String&& value) { SetCacheControl(std::move(value)); return *this;}
151 inline PutObjectRequest& WithCacheControl(const char* value) { SetCacheControl(value); return *this;}
153
155
160 inline const Aws::String& GetContentDisposition() const{ return m_contentDisposition; }
161 inline bool ContentDispositionHasBeenSet() const { return m_contentDispositionHasBeenSet; }
162 inline void SetContentDisposition(const Aws::String& value) { m_contentDispositionHasBeenSet = true; m_contentDisposition = value; }
163 inline void SetContentDisposition(Aws::String&& value) { m_contentDispositionHasBeenSet = true; m_contentDisposition = std::move(value); }
164 inline void SetContentDisposition(const char* value) { m_contentDispositionHasBeenSet = true; m_contentDisposition.assign(value); }
165 inline PutObjectRequest& WithContentDisposition(const Aws::String& value) { SetContentDisposition(value); return *this;}
166 inline PutObjectRequest& WithContentDisposition(Aws::String&& value) { SetContentDisposition(std::move(value)); return *this;}
167 inline PutObjectRequest& WithContentDisposition(const char* value) { SetContentDisposition(value); return *this;}
169
171
177 inline const Aws::String& GetContentEncoding() const{ return m_contentEncoding; }
178 inline bool ContentEncodingHasBeenSet() const { return m_contentEncodingHasBeenSet; }
179 inline void SetContentEncoding(const Aws::String& value) { m_contentEncodingHasBeenSet = true; m_contentEncoding = value; }
180 inline void SetContentEncoding(Aws::String&& value) { m_contentEncodingHasBeenSet = true; m_contentEncoding = std::move(value); }
181 inline void SetContentEncoding(const char* value) { m_contentEncodingHasBeenSet = true; m_contentEncoding.assign(value); }
182 inline PutObjectRequest& WithContentEncoding(const Aws::String& value) { SetContentEncoding(value); return *this;}
183 inline PutObjectRequest& WithContentEncoding(Aws::String&& value) { SetContentEncoding(std::move(value)); return *this;}
184 inline PutObjectRequest& WithContentEncoding(const char* value) { SetContentEncoding(value); return *this;}
186
188
191 inline const Aws::String& GetContentLanguage() const{ return m_contentLanguage; }
192 inline bool ContentLanguageHasBeenSet() const { return m_contentLanguageHasBeenSet; }
193 inline void SetContentLanguage(const Aws::String& value) { m_contentLanguageHasBeenSet = true; m_contentLanguage = value; }
194 inline void SetContentLanguage(Aws::String&& value) { m_contentLanguageHasBeenSet = true; m_contentLanguage = std::move(value); }
195 inline void SetContentLanguage(const char* value) { m_contentLanguageHasBeenSet = true; m_contentLanguage.assign(value); }
196 inline PutObjectRequest& WithContentLanguage(const Aws::String& value) { SetContentLanguage(value); return *this;}
197 inline PutObjectRequest& WithContentLanguage(Aws::String&& value) { SetContentLanguage(std::move(value)); return *this;}
198 inline PutObjectRequest& WithContentLanguage(const char* value) { SetContentLanguage(value); return *this;}
200
202
207 inline long long GetContentLength() const{ return m_contentLength; }
208 inline bool ContentLengthHasBeenSet() const { return m_contentLengthHasBeenSet; }
209 inline void SetContentLength(long long value) { m_contentLengthHasBeenSet = true; m_contentLength = value; }
210 inline PutObjectRequest& WithContentLength(long long value) { SetContentLength(value); return *this;}
212
214
230 inline const Aws::String& GetContentMD5() const{ return m_contentMD5; }
231 inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; }
232 inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; }
233 inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); }
234 inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); }
235 inline PutObjectRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;}
236 inline PutObjectRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;}
237 inline PutObjectRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;}
239
241
270 inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; }
271 inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; }
272 inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; }
273 inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); }
275 inline PutObjectRequest& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;}
277
279
287 inline const Aws::String& GetChecksumCRC32() const{ return m_checksumCRC32; }
288 inline bool ChecksumCRC32HasBeenSet() const { return m_checksumCRC32HasBeenSet; }
289 inline void SetChecksumCRC32(const Aws::String& value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32 = value; SetChecksumAlgorithm(ChecksumAlgorithm::CRC32); }
290 inline void SetChecksumCRC32(Aws::String&& value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32 = std::move(value); SetChecksumAlgorithm(ChecksumAlgorithm::CRC32); }
291 inline void SetChecksumCRC32(const char* value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32.assign(value); SetChecksumAlgorithm(ChecksumAlgorithm::CRC32); }
292 inline PutObjectRequest& WithChecksumCRC32(const Aws::String& value) { SetChecksumCRC32(value); return *this;}
293 inline PutObjectRequest& WithChecksumCRC32(Aws::String&& value) { SetChecksumCRC32(std::move(value)); return *this;}
294 inline PutObjectRequest& WithChecksumCRC32(const char* value) { SetChecksumCRC32(value); return *this;}
296
298
306 inline const Aws::String& GetChecksumCRC32C() const{ return m_checksumCRC32C; }
307 inline bool ChecksumCRC32CHasBeenSet() const { return m_checksumCRC32CHasBeenSet; }
308 inline void SetChecksumCRC32C(const Aws::String& value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C = value; SetChecksumAlgorithm(ChecksumAlgorithm::CRC32C); }
309 inline void SetChecksumCRC32C(Aws::String&& value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C = std::move(value); SetChecksumAlgorithm(ChecksumAlgorithm::CRC32C); }
310 inline void SetChecksumCRC32C(const char* value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C.assign(value); SetChecksumAlgorithm(ChecksumAlgorithm::CRC32C); }
311 inline PutObjectRequest& WithChecksumCRC32C(const Aws::String& value) { SetChecksumCRC32C(value); return *this;}
312 inline PutObjectRequest& WithChecksumCRC32C(Aws::String&& value) { SetChecksumCRC32C(std::move(value)); return *this;}
313 inline PutObjectRequest& WithChecksumCRC32C(const char* value) { SetChecksumCRC32C(value); return *this;}
315
317
324 inline const Aws::String& GetChecksumSHA1() const{ return m_checksumSHA1; }
325 inline bool ChecksumSHA1HasBeenSet() const { return m_checksumSHA1HasBeenSet; }
326 inline void SetChecksumSHA1(const Aws::String& value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1 = value; SetChecksumAlgorithm(ChecksumAlgorithm::SHA1); }
327 inline void SetChecksumSHA1(Aws::String&& value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1 = std::move(value); SetChecksumAlgorithm(ChecksumAlgorithm::SHA1); }
328 inline void SetChecksumSHA1(const char* value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1.assign(value); SetChecksumAlgorithm(ChecksumAlgorithm::SHA1); }
329 inline PutObjectRequest& WithChecksumSHA1(const Aws::String& value) { SetChecksumSHA1(value); return *this;}
330 inline PutObjectRequest& WithChecksumSHA1(Aws::String&& value) { SetChecksumSHA1(std::move(value)); return *this;}
331 inline PutObjectRequest& WithChecksumSHA1(const char* value) { SetChecksumSHA1(value); return *this;}
333
335
343 inline const Aws::String& GetChecksumSHA256() const{ return m_checksumSHA256; }
344 inline bool ChecksumSHA256HasBeenSet() const { return m_checksumSHA256HasBeenSet; }
345 inline void SetChecksumSHA256(const Aws::String& value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256 = value; SetChecksumAlgorithm(ChecksumAlgorithm::SHA256); }
346 inline void SetChecksumSHA256(Aws::String&& value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256 = std::move(value); SetChecksumAlgorithm(ChecksumAlgorithm::SHA256); }
347 inline void SetChecksumSHA256(const char* value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256.assign(value); SetChecksumAlgorithm(ChecksumAlgorithm::SHA256); }
348 inline PutObjectRequest& WithChecksumSHA256(const Aws::String& value) { SetChecksumSHA256(value); return *this;}
349 inline PutObjectRequest& WithChecksumSHA256(Aws::String&& value) { SetChecksumSHA256(std::move(value)); return *this;}
350 inline PutObjectRequest& WithChecksumSHA256(const char* value) { SetChecksumSHA256(value); return *this;}
352
354
359 inline const Aws::Utils::DateTime& GetExpires() const{ return m_expires; }
360 inline bool ExpiresHasBeenSet() const { return m_expiresHasBeenSet; }
361 inline void SetExpires(const Aws::Utils::DateTime& value) { m_expiresHasBeenSet = true; m_expires = value; }
362 inline void SetExpires(Aws::Utils::DateTime&& value) { m_expiresHasBeenSet = true; m_expires = std::move(value); }
363 inline PutObjectRequest& WithExpires(const Aws::Utils::DateTime& value) { SetExpires(value); return *this;}
364 inline PutObjectRequest& WithExpires(Aws::Utils::DateTime&& value) { SetExpires(std::move(value)); return *this;}
366
368
379 inline const Aws::String& GetIfNoneMatch() const{ return m_ifNoneMatch; }
380 inline bool IfNoneMatchHasBeenSet() const { return m_ifNoneMatchHasBeenSet; }
381 inline void SetIfNoneMatch(const Aws::String& value) { m_ifNoneMatchHasBeenSet = true; m_ifNoneMatch = value; }
382 inline void SetIfNoneMatch(Aws::String&& value) { m_ifNoneMatchHasBeenSet = true; m_ifNoneMatch = std::move(value); }
383 inline void SetIfNoneMatch(const char* value) { m_ifNoneMatchHasBeenSet = true; m_ifNoneMatch.assign(value); }
384 inline PutObjectRequest& WithIfNoneMatch(const Aws::String& value) { SetIfNoneMatch(value); return *this;}
385 inline PutObjectRequest& WithIfNoneMatch(Aws::String&& value) { SetIfNoneMatch(std::move(value)); return *this;}
386 inline PutObjectRequest& WithIfNoneMatch(const char* value) { SetIfNoneMatch(value); return *this;}
388
390
396 inline const Aws::String& GetGrantFullControl() const{ return m_grantFullControl; }
397 inline bool GrantFullControlHasBeenSet() const { return m_grantFullControlHasBeenSet; }
398 inline void SetGrantFullControl(const Aws::String& value) { m_grantFullControlHasBeenSet = true; m_grantFullControl = value; }
399 inline void SetGrantFullControl(Aws::String&& value) { m_grantFullControlHasBeenSet = true; m_grantFullControl = std::move(value); }
400 inline void SetGrantFullControl(const char* value) { m_grantFullControlHasBeenSet = true; m_grantFullControl.assign(value); }
401 inline PutObjectRequest& WithGrantFullControl(const Aws::String& value) { SetGrantFullControl(value); return *this;}
402 inline PutObjectRequest& WithGrantFullControl(Aws::String&& value) { SetGrantFullControl(std::move(value)); return *this;}
403 inline PutObjectRequest& WithGrantFullControl(const char* value) { SetGrantFullControl(value); return *this;}
405
407
413 inline const Aws::String& GetGrantRead() const{ return m_grantRead; }
414 inline bool GrantReadHasBeenSet() const { return m_grantReadHasBeenSet; }
415 inline void SetGrantRead(const Aws::String& value) { m_grantReadHasBeenSet = true; m_grantRead = value; }
416 inline void SetGrantRead(Aws::String&& value) { m_grantReadHasBeenSet = true; m_grantRead = std::move(value); }
417 inline void SetGrantRead(const char* value) { m_grantReadHasBeenSet = true; m_grantRead.assign(value); }
418 inline PutObjectRequest& WithGrantRead(const Aws::String& value) { SetGrantRead(value); return *this;}
419 inline PutObjectRequest& WithGrantRead(Aws::String&& value) { SetGrantRead(std::move(value)); return *this;}
420 inline PutObjectRequest& WithGrantRead(const char* value) { SetGrantRead(value); return *this;}
422
424
430 inline const Aws::String& GetGrantReadACP() const{ return m_grantReadACP; }
431 inline bool GrantReadACPHasBeenSet() const { return m_grantReadACPHasBeenSet; }
432 inline void SetGrantReadACP(const Aws::String& value) { m_grantReadACPHasBeenSet = true; m_grantReadACP = value; }
433 inline void SetGrantReadACP(Aws::String&& value) { m_grantReadACPHasBeenSet = true; m_grantReadACP = std::move(value); }
434 inline void SetGrantReadACP(const char* value) { m_grantReadACPHasBeenSet = true; m_grantReadACP.assign(value); }
435 inline PutObjectRequest& WithGrantReadACP(const Aws::String& value) { SetGrantReadACP(value); return *this;}
436 inline PutObjectRequest& WithGrantReadACP(Aws::String&& value) { SetGrantReadACP(std::move(value)); return *this;}
437 inline PutObjectRequest& WithGrantReadACP(const char* value) { SetGrantReadACP(value); return *this;}
439
441
447 inline const Aws::String& GetGrantWriteACP() const{ return m_grantWriteACP; }
448 inline bool GrantWriteACPHasBeenSet() const { return m_grantWriteACPHasBeenSet; }
449 inline void SetGrantWriteACP(const Aws::String& value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP = value; }
450 inline void SetGrantWriteACP(Aws::String&& value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP = std::move(value); }
451 inline void SetGrantWriteACP(const char* value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP.assign(value); }
452 inline PutObjectRequest& WithGrantWriteACP(const Aws::String& value) { SetGrantWriteACP(value); return *this;}
453 inline PutObjectRequest& WithGrantWriteACP(Aws::String&& value) { SetGrantWriteACP(std::move(value)); return *this;}
454 inline PutObjectRequest& WithGrantWriteACP(const char* value) { SetGrantWriteACP(value); return *this;}
456
458
461 inline const Aws::String& GetKey() const{ return m_key; }
462 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
463 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
464 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
465 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
466 inline PutObjectRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;}
467 inline PutObjectRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
468 inline PutObjectRequest& WithKey(const char* value) { SetKey(value); return *this;}
470
472
475 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const{ return m_metadata; }
476 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
477 inline void SetMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_metadataHasBeenSet = true; m_metadata = value; }
478 inline void SetMetadata(Aws::Map<Aws::String, Aws::String>&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); }
480 inline PutObjectRequest& WithMetadata(Aws::Map<Aws::String, Aws::String>&& value) { SetMetadata(std::move(value)); return *this;}
481 inline PutObjectRequest& AddMetadata(const Aws::String& key, const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, value); return *this; }
482 inline PutObjectRequest& AddMetadata(Aws::String&& key, const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), value); return *this; }
483 inline PutObjectRequest& AddMetadata(const Aws::String& key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, std::move(value)); return *this; }
484 inline PutObjectRequest& AddMetadata(Aws::String&& key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), std::move(value)); return *this; }
485 inline PutObjectRequest& AddMetadata(const char* key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, std::move(value)); return *this; }
486 inline PutObjectRequest& AddMetadata(Aws::String&& key, const char* value) { m_metadataHasBeenSet = true; m_metadata.emplace(std::move(key), value); return *this; }
487 inline PutObjectRequest& AddMetadata(const char* key, const char* value) { m_metadataHasBeenSet = true; m_metadata.emplace(key, value); return *this; }
489
491
548 inline const ServerSideEncryption& GetServerSideEncryption() const{ return m_serverSideEncryption; }
549 inline bool ServerSideEncryptionHasBeenSet() const { return m_serverSideEncryptionHasBeenSet; }
550 inline void SetServerSideEncryption(const ServerSideEncryption& value) { m_serverSideEncryptionHasBeenSet = true; m_serverSideEncryption = value; }
551 inline void SetServerSideEncryption(ServerSideEncryption&& value) { m_serverSideEncryptionHasBeenSet = true; m_serverSideEncryption = std::move(value); }
555
557
568 inline const StorageClass& GetStorageClass() const{ return m_storageClass; }
569 inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; }
570 inline void SetStorageClass(const StorageClass& value) { m_storageClassHasBeenSet = true; m_storageClass = value; }
571 inline void SetStorageClass(StorageClass&& value) { m_storageClassHasBeenSet = true; m_storageClass = std::move(value); }
572 inline PutObjectRequest& WithStorageClass(const StorageClass& value) { SetStorageClass(value); return *this;}
573 inline PutObjectRequest& WithStorageClass(StorageClass&& value) { SetStorageClass(std::move(value)); return *this;}
575
577
596 inline const Aws::String& GetWebsiteRedirectLocation() const{ return m_websiteRedirectLocation; }
597 inline bool WebsiteRedirectLocationHasBeenSet() const { return m_websiteRedirectLocationHasBeenSet; }
598 inline void SetWebsiteRedirectLocation(const Aws::String& value) { m_websiteRedirectLocationHasBeenSet = true; m_websiteRedirectLocation = value; }
599 inline void SetWebsiteRedirectLocation(Aws::String&& value) { m_websiteRedirectLocationHasBeenSet = true; m_websiteRedirectLocation = std::move(value); }
600 inline void SetWebsiteRedirectLocation(const char* value) { m_websiteRedirectLocationHasBeenSet = true; m_websiteRedirectLocation.assign(value); }
602 inline PutObjectRequest& WithWebsiteRedirectLocation(Aws::String&& value) { SetWebsiteRedirectLocation(std::move(value)); return *this;}
603 inline PutObjectRequest& WithWebsiteRedirectLocation(const char* value) { SetWebsiteRedirectLocation(value); return *this;}
605
607
612 inline const Aws::String& GetSSECustomerAlgorithm() const{ return m_sSECustomerAlgorithm; }
613 inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; }
614 inline void SetSSECustomerAlgorithm(const Aws::String& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = value; }
615 inline void SetSSECustomerAlgorithm(Aws::String&& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = std::move(value); }
616 inline void SetSSECustomerAlgorithm(const char* value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm.assign(value); }
618 inline PutObjectRequest& WithSSECustomerAlgorithm(Aws::String&& value) { SetSSECustomerAlgorithm(std::move(value)); return *this;}
619 inline PutObjectRequest& WithSSECustomerAlgorithm(const char* value) { SetSSECustomerAlgorithm(value); return *this;}
621
623
631 inline const Aws::String& GetSSECustomerKey() const{ return m_sSECustomerKey; }
632 inline bool SSECustomerKeyHasBeenSet() const { return m_sSECustomerKeyHasBeenSet; }
633 inline void SetSSECustomerKey(const Aws::String& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = value; }
634 inline void SetSSECustomerKey(Aws::String&& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = std::move(value); }
635 inline void SetSSECustomerKey(const char* value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey.assign(value); }
636 inline PutObjectRequest& WithSSECustomerKey(const Aws::String& value) { SetSSECustomerKey(value); return *this;}
637 inline PutObjectRequest& WithSSECustomerKey(Aws::String&& value) { SetSSECustomerKey(std::move(value)); return *this;}
638 inline PutObjectRequest& WithSSECustomerKey(const char* value) { SetSSECustomerKey(value); return *this;}
640
642
648 inline const Aws::String& GetSSECustomerKeyMD5() const{ return m_sSECustomerKeyMD5; }
649 inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; }
650 inline void SetSSECustomerKeyMD5(const Aws::String& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = value; }
651 inline void SetSSECustomerKeyMD5(Aws::String&& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = std::move(value); }
652 inline void SetSSECustomerKeyMD5(const char* value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5.assign(value); }
653 inline PutObjectRequest& WithSSECustomerKeyMD5(const Aws::String& value) { SetSSECustomerKeyMD5(value); return *this;}
654 inline PutObjectRequest& WithSSECustomerKeyMD5(Aws::String&& value) { SetSSECustomerKeyMD5(std::move(value)); return *this;}
655 inline PutObjectRequest& WithSSECustomerKeyMD5(const char* value) { SetSSECustomerKeyMD5(value); return *this;}
657
659
686 inline const Aws::String& GetSSEKMSKeyId() const{ return m_sSEKMSKeyId; }
687 inline bool SSEKMSKeyIdHasBeenSet() const { return m_sSEKMSKeyIdHasBeenSet; }
688 inline void SetSSEKMSKeyId(const Aws::String& value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId = value; }
689 inline void SetSSEKMSKeyId(Aws::String&& value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId = std::move(value); }
690 inline void SetSSEKMSKeyId(const char* value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId.assign(value); }
691 inline PutObjectRequest& WithSSEKMSKeyId(const Aws::String& value) { SetSSEKMSKeyId(value); return *this;}
692 inline PutObjectRequest& WithSSEKMSKeyId(Aws::String&& value) { SetSSEKMSKeyId(std::move(value)); return *this;}
693 inline PutObjectRequest& WithSSEKMSKeyId(const char* value) { SetSSEKMSKeyId(value); return *this;}
695
697
713 inline const Aws::String& GetSSEKMSEncryptionContext() const{ return m_sSEKMSEncryptionContext; }
714 inline bool SSEKMSEncryptionContextHasBeenSet() const { return m_sSEKMSEncryptionContextHasBeenSet; }
715 inline void SetSSEKMSEncryptionContext(const Aws::String& value) { m_sSEKMSEncryptionContextHasBeenSet = true; m_sSEKMSEncryptionContext = value; }
716 inline void SetSSEKMSEncryptionContext(Aws::String&& value) { m_sSEKMSEncryptionContextHasBeenSet = true; m_sSEKMSEncryptionContext = std::move(value); }
717 inline void SetSSEKMSEncryptionContext(const char* value) { m_sSEKMSEncryptionContextHasBeenSet = true; m_sSEKMSEncryptionContext.assign(value); }
719 inline PutObjectRequest& WithSSEKMSEncryptionContext(Aws::String&& value) { SetSSEKMSEncryptionContext(std::move(value)); return *this;}
720 inline PutObjectRequest& WithSSEKMSEncryptionContext(const char* value) { SetSSEKMSEncryptionContext(value); return *this;}
722
724
746 inline bool GetBucketKeyEnabled() const{ return m_bucketKeyEnabled; }
747 inline bool BucketKeyEnabledHasBeenSet() const { return m_bucketKeyEnabledHasBeenSet; }
748 inline void SetBucketKeyEnabled(bool value) { m_bucketKeyEnabledHasBeenSet = true; m_bucketKeyEnabled = value; }
749 inline PutObjectRequest& WithBucketKeyEnabled(bool value) { SetBucketKeyEnabled(value); return *this;}
751
753
754 inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; }
755 inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; }
756 inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; }
757 inline void SetRequestPayer(RequestPayer&& value) { m_requestPayerHasBeenSet = true; m_requestPayer = std::move(value); }
758 inline PutObjectRequest& WithRequestPayer(const RequestPayer& value) { SetRequestPayer(value); return *this;}
759 inline PutObjectRequest& WithRequestPayer(RequestPayer&& value) { SetRequestPayer(std::move(value)); return *this;}
761
763
768 inline const Aws::String& GetTagging() const{ return m_tagging; }
769 inline bool TaggingHasBeenSet() const { return m_taggingHasBeenSet; }
770 inline void SetTagging(const Aws::String& value) { m_taggingHasBeenSet = true; m_tagging = value; }
771 inline void SetTagging(Aws::String&& value) { m_taggingHasBeenSet = true; m_tagging = std::move(value); }
772 inline void SetTagging(const char* value) { m_taggingHasBeenSet = true; m_tagging.assign(value); }
773 inline PutObjectRequest& WithTagging(const Aws::String& value) { SetTagging(value); return *this;}
774 inline PutObjectRequest& WithTagging(Aws::String&& value) { SetTagging(std::move(value)); return *this;}
775 inline PutObjectRequest& WithTagging(const char* value) { SetTagging(value); return *this;}
777
779
783 inline const ObjectLockMode& GetObjectLockMode() const{ return m_objectLockMode; }
784 inline bool ObjectLockModeHasBeenSet() const { return m_objectLockModeHasBeenSet; }
785 inline void SetObjectLockMode(const ObjectLockMode& value) { m_objectLockModeHasBeenSet = true; m_objectLockMode = value; }
786 inline void SetObjectLockMode(ObjectLockMode&& value) { m_objectLockModeHasBeenSet = true; m_objectLockMode = std::move(value); }
787 inline PutObjectRequest& WithObjectLockMode(const ObjectLockMode& value) { SetObjectLockMode(value); return *this;}
788 inline PutObjectRequest& WithObjectLockMode(ObjectLockMode&& value) { SetObjectLockMode(std::move(value)); return *this;}
790
792
797 inline const Aws::Utils::DateTime& GetObjectLockRetainUntilDate() const{ return m_objectLockRetainUntilDate; }
798 inline bool ObjectLockRetainUntilDateHasBeenSet() const { return m_objectLockRetainUntilDateHasBeenSet; }
799 inline void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = value; }
800 inline void SetObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = std::move(value); }
804
806
813 inline const ObjectLockLegalHoldStatus& GetObjectLockLegalHoldStatus() const{ return m_objectLockLegalHoldStatus; }
814 inline bool ObjectLockLegalHoldStatusHasBeenSet() const { return m_objectLockLegalHoldStatusHasBeenSet; }
815 inline void SetObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = value; }
816 inline void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = std::move(value); }
820
822
827 inline const Aws::String& GetExpectedBucketOwner() const{ return m_expectedBucketOwner; }
828 inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; }
829 inline void SetExpectedBucketOwner(const Aws::String& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = value; }
830 inline void SetExpectedBucketOwner(Aws::String&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::move(value); }
831 inline void SetExpectedBucketOwner(const char* value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner.assign(value); }
832 inline PutObjectRequest& WithExpectedBucketOwner(const Aws::String& value) { SetExpectedBucketOwner(value); return *this;}
833 inline PutObjectRequest& WithExpectedBucketOwner(Aws::String&& value) { SetExpectedBucketOwner(std::move(value)); return *this;}
834 inline PutObjectRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;}
836
838
839 inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; }
840 inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; }
841 inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; }
842 inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); }
845 inline PutObjectRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
846 inline PutObjectRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
847 inline PutObjectRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
848 inline PutObjectRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; }
849 inline PutObjectRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
850 inline PutObjectRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
851 inline PutObjectRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
853 private:
854
855 ObjectCannedACL m_aCL;
856 bool m_aCLHasBeenSet = false;
857
858
859 Aws::String m_bucket;
860 bool m_bucketHasBeenSet = false;
861
862 Aws::String m_cacheControl;
863 bool m_cacheControlHasBeenSet = false;
864
865 Aws::String m_contentDisposition;
866 bool m_contentDispositionHasBeenSet = false;
867
868 Aws::String m_contentEncoding;
869 bool m_contentEncodingHasBeenSet = false;
870
871 Aws::String m_contentLanguage;
872 bool m_contentLanguageHasBeenSet = false;
873
874 long long m_contentLength;
875 bool m_contentLengthHasBeenSet = false;
876
877 Aws::String m_contentMD5;
878 bool m_contentMD5HasBeenSet = false;
879
880 ChecksumAlgorithm m_checksumAlgorithm;
881 bool m_checksumAlgorithmHasBeenSet = false;
882
883 Aws::String m_checksumCRC32;
884 bool m_checksumCRC32HasBeenSet = false;
885
886 Aws::String m_checksumCRC32C;
887 bool m_checksumCRC32CHasBeenSet = false;
888
889 Aws::String m_checksumSHA1;
890 bool m_checksumSHA1HasBeenSet = false;
891
892 Aws::String m_checksumSHA256;
893 bool m_checksumSHA256HasBeenSet = false;
894
895 Aws::Utils::DateTime m_expires;
896 bool m_expiresHasBeenSet = false;
897
898 Aws::String m_ifNoneMatch;
899 bool m_ifNoneMatchHasBeenSet = false;
900
901 Aws::String m_grantFullControl;
902 bool m_grantFullControlHasBeenSet = false;
903
904 Aws::String m_grantRead;
905 bool m_grantReadHasBeenSet = false;
906
907 Aws::String m_grantReadACP;
908 bool m_grantReadACPHasBeenSet = false;
909
910 Aws::String m_grantWriteACP;
911 bool m_grantWriteACPHasBeenSet = false;
912
913 Aws::String m_key;
914 bool m_keyHasBeenSet = false;
915
917 bool m_metadataHasBeenSet = false;
918
919 ServerSideEncryption m_serverSideEncryption;
920 bool m_serverSideEncryptionHasBeenSet = false;
921
922 StorageClass m_storageClass;
923 bool m_storageClassHasBeenSet = false;
924
925 Aws::String m_websiteRedirectLocation;
926 bool m_websiteRedirectLocationHasBeenSet = false;
927
928 Aws::String m_sSECustomerAlgorithm;
929 bool m_sSECustomerAlgorithmHasBeenSet = false;
930
931 Aws::String m_sSECustomerKey;
932 bool m_sSECustomerKeyHasBeenSet = false;
933
934 Aws::String m_sSECustomerKeyMD5;
935 bool m_sSECustomerKeyMD5HasBeenSet = false;
936
937 Aws::String m_sSEKMSKeyId;
938 bool m_sSEKMSKeyIdHasBeenSet = false;
939
940 Aws::String m_sSEKMSEncryptionContext;
941 bool m_sSEKMSEncryptionContextHasBeenSet = false;
942
943 bool m_bucketKeyEnabled;
944 bool m_bucketKeyEnabledHasBeenSet = false;
945
946 RequestPayer m_requestPayer;
947 bool m_requestPayerHasBeenSet = false;
948
949 Aws::String m_tagging;
950 bool m_taggingHasBeenSet = false;
951
952 ObjectLockMode m_objectLockMode;
953 bool m_objectLockModeHasBeenSet = false;
954
955 Aws::Utils::DateTime m_objectLockRetainUntilDate;
956 bool m_objectLockRetainUntilDateHasBeenSet = false;
957
958 ObjectLockLegalHoldStatus m_objectLockLegalHoldStatus;
959 bool m_objectLockLegalHoldStatusHasBeenSet = false;
960
961 Aws::String m_expectedBucketOwner;
962 bool m_expectedBucketOwnerHasBeenSet = false;
963
964 Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag;
965 bool m_customizedAccessLogTagHasBeenSet = false;
966 };
967
968} // namespace Model
969} // namespace S3Crt
970} // namespace Aws
Aws::Vector< Aws::Endpoint::EndpointParameter > EndpointParameters
PutObjectRequest & WithGrantRead(Aws::String &&value)
PutObjectRequest & WithContentDisposition(const char *value)
const Aws::String & GetChecksumSHA256() const
void SetContentEncoding(const Aws::String &value)
PutObjectRequest & WithSSEKMSKeyId(Aws::String &&value)
const ChecksumAlgorithm & GetChecksumAlgorithm() const
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
PutObjectRequest & WithWebsiteRedirectLocation(const Aws::String &value)
void SetCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
PutObjectRequest & WithExpires(Aws::Utils::DateTime &&value)
void SetSSEKMSEncryptionContext(const char *value)
void SetExpectedBucketOwner(Aws::String &&value)
PutObjectRequest & WithObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus &value)
void SetWebsiteRedirectLocation(Aws::String &&value)
void SetGrantWriteACP(Aws::String &&value)
void SetExpectedBucketOwner(const Aws::String &value)
PutObjectRequest & WithContentDisposition(Aws::String &&value)
PutObjectRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
PutObjectRequest & WithBucket(const Aws::String &value)
PutObjectRequest & WithIfNoneMatch(Aws::String &&value)
PutObjectRequest & WithChecksumAlgorithm(ChecksumAlgorithm &&value)
void SetACL(const ObjectCannedACL &value)
AWS_S3CRT_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
void SetIfNoneMatch(const char *value)
void SetChecksumCRC32(Aws::String &&value)
PutObjectRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
void SetChecksumCRC32(const Aws::String &value)
PutObjectRequest & WithExpectedBucketOwner(const char *value)
PutObjectRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetGrantRead() const
void SetObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus &value)
const Aws::String & GetContentEncoding() const
PutObjectRequest & WithSSECustomerKeyMD5(const Aws::String &value)
PutObjectRequest & WithChecksumCRC32C(Aws::String &&value)
PutObjectRequest & WithRequestPayer(const RequestPayer &value)
PutObjectRequest & WithGrantFullControl(Aws::String &&value)
void SetObjectLockMode(const ObjectLockMode &value)
PutObjectRequest & WithRequestPayer(RequestPayer &&value)
const Aws::String & GetGrantReadACP() const
PutObjectRequest & WithGrantReadACP(Aws::String &&value)
PutObjectRequest & WithChecksumCRC32(Aws::String &&value)
PutObjectRequest & AddMetadata(Aws::String &&key, Aws::String &&value)
void SetRequestPayer(RequestPayer &&value)
void SetChecksumSHA256(const char *value)
void SetExpires(const Aws::Utils::DateTime &value)
PutObjectRequest & WithObjectLockRetainUntilDate(const Aws::Utils::DateTime &value)
void SetSSECustomerKey(const char *value)
PutObjectRequest & WithContentLanguage(Aws::String &&value)
PutObjectRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
PutObjectRequest & WithKey(Aws::String &&value)
PutObjectRequest & AddMetadata(const char *key, const char *value)
PutObjectRequest & WithSSEKMSEncryptionContext(const char *value)
void SetCacheControl(Aws::String &&value)
PutObjectRequest & WithSSEKMSKeyId(const Aws::String &value)
void SetExpires(Aws::Utils::DateTime &&value)
PutObjectRequest & WithGrantFullControl(const char *value)
PutObjectRequest & WithContentEncoding(const char *value)
void SetChecksumCRC32C(const Aws::String &value)
void SetChecksumSHA1(Aws::String &&value)
PutObjectRequest & WithGrantWriteACP(Aws::String &&value)
void SetContentDisposition(Aws::String &&value)
void SetCacheControl(const Aws::String &value)
PutObjectRequest & WithContentLength(long long value)
PutObjectRequest & WithCacheControl(Aws::String &&value)
void SetExpectedBucketOwner(const char *value)
void SetSSEKMSKeyId(const Aws::String &value)
const RequestPayer & GetRequestPayer() const
void SetGrantWriteACP(const char *value)
PutObjectRequest & WithSSEKMSEncryptionContext(Aws::String &&value)
void SetContentLanguage(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
PutObjectRequest & WithGrantWriteACP(const char *value)
const Aws::String & GetContentMD5() const
PutObjectRequest & WithChecksumCRC32(const char *value)
PutObjectRequest & WithSSECustomerAlgorithm(const char *value)
PutObjectRequest & WithSSEKMSKeyId(const char *value)
PutObjectRequest & WithWebsiteRedirectLocation(Aws::String &&value)
void SetContentDisposition(const Aws::String &value)
void SetChecksumSHA256(const Aws::String &value)
PutObjectRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
PutObjectRequest & WithKey(const char *value)
void SetContentDisposition(const char *value)
void SetBucket(const Aws::String &value)
PutObjectRequest & WithContentLanguage(const Aws::String &value)
PutObjectRequest & WithContentEncoding(Aws::String &&value)
PutObjectRequest & WithSSECustomerKey(const Aws::String &value)
void SetSSECustomerKey(Aws::String &&value)
PutObjectRequest & WithObjectLockRetainUntilDate(Aws::Utils::DateTime &&value)
PutObjectRequest & WithChecksumSHA1(Aws::String &&value)
void SetServerSideEncryption(ServerSideEncryption &&value)
AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override
const Aws::String & GetSSEKMSKeyId() const
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
void SetChecksumCRC32(const char *value)
const Aws::String & GetChecksumSHA1() const
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
const ObjectCannedACL & GetACL() const
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
void SetChecksumCRC32C(const char *value)
AWS_S3CRT_API Aws::String GetChecksumAlgorithmName() const override
void SetChecksumAlgorithm(ChecksumAlgorithm &&value)
void SetChecksumAlgorithm(const ChecksumAlgorithm &value)
PutObjectRequest & AddMetadata(Aws::String &&key, const char *value)
PutObjectRequest & WithServerSideEncryption(const ServerSideEncryption &value)
const StorageClass & GetStorageClass() const
void SetRequestPayer(const RequestPayer &value)
PutObjectRequest & WithChecksumSHA1(const char *value)
void SetSSECustomerKeyMD5(const char *value)
const Aws::String & GetIfNoneMatch() const
PutObjectRequest & AddMetadata(const Aws::String &key, const Aws::String &value)
PutObjectRequest & WithChecksumSHA256(const char *value)
PutObjectRequest & WithACL(const ObjectCannedACL &value)
PutObjectRequest & WithContentLanguage(const char *value)
void SetACL(ObjectCannedACL &&value)
void SetWebsiteRedirectLocation(const char *value)
void SetChecksumSHA1(const char *value)
PutObjectRequest & WithExpires(const Aws::Utils::DateTime &value)
void SetContentMD5(const Aws::String &value)
void SetCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
PutObjectRequest & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
void SetSSEKMSKeyId(const char *value)
void SetGrantRead(Aws::String &&value)
PutObjectRequest & WithSSECustomerAlgorithm(const Aws::String &value)
PutObjectRequest & WithExpectedBucketOwner(Aws::String &&value)
PutObjectRequest & WithGrantWriteACP(const Aws::String &value)
PutObjectRequest & WithGrantFullControl(const Aws::String &value)
PutObjectRequest & WithSSECustomerKeyMD5(const char *value)
void SetWebsiteRedirectLocation(const Aws::String &value)
PutObjectRequest & WithContentMD5(const char *value)
PutObjectRequest & WithGrantRead(const Aws::String &value)
void SetServerSideEncryption(const ServerSideEncryption &value)
PutObjectRequest & WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus &&value)
void SetGrantWriteACP(const Aws::String &value)
void SetIfNoneMatch(const Aws::String &value)
PutObjectRequest & WithKey(const Aws::String &value)
void SetGrantReadACP(const char *value)
PutObjectRequest & WithSSECustomerKey(const char *value)
const Aws::String & GetChecksumCRC32C() const
PutObjectRequest & WithServerSideEncryption(ServerSideEncryption &&value)
PutObjectRequest & WithGrantRead(const char *value)
PutObjectRequest & WithWebsiteRedirectLocation(const char *value)
PutObjectRequest & WithBucketKeyEnabled(bool value)
PutObjectRequest & WithIfNoneMatch(const Aws::String &value)
void SetObjectLockRetainUntilDate(Aws::Utils::DateTime &&value)
PutObjectRequest & WithExpectedBucketOwner(const Aws::String &value)
PutObjectRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
PutObjectRequest & WithACL(ObjectCannedACL &&value)
PutObjectRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus &&value)
const Aws::Utils::DateTime & GetExpires() const
void SetKey(const Aws::String &value)
PutObjectRequest & WithContentEncoding(const Aws::String &value)
const Aws::String & GetGrantWriteACP() const
void SetGrantReadACP(Aws::String &&value)
void SetSSECustomerKey(const Aws::String &value)
const Aws::String & GetSSEKMSEncryptionContext() const
const Aws::String & GetWebsiteRedirectLocation() const
PutObjectRequest & WithSSECustomerAlgorithm(Aws::String &&value)
const Aws::String & GetContentDisposition() const
const ObjectLockMode & GetObjectLockMode() const
PutObjectRequest & WithSSECustomerKeyMD5(Aws::String &&value)
PutObjectRequest & WithGrantReadACP(const char *value)
PutObjectRequest & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetSSECustomerAlgorithm() const
PutObjectRequest & AddMetadata(Aws::String &&key, const Aws::String &value)
void SetSSEKMSKeyId(Aws::String &&value)
PutObjectRequest & WithChecksumSHA1(const Aws::String &value)
void SetSSEKMSEncryptionContext(const Aws::String &value)
PutObjectRequest & WithObjectLockMode(ObjectLockMode &&value)
void SetSSECustomerAlgorithm(const Aws::String &value)
const Aws::String & GetTagging() const
PutObjectRequest & WithContentMD5(Aws::String &&value)
void SetIfNoneMatch(Aws::String &&value)
void SetTagging(Aws::String &&value)
const Aws::Utils::DateTime & GetObjectLockRetainUntilDate() const
PutObjectRequest & WithChecksumSHA256(const Aws::String &value)
const Aws::String & GetExpectedBucketOwner() const
PutObjectRequest & WithStorageClass(StorageClass &&value)
PutObjectRequest & WithBucket(const char *value)
void SetContentEncoding(const char *value)
PutObjectRequest & WithSSECustomerKey(Aws::String &&value)
PutObjectRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
void SetSSECustomerAlgorithm(const char *value)
void SetGrantReadACP(const Aws::String &value)
const Aws::String & GetKey() const
void SetCacheControl(const char *value)
PutObjectRequest & WithContentMD5(const Aws::String &value)
PutObjectRequest & AddMetadata(const Aws::String &key, Aws::String &&value)
PutObjectRequest & WithIfNoneMatch(const char *value)
const Aws::String & GetContentLanguage() const
void SetContentEncoding(Aws::String &&value)
void SetStorageClass(StorageClass &&value)
PutObjectRequest & WithTagging(const Aws::String &value)
const Aws::String & GetChecksumCRC32() const
void SetGrantFullControl(Aws::String &&value)
PutObjectRequest & WithBucket(Aws::String &&value)
PutObjectRequest & WithObjectLockMode(const ObjectLockMode &value)
AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetObjectLockMode(ObjectLockMode &&value)
void SetBucket(Aws::String &&value)
PutObjectRequest & WithGrantReadACP(const Aws::String &value)
void SetGrantRead(const Aws::String &value)
PutObjectRequest & WithChecksumCRC32(const Aws::String &value)
void SetChecksumSHA1(const Aws::String &value)
PutObjectRequest & WithTagging(Aws::String &&value)
const Aws::String & GetBucket() const
PutObjectRequest & WithChecksumAlgorithm(const ChecksumAlgorithm &value)
PutObjectRequest & WithTagging(const char *value)
void SetChecksumSHA256(Aws::String &&value)
PutObjectRequest & WithChecksumCRC32C(const Aws::String &value)
PutObjectRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
void SetStorageClass(const StorageClass &value)
PutObjectRequest & WithSSEKMSEncryptionContext(const Aws::String &value)
void SetTagging(const Aws::String &value)
PutObjectRequest & WithCacheControl(const Aws::String &value)
const Aws::String & GetSSECustomerKeyMD5() const
PutObjectRequest & WithStorageClass(const StorageClass &value)
void SetContentLanguage(const Aws::String &value)
void SetSSECustomerKeyMD5(Aws::String &&value)
PutObjectRequest & WithChecksumSHA256(Aws::String &&value)
void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime &value)
void SetSSEKMSEncryptionContext(Aws::String &&value)
PutObjectRequest & AddMetadata(const char *key, Aws::String &&value)
void SetChecksumCRC32C(Aws::String &&value)
void SetSSECustomerKeyMD5(const Aws::String &value)
const Aws::String & GetCacheControl() const
PutObjectRequest & WithChecksumCRC32C(const char *value)
const Aws::String & GetGrantFullControl() const
const ServerSideEncryption & GetServerSideEncryption() const
void SetGrantFullControl(const Aws::String &value)
void SetContentMD5(const char *value)
void SetContentMD5(Aws::String &&value)
PutObjectRequest & WithContentDisposition(const Aws::String &value)
AWS_S3CRT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetSSECustomerKey() const
void SetContentLanguage(const char *value)
void SetSSECustomerAlgorithm(Aws::String &&value)
PutObjectRequest & WithCacheControl(const char *value)
const ObjectLockLegalHoldStatus & GetObjectLockLegalHoldStatus() const
void SetGrantFullControl(const char *value)
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