AWS SDK for C++

AWS SDK for C++ Version 1.11.784

Loading...
Searching...
No Matches
HeadObjectResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/s3-crt/S3Crt_EXPORTS.h>
12#include <aws/s3-crt/model/ArchiveStatus.h>
13#include <aws/s3-crt/model/ChecksumType.h>
14#include <aws/s3-crt/model/ObjectLockLegalHoldStatus.h>
15#include <aws/s3-crt/model/ObjectLockMode.h>
16#include <aws/s3-crt/model/ReplicationStatus.h>
17#include <aws/s3-crt/model/RequestCharged.h>
18#include <aws/s3-crt/model/ServerSideEncryption.h>
19#include <aws/s3-crt/model/StorageClass.h>
20
21#include <utility>
22
23namespace Aws {
24template <typename RESULT_TYPE>
25class AmazonWebServiceResult;
26
27namespace Utils {
28namespace Xml {
29class XmlDocument;
30} // namespace Xml
31} // namespace Utils
32namespace S3Crt {
33namespace Model {
35 public:
36 AWS_S3CRT_API HeadObjectResult() = default;
39
41
46 inline bool GetDeleteMarker() const { return m_deleteMarker; }
47 inline void SetDeleteMarker(bool value) {
48 m_deleteMarkerHasBeenSet = true;
49 m_deleteMarker = value;
50 }
51 inline HeadObjectResult& WithDeleteMarker(bool value) {
52 SetDeleteMarker(value);
53 return *this;
54 }
56
58
61 inline const Aws::String& GetAcceptRanges() const { return m_acceptRanges; }
62 template <typename AcceptRangesT = Aws::String>
63 void SetAcceptRanges(AcceptRangesT&& value) {
64 m_acceptRangesHasBeenSet = true;
65 m_acceptRanges = std::forward<AcceptRangesT>(value);
66 }
67 template <typename AcceptRangesT = Aws::String>
68 HeadObjectResult& WithAcceptRanges(AcceptRangesT&& value) {
69 SetAcceptRanges(std::forward<AcceptRangesT>(value));
70 return *this;
71 }
73
75
86 inline const Aws::String& GetExpiration() const { return m_expiration; }
87 template <typename ExpirationT = Aws::String>
88 void SetExpiration(ExpirationT&& value) {
89 m_expirationHasBeenSet = true;
90 m_expiration = std::forward<ExpirationT>(value);
91 }
92 template <typename ExpirationT = Aws::String>
93 HeadObjectResult& WithExpiration(ExpirationT&& value) {
94 SetExpiration(std::forward<ExpirationT>(value));
95 return *this;
96 }
98
100
119 inline const Aws::String& GetRestore() const { return m_restore; }
120 template <typename RestoreT = Aws::String>
121 void SetRestore(RestoreT&& value) {
122 m_restoreHasBeenSet = true;
123 m_restore = std::forward<RestoreT>(value);
124 }
125 template <typename RestoreT = Aws::String>
126 HeadObjectResult& WithRestore(RestoreT&& value) {
127 SetRestore(std::forward<RestoreT>(value));
128 return *this;
129 }
131
133
137 inline ArchiveStatus GetArchiveStatus() const { return m_archiveStatus; }
138 inline void SetArchiveStatus(ArchiveStatus value) {
139 m_archiveStatusHasBeenSet = true;
140 m_archiveStatus = value;
141 }
143 SetArchiveStatus(value);
144 return *this;
145 }
147
149
152 inline const Aws::Utils::DateTime& GetLastModified() const { return m_lastModified; }
153 template <typename LastModifiedT = Aws::Utils::DateTime>
154 void SetLastModified(LastModifiedT&& value) {
155 m_lastModifiedHasBeenSet = true;
156 m_lastModified = std::forward<LastModifiedT>(value);
157 }
158 template <typename LastModifiedT = Aws::Utils::DateTime>
159 HeadObjectResult& WithLastModified(LastModifiedT&& value) {
160 SetLastModified(std::forward<LastModifiedT>(value));
161 return *this;
162 }
164
166
169 inline long long GetContentLength() const { return m_contentLength; }
170 inline void SetContentLength(long long value) {
171 m_contentLengthHasBeenSet = true;
172 m_contentLength = value;
173 }
174 inline HeadObjectResult& WithContentLength(long long value) {
175 SetContentLength(value);
176 return *this;
177 }
179
181
191 inline const Aws::String& GetChecksumCRC32() const { return m_checksumCRC32; }
192 template <typename ChecksumCRC32T = Aws::String>
193 void SetChecksumCRC32(ChecksumCRC32T&& value) {
194 m_checksumCRC32HasBeenSet = true;
195 m_checksumCRC32 = std::forward<ChecksumCRC32T>(value);
196 }
197 template <typename ChecksumCRC32T = Aws::String>
198 HeadObjectResult& WithChecksumCRC32(ChecksumCRC32T&& value) {
199 SetChecksumCRC32(std::forward<ChecksumCRC32T>(value));
200 return *this;
201 }
203
205
215 inline const Aws::String& GetChecksumCRC32C() const { return m_checksumCRC32C; }
216 template <typename ChecksumCRC32CT = Aws::String>
217 void SetChecksumCRC32C(ChecksumCRC32CT&& value) {
218 m_checksumCRC32CHasBeenSet = true;
219 m_checksumCRC32C = std::forward<ChecksumCRC32CT>(value);
220 }
221 template <typename ChecksumCRC32CT = Aws::String>
222 HeadObjectResult& WithChecksumCRC32C(ChecksumCRC32CT&& value) {
223 SetChecksumCRC32C(std::forward<ChecksumCRC32CT>(value));
224 return *this;
225 }
227
229
235 inline const Aws::String& GetChecksumCRC64NVME() const { return m_checksumCRC64NVME; }
236 template <typename ChecksumCRC64NVMET = Aws::String>
237 void SetChecksumCRC64NVME(ChecksumCRC64NVMET&& value) {
238 m_checksumCRC64NVMEHasBeenSet = true;
239 m_checksumCRC64NVME = std::forward<ChecksumCRC64NVMET>(value);
240 }
241 template <typename ChecksumCRC64NVMET = Aws::String>
242 HeadObjectResult& WithChecksumCRC64NVME(ChecksumCRC64NVMET&& value) {
243 SetChecksumCRC64NVME(std::forward<ChecksumCRC64NVMET>(value));
244 return *this;
245 }
247
249
259 inline const Aws::String& GetChecksumSHA1() const { return m_checksumSHA1; }
260 template <typename ChecksumSHA1T = Aws::String>
261 void SetChecksumSHA1(ChecksumSHA1T&& value) {
262 m_checksumSHA1HasBeenSet = true;
263 m_checksumSHA1 = std::forward<ChecksumSHA1T>(value);
264 }
265 template <typename ChecksumSHA1T = Aws::String>
266 HeadObjectResult& WithChecksumSHA1(ChecksumSHA1T&& value) {
267 SetChecksumSHA1(std::forward<ChecksumSHA1T>(value));
268 return *this;
269 }
271
273
283 inline const Aws::String& GetChecksumSHA256() const { return m_checksumSHA256; }
284 template <typename ChecksumSHA256T = Aws::String>
285 void SetChecksumSHA256(ChecksumSHA256T&& value) {
286 m_checksumSHA256HasBeenSet = true;
287 m_checksumSHA256 = std::forward<ChecksumSHA256T>(value);
288 }
289 template <typename ChecksumSHA256T = Aws::String>
290 HeadObjectResult& WithChecksumSHA256(ChecksumSHA256T&& value) {
291 SetChecksumSHA256(std::forward<ChecksumSHA256T>(value));
292 return *this;
293 }
295
297
306 inline ChecksumType GetChecksumType() const { return m_checksumType; }
307 inline void SetChecksumType(ChecksumType value) {
308 m_checksumTypeHasBeenSet = true;
309 m_checksumType = value;
310 }
312 SetChecksumType(value);
313 return *this;
314 }
316
318
322 inline const Aws::String& GetETag() const { return m_eTag; }
323 template <typename ETagT = Aws::String>
324 void SetETag(ETagT&& value) {
325 m_eTagHasBeenSet = true;
326 m_eTag = std::forward<ETagT>(value);
327 }
328 template <typename ETagT = Aws::String>
329 HeadObjectResult& WithETag(ETagT&& value) {
330 SetETag(std::forward<ETagT>(value));
331 return *this;
332 }
334
336
344 inline int GetMissingMeta() const { return m_missingMeta; }
345 inline void SetMissingMeta(int value) {
346 m_missingMetaHasBeenSet = true;
347 m_missingMeta = value;
348 }
350 SetMissingMeta(value);
351 return *this;
352 }
354
356
360 inline const Aws::String& GetVersionId() const { return m_versionId; }
361 template <typename VersionIdT = Aws::String>
362 void SetVersionId(VersionIdT&& value) {
363 m_versionIdHasBeenSet = true;
364 m_versionId = std::forward<VersionIdT>(value);
365 }
366 template <typename VersionIdT = Aws::String>
367 HeadObjectResult& WithVersionId(VersionIdT&& value) {
368 SetVersionId(std::forward<VersionIdT>(value));
369 return *this;
370 }
372
374
377 inline const Aws::String& GetCacheControl() const { return m_cacheControl; }
378 template <typename CacheControlT = Aws::String>
379 void SetCacheControl(CacheControlT&& value) {
380 m_cacheControlHasBeenSet = true;
381 m_cacheControl = std::forward<CacheControlT>(value);
382 }
383 template <typename CacheControlT = Aws::String>
384 HeadObjectResult& WithCacheControl(CacheControlT&& value) {
385 SetCacheControl(std::forward<CacheControlT>(value));
386 return *this;
387 }
389
391
394 inline const Aws::String& GetContentDisposition() const { return m_contentDisposition; }
395 template <typename ContentDispositionT = Aws::String>
396 void SetContentDisposition(ContentDispositionT&& value) {
397 m_contentDispositionHasBeenSet = true;
398 m_contentDisposition = std::forward<ContentDispositionT>(value);
399 }
400 template <typename ContentDispositionT = Aws::String>
401 HeadObjectResult& WithContentDisposition(ContentDispositionT&& value) {
402 SetContentDisposition(std::forward<ContentDispositionT>(value));
403 return *this;
404 }
406
408
413 inline const Aws::String& GetContentEncoding() const { return m_contentEncoding; }
414 template <typename ContentEncodingT = Aws::String>
415 void SetContentEncoding(ContentEncodingT&& value) {
416 m_contentEncodingHasBeenSet = true;
417 m_contentEncoding = std::forward<ContentEncodingT>(value);
418 }
419 template <typename ContentEncodingT = Aws::String>
420 HeadObjectResult& WithContentEncoding(ContentEncodingT&& value) {
421 SetContentEncoding(std::forward<ContentEncodingT>(value));
422 return *this;
423 }
425
427
430 inline const Aws::String& GetContentLanguage() const { return m_contentLanguage; }
431 template <typename ContentLanguageT = Aws::String>
432 void SetContentLanguage(ContentLanguageT&& value) {
433 m_contentLanguageHasBeenSet = true;
434 m_contentLanguage = std::forward<ContentLanguageT>(value);
435 }
436 template <typename ContentLanguageT = Aws::String>
437 HeadObjectResult& WithContentLanguage(ContentLanguageT&& value) {
438 SetContentLanguage(std::forward<ContentLanguageT>(value));
439 return *this;
440 }
442
444
447 inline const Aws::String& GetContentType() const { return m_contentType; }
448 template <typename ContentTypeT = Aws::String>
449 void SetContentType(ContentTypeT&& value) {
450 m_contentTypeHasBeenSet = true;
451 m_contentType = std::forward<ContentTypeT>(value);
452 }
453 template <typename ContentTypeT = Aws::String>
454 HeadObjectResult& WithContentType(ContentTypeT&& value) {
455 SetContentType(std::forward<ContentTypeT>(value));
456 return *this;
457 }
459
461
465 inline const Aws::String& GetContentRange() const { return m_contentRange; }
466 template <typename ContentRangeT = Aws::String>
467 void SetContentRange(ContentRangeT&& value) {
468 m_contentRangeHasBeenSet = true;
469 m_contentRange = std::forward<ContentRangeT>(value);
470 }
471 template <typename ContentRangeT = Aws::String>
472 HeadObjectResult& WithContentRange(ContentRangeT&& value) {
473 SetContentRange(std::forward<ContentRangeT>(value));
474 return *this;
475 }
477
479
482 inline const Aws::Utils::DateTime& GetExpires() const { return m_expires; }
483 template <typename ExpiresT = Aws::Utils::DateTime>
484 void SetExpires(ExpiresT&& value) {
485 m_expiresHasBeenSet = true;
486 m_expires = std::forward<ExpiresT>(value);
487 }
488 template <typename ExpiresT = Aws::Utils::DateTime>
489 HeadObjectResult& WithExpires(ExpiresT&& value) {
490 SetExpires(std::forward<ExpiresT>(value));
491 return *this;
492 }
494
496
502 inline const Aws::String& GetWebsiteRedirectLocation() const { return m_websiteRedirectLocation; }
503 template <typename WebsiteRedirectLocationT = Aws::String>
504 void SetWebsiteRedirectLocation(WebsiteRedirectLocationT&& value) {
505 m_websiteRedirectLocationHasBeenSet = true;
506 m_websiteRedirectLocation = std::forward<WebsiteRedirectLocationT>(value);
507 }
508 template <typename WebsiteRedirectLocationT = Aws::String>
509 HeadObjectResult& WithWebsiteRedirectLocation(WebsiteRedirectLocationT&& value) {
510 SetWebsiteRedirectLocation(std::forward<WebsiteRedirectLocationT>(value));
511 return *this;
512 }
514
516
522 inline ServerSideEncryption GetServerSideEncryption() const { return m_serverSideEncryption; }
524 m_serverSideEncryptionHasBeenSet = true;
525 m_serverSideEncryption = value;
526 }
529 return *this;
530 }
532
534
537 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const { return m_metadata; }
538 template <typename MetadataT = Aws::Map<Aws::String, Aws::String>>
539 void SetMetadata(MetadataT&& value) {
540 m_metadataHasBeenSet = true;
541 m_metadata = std::forward<MetadataT>(value);
542 }
543 template <typename MetadataT = Aws::Map<Aws::String, Aws::String>>
544 HeadObjectResult& WithMetadata(MetadataT&& value) {
545 SetMetadata(std::forward<MetadataT>(value));
546 return *this;
547 }
548 template <typename MetadataKeyT = Aws::String, typename MetadataValueT = Aws::String>
549 HeadObjectResult& AddMetadata(MetadataKeyT&& key, MetadataValueT&& value) {
550 m_metadataHasBeenSet = true;
551 m_metadata.emplace(std::forward<MetadataKeyT>(key), std::forward<MetadataValueT>(value));
552 return *this;
553 }
555
557
563 inline const Aws::String& GetSSECustomerAlgorithm() const { return m_sSECustomerAlgorithm; }
564 template <typename SSECustomerAlgorithmT = Aws::String>
565 void SetSSECustomerAlgorithm(SSECustomerAlgorithmT&& value) {
566 m_sSECustomerAlgorithmHasBeenSet = true;
567 m_sSECustomerAlgorithm = std::forward<SSECustomerAlgorithmT>(value);
568 }
569 template <typename SSECustomerAlgorithmT = Aws::String>
570 HeadObjectResult& WithSSECustomerAlgorithm(SSECustomerAlgorithmT&& value) {
571 SetSSECustomerAlgorithm(std::forward<SSECustomerAlgorithmT>(value));
572 return *this;
573 }
575
577
583 inline const Aws::String& GetSSECustomerKeyMD5() const { return m_sSECustomerKeyMD5; }
584 template <typename SSECustomerKeyMD5T = Aws::String>
585 void SetSSECustomerKeyMD5(SSECustomerKeyMD5T&& value) {
586 m_sSECustomerKeyMD5HasBeenSet = true;
587 m_sSECustomerKeyMD5 = std::forward<SSECustomerKeyMD5T>(value);
588 }
589 template <typename SSECustomerKeyMD5T = Aws::String>
590 HeadObjectResult& WithSSECustomerKeyMD5(SSECustomerKeyMD5T&& value) {
591 SetSSECustomerKeyMD5(std::forward<SSECustomerKeyMD5T>(value));
592 return *this;
593 }
595
597
601 inline const Aws::String& GetSSEKMSKeyId() const { return m_sSEKMSKeyId; }
602 template <typename SSEKMSKeyIdT = Aws::String>
603 void SetSSEKMSKeyId(SSEKMSKeyIdT&& value) {
604 m_sSEKMSKeyIdHasBeenSet = true;
605 m_sSEKMSKeyId = std::forward<SSEKMSKeyIdT>(value);
606 }
607 template <typename SSEKMSKeyIdT = Aws::String>
608 HeadObjectResult& WithSSEKMSKeyId(SSEKMSKeyIdT&& value) {
609 SetSSEKMSKeyId(std::forward<SSEKMSKeyIdT>(value));
610 return *this;
611 }
613
615
619 inline bool GetBucketKeyEnabled() const { return m_bucketKeyEnabled; }
620 inline void SetBucketKeyEnabled(bool value) {
621 m_bucketKeyEnabledHasBeenSet = true;
622 m_bucketKeyEnabled = value;
623 }
625 SetBucketKeyEnabled(value);
626 return *this;
627 }
629
631
641 inline StorageClass GetStorageClass() const { return m_storageClass; }
642 inline void SetStorageClass(StorageClass value) {
643 m_storageClassHasBeenSet = true;
644 m_storageClass = value;
645 }
647 SetStorageClass(value);
648 return *this;
649 }
651
653
654 inline RequestCharged GetRequestCharged() const { return m_requestCharged; }
656 m_requestChargedHasBeenSet = true;
657 m_requestCharged = value;
658 }
660 SetRequestCharged(value);
661 return *this;
662 }
664
666
698 inline ReplicationStatus GetReplicationStatus() const { return m_replicationStatus; }
700 m_replicationStatusHasBeenSet = true;
701 m_replicationStatus = value;
702 }
705 return *this;
706 }
708
710
715 inline int GetPartsCount() const { return m_partsCount; }
716 inline void SetPartsCount(int value) {
717 m_partsCountHasBeenSet = true;
718 m_partsCount = value;
719 }
720 inline HeadObjectResult& WithPartsCount(int value) {
721 SetPartsCount(value);
722 return *this;
723 }
725
727
734 inline int GetTagCount() const { return m_tagCount; }
735 inline void SetTagCount(int value) {
736 m_tagCountHasBeenSet = true;
737 m_tagCount = value;
738 }
739 inline HeadObjectResult& WithTagCount(int value) {
740 SetTagCount(value);
741 return *this;
742 }
744
746
754 inline ObjectLockMode GetObjectLockMode() const { return m_objectLockMode; }
756 m_objectLockModeHasBeenSet = true;
757 m_objectLockMode = value;
758 }
760 SetObjectLockMode(value);
761 return *this;
762 }
764
766
772 inline const Aws::Utils::DateTime& GetObjectLockRetainUntilDate() const { return m_objectLockRetainUntilDate; }
773 template <typename ObjectLockRetainUntilDateT = Aws::Utils::DateTime>
774 void SetObjectLockRetainUntilDate(ObjectLockRetainUntilDateT&& value) {
775 m_objectLockRetainUntilDateHasBeenSet = true;
776 m_objectLockRetainUntilDate = std::forward<ObjectLockRetainUntilDateT>(value);
777 }
778 template <typename ObjectLockRetainUntilDateT = Aws::Utils::DateTime>
779 HeadObjectResult& WithObjectLockRetainUntilDate(ObjectLockRetainUntilDateT&& value) {
780 SetObjectLockRetainUntilDate(std::forward<ObjectLockRetainUntilDateT>(value));
781 return *this;
782 }
784
786
796 inline ObjectLockLegalHoldStatus GetObjectLockLegalHoldStatus() const { return m_objectLockLegalHoldStatus; }
798 m_objectLockLegalHoldStatusHasBeenSet = true;
799 m_objectLockLegalHoldStatus = value;
800 }
803 return *this;
804 }
806
808
811 inline const Aws::String& GetExpiresString() const { return m_expiresString; }
812 template <typename ExpiresStringT = Aws::String>
813 void SetExpiresString(ExpiresStringT&& value) {
814 m_expiresStringHasBeenSet = true;
815 m_expiresString = std::forward<ExpiresStringT>(value);
816 }
817 template <typename ExpiresStringT = Aws::String>
818 HeadObjectResult& WithExpiresString(ExpiresStringT&& value) {
819 SetExpiresString(std::forward<ExpiresStringT>(value));
820 return *this;
821 }
823
825
826 inline const Aws::String& GetRequestId() const { return m_requestId; }
827 template <typename RequestIdT = Aws::String>
828 void SetRequestId(RequestIdT&& value) {
829 m_requestIdHasBeenSet = true;
830 m_requestId = std::forward<RequestIdT>(value);
831 }
832 template <typename RequestIdT = Aws::String>
833 HeadObjectResult& WithRequestId(RequestIdT&& value) {
834 SetRequestId(std::forward<RequestIdT>(value));
835 return *this;
836 }
838 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
839
840 private:
841 bool m_deleteMarker{false};
842
843 Aws::String m_acceptRanges;
844
845 Aws::String m_expiration;
846
847 Aws::String m_restore;
848
849 ArchiveStatus m_archiveStatus{ArchiveStatus::NOT_SET};
850
851 Aws::Utils::DateTime m_lastModified{};
852
853 long long m_contentLength{0};
854
855 Aws::String m_checksumCRC32;
856
857 Aws::String m_checksumCRC32C;
858
859 Aws::String m_checksumCRC64NVME;
860
861 Aws::String m_checksumSHA1;
862
863 Aws::String m_checksumSHA256;
864
865 ChecksumType m_checksumType{ChecksumType::NOT_SET};
866
867 Aws::String m_eTag;
868
869 int m_missingMeta{0};
870
871 Aws::String m_versionId;
872
873 Aws::String m_cacheControl;
874
875 Aws::String m_contentDisposition;
876
877 Aws::String m_contentEncoding;
878
879 Aws::String m_contentLanguage;
880
881 Aws::String m_contentType;
882
883 Aws::String m_contentRange;
884
885 Aws::Utils::DateTime m_expires{};
886
887 Aws::String m_websiteRedirectLocation;
888
890
892
893 Aws::String m_sSECustomerAlgorithm;
894
895 Aws::String m_sSECustomerKeyMD5;
896
897 Aws::String m_sSEKMSKeyId;
898
899 bool m_bucketKeyEnabled{false};
900
901 StorageClass m_storageClass{StorageClass::NOT_SET};
902
903 RequestCharged m_requestCharged{RequestCharged::NOT_SET};
904
906
907 int m_partsCount{0};
908
909 int m_tagCount{0};
910
911 ObjectLockMode m_objectLockMode{ObjectLockMode::NOT_SET};
912
913 Aws::Utils::DateTime m_objectLockRetainUntilDate{};
914
916
917 Aws::String m_expiresString;
918
919 Aws::String m_requestId;
920 Aws::Http::HttpResponseCode m_HttpResponseCode;
921 bool m_deleteMarkerHasBeenSet = false;
922 bool m_acceptRangesHasBeenSet = false;
923 bool m_expirationHasBeenSet = false;
924 bool m_restoreHasBeenSet = false;
925 bool m_archiveStatusHasBeenSet = false;
926 bool m_lastModifiedHasBeenSet = false;
927 bool m_contentLengthHasBeenSet = false;
928 bool m_checksumCRC32HasBeenSet = false;
929 bool m_checksumCRC32CHasBeenSet = false;
930 bool m_checksumCRC64NVMEHasBeenSet = false;
931 bool m_checksumSHA1HasBeenSet = false;
932 bool m_checksumSHA256HasBeenSet = false;
933 bool m_checksumTypeHasBeenSet = false;
934 bool m_eTagHasBeenSet = false;
935 bool m_missingMetaHasBeenSet = false;
936 bool m_versionIdHasBeenSet = false;
937 bool m_cacheControlHasBeenSet = false;
938 bool m_contentDispositionHasBeenSet = false;
939 bool m_contentEncodingHasBeenSet = false;
940 bool m_contentLanguageHasBeenSet = false;
941 bool m_contentTypeHasBeenSet = false;
942 bool m_contentRangeHasBeenSet = false;
943 bool m_expiresHasBeenSet = false;
944 bool m_websiteRedirectLocationHasBeenSet = false;
945 bool m_serverSideEncryptionHasBeenSet = false;
946 bool m_metadataHasBeenSet = false;
947 bool m_sSECustomerAlgorithmHasBeenSet = false;
948 bool m_sSECustomerKeyMD5HasBeenSet = false;
949 bool m_sSEKMSKeyIdHasBeenSet = false;
950 bool m_bucketKeyEnabledHasBeenSet = false;
951 bool m_storageClassHasBeenSet = false;
952 bool m_requestChargedHasBeenSet = false;
953 bool m_replicationStatusHasBeenSet = false;
954 bool m_partsCountHasBeenSet = false;
955 bool m_tagCountHasBeenSet = false;
956 bool m_objectLockModeHasBeenSet = false;
957 bool m_objectLockRetainUntilDateHasBeenSet = false;
958 bool m_objectLockLegalHoldStatusHasBeenSet = false;
959 bool m_expiresStringHasBeenSet = false;
960 bool m_requestIdHasBeenSet = false;
961};
962
963} // namespace Model
964} // namespace S3Crt
965} // namespace Aws
HeadObjectResult & WithBucketKeyEnabled(bool value)
void SetContentLanguage(ContentLanguageT &&value)
void SetChecksumCRC32C(ChecksumCRC32CT &&value)
HeadObjectResult & WithSSEKMSKeyId(SSEKMSKeyIdT &&value)
HeadObjectResult & WithSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
const Aws::String & GetContentLanguage() const
const Aws::String & GetChecksumCRC64NVME() const
void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus value)
const Aws::String & GetContentDisposition() const
void SetChecksumCRC64NVME(ChecksumCRC64NVMET &&value)
HeadObjectResult & WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus value)
AWS_S3CRT_API HeadObjectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetArchiveStatus(ArchiveStatus value)
void SetContentDisposition(ContentDispositionT &&value)
HeadObjectResult & WithServerSideEncryption(ServerSideEncryption value)
const Aws::String & GetChecksumSHA256() const
ReplicationStatus GetReplicationStatus() const
const Aws::Utils::DateTime & GetObjectLockRetainUntilDate() const
HeadObjectResult & WithAcceptRanges(AcceptRangesT &&value)
const Aws::String & GetSSEKMSKeyId() const
HeadObjectResult & AddMetadata(MetadataKeyT &&key, MetadataValueT &&value)
const Aws::String & GetExpiration() const
HeadObjectResult & WithChecksumSHA1(ChecksumSHA1T &&value)
HeadObjectResult & WithExpiration(ExpirationT &&value)
HeadObjectResult & WithStorageClass(StorageClass value)
const Aws::String & GetAcceptRanges() const
HeadObjectResult & WithLastModified(LastModifiedT &&value)
void SetAcceptRanges(AcceptRangesT &&value)
HeadObjectResult & WithChecksumCRC32(ChecksumCRC32T &&value)
void SetStorageClass(StorageClass value)
HeadObjectResult & WithChecksumCRC32C(ChecksumCRC32CT &&value)
const Aws::Utils::DateTime & GetExpires() const
HeadObjectResult & WithContentLength(long long value)
void SetExpiration(ExpirationT &&value)
void SetRequestCharged(RequestCharged value)
void SetChecksumType(ChecksumType value)
void SetSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
void SetChecksumCRC32(ChecksumCRC32T &&value)
const Aws::String & GetContentEncoding() const
HeadObjectResult & WithMissingMeta(int value)
RequestCharged GetRequestCharged() const
HeadObjectResult & WithVersionId(VersionIdT &&value)
void SetContentRange(ContentRangeT &&value)
HeadObjectResult & WithRequestCharged(RequestCharged value)
void SetContentType(ContentTypeT &&value)
void SetContentEncoding(ContentEncodingT &&value)
HeadObjectResult & WithReplicationStatus(ReplicationStatus value)
HeadObjectResult & WithDeleteMarker(bool value)
void SetSSEKMSKeyId(SSEKMSKeyIdT &&value)
const Aws::String & GetRequestId() const
HeadObjectResult & WithExpires(ExpiresT &&value)
HeadObjectResult & WithArchiveStatus(ArchiveStatus value)
const Aws::String & GetChecksumCRC32() const
void SetLastModified(LastModifiedT &&value)
HeadObjectResult & WithContentLanguage(ContentLanguageT &&value)
void SetReplicationStatus(ReplicationStatus value)
HeadObjectResult & WithObjectLockMode(ObjectLockMode value)
HeadObjectResult & WithWebsiteRedirectLocation(WebsiteRedirectLocationT &&value)
HeadObjectResult & WithRequestId(RequestIdT &&value)
void SetCacheControl(CacheControlT &&value)
const Aws::String & GetSSECustomerKeyMD5() const
HeadObjectResult & WithChecksumSHA256(ChecksumSHA256T &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetWebsiteRedirectLocation(WebsiteRedirectLocationT &&value)
HeadObjectResult & WithExpiresString(ExpiresStringT &&value)
ServerSideEncryption GetServerSideEncryption() const
HeadObjectResult & WithChecksumType(ChecksumType value)
HeadObjectResult & WithContentRange(ContentRangeT &&value)
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
HeadObjectResult & WithCacheControl(CacheControlT &&value)
HeadObjectResult & WithSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
const Aws::String & GetContentRange() const
HeadObjectResult & WithPartsCount(int value)
void SetVersionId(VersionIdT &&value)
const Aws::String & GetChecksumSHA1() const
const Aws::String & GetExpiresString() const
HeadObjectResult & WithTagCount(int value)
ObjectLockMode GetObjectLockMode() const
const Aws::String & GetCacheControl() const
AWS_S3CRT_API HeadObjectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetChecksumSHA256(ChecksumSHA256T &&value)
AWS_S3CRT_API HeadObjectResult()=default
HeadObjectResult & WithChecksumCRC64NVME(ChecksumCRC64NVMET &&value)
HeadObjectResult & WithMetadata(MetadataT &&value)
const Aws::String & GetSSECustomerAlgorithm() const
const Aws::String & GetETag() const
void SetObjectLockRetainUntilDate(ObjectLockRetainUntilDateT &&value)
const Aws::Utils::DateTime & GetLastModified() const
void SetChecksumSHA1(ChecksumSHA1T &&value)
const Aws::String & GetRestore() const
HeadObjectResult & WithContentType(ContentTypeT &&value)
HeadObjectResult & WithETag(ETagT &&value)
void SetRequestId(RequestIdT &&value)
void SetSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
HeadObjectResult & WithObjectLockRetainUntilDate(ObjectLockRetainUntilDateT &&value)
HeadObjectResult & WithContentDisposition(ContentDispositionT &&value)
const Aws::String & GetWebsiteRedirectLocation() const
const Aws::String & GetContentType() const
const Aws::String & GetChecksumCRC32C() const
void SetServerSideEncryption(ServerSideEncryption value)
const Aws::String & GetVersionId() const
void SetExpiresString(ExpiresStringT &&value)
ObjectLockLegalHoldStatus GetObjectLockLegalHoldStatus() const
HeadObjectResult & WithContentEncoding(ContentEncodingT &&value)
void SetObjectLockMode(ObjectLockMode value)
HeadObjectResult & WithRestore(RestoreT &&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