AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
HeadObjectResult.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3/model/ArchiveStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/s3/model/ChecksumType.h>
12#include <aws/s3/model/ServerSideEncryption.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/s3/model/StorageClass.h>
15#include <aws/s3/model/RequestCharged.h>
16#include <aws/s3/model/ReplicationStatus.h>
17#include <aws/s3/model/ObjectLockMode.h>
18#include <aws/s3/model/ObjectLockLegalHoldStatus.h>
19#include <utility>
20
21namespace Aws
22{
23template<typename RESULT_TYPE>
24class AmazonWebServiceResult;
25
26namespace Utils
27{
28namespace Xml
29{
30 class XmlDocument;
31} // namespace Xml
32} // namespace Utils
33namespace S3
34{
35namespace Model
36{
38 {
39 public:
40 AWS_S3_API HeadObjectResult() = default;
43
44
46
51 inline bool GetDeleteMarker() const { return m_deleteMarker; }
52 inline void SetDeleteMarker(bool value) { m_deleteMarkerHasBeenSet = true; m_deleteMarker = value; }
53 inline HeadObjectResult& WithDeleteMarker(bool value) { SetDeleteMarker(value); return *this;}
55
57
60 inline const Aws::String& GetAcceptRanges() const { return m_acceptRanges; }
61 template<typename AcceptRangesT = Aws::String>
62 void SetAcceptRanges(AcceptRangesT&& value) { m_acceptRangesHasBeenSet = true; m_acceptRanges = std::forward<AcceptRangesT>(value); }
63 template<typename AcceptRangesT = Aws::String>
64 HeadObjectResult& WithAcceptRanges(AcceptRangesT&& value) { SetAcceptRanges(std::forward<AcceptRangesT>(value)); return *this;}
66
68
79 inline const Aws::String& GetExpiration() const { return m_expiration; }
80 template<typename ExpirationT = Aws::String>
81 void SetExpiration(ExpirationT&& value) { m_expirationHasBeenSet = true; m_expiration = std::forward<ExpirationT>(value); }
82 template<typename ExpirationT = Aws::String>
83 HeadObjectResult& WithExpiration(ExpirationT&& value) { SetExpiration(std::forward<ExpirationT>(value)); return *this;}
85
87
106 inline const Aws::String& GetRestore() const { return m_restore; }
107 template<typename RestoreT = Aws::String>
108 void SetRestore(RestoreT&& value) { m_restoreHasBeenSet = true; m_restore = std::forward<RestoreT>(value); }
109 template<typename RestoreT = Aws::String>
110 HeadObjectResult& WithRestore(RestoreT&& value) { SetRestore(std::forward<RestoreT>(value)); return *this;}
112
114
118 inline ArchiveStatus GetArchiveStatus() const { return m_archiveStatus; }
119 inline void SetArchiveStatus(ArchiveStatus value) { m_archiveStatusHasBeenSet = true; m_archiveStatus = value; }
120 inline HeadObjectResult& WithArchiveStatus(ArchiveStatus value) { SetArchiveStatus(value); return *this;}
122
124
127 inline const Aws::Utils::DateTime& GetLastModified() const { return m_lastModified; }
128 template<typename LastModifiedT = Aws::Utils::DateTime>
129 void SetLastModified(LastModifiedT&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::forward<LastModifiedT>(value); }
130 template<typename LastModifiedT = Aws::Utils::DateTime>
131 HeadObjectResult& WithLastModified(LastModifiedT&& value) { SetLastModified(std::forward<LastModifiedT>(value)); return *this;}
133
135
138 inline long long GetContentLength() const { return m_contentLength; }
139 inline void SetContentLength(long long value) { m_contentLengthHasBeenSet = true; m_contentLength = value; }
140 inline HeadObjectResult& WithContentLength(long long value) { SetContentLength(value); return *this;}
142
144
154 inline const Aws::String& GetChecksumCRC32() const { return m_checksumCRC32; }
155 template<typename ChecksumCRC32T = Aws::String>
156 void SetChecksumCRC32(ChecksumCRC32T&& value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32 = std::forward<ChecksumCRC32T>(value); }
157 template<typename ChecksumCRC32T = Aws::String>
158 HeadObjectResult& WithChecksumCRC32(ChecksumCRC32T&& value) { SetChecksumCRC32(std::forward<ChecksumCRC32T>(value)); return *this;}
160
162
172 inline const Aws::String& GetChecksumCRC32C() const { return m_checksumCRC32C; }
173 template<typename ChecksumCRC32CT = Aws::String>
174 void SetChecksumCRC32C(ChecksumCRC32CT&& value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C = std::forward<ChecksumCRC32CT>(value); }
175 template<typename ChecksumCRC32CT = Aws::String>
176 HeadObjectResult& WithChecksumCRC32C(ChecksumCRC32CT&& value) { SetChecksumCRC32C(std::forward<ChecksumCRC32CT>(value)); return *this;}
178
180
186 inline const Aws::String& GetChecksumCRC64NVME() const { return m_checksumCRC64NVME; }
187 template<typename ChecksumCRC64NVMET = Aws::String>
188 void SetChecksumCRC64NVME(ChecksumCRC64NVMET&& value) { m_checksumCRC64NVMEHasBeenSet = true; m_checksumCRC64NVME = std::forward<ChecksumCRC64NVMET>(value); }
189 template<typename ChecksumCRC64NVMET = Aws::String>
190 HeadObjectResult& WithChecksumCRC64NVME(ChecksumCRC64NVMET&& value) { SetChecksumCRC64NVME(std::forward<ChecksumCRC64NVMET>(value)); return *this;}
192
194
204 inline const Aws::String& GetChecksumSHA1() const { return m_checksumSHA1; }
205 template<typename ChecksumSHA1T = Aws::String>
206 void SetChecksumSHA1(ChecksumSHA1T&& value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1 = std::forward<ChecksumSHA1T>(value); }
207 template<typename ChecksumSHA1T = Aws::String>
208 HeadObjectResult& WithChecksumSHA1(ChecksumSHA1T&& value) { SetChecksumSHA1(std::forward<ChecksumSHA1T>(value)); return *this;}
210
212
222 inline const Aws::String& GetChecksumSHA256() const { return m_checksumSHA256; }
223 template<typename ChecksumSHA256T = Aws::String>
224 void SetChecksumSHA256(ChecksumSHA256T&& value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256 = std::forward<ChecksumSHA256T>(value); }
225 template<typename ChecksumSHA256T = Aws::String>
226 HeadObjectResult& WithChecksumSHA256(ChecksumSHA256T&& value) { SetChecksumSHA256(std::forward<ChecksumSHA256T>(value)); return *this;}
228
230
239 inline ChecksumType GetChecksumType() const { return m_checksumType; }
240 inline void SetChecksumType(ChecksumType value) { m_checksumTypeHasBeenSet = true; m_checksumType = value; }
241 inline HeadObjectResult& WithChecksumType(ChecksumType value) { SetChecksumType(value); return *this;}
243
245
249 inline const Aws::String& GetETag() const { return m_eTag; }
250 template<typename ETagT = Aws::String>
251 void SetETag(ETagT&& value) { m_eTagHasBeenSet = true; m_eTag = std::forward<ETagT>(value); }
252 template<typename ETagT = Aws::String>
253 HeadObjectResult& WithETag(ETagT&& value) { SetETag(std::forward<ETagT>(value)); return *this;}
255
257
265 inline int GetMissingMeta() const { return m_missingMeta; }
266 inline void SetMissingMeta(int value) { m_missingMetaHasBeenSet = true; m_missingMeta = value; }
267 inline HeadObjectResult& WithMissingMeta(int value) { SetMissingMeta(value); return *this;}
269
271
275 inline const Aws::String& GetVersionId() const { return m_versionId; }
276 template<typename VersionIdT = Aws::String>
277 void SetVersionId(VersionIdT&& value) { m_versionIdHasBeenSet = true; m_versionId = std::forward<VersionIdT>(value); }
278 template<typename VersionIdT = Aws::String>
279 HeadObjectResult& WithVersionId(VersionIdT&& value) { SetVersionId(std::forward<VersionIdT>(value)); return *this;}
281
283
286 inline const Aws::String& GetCacheControl() const { return m_cacheControl; }
287 template<typename CacheControlT = Aws::String>
288 void SetCacheControl(CacheControlT&& value) { m_cacheControlHasBeenSet = true; m_cacheControl = std::forward<CacheControlT>(value); }
289 template<typename CacheControlT = Aws::String>
290 HeadObjectResult& WithCacheControl(CacheControlT&& value) { SetCacheControl(std::forward<CacheControlT>(value)); return *this;}
292
294
297 inline const Aws::String& GetContentDisposition() const { return m_contentDisposition; }
298 template<typename ContentDispositionT = Aws::String>
299 void SetContentDisposition(ContentDispositionT&& value) { m_contentDispositionHasBeenSet = true; m_contentDisposition = std::forward<ContentDispositionT>(value); }
300 template<typename ContentDispositionT = Aws::String>
301 HeadObjectResult& WithContentDisposition(ContentDispositionT&& value) { SetContentDisposition(std::forward<ContentDispositionT>(value)); return *this;}
303
305
310 inline const Aws::String& GetContentEncoding() const { return m_contentEncoding; }
311 template<typename ContentEncodingT = Aws::String>
312 void SetContentEncoding(ContentEncodingT&& value) { m_contentEncodingHasBeenSet = true; m_contentEncoding = std::forward<ContentEncodingT>(value); }
313 template<typename ContentEncodingT = Aws::String>
314 HeadObjectResult& WithContentEncoding(ContentEncodingT&& value) { SetContentEncoding(std::forward<ContentEncodingT>(value)); return *this;}
316
318
321 inline const Aws::String& GetContentLanguage() const { return m_contentLanguage; }
322 template<typename ContentLanguageT = Aws::String>
323 void SetContentLanguage(ContentLanguageT&& value) { m_contentLanguageHasBeenSet = true; m_contentLanguage = std::forward<ContentLanguageT>(value); }
324 template<typename ContentLanguageT = Aws::String>
325 HeadObjectResult& WithContentLanguage(ContentLanguageT&& value) { SetContentLanguage(std::forward<ContentLanguageT>(value)); return *this;}
327
329
332 inline const Aws::String& GetContentType() const { return m_contentType; }
333 template<typename ContentTypeT = Aws::String>
334 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::forward<ContentTypeT>(value); }
335 template<typename ContentTypeT = Aws::String>
336 HeadObjectResult& WithContentType(ContentTypeT&& value) { SetContentType(std::forward<ContentTypeT>(value)); return *this;}
338
340
344 inline const Aws::String& GetContentRange() const { return m_contentRange; }
345 template<typename ContentRangeT = Aws::String>
346 void SetContentRange(ContentRangeT&& value) { m_contentRangeHasBeenSet = true; m_contentRange = std::forward<ContentRangeT>(value); }
347 template<typename ContentRangeT = Aws::String>
348 HeadObjectResult& WithContentRange(ContentRangeT&& value) { SetContentRange(std::forward<ContentRangeT>(value)); return *this;}
350
352
355 inline const Aws::Utils::DateTime& GetExpires() const { return m_expires; }
356 template<typename ExpiresT = Aws::Utils::DateTime>
357 void SetExpires(ExpiresT&& value) { m_expiresHasBeenSet = true; m_expires = std::forward<ExpiresT>(value); }
358 template<typename ExpiresT = Aws::Utils::DateTime>
359 HeadObjectResult& WithExpires(ExpiresT&& value) { SetExpires(std::forward<ExpiresT>(value)); return *this;}
361
363
369 inline const Aws::String& GetWebsiteRedirectLocation() const { return m_websiteRedirectLocation; }
370 template<typename WebsiteRedirectLocationT = Aws::String>
371 void SetWebsiteRedirectLocation(WebsiteRedirectLocationT&& value) { m_websiteRedirectLocationHasBeenSet = true; m_websiteRedirectLocation = std::forward<WebsiteRedirectLocationT>(value); }
372 template<typename WebsiteRedirectLocationT = Aws::String>
373 HeadObjectResult& WithWebsiteRedirectLocation(WebsiteRedirectLocationT&& value) { SetWebsiteRedirectLocation(std::forward<WebsiteRedirectLocationT>(value)); return *this;}
375
377
383 inline ServerSideEncryption GetServerSideEncryption() const { return m_serverSideEncryption; }
384 inline void SetServerSideEncryption(ServerSideEncryption value) { m_serverSideEncryptionHasBeenSet = true; m_serverSideEncryption = value; }
387
389
392 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const { return m_metadata; }
393 template<typename MetadataT = Aws::Map<Aws::String, Aws::String>>
394 void SetMetadata(MetadataT&& value) { m_metadataHasBeenSet = true; m_metadata = std::forward<MetadataT>(value); }
395 template<typename MetadataT = Aws::Map<Aws::String, Aws::String>>
396 HeadObjectResult& WithMetadata(MetadataT&& value) { SetMetadata(std::forward<MetadataT>(value)); return *this;}
397 template<typename MetadataKeyT = Aws::String, typename MetadataValueT = Aws::String>
398 HeadObjectResult& AddMetadata(MetadataKeyT&& key, MetadataValueT&& value) {
399 m_metadataHasBeenSet = true; m_metadata.emplace(std::forward<MetadataKeyT>(key), std::forward<MetadataValueT>(value)); return *this;
400 }
402
404
410 inline const Aws::String& GetSSECustomerAlgorithm() const { return m_sSECustomerAlgorithm; }
411 template<typename SSECustomerAlgorithmT = Aws::String>
412 void SetSSECustomerAlgorithm(SSECustomerAlgorithmT&& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = std::forward<SSECustomerAlgorithmT>(value); }
413 template<typename SSECustomerAlgorithmT = Aws::String>
414 HeadObjectResult& WithSSECustomerAlgorithm(SSECustomerAlgorithmT&& value) { SetSSECustomerAlgorithm(std::forward<SSECustomerAlgorithmT>(value)); return *this;}
416
418
424 inline const Aws::String& GetSSECustomerKeyMD5() const { return m_sSECustomerKeyMD5; }
425 template<typename SSECustomerKeyMD5T = Aws::String>
426 void SetSSECustomerKeyMD5(SSECustomerKeyMD5T&& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = std::forward<SSECustomerKeyMD5T>(value); }
427 template<typename SSECustomerKeyMD5T = Aws::String>
428 HeadObjectResult& WithSSECustomerKeyMD5(SSECustomerKeyMD5T&& value) { SetSSECustomerKeyMD5(std::forward<SSECustomerKeyMD5T>(value)); return *this;}
430
432
436 inline const Aws::String& GetSSEKMSKeyId() const { return m_sSEKMSKeyId; }
437 template<typename SSEKMSKeyIdT = Aws::String>
438 void SetSSEKMSKeyId(SSEKMSKeyIdT&& value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId = std::forward<SSEKMSKeyIdT>(value); }
439 template<typename SSEKMSKeyIdT = Aws::String>
440 HeadObjectResult& WithSSEKMSKeyId(SSEKMSKeyIdT&& value) { SetSSEKMSKeyId(std::forward<SSEKMSKeyIdT>(value)); return *this;}
442
444
448 inline bool GetBucketKeyEnabled() const { return m_bucketKeyEnabled; }
449 inline void SetBucketKeyEnabled(bool value) { m_bucketKeyEnabledHasBeenSet = true; m_bucketKeyEnabled = value; }
450 inline HeadObjectResult& WithBucketKeyEnabled(bool value) { SetBucketKeyEnabled(value); return *this;}
452
454
464 inline StorageClass GetStorageClass() const { return m_storageClass; }
465 inline void SetStorageClass(StorageClass value) { m_storageClassHasBeenSet = true; m_storageClass = value; }
466 inline HeadObjectResult& WithStorageClass(StorageClass value) { SetStorageClass(value); return *this;}
468
470
471 inline RequestCharged GetRequestCharged() const { return m_requestCharged; }
472 inline void SetRequestCharged(RequestCharged value) { m_requestChargedHasBeenSet = true; m_requestCharged = value; }
475
477
509 inline ReplicationStatus GetReplicationStatus() const { return m_replicationStatus; }
510 inline void SetReplicationStatus(ReplicationStatus value) { m_replicationStatusHasBeenSet = true; m_replicationStatus = value; }
513
515
520 inline int GetPartsCount() const { return m_partsCount; }
521 inline void SetPartsCount(int value) { m_partsCountHasBeenSet = true; m_partsCount = value; }
522 inline HeadObjectResult& WithPartsCount(int value) { SetPartsCount(value); return *this;}
524
526
533 inline int GetTagCount() const { return m_tagCount; }
534 inline void SetTagCount(int value) { m_tagCountHasBeenSet = true; m_tagCount = value; }
535 inline HeadObjectResult& WithTagCount(int value) { SetTagCount(value); return *this;}
537
539
547 inline ObjectLockMode GetObjectLockMode() const { return m_objectLockMode; }
548 inline void SetObjectLockMode(ObjectLockMode value) { m_objectLockModeHasBeenSet = true; m_objectLockMode = value; }
551
553
559 inline const Aws::Utils::DateTime& GetObjectLockRetainUntilDate() const { return m_objectLockRetainUntilDate; }
560 template<typename ObjectLockRetainUntilDateT = Aws::Utils::DateTime>
561 void SetObjectLockRetainUntilDate(ObjectLockRetainUntilDateT&& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = std::forward<ObjectLockRetainUntilDateT>(value); }
562 template<typename ObjectLockRetainUntilDateT = Aws::Utils::DateTime>
563 HeadObjectResult& WithObjectLockRetainUntilDate(ObjectLockRetainUntilDateT&& value) { SetObjectLockRetainUntilDate(std::forward<ObjectLockRetainUntilDateT>(value)); return *this;}
565
567
577 inline ObjectLockLegalHoldStatus GetObjectLockLegalHoldStatus() const { return m_objectLockLegalHoldStatus; }
578 inline void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = value; }
581
583
586 inline const Aws::String& GetExpiresString() const { return m_expiresString; }
587 template<typename ExpiresStringT = Aws::String>
588 void SetExpiresString(ExpiresStringT&& value) { m_expiresStringHasBeenSet = true; m_expiresString = std::forward<ExpiresStringT>(value); }
589 template<typename ExpiresStringT = Aws::String>
590 HeadObjectResult& WithExpiresString(ExpiresStringT&& value) { SetExpiresString(std::forward<ExpiresStringT>(value)); return *this;}
592
594
595 inline const Aws::String& GetRequestId() const { return m_requestId; }
596 template<typename RequestIdT = Aws::String>
597 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
598 template<typename RequestIdT = Aws::String>
599 HeadObjectResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
601 private:
602
603 bool m_deleteMarker{false};
604 bool m_deleteMarkerHasBeenSet = false;
605
606 Aws::String m_acceptRanges;
607 bool m_acceptRangesHasBeenSet = false;
608
609 Aws::String m_expiration;
610 bool m_expirationHasBeenSet = false;
611
612 Aws::String m_restore;
613 bool m_restoreHasBeenSet = false;
614
615 ArchiveStatus m_archiveStatus{ArchiveStatus::NOT_SET};
616 bool m_archiveStatusHasBeenSet = false;
617
618 Aws::Utils::DateTime m_lastModified{};
619 bool m_lastModifiedHasBeenSet = false;
620
621 long long m_contentLength{0};
622 bool m_contentLengthHasBeenSet = false;
623
624 Aws::String m_checksumCRC32;
625 bool m_checksumCRC32HasBeenSet = false;
626
627 Aws::String m_checksumCRC32C;
628 bool m_checksumCRC32CHasBeenSet = false;
629
630 Aws::String m_checksumCRC64NVME;
631 bool m_checksumCRC64NVMEHasBeenSet = false;
632
633 Aws::String m_checksumSHA1;
634 bool m_checksumSHA1HasBeenSet = false;
635
636 Aws::String m_checksumSHA256;
637 bool m_checksumSHA256HasBeenSet = false;
638
639 ChecksumType m_checksumType{ChecksumType::NOT_SET};
640 bool m_checksumTypeHasBeenSet = false;
641
642 Aws::String m_eTag;
643 bool m_eTagHasBeenSet = false;
644
645 int m_missingMeta{0};
646 bool m_missingMetaHasBeenSet = false;
647
648 Aws::String m_versionId;
649 bool m_versionIdHasBeenSet = false;
650
651 Aws::String m_cacheControl;
652 bool m_cacheControlHasBeenSet = false;
653
654 Aws::String m_contentDisposition;
655 bool m_contentDispositionHasBeenSet = false;
656
657 Aws::String m_contentEncoding;
658 bool m_contentEncodingHasBeenSet = false;
659
660 Aws::String m_contentLanguage;
661 bool m_contentLanguageHasBeenSet = false;
662
663 Aws::String m_contentType;
664 bool m_contentTypeHasBeenSet = false;
665
666 Aws::String m_contentRange;
667 bool m_contentRangeHasBeenSet = false;
668
669 Aws::Utils::DateTime m_expires{};
670 bool m_expiresHasBeenSet = false;
671
672 Aws::String m_websiteRedirectLocation;
673 bool m_websiteRedirectLocationHasBeenSet = false;
674
676 bool m_serverSideEncryptionHasBeenSet = false;
677
679 bool m_metadataHasBeenSet = false;
680
681 Aws::String m_sSECustomerAlgorithm;
682 bool m_sSECustomerAlgorithmHasBeenSet = false;
683
684 Aws::String m_sSECustomerKeyMD5;
685 bool m_sSECustomerKeyMD5HasBeenSet = false;
686
687 Aws::String m_sSEKMSKeyId;
688 bool m_sSEKMSKeyIdHasBeenSet = false;
689
690 bool m_bucketKeyEnabled{false};
691 bool m_bucketKeyEnabledHasBeenSet = false;
692
693 StorageClass m_storageClass{StorageClass::NOT_SET};
694 bool m_storageClassHasBeenSet = false;
695
696 RequestCharged m_requestCharged{RequestCharged::NOT_SET};
697 bool m_requestChargedHasBeenSet = false;
698
700 bool m_replicationStatusHasBeenSet = false;
701
702 int m_partsCount{0};
703 bool m_partsCountHasBeenSet = false;
704
705 int m_tagCount{0};
706 bool m_tagCountHasBeenSet = false;
707
708 ObjectLockMode m_objectLockMode{ObjectLockMode::NOT_SET};
709 bool m_objectLockModeHasBeenSet = false;
710
711 Aws::Utils::DateTime m_objectLockRetainUntilDate{};
712 bool m_objectLockRetainUntilDateHasBeenSet = false;
713
715 bool m_objectLockLegalHoldStatusHasBeenSet = false;
716
717 Aws::String m_expiresString;
718 bool m_expiresStringHasBeenSet = false;
719
720 Aws::String m_requestId;
721 bool m_requestIdHasBeenSet = false;
722 };
723
724} // namespace Model
725} // namespace S3
726} // 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