AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
HeadObjectResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3/S3_EXPORTS.h>
11#include <aws/s3/model/ArchiveStatus.h>
12#include <aws/s3/model/ChecksumType.h>
13#include <aws/s3/model/ObjectLockLegalHoldStatus.h>
14#include <aws/s3/model/ObjectLockMode.h>
15#include <aws/s3/model/ReplicationStatus.h>
16#include <aws/s3/model/RequestCharged.h>
17#include <aws/s3/model/ServerSideEncryption.h>
18#include <aws/s3/model/StorageClass.h>
19
20#include <utility>
21
22namespace Aws {
23template <typename RESULT_TYPE>
24class AmazonWebServiceResult;
25
26namespace Utils {
27namespace Xml {
28class XmlDocument;
29} // namespace Xml
30} // namespace Utils
31namespace S3 {
32namespace Model {
34 public:
35 AWS_S3_API HeadObjectResult() = default;
38
40
45 inline bool GetDeleteMarker() const { return m_deleteMarker; }
46 inline void SetDeleteMarker(bool value) {
47 m_deleteMarkerHasBeenSet = true;
48 m_deleteMarker = value;
49 }
50 inline HeadObjectResult& WithDeleteMarker(bool value) {
51 SetDeleteMarker(value);
52 return *this;
53 }
55
57
60 inline const Aws::String& GetAcceptRanges() const { return m_acceptRanges; }
61 template <typename AcceptRangesT = Aws::String>
62 void SetAcceptRanges(AcceptRangesT&& value) {
63 m_acceptRangesHasBeenSet = true;
64 m_acceptRanges = std::forward<AcceptRangesT>(value);
65 }
66 template <typename AcceptRangesT = Aws::String>
67 HeadObjectResult& WithAcceptRanges(AcceptRangesT&& value) {
68 SetAcceptRanges(std::forward<AcceptRangesT>(value));
69 return *this;
70 }
72
74
85 inline const Aws::String& GetExpiration() const { return m_expiration; }
86 template <typename ExpirationT = Aws::String>
87 void SetExpiration(ExpirationT&& value) {
88 m_expirationHasBeenSet = true;
89 m_expiration = std::forward<ExpirationT>(value);
90 }
91 template <typename ExpirationT = Aws::String>
92 HeadObjectResult& WithExpiration(ExpirationT&& value) {
93 SetExpiration(std::forward<ExpirationT>(value));
94 return *this;
95 }
97
99
118 inline const Aws::String& GetRestore() const { return m_restore; }
119 template <typename RestoreT = Aws::String>
120 void SetRestore(RestoreT&& value) {
121 m_restoreHasBeenSet = true;
122 m_restore = std::forward<RestoreT>(value);
123 }
124 template <typename RestoreT = Aws::String>
125 HeadObjectResult& WithRestore(RestoreT&& value) {
126 SetRestore(std::forward<RestoreT>(value));
127 return *this;
128 }
130
132
136 inline ArchiveStatus GetArchiveStatus() const { return m_archiveStatus; }
137 inline void SetArchiveStatus(ArchiveStatus value) {
138 m_archiveStatusHasBeenSet = true;
139 m_archiveStatus = value;
140 }
142 SetArchiveStatus(value);
143 return *this;
144 }
146
148
151 inline const Aws::Utils::DateTime& GetLastModified() const { return m_lastModified; }
152 template <typename LastModifiedT = Aws::Utils::DateTime>
153 void SetLastModified(LastModifiedT&& value) {
154 m_lastModifiedHasBeenSet = true;
155 m_lastModified = std::forward<LastModifiedT>(value);
156 }
157 template <typename LastModifiedT = Aws::Utils::DateTime>
158 HeadObjectResult& WithLastModified(LastModifiedT&& value) {
159 SetLastModified(std::forward<LastModifiedT>(value));
160 return *this;
161 }
163
165
168 inline long long GetContentLength() const { return m_contentLength; }
169 inline void SetContentLength(long long value) {
170 m_contentLengthHasBeenSet = true;
171 m_contentLength = value;
172 }
173 inline HeadObjectResult& WithContentLength(long long value) {
174 SetContentLength(value);
175 return *this;
176 }
178
180
190 inline const Aws::String& GetChecksumCRC32() const { return m_checksumCRC32; }
191 template <typename ChecksumCRC32T = Aws::String>
192 void SetChecksumCRC32(ChecksumCRC32T&& value) {
193 m_checksumCRC32HasBeenSet = true;
194 m_checksumCRC32 = std::forward<ChecksumCRC32T>(value);
195 }
196 template <typename ChecksumCRC32T = Aws::String>
197 HeadObjectResult& WithChecksumCRC32(ChecksumCRC32T&& value) {
198 SetChecksumCRC32(std::forward<ChecksumCRC32T>(value));
199 return *this;
200 }
202
204
214 inline const Aws::String& GetChecksumCRC32C() const { return m_checksumCRC32C; }
215 template <typename ChecksumCRC32CT = Aws::String>
216 void SetChecksumCRC32C(ChecksumCRC32CT&& value) {
217 m_checksumCRC32CHasBeenSet = true;
218 m_checksumCRC32C = std::forward<ChecksumCRC32CT>(value);
219 }
220 template <typename ChecksumCRC32CT = Aws::String>
221 HeadObjectResult& WithChecksumCRC32C(ChecksumCRC32CT&& value) {
222 SetChecksumCRC32C(std::forward<ChecksumCRC32CT>(value));
223 return *this;
224 }
226
228
234 inline const Aws::String& GetChecksumCRC64NVME() const { return m_checksumCRC64NVME; }
235 template <typename ChecksumCRC64NVMET = Aws::String>
236 void SetChecksumCRC64NVME(ChecksumCRC64NVMET&& value) {
237 m_checksumCRC64NVMEHasBeenSet = true;
238 m_checksumCRC64NVME = std::forward<ChecksumCRC64NVMET>(value);
239 }
240 template <typename ChecksumCRC64NVMET = Aws::String>
241 HeadObjectResult& WithChecksumCRC64NVME(ChecksumCRC64NVMET&& value) {
242 SetChecksumCRC64NVME(std::forward<ChecksumCRC64NVMET>(value));
243 return *this;
244 }
246
248
258 inline const Aws::String& GetChecksumSHA1() const { return m_checksumSHA1; }
259 template <typename ChecksumSHA1T = Aws::String>
260 void SetChecksumSHA1(ChecksumSHA1T&& value) {
261 m_checksumSHA1HasBeenSet = true;
262 m_checksumSHA1 = std::forward<ChecksumSHA1T>(value);
263 }
264 template <typename ChecksumSHA1T = Aws::String>
265 HeadObjectResult& WithChecksumSHA1(ChecksumSHA1T&& value) {
266 SetChecksumSHA1(std::forward<ChecksumSHA1T>(value));
267 return *this;
268 }
270
272
282 inline const Aws::String& GetChecksumSHA256() const { return m_checksumSHA256; }
283 template <typename ChecksumSHA256T = Aws::String>
284 void SetChecksumSHA256(ChecksumSHA256T&& value) {
285 m_checksumSHA256HasBeenSet = true;
286 m_checksumSHA256 = std::forward<ChecksumSHA256T>(value);
287 }
288 template <typename ChecksumSHA256T = Aws::String>
289 HeadObjectResult& WithChecksumSHA256(ChecksumSHA256T&& value) {
290 SetChecksumSHA256(std::forward<ChecksumSHA256T>(value));
291 return *this;
292 }
294
296
305 inline ChecksumType GetChecksumType() const { return m_checksumType; }
306 inline void SetChecksumType(ChecksumType value) {
307 m_checksumTypeHasBeenSet = true;
308 m_checksumType = value;
309 }
311 SetChecksumType(value);
312 return *this;
313 }
315
317
321 inline const Aws::String& GetETag() const { return m_eTag; }
322 template <typename ETagT = Aws::String>
323 void SetETag(ETagT&& value) {
324 m_eTagHasBeenSet = true;
325 m_eTag = std::forward<ETagT>(value);
326 }
327 template <typename ETagT = Aws::String>
328 HeadObjectResult& WithETag(ETagT&& value) {
329 SetETag(std::forward<ETagT>(value));
330 return *this;
331 }
333
335
343 inline int GetMissingMeta() const { return m_missingMeta; }
344 inline void SetMissingMeta(int value) {
345 m_missingMetaHasBeenSet = true;
346 m_missingMeta = value;
347 }
349 SetMissingMeta(value);
350 return *this;
351 }
353
355
359 inline const Aws::String& GetVersionId() const { return m_versionId; }
360 template <typename VersionIdT = Aws::String>
361 void SetVersionId(VersionIdT&& value) {
362 m_versionIdHasBeenSet = true;
363 m_versionId = std::forward<VersionIdT>(value);
364 }
365 template <typename VersionIdT = Aws::String>
366 HeadObjectResult& WithVersionId(VersionIdT&& value) {
367 SetVersionId(std::forward<VersionIdT>(value));
368 return *this;
369 }
371
373
376 inline const Aws::String& GetCacheControl() const { return m_cacheControl; }
377 template <typename CacheControlT = Aws::String>
378 void SetCacheControl(CacheControlT&& value) {
379 m_cacheControlHasBeenSet = true;
380 m_cacheControl = std::forward<CacheControlT>(value);
381 }
382 template <typename CacheControlT = Aws::String>
383 HeadObjectResult& WithCacheControl(CacheControlT&& value) {
384 SetCacheControl(std::forward<CacheControlT>(value));
385 return *this;
386 }
388
390
393 inline const Aws::String& GetContentDisposition() const { return m_contentDisposition; }
394 template <typename ContentDispositionT = Aws::String>
395 void SetContentDisposition(ContentDispositionT&& value) {
396 m_contentDispositionHasBeenSet = true;
397 m_contentDisposition = std::forward<ContentDispositionT>(value);
398 }
399 template <typename ContentDispositionT = Aws::String>
400 HeadObjectResult& WithContentDisposition(ContentDispositionT&& value) {
401 SetContentDisposition(std::forward<ContentDispositionT>(value));
402 return *this;
403 }
405
407
412 inline const Aws::String& GetContentEncoding() const { return m_contentEncoding; }
413 template <typename ContentEncodingT = Aws::String>
414 void SetContentEncoding(ContentEncodingT&& value) {
415 m_contentEncodingHasBeenSet = true;
416 m_contentEncoding = std::forward<ContentEncodingT>(value);
417 }
418 template <typename ContentEncodingT = Aws::String>
419 HeadObjectResult& WithContentEncoding(ContentEncodingT&& value) {
420 SetContentEncoding(std::forward<ContentEncodingT>(value));
421 return *this;
422 }
424
426
429 inline const Aws::String& GetContentLanguage() const { return m_contentLanguage; }
430 template <typename ContentLanguageT = Aws::String>
431 void SetContentLanguage(ContentLanguageT&& value) {
432 m_contentLanguageHasBeenSet = true;
433 m_contentLanguage = std::forward<ContentLanguageT>(value);
434 }
435 template <typename ContentLanguageT = Aws::String>
436 HeadObjectResult& WithContentLanguage(ContentLanguageT&& value) {
437 SetContentLanguage(std::forward<ContentLanguageT>(value));
438 return *this;
439 }
441
443
446 inline const Aws::String& GetContentType() const { return m_contentType; }
447 template <typename ContentTypeT = Aws::String>
448 void SetContentType(ContentTypeT&& value) {
449 m_contentTypeHasBeenSet = true;
450 m_contentType = std::forward<ContentTypeT>(value);
451 }
452 template <typename ContentTypeT = Aws::String>
453 HeadObjectResult& WithContentType(ContentTypeT&& value) {
454 SetContentType(std::forward<ContentTypeT>(value));
455 return *this;
456 }
458
460
464 inline const Aws::String& GetContentRange() const { return m_contentRange; }
465 template <typename ContentRangeT = Aws::String>
466 void SetContentRange(ContentRangeT&& value) {
467 m_contentRangeHasBeenSet = true;
468 m_contentRange = std::forward<ContentRangeT>(value);
469 }
470 template <typename ContentRangeT = Aws::String>
471 HeadObjectResult& WithContentRange(ContentRangeT&& value) {
472 SetContentRange(std::forward<ContentRangeT>(value));
473 return *this;
474 }
476
478
481 inline const Aws::Utils::DateTime& GetExpires() const { return m_expires; }
482 template <typename ExpiresT = Aws::Utils::DateTime>
483 void SetExpires(ExpiresT&& value) {
484 m_expiresHasBeenSet = true;
485 m_expires = std::forward<ExpiresT>(value);
486 }
487 template <typename ExpiresT = Aws::Utils::DateTime>
488 HeadObjectResult& WithExpires(ExpiresT&& value) {
489 SetExpires(std::forward<ExpiresT>(value));
490 return *this;
491 }
493
495
501 inline const Aws::String& GetWebsiteRedirectLocation() const { return m_websiteRedirectLocation; }
502 template <typename WebsiteRedirectLocationT = Aws::String>
503 void SetWebsiteRedirectLocation(WebsiteRedirectLocationT&& value) {
504 m_websiteRedirectLocationHasBeenSet = true;
505 m_websiteRedirectLocation = std::forward<WebsiteRedirectLocationT>(value);
506 }
507 template <typename WebsiteRedirectLocationT = Aws::String>
508 HeadObjectResult& WithWebsiteRedirectLocation(WebsiteRedirectLocationT&& value) {
509 SetWebsiteRedirectLocation(std::forward<WebsiteRedirectLocationT>(value));
510 return *this;
511 }
513
515
521 inline ServerSideEncryption GetServerSideEncryption() const { return m_serverSideEncryption; }
523 m_serverSideEncryptionHasBeenSet = true;
524 m_serverSideEncryption = value;
525 }
528 return *this;
529 }
531
533
536 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const { return m_metadata; }
537 template <typename MetadataT = Aws::Map<Aws::String, Aws::String>>
538 void SetMetadata(MetadataT&& value) {
539 m_metadataHasBeenSet = true;
540 m_metadata = std::forward<MetadataT>(value);
541 }
542 template <typename MetadataT = Aws::Map<Aws::String, Aws::String>>
543 HeadObjectResult& WithMetadata(MetadataT&& value) {
544 SetMetadata(std::forward<MetadataT>(value));
545 return *this;
546 }
547 template <typename MetadataKeyT = Aws::String, typename MetadataValueT = Aws::String>
548 HeadObjectResult& AddMetadata(MetadataKeyT&& key, MetadataValueT&& value) {
549 m_metadataHasBeenSet = true;
550 m_metadata.emplace(std::forward<MetadataKeyT>(key), std::forward<MetadataValueT>(value));
551 return *this;
552 }
554
556
562 inline const Aws::String& GetSSECustomerAlgorithm() const { return m_sSECustomerAlgorithm; }
563 template <typename SSECustomerAlgorithmT = Aws::String>
564 void SetSSECustomerAlgorithm(SSECustomerAlgorithmT&& value) {
565 m_sSECustomerAlgorithmHasBeenSet = true;
566 m_sSECustomerAlgorithm = std::forward<SSECustomerAlgorithmT>(value);
567 }
568 template <typename SSECustomerAlgorithmT = Aws::String>
569 HeadObjectResult& WithSSECustomerAlgorithm(SSECustomerAlgorithmT&& value) {
570 SetSSECustomerAlgorithm(std::forward<SSECustomerAlgorithmT>(value));
571 return *this;
572 }
574
576
582 inline const Aws::String& GetSSECustomerKeyMD5() const { return m_sSECustomerKeyMD5; }
583 template <typename SSECustomerKeyMD5T = Aws::String>
584 void SetSSECustomerKeyMD5(SSECustomerKeyMD5T&& value) {
585 m_sSECustomerKeyMD5HasBeenSet = true;
586 m_sSECustomerKeyMD5 = std::forward<SSECustomerKeyMD5T>(value);
587 }
588 template <typename SSECustomerKeyMD5T = Aws::String>
589 HeadObjectResult& WithSSECustomerKeyMD5(SSECustomerKeyMD5T&& value) {
590 SetSSECustomerKeyMD5(std::forward<SSECustomerKeyMD5T>(value));
591 return *this;
592 }
594
596
600 inline const Aws::String& GetSSEKMSKeyId() const { return m_sSEKMSKeyId; }
601 template <typename SSEKMSKeyIdT = Aws::String>
602 void SetSSEKMSKeyId(SSEKMSKeyIdT&& value) {
603 m_sSEKMSKeyIdHasBeenSet = true;
604 m_sSEKMSKeyId = std::forward<SSEKMSKeyIdT>(value);
605 }
606 template <typename SSEKMSKeyIdT = Aws::String>
607 HeadObjectResult& WithSSEKMSKeyId(SSEKMSKeyIdT&& value) {
608 SetSSEKMSKeyId(std::forward<SSEKMSKeyIdT>(value));
609 return *this;
610 }
612
614
618 inline bool GetBucketKeyEnabled() const { return m_bucketKeyEnabled; }
619 inline void SetBucketKeyEnabled(bool value) {
620 m_bucketKeyEnabledHasBeenSet = true;
621 m_bucketKeyEnabled = value;
622 }
624 SetBucketKeyEnabled(value);
625 return *this;
626 }
628
630
640 inline StorageClass GetStorageClass() const { return m_storageClass; }
641 inline void SetStorageClass(StorageClass value) {
642 m_storageClassHasBeenSet = true;
643 m_storageClass = value;
644 }
646 SetStorageClass(value);
647 return *this;
648 }
650
652
653 inline RequestCharged GetRequestCharged() const { return m_requestCharged; }
655 m_requestChargedHasBeenSet = true;
656 m_requestCharged = value;
657 }
659 SetRequestCharged(value);
660 return *this;
661 }
663
665
697 inline ReplicationStatus GetReplicationStatus() const { return m_replicationStatus; }
699 m_replicationStatusHasBeenSet = true;
700 m_replicationStatus = value;
701 }
704 return *this;
705 }
707
709
714 inline int GetPartsCount() const { return m_partsCount; }
715 inline void SetPartsCount(int value) {
716 m_partsCountHasBeenSet = true;
717 m_partsCount = value;
718 }
719 inline HeadObjectResult& WithPartsCount(int value) {
720 SetPartsCount(value);
721 return *this;
722 }
724
726
733 inline int GetTagCount() const { return m_tagCount; }
734 inline void SetTagCount(int value) {
735 m_tagCountHasBeenSet = true;
736 m_tagCount = value;
737 }
738 inline HeadObjectResult& WithTagCount(int value) {
739 SetTagCount(value);
740 return *this;
741 }
743
745
753 inline ObjectLockMode GetObjectLockMode() const { return m_objectLockMode; }
755 m_objectLockModeHasBeenSet = true;
756 m_objectLockMode = value;
757 }
759 SetObjectLockMode(value);
760 return *this;
761 }
763
765
771 inline const Aws::Utils::DateTime& GetObjectLockRetainUntilDate() const { return m_objectLockRetainUntilDate; }
772 template <typename ObjectLockRetainUntilDateT = Aws::Utils::DateTime>
773 void SetObjectLockRetainUntilDate(ObjectLockRetainUntilDateT&& value) {
774 m_objectLockRetainUntilDateHasBeenSet = true;
775 m_objectLockRetainUntilDate = std::forward<ObjectLockRetainUntilDateT>(value);
776 }
777 template <typename ObjectLockRetainUntilDateT = Aws::Utils::DateTime>
778 HeadObjectResult& WithObjectLockRetainUntilDate(ObjectLockRetainUntilDateT&& value) {
779 SetObjectLockRetainUntilDate(std::forward<ObjectLockRetainUntilDateT>(value));
780 return *this;
781 }
783
785
795 inline ObjectLockLegalHoldStatus GetObjectLockLegalHoldStatus() const { return m_objectLockLegalHoldStatus; }
797 m_objectLockLegalHoldStatusHasBeenSet = true;
798 m_objectLockLegalHoldStatus = value;
799 }
802 return *this;
803 }
805
807
810 inline const Aws::String& GetExpiresString() const { return m_expiresString; }
811 template <typename ExpiresStringT = Aws::String>
812 void SetExpiresString(ExpiresStringT&& value) {
813 m_expiresStringHasBeenSet = true;
814 m_expiresString = std::forward<ExpiresStringT>(value);
815 }
816 template <typename ExpiresStringT = Aws::String>
817 HeadObjectResult& WithExpiresString(ExpiresStringT&& value) {
818 SetExpiresString(std::forward<ExpiresStringT>(value));
819 return *this;
820 }
822
824
825 inline const Aws::String& GetRequestId() const { return m_requestId; }
826 template <typename RequestIdT = Aws::String>
827 void SetRequestId(RequestIdT&& value) {
828 m_requestIdHasBeenSet = true;
829 m_requestId = std::forward<RequestIdT>(value);
830 }
831 template <typename RequestIdT = Aws::String>
832 HeadObjectResult& WithRequestId(RequestIdT&& value) {
833 SetRequestId(std::forward<RequestIdT>(value));
834 return *this;
835 }
837 private:
838 bool m_deleteMarker{false};
839
840 Aws::String m_acceptRanges;
841
842 Aws::String m_expiration;
843
844 Aws::String m_restore;
845
846 ArchiveStatus m_archiveStatus{ArchiveStatus::NOT_SET};
847
848 Aws::Utils::DateTime m_lastModified{};
849
850 long long m_contentLength{0};
851
852 Aws::String m_checksumCRC32;
853
854 Aws::String m_checksumCRC32C;
855
856 Aws::String m_checksumCRC64NVME;
857
858 Aws::String m_checksumSHA1;
859
860 Aws::String m_checksumSHA256;
861
862 ChecksumType m_checksumType{ChecksumType::NOT_SET};
863
864 Aws::String m_eTag;
865
866 int m_missingMeta{0};
867
868 Aws::String m_versionId;
869
870 Aws::String m_cacheControl;
871
872 Aws::String m_contentDisposition;
873
874 Aws::String m_contentEncoding;
875
876 Aws::String m_contentLanguage;
877
878 Aws::String m_contentType;
879
880 Aws::String m_contentRange;
881
882 Aws::Utils::DateTime m_expires{};
883
884 Aws::String m_websiteRedirectLocation;
885
887
889
890 Aws::String m_sSECustomerAlgorithm;
891
892 Aws::String m_sSECustomerKeyMD5;
893
894 Aws::String m_sSEKMSKeyId;
895
896 bool m_bucketKeyEnabled{false};
897
898 StorageClass m_storageClass{StorageClass::NOT_SET};
899
900 RequestCharged m_requestCharged{RequestCharged::NOT_SET};
901
903
904 int m_partsCount{0};
905
906 int m_tagCount{0};
907
908 ObjectLockMode m_objectLockMode{ObjectLockMode::NOT_SET};
909
910 Aws::Utils::DateTime m_objectLockRetainUntilDate{};
911
913
914 Aws::String m_expiresString;
915
916 Aws::String m_requestId;
917 bool m_deleteMarkerHasBeenSet = false;
918 bool m_acceptRangesHasBeenSet = false;
919 bool m_expirationHasBeenSet = false;
920 bool m_restoreHasBeenSet = false;
921 bool m_archiveStatusHasBeenSet = false;
922 bool m_lastModifiedHasBeenSet = false;
923 bool m_contentLengthHasBeenSet = false;
924 bool m_checksumCRC32HasBeenSet = false;
925 bool m_checksumCRC32CHasBeenSet = false;
926 bool m_checksumCRC64NVMEHasBeenSet = false;
927 bool m_checksumSHA1HasBeenSet = false;
928 bool m_checksumSHA256HasBeenSet = false;
929 bool m_checksumTypeHasBeenSet = false;
930 bool m_eTagHasBeenSet = false;
931 bool m_missingMetaHasBeenSet = false;
932 bool m_versionIdHasBeenSet = false;
933 bool m_cacheControlHasBeenSet = false;
934 bool m_contentDispositionHasBeenSet = false;
935 bool m_contentEncodingHasBeenSet = false;
936 bool m_contentLanguageHasBeenSet = false;
937 bool m_contentTypeHasBeenSet = false;
938 bool m_contentRangeHasBeenSet = false;
939 bool m_expiresHasBeenSet = false;
940 bool m_websiteRedirectLocationHasBeenSet = false;
941 bool m_serverSideEncryptionHasBeenSet = false;
942 bool m_metadataHasBeenSet = false;
943 bool m_sSECustomerAlgorithmHasBeenSet = false;
944 bool m_sSECustomerKeyMD5HasBeenSet = false;
945 bool m_sSEKMSKeyIdHasBeenSet = false;
946 bool m_bucketKeyEnabledHasBeenSet = false;
947 bool m_storageClassHasBeenSet = false;
948 bool m_requestChargedHasBeenSet = false;
949 bool m_replicationStatusHasBeenSet = false;
950 bool m_partsCountHasBeenSet = false;
951 bool m_tagCountHasBeenSet = false;
952 bool m_objectLockModeHasBeenSet = false;
953 bool m_objectLockRetainUntilDateHasBeenSet = false;
954 bool m_objectLockLegalHoldStatusHasBeenSet = false;
955 bool m_expiresStringHasBeenSet = false;
956 bool m_requestIdHasBeenSet = false;
957};
958
959} // namespace Model
960} // namespace S3
961} // namespace Aws
void SetChecksumCRC32C(ChecksumCRC32CT &&value)
HeadObjectResult & WithWebsiteRedirectLocation(WebsiteRedirectLocationT &&value)
void SetContentType(ContentTypeT &&value)
void SetContentEncoding(ContentEncodingT &&value)
void SetCacheControl(CacheControlT &&value)
void SetChecksumCRC32(ChecksumCRC32T &&value)
const Aws::String & GetSSECustomerKeyMD5() const
HeadObjectResult & WithContentLanguage(ContentLanguageT &&value)
HeadObjectResult & WithMissingMeta(int value)
HeadObjectResult & WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus value)
HeadObjectResult & WithDeleteMarker(bool value)
void SetExpiresString(ExpiresStringT &&value)
void SetServerSideEncryption(ServerSideEncryption value)
HeadObjectResult & WithContentEncoding(ContentEncodingT &&value)
const Aws::String & GetContentRange() const
HeadObjectResult & WithPartsCount(int value)
void SetObjectLockMode(ObjectLockMode value)
HeadObjectResult & WithMetadata(MetadataT &&value)
HeadObjectResult & WithArchiveStatus(ArchiveStatus value)
AWS_S3_API HeadObjectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::String & GetChecksumCRC64NVME() const
const Aws::String & GetETag() const
HeadObjectResult & AddMetadata(MetadataKeyT &&key, MetadataValueT &&value)
ArchiveStatus GetArchiveStatus() const
void SetExpiration(ExpirationT &&value)
const Aws::Utils::DateTime & GetLastModified() const
HeadObjectResult & WithRestore(RestoreT &&value)
const Aws::String & GetContentLanguage() const
HeadObjectResult & WithContentType(ContentTypeT &&value)
HeadObjectResult & WithTagCount(int value)
const Aws::String & GetSSECustomerAlgorithm() const
HeadObjectResult & WithContentRange(ContentRangeT &&value)
HeadObjectResult & WithContentLength(long long value)
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
HeadObjectResult & WithStorageClass(StorageClass value)
void SetAcceptRanges(AcceptRangesT &&value)
void SetRequestCharged(RequestCharged value)
void SetReplicationStatus(ReplicationStatus value)
void SetSSEKMSKeyId(SSEKMSKeyIdT &&value)
const Aws::String & GetContentEncoding() const
void SetStorageClass(StorageClass value)
void SetChecksumSHA1(ChecksumSHA1T &&value)
HeadObjectResult & WithETag(ETagT &&value)
HeadObjectResult & WithSSEKMSKeyId(SSEKMSKeyIdT &&value)
const Aws::String & GetContentType() const
HeadObjectResult & WithSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
void SetContentRange(ContentRangeT &&value)
HeadObjectResult & WithChecksumSHA256(ChecksumSHA256T &&value)
HeadObjectResult & WithReplicationStatus(ReplicationStatus value)
ServerSideEncryption GetServerSideEncryption() const
void SetExpires(ExpiresT &&value)
HeadObjectResult & WithObjectLockRetainUntilDate(ObjectLockRetainUntilDateT &&value)
void SetChecksumCRC64NVME(ChecksumCRC64NVMET &&value)
AWS_S3_API HeadObjectResult()=default
HeadObjectResult & WithChecksumCRC32C(ChecksumCRC32CT &&value)
void SetChecksumType(ChecksumType value)
const Aws::String & GetExpiration() const
ObjectLockLegalHoldStatus GetObjectLockLegalHoldStatus() const
HeadObjectResult & WithObjectLockMode(ObjectLockMode value)
void SetArchiveStatus(ArchiveStatus value)
const Aws::String & GetChecksumSHA256() const
RequestCharged GetRequestCharged() const
void SetObjectLockRetainUntilDate(ObjectLockRetainUntilDateT &&value)
HeadObjectResult & WithCacheControl(CacheControlT &&value)
HeadObjectResult & WithServerSideEncryption(ServerSideEncryption value)
const Aws::Utils::DateTime & GetExpires() const
HeadObjectResult & WithChecksumType(ChecksumType value)
void SetContentLanguage(ContentLanguageT &&value)
void SetRequestId(RequestIdT &&value)
void SetLastModified(LastModifiedT &&value)
const Aws::String & GetChecksumCRC32() const
HeadObjectResult & WithExpiresString(ExpiresStringT &&value)
HeadObjectResult & WithChecksumSHA1(ChecksumSHA1T &&value)
void SetContentLength(long long value)
HeadObjectResult & WithRequestId(RequestIdT &&value)
HeadObjectResult & WithAcceptRanges(AcceptRangesT &&value)
const Aws::Utils::DateTime & GetObjectLockRetainUntilDate() const
HeadObjectResult & WithExpiration(ExpirationT &&value)
const Aws::String & GetRequestId() const
void SetSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
const Aws::String & GetVersionId() const
const Aws::String & GetWebsiteRedirectLocation() const
const Aws::String & GetSSEKMSKeyId() const
void SetMetadata(MetadataT &&value)
const Aws::String & GetRestore() const
void SetContentDisposition(ContentDispositionT &&value)
HeadObjectResult & WithBucketKeyEnabled(bool value)
void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus value)
HeadObjectResult & WithLastModified(LastModifiedT &&value)
HeadObjectResult & WithChecksumCRC32(ChecksumCRC32T &&value)
const Aws::String & GetChecksumSHA1() const
ObjectLockMode GetObjectLockMode() const
HeadObjectResult & WithExpires(ExpiresT &&value)
HeadObjectResult & WithRequestCharged(RequestCharged value)
void SetSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
HeadObjectResult & WithVersionId(VersionIdT &&value)
const Aws::String & GetAcceptRanges() const
const Aws::String & GetExpiresString() const
void SetRestore(RestoreT &&value)
const Aws::String & GetContentDisposition() const
void SetWebsiteRedirectLocation(WebsiteRedirectLocationT &&value)
ReplicationStatus GetReplicationStatus() const
const Aws::String & GetCacheControl() const
HeadObjectResult & WithContentDisposition(ContentDispositionT &&value)
HeadObjectResult & WithChecksumCRC64NVME(ChecksumCRC64NVMET &&value)
const Aws::String & GetChecksumCRC32C() const
void SetVersionId(VersionIdT &&value)
AWS_S3_API HeadObjectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetChecksumSHA256(ChecksumSHA256T &&value)
HeadObjectResult & WithSSECustomerKeyMD5(SSECustomerKeyMD5T &&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