AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HeadObjectResult.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3-crt/model/ArchiveStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/s3-crt/model/ServerSideEncryption.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/s3-crt/model/StorageClass.h>
14#include <aws/s3-crt/model/RequestCharged.h>
15#include <aws/s3-crt/model/ReplicationStatus.h>
16#include <aws/s3-crt/model/ObjectLockMode.h>
17#include <aws/s3-crt/model/ObjectLockLegalHoldStatus.h>
18#include <utility>
19
20namespace Aws
21{
22template<typename RESULT_TYPE>
23class AmazonWebServiceResult;
24
25namespace Utils
26{
27namespace Xml
28{
29 class XmlDocument;
30} // namespace Xml
31} // namespace Utils
32namespace S3Crt
33{
34namespace Model
35{
37 {
38 public:
39 AWS_S3CRT_API HeadObjectResult();
42
43
45
50 inline bool GetDeleteMarker() const{ return m_deleteMarker; }
51 inline void SetDeleteMarker(bool value) { m_deleteMarker = value; }
52 inline HeadObjectResult& WithDeleteMarker(bool value) { SetDeleteMarker(value); return *this;}
54
56
59 inline const Aws::String& GetAcceptRanges() const{ return m_acceptRanges; }
60 inline void SetAcceptRanges(const Aws::String& value) { m_acceptRanges = value; }
61 inline void SetAcceptRanges(Aws::String&& value) { m_acceptRanges = std::move(value); }
62 inline void SetAcceptRanges(const char* value) { m_acceptRanges.assign(value); }
63 inline HeadObjectResult& WithAcceptRanges(const Aws::String& value) { SetAcceptRanges(value); return *this;}
64 inline HeadObjectResult& WithAcceptRanges(Aws::String&& value) { SetAcceptRanges(std::move(value)); return *this;}
65 inline HeadObjectResult& WithAcceptRanges(const char* value) { SetAcceptRanges(value); return *this;}
67
69
78 inline const Aws::String& GetExpiration() const{ return m_expiration; }
79 inline void SetExpiration(const Aws::String& value) { m_expiration = value; }
80 inline void SetExpiration(Aws::String&& value) { m_expiration = std::move(value); }
81 inline void SetExpiration(const char* value) { m_expiration.assign(value); }
82 inline HeadObjectResult& WithExpiration(const Aws::String& value) { SetExpiration(value); return *this;}
83 inline HeadObjectResult& WithExpiration(Aws::String&& value) { SetExpiration(std::move(value)); return *this;}
84 inline HeadObjectResult& WithExpiration(const char* value) { SetExpiration(value); return *this;}
86
88
105 inline const Aws::String& GetRestore() const{ return m_restore; }
106 inline void SetRestore(const Aws::String& value) { m_restore = value; }
107 inline void SetRestore(Aws::String&& value) { m_restore = std::move(value); }
108 inline void SetRestore(const char* value) { m_restore.assign(value); }
109 inline HeadObjectResult& WithRestore(const Aws::String& value) { SetRestore(value); return *this;}
110 inline HeadObjectResult& WithRestore(Aws::String&& value) { SetRestore(std::move(value)); return *this;}
111 inline HeadObjectResult& WithRestore(const char* value) { SetRestore(value); return *this;}
113
115
119 inline const ArchiveStatus& GetArchiveStatus() const{ return m_archiveStatus; }
120 inline void SetArchiveStatus(const ArchiveStatus& value) { m_archiveStatus = value; }
121 inline void SetArchiveStatus(ArchiveStatus&& value) { m_archiveStatus = std::move(value); }
122 inline HeadObjectResult& WithArchiveStatus(const ArchiveStatus& value) { SetArchiveStatus(value); return *this;}
123 inline HeadObjectResult& WithArchiveStatus(ArchiveStatus&& value) { SetArchiveStatus(std::move(value)); return *this;}
125
127
130 inline const Aws::Utils::DateTime& GetLastModified() const{ return m_lastModified; }
131 inline void SetLastModified(const Aws::Utils::DateTime& value) { m_lastModified = value; }
132 inline void SetLastModified(Aws::Utils::DateTime&& value) { m_lastModified = std::move(value); }
133 inline HeadObjectResult& WithLastModified(const Aws::Utils::DateTime& value) { SetLastModified(value); return *this;}
134 inline HeadObjectResult& WithLastModified(Aws::Utils::DateTime&& value) { SetLastModified(std::move(value)); return *this;}
136
138
141 inline long long GetContentLength() const{ return m_contentLength; }
142 inline void SetContentLength(long long value) { m_contentLength = value; }
143 inline HeadObjectResult& WithContentLength(long long value) { SetContentLength(value); return *this;}
145
147
157 inline const Aws::String& GetChecksumCRC32() const{ return m_checksumCRC32; }
158 inline void SetChecksumCRC32(const Aws::String& value) { m_checksumCRC32 = value; }
159 inline void SetChecksumCRC32(Aws::String&& value) { m_checksumCRC32 = std::move(value); }
160 inline void SetChecksumCRC32(const char* value) { m_checksumCRC32.assign(value); }
161 inline HeadObjectResult& WithChecksumCRC32(const Aws::String& value) { SetChecksumCRC32(value); return *this;}
162 inline HeadObjectResult& WithChecksumCRC32(Aws::String&& value) { SetChecksumCRC32(std::move(value)); return *this;}
163 inline HeadObjectResult& WithChecksumCRC32(const char* value) { SetChecksumCRC32(value); return *this;}
165
167
177 inline const Aws::String& GetChecksumCRC32C() const{ return m_checksumCRC32C; }
178 inline void SetChecksumCRC32C(const Aws::String& value) { m_checksumCRC32C = value; }
179 inline void SetChecksumCRC32C(Aws::String&& value) { m_checksumCRC32C = std::move(value); }
180 inline void SetChecksumCRC32C(const char* value) { m_checksumCRC32C.assign(value); }
181 inline HeadObjectResult& WithChecksumCRC32C(const Aws::String& value) { SetChecksumCRC32C(value); return *this;}
182 inline HeadObjectResult& WithChecksumCRC32C(Aws::String&& value) { SetChecksumCRC32C(std::move(value)); return *this;}
183 inline HeadObjectResult& WithChecksumCRC32C(const char* value) { SetChecksumCRC32C(value); return *this;}
185
187
197 inline const Aws::String& GetChecksumSHA1() const{ return m_checksumSHA1; }
198 inline void SetChecksumSHA1(const Aws::String& value) { m_checksumSHA1 = value; }
199 inline void SetChecksumSHA1(Aws::String&& value) { m_checksumSHA1 = std::move(value); }
200 inline void SetChecksumSHA1(const char* value) { m_checksumSHA1.assign(value); }
201 inline HeadObjectResult& WithChecksumSHA1(const Aws::String& value) { SetChecksumSHA1(value); return *this;}
202 inline HeadObjectResult& WithChecksumSHA1(Aws::String&& value) { SetChecksumSHA1(std::move(value)); return *this;}
203 inline HeadObjectResult& WithChecksumSHA1(const char* value) { SetChecksumSHA1(value); return *this;}
205
207
217 inline const Aws::String& GetChecksumSHA256() const{ return m_checksumSHA256; }
218 inline void SetChecksumSHA256(const Aws::String& value) { m_checksumSHA256 = value; }
219 inline void SetChecksumSHA256(Aws::String&& value) { m_checksumSHA256 = std::move(value); }
220 inline void SetChecksumSHA256(const char* value) { m_checksumSHA256.assign(value); }
221 inline HeadObjectResult& WithChecksumSHA256(const Aws::String& value) { SetChecksumSHA256(value); return *this;}
222 inline HeadObjectResult& WithChecksumSHA256(Aws::String&& value) { SetChecksumSHA256(std::move(value)); return *this;}
223 inline HeadObjectResult& WithChecksumSHA256(const char* value) { SetChecksumSHA256(value); return *this;}
225
227
231 inline const Aws::String& GetETag() const{ return m_eTag; }
232 inline void SetETag(const Aws::String& value) { m_eTag = value; }
233 inline void SetETag(Aws::String&& value) { m_eTag = std::move(value); }
234 inline void SetETag(const char* value) { m_eTag.assign(value); }
235 inline HeadObjectResult& WithETag(const Aws::String& value) { SetETag(value); return *this;}
236 inline HeadObjectResult& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
237 inline HeadObjectResult& WithETag(const char* value) { SetETag(value); return *this;}
239
241
249 inline int GetMissingMeta() const{ return m_missingMeta; }
250 inline void SetMissingMeta(int value) { m_missingMeta = value; }
251 inline HeadObjectResult& WithMissingMeta(int value) { SetMissingMeta(value); return *this;}
253
255
259 inline const Aws::String& GetVersionId() const{ return m_versionId; }
260 inline void SetVersionId(const Aws::String& value) { m_versionId = value; }
261 inline void SetVersionId(Aws::String&& value) { m_versionId = std::move(value); }
262 inline void SetVersionId(const char* value) { m_versionId.assign(value); }
263 inline HeadObjectResult& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
264 inline HeadObjectResult& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
265 inline HeadObjectResult& WithVersionId(const char* value) { SetVersionId(value); return *this;}
267
269
272 inline const Aws::String& GetCacheControl() const{ return m_cacheControl; }
273 inline void SetCacheControl(const Aws::String& value) { m_cacheControl = value; }
274 inline void SetCacheControl(Aws::String&& value) { m_cacheControl = std::move(value); }
275 inline void SetCacheControl(const char* value) { m_cacheControl.assign(value); }
276 inline HeadObjectResult& WithCacheControl(const Aws::String& value) { SetCacheControl(value); return *this;}
277 inline HeadObjectResult& WithCacheControl(Aws::String&& value) { SetCacheControl(std::move(value)); return *this;}
278 inline HeadObjectResult& WithCacheControl(const char* value) { SetCacheControl(value); return *this;}
280
282
285 inline const Aws::String& GetContentDisposition() const{ return m_contentDisposition; }
286 inline void SetContentDisposition(const Aws::String& value) { m_contentDisposition = value; }
287 inline void SetContentDisposition(Aws::String&& value) { m_contentDisposition = std::move(value); }
288 inline void SetContentDisposition(const char* value) { m_contentDisposition.assign(value); }
289 inline HeadObjectResult& WithContentDisposition(const Aws::String& value) { SetContentDisposition(value); return *this;}
290 inline HeadObjectResult& WithContentDisposition(Aws::String&& value) { SetContentDisposition(std::move(value)); return *this;}
291 inline HeadObjectResult& WithContentDisposition(const char* value) { SetContentDisposition(value); return *this;}
293
295
300 inline const Aws::String& GetContentEncoding() const{ return m_contentEncoding; }
301 inline void SetContentEncoding(const Aws::String& value) { m_contentEncoding = value; }
302 inline void SetContentEncoding(Aws::String&& value) { m_contentEncoding = std::move(value); }
303 inline void SetContentEncoding(const char* value) { m_contentEncoding.assign(value); }
304 inline HeadObjectResult& WithContentEncoding(const Aws::String& value) { SetContentEncoding(value); return *this;}
305 inline HeadObjectResult& WithContentEncoding(Aws::String&& value) { SetContentEncoding(std::move(value)); return *this;}
306 inline HeadObjectResult& WithContentEncoding(const char* value) { SetContentEncoding(value); return *this;}
308
310
313 inline const Aws::String& GetContentLanguage() const{ return m_contentLanguage; }
314 inline void SetContentLanguage(const Aws::String& value) { m_contentLanguage = value; }
315 inline void SetContentLanguage(Aws::String&& value) { m_contentLanguage = std::move(value); }
316 inline void SetContentLanguage(const char* value) { m_contentLanguage.assign(value); }
317 inline HeadObjectResult& WithContentLanguage(const Aws::String& value) { SetContentLanguage(value); return *this;}
318 inline HeadObjectResult& WithContentLanguage(Aws::String&& value) { SetContentLanguage(std::move(value)); return *this;}
319 inline HeadObjectResult& WithContentLanguage(const char* value) { SetContentLanguage(value); return *this;}
321
323
326 inline const Aws::String& GetContentType() const{ return m_contentType; }
327 inline void SetContentType(const Aws::String& value) { m_contentType = value; }
328 inline void SetContentType(Aws::String&& value) { m_contentType = std::move(value); }
329 inline void SetContentType(const char* value) { m_contentType.assign(value); }
330 inline HeadObjectResult& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
331 inline HeadObjectResult& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
332 inline HeadObjectResult& WithContentType(const char* value) { SetContentType(value); return *this;}
334
336
339 inline const Aws::Utils::DateTime& GetExpires() const{ return m_expires; }
340 inline void SetExpires(const Aws::Utils::DateTime& value) { m_expires = value; }
341 inline void SetExpires(Aws::Utils::DateTime&& value) { m_expires = std::move(value); }
342 inline HeadObjectResult& WithExpires(const Aws::Utils::DateTime& value) { SetExpires(value); return *this;}
343 inline HeadObjectResult& WithExpires(Aws::Utils::DateTime&& value) { SetExpires(std::move(value)); return *this;}
345
347
353 inline const Aws::String& GetWebsiteRedirectLocation() const{ return m_websiteRedirectLocation; }
354 inline void SetWebsiteRedirectLocation(const Aws::String& value) { m_websiteRedirectLocation = value; }
355 inline void SetWebsiteRedirectLocation(Aws::String&& value) { m_websiteRedirectLocation = std::move(value); }
356 inline void SetWebsiteRedirectLocation(const char* value) { m_websiteRedirectLocation.assign(value); }
358 inline HeadObjectResult& WithWebsiteRedirectLocation(Aws::String&& value) { SetWebsiteRedirectLocation(std::move(value)); return *this;}
359 inline HeadObjectResult& WithWebsiteRedirectLocation(const char* value) { SetWebsiteRedirectLocation(value); return *this;}
361
363
368 inline const ServerSideEncryption& GetServerSideEncryption() const{ return m_serverSideEncryption; }
369 inline void SetServerSideEncryption(const ServerSideEncryption& value) { m_serverSideEncryption = value; }
370 inline void SetServerSideEncryption(ServerSideEncryption&& value) { m_serverSideEncryption = std::move(value); }
374
376
379 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const{ return m_metadata; }
380 inline void SetMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_metadata = value; }
381 inline void SetMetadata(Aws::Map<Aws::String, Aws::String>&& value) { m_metadata = std::move(value); }
383 inline HeadObjectResult& WithMetadata(Aws::Map<Aws::String, Aws::String>&& value) { SetMetadata(std::move(value)); return *this;}
384 inline HeadObjectResult& AddMetadata(const Aws::String& key, const Aws::String& value) { m_metadata.emplace(key, value); return *this; }
385 inline HeadObjectResult& AddMetadata(Aws::String&& key, const Aws::String& value) { m_metadata.emplace(std::move(key), value); return *this; }
386 inline HeadObjectResult& AddMetadata(const Aws::String& key, Aws::String&& value) { m_metadata.emplace(key, std::move(value)); return *this; }
387 inline HeadObjectResult& AddMetadata(Aws::String&& key, Aws::String&& value) { m_metadata.emplace(std::move(key), std::move(value)); return *this; }
388 inline HeadObjectResult& AddMetadata(const char* key, Aws::String&& value) { m_metadata.emplace(key, std::move(value)); return *this; }
389 inline HeadObjectResult& AddMetadata(Aws::String&& key, const char* value) { m_metadata.emplace(std::move(key), value); return *this; }
390 inline HeadObjectResult& AddMetadata(const char* key, const char* value) { m_metadata.emplace(key, value); return *this; }
392
394
400 inline const Aws::String& GetSSECustomerAlgorithm() const{ return m_sSECustomerAlgorithm; }
401 inline void SetSSECustomerAlgorithm(const Aws::String& value) { m_sSECustomerAlgorithm = value; }
402 inline void SetSSECustomerAlgorithm(Aws::String&& value) { m_sSECustomerAlgorithm = std::move(value); }
403 inline void SetSSECustomerAlgorithm(const char* value) { m_sSECustomerAlgorithm.assign(value); }
405 inline HeadObjectResult& WithSSECustomerAlgorithm(Aws::String&& value) { SetSSECustomerAlgorithm(std::move(value)); return *this;}
406 inline HeadObjectResult& WithSSECustomerAlgorithm(const char* value) { SetSSECustomerAlgorithm(value); return *this;}
408
410
416 inline const Aws::String& GetSSECustomerKeyMD5() const{ return m_sSECustomerKeyMD5; }
417 inline void SetSSECustomerKeyMD5(const Aws::String& value) { m_sSECustomerKeyMD5 = value; }
418 inline void SetSSECustomerKeyMD5(Aws::String&& value) { m_sSECustomerKeyMD5 = std::move(value); }
419 inline void SetSSECustomerKeyMD5(const char* value) { m_sSECustomerKeyMD5.assign(value); }
420 inline HeadObjectResult& WithSSECustomerKeyMD5(const Aws::String& value) { SetSSECustomerKeyMD5(value); return *this;}
421 inline HeadObjectResult& WithSSECustomerKeyMD5(Aws::String&& value) { SetSSECustomerKeyMD5(std::move(value)); return *this;}
422 inline HeadObjectResult& WithSSECustomerKeyMD5(const char* value) { SetSSECustomerKeyMD5(value); return *this;}
424
426
430 inline const Aws::String& GetSSEKMSKeyId() const{ return m_sSEKMSKeyId; }
431 inline void SetSSEKMSKeyId(const Aws::String& value) { m_sSEKMSKeyId = value; }
432 inline void SetSSEKMSKeyId(Aws::String&& value) { m_sSEKMSKeyId = std::move(value); }
433 inline void SetSSEKMSKeyId(const char* value) { m_sSEKMSKeyId.assign(value); }
434 inline HeadObjectResult& WithSSEKMSKeyId(const Aws::String& value) { SetSSEKMSKeyId(value); return *this;}
435 inline HeadObjectResult& WithSSEKMSKeyId(Aws::String&& value) { SetSSEKMSKeyId(std::move(value)); return *this;}
436 inline HeadObjectResult& WithSSEKMSKeyId(const char* value) { SetSSEKMSKeyId(value); return *this;}
438
440
444 inline bool GetBucketKeyEnabled() const{ return m_bucketKeyEnabled; }
445 inline void SetBucketKeyEnabled(bool value) { m_bucketKeyEnabled = value; }
446 inline HeadObjectResult& WithBucketKeyEnabled(bool value) { SetBucketKeyEnabled(value); return *this;}
448
450
459 inline const StorageClass& GetStorageClass() const{ return m_storageClass; }
460 inline void SetStorageClass(const StorageClass& value) { m_storageClass = value; }
461 inline void SetStorageClass(StorageClass&& value) { m_storageClass = std::move(value); }
462 inline HeadObjectResult& WithStorageClass(const StorageClass& value) { SetStorageClass(value); return *this;}
463 inline HeadObjectResult& WithStorageClass(StorageClass&& value) { SetStorageClass(std::move(value)); return *this;}
465
467
468 inline const RequestCharged& GetRequestCharged() const{ return m_requestCharged; }
469 inline void SetRequestCharged(const RequestCharged& value) { m_requestCharged = value; }
470 inline void SetRequestCharged(RequestCharged&& value) { m_requestCharged = std::move(value); }
471 inline HeadObjectResult& WithRequestCharged(const RequestCharged& value) { SetRequestCharged(value); return *this;}
472 inline HeadObjectResult& WithRequestCharged(RequestCharged&& value) { SetRequestCharged(std::move(value)); return *this;}
474
476
508 inline const ReplicationStatus& GetReplicationStatus() const{ return m_replicationStatus; }
509 inline void SetReplicationStatus(const ReplicationStatus& value) { m_replicationStatus = value; }
510 inline void SetReplicationStatus(ReplicationStatus&& value) { m_replicationStatus = std::move(value); }
512 inline HeadObjectResult& WithReplicationStatus(ReplicationStatus&& value) { SetReplicationStatus(std::move(value)); return *this;}
514
516
521 inline int GetPartsCount() const{ return m_partsCount; }
522 inline void SetPartsCount(int value) { m_partsCount = value; }
523 inline HeadObjectResult& WithPartsCount(int value) { SetPartsCount(value); return *this;}
525
527
535 inline const ObjectLockMode& GetObjectLockMode() const{ return m_objectLockMode; }
536 inline void SetObjectLockMode(const ObjectLockMode& value) { m_objectLockMode = value; }
537 inline void SetObjectLockMode(ObjectLockMode&& value) { m_objectLockMode = std::move(value); }
538 inline HeadObjectResult& WithObjectLockMode(const ObjectLockMode& value) { SetObjectLockMode(value); return *this;}
539 inline HeadObjectResult& WithObjectLockMode(ObjectLockMode&& value) { SetObjectLockMode(std::move(value)); return *this;}
541
543
549 inline const Aws::Utils::DateTime& GetObjectLockRetainUntilDate() const{ return m_objectLockRetainUntilDate; }
550 inline void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime& value) { m_objectLockRetainUntilDate = value; }
551 inline void SetObjectLockRetainUntilDate(Aws::Utils::DateTime&& value) { m_objectLockRetainUntilDate = std::move(value); }
555
557
567 inline const ObjectLockLegalHoldStatus& GetObjectLockLegalHoldStatus() const{ return m_objectLockLegalHoldStatus; }
568 inline void SetObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus& value) { m_objectLockLegalHoldStatus = value; }
569 inline void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus&& value) { m_objectLockLegalHoldStatus = std::move(value); }
573
575
578 inline const Aws::String& GetExpiresString() const{ return m_expiresString; }
579 inline void SetExpiresString(const Aws::String& value) { m_expiresString = value; }
580 inline void SetExpiresString(Aws::String&& value) { m_expiresString = std::move(value); }
581 inline void SetExpiresString(const char* value) { m_expiresString.assign(value); }
582 inline HeadObjectResult& WithExpiresString(const Aws::String& value) { SetExpiresString(value); return *this;}
583 inline HeadObjectResult& WithExpiresString(Aws::String&& value) { SetExpiresString(std::move(value)); return *this;}
584 inline HeadObjectResult& WithExpiresString(const char* value) { SetExpiresString(value); return *this;}
586
588
589 inline const Aws::String& GetRequestId() const{ return m_requestId; }
590 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
591 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
592 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
593 inline HeadObjectResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
594 inline HeadObjectResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
595 inline HeadObjectResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
597 private:
598
599 bool m_deleteMarker;
600
601 Aws::String m_acceptRanges;
602
603 Aws::String m_expiration;
604
605 Aws::String m_restore;
606
607 ArchiveStatus m_archiveStatus;
608
609 Aws::Utils::DateTime m_lastModified;
610
611 long long m_contentLength;
612
613 Aws::String m_checksumCRC32;
614
615 Aws::String m_checksumCRC32C;
616
617 Aws::String m_checksumSHA1;
618
619 Aws::String m_checksumSHA256;
620
621 Aws::String m_eTag;
622
623 int m_missingMeta;
624
625 Aws::String m_versionId;
626
627 Aws::String m_cacheControl;
628
629 Aws::String m_contentDisposition;
630
631 Aws::String m_contentEncoding;
632
633 Aws::String m_contentLanguage;
634
635 Aws::String m_contentType;
636
637 Aws::Utils::DateTime m_expires;
638
639 Aws::String m_websiteRedirectLocation;
640
641 ServerSideEncryption m_serverSideEncryption;
642
644
645 Aws::String m_sSECustomerAlgorithm;
646
647 Aws::String m_sSECustomerKeyMD5;
648
649 Aws::String m_sSEKMSKeyId;
650
651 bool m_bucketKeyEnabled;
652
653 StorageClass m_storageClass;
654
655 RequestCharged m_requestCharged;
656
657 ReplicationStatus m_replicationStatus;
658
659 int m_partsCount;
660
661 ObjectLockMode m_objectLockMode;
662
663 Aws::Utils::DateTime m_objectLockRetainUntilDate;
664
665 ObjectLockLegalHoldStatus m_objectLockLegalHoldStatus;
666
667 Aws::String m_expiresString;
668
669 Aws::String m_requestId;
670 };
671
672} // namespace Model
673} // namespace S3Crt
674} // namespace Aws
HeadObjectResult & WithBucketKeyEnabled(bool value)
HeadObjectResult & WithWebsiteRedirectLocation(const char *value)
HeadObjectResult & WithExpiresString(const Aws::String &value)
const Aws::String & GetContentLanguage() const
HeadObjectResult & WithChecksumCRC32(Aws::String &&value)
void SetExpires(const Aws::Utils::DateTime &value)
HeadObjectResult & WithServerSideEncryption(ServerSideEncryption &&value)
void SetServerSideEncryption(ServerSideEncryption &&value)
const Aws::String & GetContentDisposition() const
HeadObjectResult & WithRequestId(Aws::String &&value)
HeadObjectResult & WithObjectLockRetainUntilDate(const Aws::Utils::DateTime &value)
AWS_S3CRT_API HeadObjectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetChecksumSHA1(const Aws::String &value)
HeadObjectResult & WithExpiresString(Aws::String &&value)
HeadObjectResult & WithChecksumCRC32(const Aws::String &value)
HeadObjectResult & WithArchiveStatus(ArchiveStatus &&value)
void SetVersionId(Aws::String &&value)
HeadObjectResult & WithContentLanguage(const Aws::String &value)
void SetWebsiteRedirectLocation(const Aws::String &value)
void SetWebsiteRedirectLocation(Aws::String &&value)
HeadObjectResult & WithLastModified(Aws::Utils::DateTime &&value)
HeadObjectResult & WithExpiration(const char *value)
HeadObjectResult & WithRestore(const char *value)
HeadObjectResult & WithRequestCharged(RequestCharged &&value)
HeadObjectResult & WithObjectLockMode(ObjectLockMode &&value)
void SetSSEKMSKeyId(const Aws::String &value)
void SetContentEncoding(Aws::String &&value)
HeadObjectResult & WithWebsiteRedirectLocation(Aws::String &&value)
void SetWebsiteRedirectLocation(const char *value)
HeadObjectResult & WithChecksumSHA256(const char *value)
const Aws::String & GetChecksumSHA256() const
HeadObjectResult & WithChecksumSHA1(const Aws::String &value)
const Aws::Utils::DateTime & GetObjectLockRetainUntilDate() const
void SetContentType(Aws::String &&value)
void SetChecksumCRC32C(Aws::String &&value)
void SetReplicationStatus(ReplicationStatus &&value)
HeadObjectResult & WithExpiresString(const char *value)
void SetContentDisposition(const Aws::String &value)
const Aws::String & GetSSEKMSKeyId() const
HeadObjectResult & WithChecksumSHA256(const Aws::String &value)
const Aws::String & GetExpiration() const
HeadObjectResult & AddMetadata(Aws::String &&key, const Aws::String &value)
HeadObjectResult & WithRequestId(const Aws::String &value)
HeadObjectResult & WithAcceptRanges(Aws::String &&value)
HeadObjectResult & WithExpiration(const Aws::String &value)
HeadObjectResult & WithContentEncoding(Aws::String &&value)
HeadObjectResult & WithVersionId(const Aws::String &value)
const ReplicationStatus & GetReplicationStatus() const
HeadObjectResult & WithETag(const Aws::String &value)
const Aws::String & GetAcceptRanges() const
void SetContentLanguage(const char *value)
void SetExpiration(const char *value)
void SetLastModified(const Aws::Utils::DateTime &value)
HeadObjectResult & WithSSECustomerKeyMD5(const char *value)
HeadObjectResult & WithContentDisposition(const Aws::String &value)
const StorageClass & GetStorageClass() const
void SetRequestCharged(RequestCharged &&value)
HeadObjectResult & WithReplicationStatus(ReplicationStatus &&value)
HeadObjectResult & WithRequestCharged(const RequestCharged &value)
HeadObjectResult & WithContentType(const Aws::String &value)
HeadObjectResult & WithSSECustomerAlgorithm(const char *value)
HeadObjectResult & WithObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus &value)
void SetChecksumSHA256(Aws::String &&value)
void SetSSEKMSKeyId(const char *value)
void SetAcceptRanges(const Aws::String &value)
HeadObjectResult & WithCacheControl(Aws::String &&value)
HeadObjectResult & WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus &&value)
HeadObjectResult & WithSSECustomerKeyMD5(Aws::String &&value)
void SetRestore(Aws::String &&value)
const Aws::Utils::DateTime & GetExpires() const
HeadObjectResult & WithContentLength(long long value)
void SetChecksumSHA1(Aws::String &&value)
void SetExpiresString(const char *value)
void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime &value)
void SetChecksumCRC32(Aws::String &&value)
void SetETag(Aws::String &&value)
HeadObjectResult & WithContentType(Aws::String &&value)
HeadObjectResult & WithChecksumSHA1(Aws::String &&value)
const Aws::String & GetContentEncoding() const
HeadObjectResult & WithMissingMeta(int value)
void SetSSECustomerAlgorithm(Aws::String &&value)
void SetSSECustomerKeyMD5(const char *value)
const ArchiveStatus & GetArchiveStatus() const
void SetExpiresString(Aws::String &&value)
HeadObjectResult & WithRequestId(const char *value)
void SetChecksumSHA256(const Aws::String &value)
HeadObjectResult & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
HeadObjectResult & AddMetadata(const char *key, Aws::String &&value)
void SetChecksumSHA1(const char *value)
void SetChecksumCRC32(const char *value)
HeadObjectResult & WithObjectLockMode(const ObjectLockMode &value)
void SetContentEncoding(const char *value)
HeadObjectResult & WithExpires(Aws::Utils::DateTime &&value)
HeadObjectResult & AddMetadata(const char *key, const char *value)
HeadObjectResult & WithSSECustomerKeyMD5(const Aws::String &value)
HeadObjectResult & WithObjectLockRetainUntilDate(Aws::Utils::DateTime &&value)
HeadObjectResult & WithDeleteMarker(bool value)
HeadObjectResult & WithChecksumSHA256(Aws::String &&value)
const Aws::String & GetRequestId() const
HeadObjectResult & AddMetadata(Aws::String &&key, const char *value)
void SetRequestId(Aws::String &&value)
void SetLastModified(Aws::Utils::DateTime &&value)
HeadObjectResult & WithContentDisposition(Aws::String &&value)
void SetVersionId(const Aws::String &value)
HeadObjectResult & WithVersionId(Aws::String &&value)
const Aws::String & GetChecksumCRC32() const
void SetExpiration(const Aws::String &value)
void SetETag(const Aws::String &value)
void SetStorageClass(const StorageClass &value)
void SetChecksumSHA256(const char *value)
HeadObjectResult & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
HeadObjectResult & AddMetadata(const Aws::String &key, const Aws::String &value)
HeadObjectResult & WithStorageClass(const StorageClass &value)
HeadObjectResult & WithRestore(Aws::String &&value)
void SetObjectLockMode(ObjectLockMode &&value)
HeadObjectResult & WithContentDisposition(const char *value)
void SetContentEncoding(const Aws::String &value)
void SetAcceptRanges(Aws::String &&value)
HeadObjectResult & WithAcceptRanges(const char *value)
void SetExpiration(Aws::String &&value)
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
HeadObjectResult & WithSSEKMSKeyId(const char *value)
HeadObjectResult & WithCacheControl(const char *value)
HeadObjectResult & AddMetadata(Aws::String &&key, Aws::String &&value)
void SetRequestId(const Aws::String &value)
HeadObjectResult & WithVersionId(const char *value)
const Aws::String & GetSSECustomerKeyMD5() const
void SetReplicationStatus(const ReplicationStatus &value)
void SetContentType(const Aws::String &value)
HeadObjectResult & WithChecksumCRC32C(const char *value)
void SetArchiveStatus(ArchiveStatus &&value)
const ObjectLockLegalHoldStatus & GetObjectLockLegalHoldStatus() const
const ServerSideEncryption & GetServerSideEncryption() const
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
HeadObjectResult & WithChecksumCRC32C(Aws::String &&value)
HeadObjectResult & WithPartsCount(int value)
void SetCacheControl(const char *value)
HeadObjectResult & WithSSEKMSKeyId(Aws::String &&value)
const Aws::String & GetChecksumSHA1() const
HeadObjectResult & WithSSEKMSKeyId(const Aws::String &value)
HeadObjectResult & WithETag(const char *value)
const Aws::String & GetExpiresString() const
HeadObjectResult & WithCacheControl(const Aws::String &value)
HeadObjectResult & WithExpires(const Aws::Utils::DateTime &value)
void SetCacheControl(const Aws::String &value)
HeadObjectResult & WithContentEncoding(const char *value)
HeadObjectResult & WithReplicationStatus(const ReplicationStatus &value)
const Aws::String & GetCacheControl() const
void SetRestore(const Aws::String &value)
void SetContentLanguage(Aws::String &&value)
void SetContentDisposition(Aws::String &&value)
AWS_S3CRT_API HeadObjectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetStorageClass(StorageClass &&value)
void SetSSECustomerKeyMD5(Aws::String &&value)
void SetExpires(Aws::Utils::DateTime &&value)
HeadObjectResult & WithContentLanguage(const char *value)
void SetArchiveStatus(const ArchiveStatus &value)
void SetExpiresString(const Aws::String &value)
HeadObjectResult & WithChecksumSHA1(const char *value)
const Aws::String & GetSSECustomerAlgorithm() const
void SetChecksumCRC32C(const Aws::String &value)
HeadObjectResult & WithAcceptRanges(const Aws::String &value)
const Aws::String & GetETag() const
void SetObjectLockMode(const ObjectLockMode &value)
const Aws::Utils::DateTime & GetLastModified() const
const Aws::String & GetRestore() const
HeadObjectResult & WithChecksumCRC32(const char *value)
void SetAcceptRanges(const char *value)
HeadObjectResult & WithArchiveStatus(const ArchiveStatus &value)
HeadObjectResult & WithContentLanguage(Aws::String &&value)
void SetChecksumCRC32(const Aws::String &value)
const Aws::String & GetWebsiteRedirectLocation() const
void SetContentLanguage(const Aws::String &value)
const Aws::String & GetContentType() const
HeadObjectResult & WithContentType(const char *value)
void SetObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus &value)
void SetObjectLockRetainUntilDate(Aws::Utils::DateTime &&value)
HeadObjectResult & WithChecksumCRC32C(const Aws::String &value)
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
void SetCacheControl(Aws::String &&value)
const RequestCharged & GetRequestCharged() const
HeadObjectResult & WithStorageClass(StorageClass &&value)
const Aws::String & GetChecksumCRC32C() const
const Aws::String & GetVersionId() const
void SetRequestCharged(const RequestCharged &value)
void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus &&value)
HeadObjectResult & WithETag(Aws::String &&value)
HeadObjectResult & WithSSECustomerAlgorithm(const Aws::String &value)
HeadObjectResult & WithLastModified(const Aws::Utils::DateTime &value)
void SetContentType(const char *value)
HeadObjectResult & WithWebsiteRedirectLocation(const Aws::String &value)
void SetSSECustomerAlgorithm(const char *value)
const ObjectLockMode & GetObjectLockMode() const
HeadObjectResult & AddMetadata(const Aws::String &key, Aws::String &&value)
HeadObjectResult & WithServerSideEncryption(const ServerSideEncryption &value)
void SetSSEKMSKeyId(Aws::String &&value)
HeadObjectResult & WithRestore(const Aws::String &value)
void SetContentDisposition(const char *value)
void SetServerSideEncryption(const ServerSideEncryption &value)
HeadObjectResult & WithContentEncoding(const Aws::String &value)
HeadObjectResult & WithSSECustomerAlgorithm(Aws::String &&value)
HeadObjectResult & WithExpiration(Aws::String &&value)
void SetSSECustomerKeyMD5(const Aws::String &value)
void SetSSECustomerAlgorithm(const Aws::String &value)
void SetChecksumCRC32C(const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument