AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
WriteGetObjectResponseRequest.h
1
6#pragma once
7#include <aws/core/utils/Array.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/S3CrtRequest.h>
12#include <aws/s3-crt/S3Crt_EXPORTS.h>
13#include <aws/s3-crt/model/ObjectLockLegalHoldStatus.h>
14#include <aws/s3-crt/model/ObjectLockMode.h>
15#include <aws/s3-crt/model/ReplicationStatus.h>
16#include <aws/s3-crt/model/RequestCharged.h>
17#include <aws/s3-crt/model/ServerSideEncryption.h>
18#include <aws/s3-crt/model/StorageClass.h>
19
20#include <utility>
21
22namespace Aws {
23namespace Http {
24class URI;
25} // namespace Http
26namespace S3Crt {
27namespace Model {
28
32 public:
33 AWS_S3CRT_API WriteGetObjectResponseRequest() = default;
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "WriteGetObjectResponse"; }
40
41 AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
44
45 AWS_S3CRT_API bool HasEmbeddedError(IOStream& body, const Http::HeaderValueCollection& header) const override;
46 AWS_S3CRT_API bool SignBody() const override { return false; }
47
48 AWS_S3CRT_API bool IsChunked() const override { return true; }
49
53 AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override;
54
56
59 inline const Aws::String& GetRequestRoute() const { return m_requestRoute; }
60 inline bool RequestRouteHasBeenSet() const { return m_requestRouteHasBeenSet; }
61 template <typename RequestRouteT = Aws::String>
62 void SetRequestRoute(RequestRouteT&& value) {
63 m_requestRouteHasBeenSet = true;
64 m_requestRoute = std::forward<RequestRouteT>(value);
65 }
66 template <typename RequestRouteT = Aws::String>
68 SetRequestRoute(std::forward<RequestRouteT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetRequestToken() const { return m_requestToken; }
79 inline bool RequestTokenHasBeenSet() const { return m_requestTokenHasBeenSet; }
80 template <typename RequestTokenT = Aws::String>
81 void SetRequestToken(RequestTokenT&& value) {
82 m_requestTokenHasBeenSet = true;
83 m_requestToken = std::forward<RequestTokenT>(value);
84 }
85 template <typename RequestTokenT = Aws::String>
87 SetRequestToken(std::forward<RequestTokenT>(value));
88 return *this;
89 }
91
93
107 inline int GetStatusCode() const { return m_statusCode; }
108 inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
109 inline void SetStatusCode(int value) {
110 m_statusCodeHasBeenSet = true;
111 m_statusCode = value;
112 }
114 SetStatusCode(value);
115 return *this;
116 }
118
120
128 inline const Aws::String& GetErrorCode() const { return m_errorCode; }
129 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
130 template <typename ErrorCodeT = Aws::String>
131 void SetErrorCode(ErrorCodeT&& value) {
132 m_errorCodeHasBeenSet = true;
133 m_errorCode = std::forward<ErrorCodeT>(value);
134 }
135 template <typename ErrorCodeT = Aws::String>
137 SetErrorCode(std::forward<ErrorCodeT>(value));
138 return *this;
139 }
141
143
150 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
151 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
152 template <typename ErrorMessageT = Aws::String>
153 void SetErrorMessage(ErrorMessageT&& value) {
154 m_errorMessageHasBeenSet = true;
155 m_errorMessage = std::forward<ErrorMessageT>(value);
156 }
157 template <typename ErrorMessageT = Aws::String>
159 SetErrorMessage(std::forward<ErrorMessageT>(value));
160 return *this;
161 }
163
165
168 inline const Aws::String& GetAcceptRanges() const { return m_acceptRanges; }
169 inline bool AcceptRangesHasBeenSet() const { return m_acceptRangesHasBeenSet; }
170 template <typename AcceptRangesT = Aws::String>
171 void SetAcceptRanges(AcceptRangesT&& value) {
172 m_acceptRangesHasBeenSet = true;
173 m_acceptRanges = std::forward<AcceptRangesT>(value);
174 }
175 template <typename AcceptRangesT = Aws::String>
177 SetAcceptRanges(std::forward<AcceptRangesT>(value));
178 return *this;
179 }
181
183
186 inline const Aws::String& GetCacheControl() const { return m_cacheControl; }
187 inline bool CacheControlHasBeenSet() const { return m_cacheControlHasBeenSet; }
188 template <typename CacheControlT = Aws::String>
189 void SetCacheControl(CacheControlT&& value) {
190 m_cacheControlHasBeenSet = true;
191 m_cacheControl = std::forward<CacheControlT>(value);
192 }
193 template <typename CacheControlT = Aws::String>
195 SetCacheControl(std::forward<CacheControlT>(value));
196 return *this;
197 }
199
201
204 inline const Aws::String& GetContentDisposition() const { return m_contentDisposition; }
205 inline bool ContentDispositionHasBeenSet() const { return m_contentDispositionHasBeenSet; }
206 template <typename ContentDispositionT = Aws::String>
207 void SetContentDisposition(ContentDispositionT&& value) {
208 m_contentDispositionHasBeenSet = true;
209 m_contentDisposition = std::forward<ContentDispositionT>(value);
210 }
211 template <typename ContentDispositionT = Aws::String>
213 SetContentDisposition(std::forward<ContentDispositionT>(value));
214 return *this;
215 }
217
219
224 inline const Aws::String& GetContentEncoding() const { return m_contentEncoding; }
225 inline bool ContentEncodingHasBeenSet() const { return m_contentEncodingHasBeenSet; }
226 template <typename ContentEncodingT = Aws::String>
227 void SetContentEncoding(ContentEncodingT&& value) {
228 m_contentEncodingHasBeenSet = true;
229 m_contentEncoding = std::forward<ContentEncodingT>(value);
230 }
231 template <typename ContentEncodingT = Aws::String>
233 SetContentEncoding(std::forward<ContentEncodingT>(value));
234 return *this;
235 }
237
239
242 inline const Aws::String& GetContentLanguage() const { return m_contentLanguage; }
243 inline bool ContentLanguageHasBeenSet() const { return m_contentLanguageHasBeenSet; }
244 template <typename ContentLanguageT = Aws::String>
245 void SetContentLanguage(ContentLanguageT&& value) {
246 m_contentLanguageHasBeenSet = true;
247 m_contentLanguage = std::forward<ContentLanguageT>(value);
248 }
249 template <typename ContentLanguageT = Aws::String>
251 SetContentLanguage(std::forward<ContentLanguageT>(value));
252 return *this;
253 }
255
257
260 inline long long GetContentLength() const { return m_contentLength; }
261 inline bool ContentLengthHasBeenSet() const { return m_contentLengthHasBeenSet; }
262 inline void SetContentLength(long long value) {
263 m_contentLengthHasBeenSet = true;
264 m_contentLength = value;
265 }
267 SetContentLength(value);
268 return *this;
269 }
271
273
276 inline const Aws::String& GetContentRange() const { return m_contentRange; }
277 inline bool ContentRangeHasBeenSet() const { return m_contentRangeHasBeenSet; }
278 template <typename ContentRangeT = Aws::String>
279 void SetContentRange(ContentRangeT&& value) {
280 m_contentRangeHasBeenSet = true;
281 m_contentRange = std::forward<ContentRangeT>(value);
282 }
283 template <typename ContentRangeT = Aws::String>
285 SetContentRange(std::forward<ContentRangeT>(value));
286 return *this;
287 }
289
291
304 inline const Aws::String& GetChecksumCRC32() const { return m_checksumCRC32; }
305 inline bool ChecksumCRC32HasBeenSet() const { return m_checksumCRC32HasBeenSet; }
306 template <typename ChecksumCRC32T = Aws::String>
307 void SetChecksumCRC32(ChecksumCRC32T&& value) {
308 m_checksumCRC32HasBeenSet = true;
309 m_checksumCRC32 = std::forward<ChecksumCRC32T>(value);
310 }
311 template <typename ChecksumCRC32T = Aws::String>
313 SetChecksumCRC32(std::forward<ChecksumCRC32T>(value));
314 return *this;
315 }
317
319
332 inline const Aws::String& GetChecksumCRC32C() const { return m_checksumCRC32C; }
333 inline bool ChecksumCRC32CHasBeenSet() const { return m_checksumCRC32CHasBeenSet; }
334 template <typename ChecksumCRC32CT = Aws::String>
335 void SetChecksumCRC32C(ChecksumCRC32CT&& value) {
336 m_checksumCRC32CHasBeenSet = true;
337 m_checksumCRC32C = std::forward<ChecksumCRC32CT>(value);
338 }
339 template <typename ChecksumCRC32CT = Aws::String>
341 SetChecksumCRC32C(std::forward<ChecksumCRC32CT>(value));
342 return *this;
343 }
345
347
355 inline const Aws::String& GetChecksumCRC64NVME() const { return m_checksumCRC64NVME; }
356 inline bool ChecksumCRC64NVMEHasBeenSet() const { return m_checksumCRC64NVMEHasBeenSet; }
357 template <typename ChecksumCRC64NVMET = Aws::String>
358 void SetChecksumCRC64NVME(ChecksumCRC64NVMET&& value) {
359 m_checksumCRC64NVMEHasBeenSet = true;
360 m_checksumCRC64NVME = std::forward<ChecksumCRC64NVMET>(value);
361 }
362 template <typename ChecksumCRC64NVMET = Aws::String>
364 SetChecksumCRC64NVME(std::forward<ChecksumCRC64NVMET>(value));
365 return *this;
366 }
368
370
383 inline const Aws::String& GetChecksumSHA1() const { return m_checksumSHA1; }
384 inline bool ChecksumSHA1HasBeenSet() const { return m_checksumSHA1HasBeenSet; }
385 template <typename ChecksumSHA1T = Aws::String>
386 void SetChecksumSHA1(ChecksumSHA1T&& value) {
387 m_checksumSHA1HasBeenSet = true;
388 m_checksumSHA1 = std::forward<ChecksumSHA1T>(value);
389 }
390 template <typename ChecksumSHA1T = Aws::String>
392 SetChecksumSHA1(std::forward<ChecksumSHA1T>(value));
393 return *this;
394 }
396
398
411 inline const Aws::String& GetChecksumSHA256() const { return m_checksumSHA256; }
412 inline bool ChecksumSHA256HasBeenSet() const { return m_checksumSHA256HasBeenSet; }
413 template <typename ChecksumSHA256T = Aws::String>
414 void SetChecksumSHA256(ChecksumSHA256T&& value) {
415 m_checksumSHA256HasBeenSet = true;
416 m_checksumSHA256 = std::forward<ChecksumSHA256T>(value);
417 }
418 template <typename ChecksumSHA256T = Aws::String>
420 SetChecksumSHA256(std::forward<ChecksumSHA256T>(value));
421 return *this;
422 }
424
426
433 inline bool GetDeleteMarker() const { return m_deleteMarker; }
434 inline bool DeleteMarkerHasBeenSet() const { return m_deleteMarkerHasBeenSet; }
435 inline void SetDeleteMarker(bool value) {
436 m_deleteMarkerHasBeenSet = true;
437 m_deleteMarker = value;
438 }
440 SetDeleteMarker(value);
441 return *this;
442 }
444
446
450 inline const Aws::String& GetETag() const { return m_eTag; }
451 inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; }
452 template <typename ETagT = Aws::String>
453 void SetETag(ETagT&& value) {
454 m_eTagHasBeenSet = true;
455 m_eTag = std::forward<ETagT>(value);
456 }
457 template <typename ETagT = Aws::String>
459 SetETag(std::forward<ETagT>(value));
460 return *this;
461 }
463
465
468 inline const Aws::Utils::DateTime& GetExpires() const { return m_expires; }
469 inline bool ExpiresHasBeenSet() const { return m_expiresHasBeenSet; }
470 template <typename ExpiresT = Aws::Utils::DateTime>
471 void SetExpires(ExpiresT&& value) {
472 m_expiresHasBeenSet = true;
473 m_expires = std::forward<ExpiresT>(value);
474 }
475 template <typename ExpiresT = Aws::Utils::DateTime>
477 SetExpires(std::forward<ExpiresT>(value));
478 return *this;
479 }
481
483
489 inline const Aws::String& GetExpiration() const { return m_expiration; }
490 inline bool ExpirationHasBeenSet() const { return m_expirationHasBeenSet; }
491 template <typename ExpirationT = Aws::String>
492 void SetExpiration(ExpirationT&& value) {
493 m_expirationHasBeenSet = true;
494 m_expiration = std::forward<ExpirationT>(value);
495 }
496 template <typename ExpirationT = Aws::String>
498 SetExpiration(std::forward<ExpirationT>(value));
499 return *this;
500 }
502
504
507 inline const Aws::Utils::DateTime& GetLastModified() const { return m_lastModified; }
508 inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; }
509 template <typename LastModifiedT = Aws::Utils::DateTime>
510 void SetLastModified(LastModifiedT&& value) {
511 m_lastModifiedHasBeenSet = true;
512 m_lastModified = std::forward<LastModifiedT>(value);
513 }
514 template <typename LastModifiedT = Aws::Utils::DateTime>
516 SetLastModified(std::forward<LastModifiedT>(value));
517 return *this;
518 }
520
522
528 inline int GetMissingMeta() const { return m_missingMeta; }
529 inline bool MissingMetaHasBeenSet() const { return m_missingMetaHasBeenSet; }
530 inline void SetMissingMeta(int value) {
531 m_missingMetaHasBeenSet = true;
532 m_missingMeta = value;
533 }
535 SetMissingMeta(value);
536 return *this;
537 }
539
541
544 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const { return m_metadata; }
545 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
546 template <typename MetadataT = Aws::Map<Aws::String, Aws::String>>
547 void SetMetadata(MetadataT&& value) {
548 m_metadataHasBeenSet = true;
549 m_metadata = std::forward<MetadataT>(value);
550 }
551 template <typename MetadataT = Aws::Map<Aws::String, Aws::String>>
553 SetMetadata(std::forward<MetadataT>(value));
554 return *this;
555 }
556 template <typename MetadataKeyT = Aws::String, typename MetadataValueT = Aws::String>
557 WriteGetObjectResponseRequest& AddMetadata(MetadataKeyT&& key, MetadataValueT&& value) {
558 m_metadataHasBeenSet = true;
559 m_metadata.emplace(std::forward<MetadataKeyT>(key), std::forward<MetadataValueT>(value));
560 return *this;
561 }
563
565
571 inline ObjectLockMode GetObjectLockMode() const { return m_objectLockMode; }
572 inline bool ObjectLockModeHasBeenSet() const { return m_objectLockModeHasBeenSet; }
574 m_objectLockModeHasBeenSet = true;
575 m_objectLockMode = value;
576 }
578 SetObjectLockMode(value);
579 return *this;
580 }
582
584
587 inline ObjectLockLegalHoldStatus GetObjectLockLegalHoldStatus() const { return m_objectLockLegalHoldStatus; }
588 inline bool ObjectLockLegalHoldStatusHasBeenSet() const { return m_objectLockLegalHoldStatusHasBeenSet; }
590 m_objectLockLegalHoldStatusHasBeenSet = true;
591 m_objectLockLegalHoldStatus = value;
592 }
595 return *this;
596 }
598
600
603 inline const Aws::Utils::DateTime& GetObjectLockRetainUntilDate() const { return m_objectLockRetainUntilDate; }
604 inline bool ObjectLockRetainUntilDateHasBeenSet() const { return m_objectLockRetainUntilDateHasBeenSet; }
605 template <typename ObjectLockRetainUntilDateT = Aws::Utils::DateTime>
606 void SetObjectLockRetainUntilDate(ObjectLockRetainUntilDateT&& value) {
607 m_objectLockRetainUntilDateHasBeenSet = true;
608 m_objectLockRetainUntilDate = std::forward<ObjectLockRetainUntilDateT>(value);
609 }
610 template <typename ObjectLockRetainUntilDateT = Aws::Utils::DateTime>
612 SetObjectLockRetainUntilDate(std::forward<ObjectLockRetainUntilDateT>(value));
613 return *this;
614 }
616
618
621 inline int GetPartsCount() const { return m_partsCount; }
622 inline bool PartsCountHasBeenSet() const { return m_partsCountHasBeenSet; }
623 inline void SetPartsCount(int value) {
624 m_partsCountHasBeenSet = true;
625 m_partsCount = value;
626 }
628 SetPartsCount(value);
629 return *this;
630 }
632
634
639 inline ReplicationStatus GetReplicationStatus() const { return m_replicationStatus; }
640 inline bool ReplicationStatusHasBeenSet() const { return m_replicationStatusHasBeenSet; }
642 m_replicationStatusHasBeenSet = true;
643 m_replicationStatus = value;
644 }
647 return *this;
648 }
650
652
653 inline RequestCharged GetRequestCharged() const { return m_requestCharged; }
654 inline bool RequestChargedHasBeenSet() const { return m_requestChargedHasBeenSet; }
656 m_requestChargedHasBeenSet = true;
657 m_requestCharged = value;
658 }
660 SetRequestCharged(value);
661 return *this;
662 }
664
666
670 inline const Aws::String& GetRestore() const { return m_restore; }
671 inline bool RestoreHasBeenSet() const { return m_restoreHasBeenSet; }
672 template <typename RestoreT = Aws::String>
673 void SetRestore(RestoreT&& value) {
674 m_restoreHasBeenSet = true;
675 m_restore = std::forward<RestoreT>(value);
676 }
677 template <typename RestoreT = Aws::String>
679 SetRestore(std::forward<RestoreT>(value));
680 return *this;
681 }
683
685
691 inline ServerSideEncryption GetServerSideEncryption() const { return m_serverSideEncryption; }
692 inline bool ServerSideEncryptionHasBeenSet() const { return m_serverSideEncryptionHasBeenSet; }
694 m_serverSideEncryptionHasBeenSet = true;
695 m_serverSideEncryption = value;
696 }
699 return *this;
700 }
702
704
708 inline const Aws::String& GetSSECustomerAlgorithm() const { return m_sSECustomerAlgorithm; }
709 inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; }
710 template <typename SSECustomerAlgorithmT = Aws::String>
711 void SetSSECustomerAlgorithm(SSECustomerAlgorithmT&& value) {
712 m_sSECustomerAlgorithmHasBeenSet = true;
713 m_sSECustomerAlgorithm = std::forward<SSECustomerAlgorithmT>(value);
714 }
715 template <typename SSECustomerAlgorithmT = Aws::String>
717 SetSSECustomerAlgorithm(std::forward<SSECustomerAlgorithmT>(value));
718 return *this;
719 }
721
723
729 inline const Aws::String& GetSSEKMSKeyId() const { return m_sSEKMSKeyId; }
730 inline bool SSEKMSKeyIdHasBeenSet() const { return m_sSEKMSKeyIdHasBeenSet; }
731 template <typename SSEKMSKeyIdT = Aws::String>
732 void SetSSEKMSKeyId(SSEKMSKeyIdT&& value) {
733 m_sSEKMSKeyIdHasBeenSet = true;
734 m_sSEKMSKeyId = std::forward<SSEKMSKeyIdT>(value);
735 }
736 template <typename SSEKMSKeyIdT = Aws::String>
738 SetSSEKMSKeyId(std::forward<SSEKMSKeyIdT>(value));
739 return *this;
740 }
742
744
751 inline const Aws::String& GetSSECustomerKeyMD5() const { return m_sSECustomerKeyMD5; }
752 inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; }
753 template <typename SSECustomerKeyMD5T = Aws::String>
754 void SetSSECustomerKeyMD5(SSECustomerKeyMD5T&& value) {
755 m_sSECustomerKeyMD5HasBeenSet = true;
756 m_sSECustomerKeyMD5 = std::forward<SSECustomerKeyMD5T>(value);
757 }
758 template <typename SSECustomerKeyMD5T = Aws::String>
760 SetSSECustomerKeyMD5(std::forward<SSECustomerKeyMD5T>(value));
761 return *this;
762 }
764
766
773 inline StorageClass GetStorageClass() const { return m_storageClass; }
774 inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; }
775 inline void SetStorageClass(StorageClass value) {
776 m_storageClassHasBeenSet = true;
777 m_storageClass = value;
778 }
780 SetStorageClass(value);
781 return *this;
782 }
784
786
789 inline int GetTagCount() const { return m_tagCount; }
790 inline bool TagCountHasBeenSet() const { return m_tagCountHasBeenSet; }
791 inline void SetTagCount(int value) {
792 m_tagCountHasBeenSet = true;
793 m_tagCount = value;
794 }
796 SetTagCount(value);
797 return *this;
798 }
800
802
805 inline const Aws::String& GetVersionId() const { return m_versionId; }
806 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
807 template <typename VersionIdT = Aws::String>
808 void SetVersionId(VersionIdT&& value) {
809 m_versionIdHasBeenSet = true;
810 m_versionId = std::forward<VersionIdT>(value);
811 }
812 template <typename VersionIdT = Aws::String>
814 SetVersionId(std::forward<VersionIdT>(value));
815 return *this;
816 }
818
820
824 inline bool GetBucketKeyEnabled() const { return m_bucketKeyEnabled; }
825 inline bool BucketKeyEnabledHasBeenSet() const { return m_bucketKeyEnabledHasBeenSet; }
826 inline void SetBucketKeyEnabled(bool value) {
827 m_bucketKeyEnabledHasBeenSet = true;
828 m_bucketKeyEnabled = value;
829 }
831 SetBucketKeyEnabled(value);
832 return *this;
833 }
835
837
838 inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const { return m_customizedAccessLogTag; }
839 inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; }
840 template <typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
841 void SetCustomizedAccessLogTag(CustomizedAccessLogTagT&& value) {
842 m_customizedAccessLogTagHasBeenSet = true;
843 m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value);
844 }
845 template <typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
847 SetCustomizedAccessLogTag(std::forward<CustomizedAccessLogTagT>(value));
848 return *this;
849 }
850 template <typename CustomizedAccessLogTagKeyT = Aws::String, typename CustomizedAccessLogTagValueT = Aws::String>
851 WriteGetObjectResponseRequest& AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT&& key, CustomizedAccessLogTagValueT&& value) {
852 m_customizedAccessLogTagHasBeenSet = true;
853 m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
854 return *this;
855 }
857 private:
858 Aws::String m_requestRoute;
859
860 Aws::String m_requestToken;
861
862 int m_statusCode{0};
863
864 Aws::String m_errorCode;
865
866 Aws::String m_errorMessage;
867
868 Aws::String m_acceptRanges;
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 long long m_contentLength{0};
879
880 Aws::String m_contentRange;
881
882 Aws::String m_checksumCRC32;
883
884 Aws::String m_checksumCRC32C;
885
886 Aws::String m_checksumCRC64NVME;
887
888 Aws::String m_checksumSHA1;
889
890 Aws::String m_checksumSHA256;
891
892 bool m_deleteMarker{false};
893
894 Aws::String m_eTag;
895
896 Aws::Utils::DateTime m_expires{};
897
898 Aws::String m_expiration;
899
900 Aws::Utils::DateTime m_lastModified{};
901
902 int m_missingMeta{0};
903
905
906 ObjectLockMode m_objectLockMode{ObjectLockMode::NOT_SET};
907
909
910 Aws::Utils::DateTime m_objectLockRetainUntilDate{};
911
912 int m_partsCount{0};
913
915
916 RequestCharged m_requestCharged{RequestCharged::NOT_SET};
917
918 Aws::String m_restore;
919
921
922 Aws::String m_sSECustomerAlgorithm;
923
924 Aws::String m_sSEKMSKeyId;
925
926 Aws::String m_sSECustomerKeyMD5;
927
928 StorageClass m_storageClass{StorageClass::NOT_SET};
929
930 int m_tagCount{0};
931
932 Aws::String m_versionId;
933
934 bool m_bucketKeyEnabled{false};
935
936 Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag;
937 bool m_requestRouteHasBeenSet = false;
938 bool m_requestTokenHasBeenSet = false;
939 bool m_statusCodeHasBeenSet = false;
940 bool m_errorCodeHasBeenSet = false;
941 bool m_errorMessageHasBeenSet = false;
942 bool m_acceptRangesHasBeenSet = false;
943 bool m_cacheControlHasBeenSet = false;
944 bool m_contentDispositionHasBeenSet = false;
945 bool m_contentEncodingHasBeenSet = false;
946 bool m_contentLanguageHasBeenSet = false;
947 bool m_contentLengthHasBeenSet = false;
948 bool m_contentRangeHasBeenSet = false;
949 bool m_checksumCRC32HasBeenSet = false;
950 bool m_checksumCRC32CHasBeenSet = false;
951 bool m_checksumCRC64NVMEHasBeenSet = false;
952 bool m_checksumSHA1HasBeenSet = false;
953 bool m_checksumSHA256HasBeenSet = false;
954 bool m_deleteMarkerHasBeenSet = false;
955 bool m_eTagHasBeenSet = false;
956 bool m_expiresHasBeenSet = false;
957 bool m_expirationHasBeenSet = false;
958 bool m_lastModifiedHasBeenSet = false;
959 bool m_missingMetaHasBeenSet = false;
960 bool m_metadataHasBeenSet = false;
961 bool m_objectLockModeHasBeenSet = false;
962 bool m_objectLockLegalHoldStatusHasBeenSet = false;
963 bool m_objectLockRetainUntilDateHasBeenSet = false;
964 bool m_partsCountHasBeenSet = false;
965 bool m_replicationStatusHasBeenSet = false;
966 bool m_requestChargedHasBeenSet = false;
967 bool m_restoreHasBeenSet = false;
968 bool m_serverSideEncryptionHasBeenSet = false;
969 bool m_sSECustomerAlgorithmHasBeenSet = false;
970 bool m_sSEKMSKeyIdHasBeenSet = false;
971 bool m_sSECustomerKeyMD5HasBeenSet = false;
972 bool m_storageClassHasBeenSet = false;
973 bool m_tagCountHasBeenSet = false;
974 bool m_versionIdHasBeenSet = false;
975 bool m_bucketKeyEnabledHasBeenSet = false;
976 bool m_customizedAccessLogTagHasBeenSet = false;
977};
978
979} // namespace Model
980} // namespace S3Crt
981} // namespace Aws
Aws::Vector< Aws::Endpoint::EndpointParameter > EndpointParameters
WriteGetObjectResponseRequest & WithStorageClass(StorageClass value)
WriteGetObjectResponseRequest & WithSSEKMSKeyId(SSEKMSKeyIdT &&value)
AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
WriteGetObjectResponseRequest & WithServerSideEncryption(ServerSideEncryption value)
WriteGetObjectResponseRequest & WithErrorCode(ErrorCodeT &&value)
WriteGetObjectResponseRequest & WithChecksumCRC64NVME(ChecksumCRC64NVMET &&value)
AWS_S3CRT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
WriteGetObjectResponseRequest & WithChecksumCRC32(ChecksumCRC32T &&value)
WriteGetObjectResponseRequest & WithMissingMeta(int value)
WriteGetObjectResponseRequest & WithContentDisposition(ContentDispositionT &&value)
WriteGetObjectResponseRequest & WithContentLength(long long value)
WriteGetObjectResponseRequest & WithRequestCharged(RequestCharged value)
WriteGetObjectResponseRequest & WithSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus value)
WriteGetObjectResponseRequest & WithTagCount(int value)
WriteGetObjectResponseRequest & WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus value)
WriteGetObjectResponseRequest & WithErrorMessage(ErrorMessageT &&value)
WriteGetObjectResponseRequest & WithReplicationStatus(ReplicationStatus value)
WriteGetObjectResponseRequest & WithRequestToken(RequestTokenT &&value)
WriteGetObjectResponseRequest & WithBucketKeyEnabled(bool value)
WriteGetObjectResponseRequest & WithDeleteMarker(bool value)
WriteGetObjectResponseRequest & WithObjectLockRetainUntilDate(ObjectLockRetainUntilDateT &&value)
AWS_S3CRT_API WriteGetObjectResponseRequest()=default
WriteGetObjectResponseRequest & WithExpires(ExpiresT &&value)
WriteGetObjectResponseRequest & WithObjectLockMode(ObjectLockMode value)
WriteGetObjectResponseRequest & WithRequestRoute(RequestRouteT &&value)
WriteGetObjectResponseRequest & WithChecksumSHA1(ChecksumSHA1T &&value)
WriteGetObjectResponseRequest & WithContentLanguage(ContentLanguageT &&value)
WriteGetObjectResponseRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
WriteGetObjectResponseRequest & WithChecksumSHA256(ChecksumSHA256T &&value)
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
WriteGetObjectResponseRequest & WithVersionId(VersionIdT &&value)
WriteGetObjectResponseRequest & WithExpiration(ExpirationT &&value)
WriteGetObjectResponseRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
WriteGetObjectResponseRequest & WithMetadata(MetadataT &&value)
WriteGetObjectResponseRequest & WithETag(ETagT &&value)
AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override
WriteGetObjectResponseRequest & WithCacheControl(CacheControlT &&value)
AWS_S3CRT_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
WriteGetObjectResponseRequest & AddMetadata(MetadataKeyT &&key, MetadataValueT &&value)
const Aws::Utils::DateTime & GetObjectLockRetainUntilDate() const
WriteGetObjectResponseRequest & WithRestore(RestoreT &&value)
WriteGetObjectResponseRequest & WithSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
WriteGetObjectResponseRequest & WithAcceptRanges(AcceptRangesT &&value)
WriteGetObjectResponseRequest & WithLastModified(LastModifiedT &&value)
void SetObjectLockRetainUntilDate(ObjectLockRetainUntilDateT &&value)
WriteGetObjectResponseRequest & WithStatusCode(int value)
WriteGetObjectResponseRequest & WithContentRange(ContentRangeT &&value)
WriteGetObjectResponseRequest & WithPartsCount(int value)
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
WriteGetObjectResponseRequest & WithChecksumCRC32C(ChecksumCRC32CT &&value)
WriteGetObjectResponseRequest & WithContentEncoding(ContentEncodingT &&value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_iostream< char, std::char_traits< char > > IOStream
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String