AWS SDK for C++

AWS SDK for C++ Version 1.11.812

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/S3Request.h>
12#include <aws/s3/S3_EXPORTS.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 {
23namespace Http {
24class URI;
25} // namespace Http
26namespace S3 {
27namespace Model {
28
32 public:
33 AWS_S3_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_S3_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
44
45 AWS_S3_API bool HasEmbeddedError(IOStream& body, const Http::HeaderValueCollection& header) const override;
46 AWS_S3_API bool SignBody() const override { return false; }
47
48 AWS_S3_API bool IsChunked() const override { return true; }
49
53 AWS_S3_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
434 inline const Aws::String& GetChecksumSHA512() const { return m_checksumSHA512; }
435 inline bool ChecksumSHA512HasBeenSet() const { return m_checksumSHA512HasBeenSet; }
436 template <typename ChecksumSHA512T = Aws::String>
437 void SetChecksumSHA512(ChecksumSHA512T&& value) {
438 m_checksumSHA512HasBeenSet = true;
439 m_checksumSHA512 = std::forward<ChecksumSHA512T>(value);
440 }
441 template <typename ChecksumSHA512T = Aws::String>
443 SetChecksumSHA512(std::forward<ChecksumSHA512T>(value));
444 return *this;
445 }
447
449
457 inline const Aws::String& GetChecksumMD5() const { return m_checksumMD5; }
458 inline bool ChecksumMD5HasBeenSet() const { return m_checksumMD5HasBeenSet; }
459 template <typename ChecksumMD5T = Aws::String>
460 void SetChecksumMD5(ChecksumMD5T&& value) {
461 m_checksumMD5HasBeenSet = true;
462 m_checksumMD5 = std::forward<ChecksumMD5T>(value);
463 }
464 template <typename ChecksumMD5T = Aws::String>
466 SetChecksumMD5(std::forward<ChecksumMD5T>(value));
467 return *this;
468 }
470
472
480 inline const Aws::String& GetChecksumXXHASH64() const { return m_checksumXXHASH64; }
481 inline bool ChecksumXXHASH64HasBeenSet() const { return m_checksumXXHASH64HasBeenSet; }
482 template <typename ChecksumXXHASH64T = Aws::String>
483 void SetChecksumXXHASH64(ChecksumXXHASH64T&& value) {
484 m_checksumXXHASH64HasBeenSet = true;
485 m_checksumXXHASH64 = std::forward<ChecksumXXHASH64T>(value);
486 }
487 template <typename ChecksumXXHASH64T = Aws::String>
489 SetChecksumXXHASH64(std::forward<ChecksumXXHASH64T>(value));
490 return *this;
491 }
493
495
503 inline const Aws::String& GetChecksumXXHASH3() const { return m_checksumXXHASH3; }
504 inline bool ChecksumXXHASH3HasBeenSet() const { return m_checksumXXHASH3HasBeenSet; }
505 template <typename ChecksumXXHASH3T = Aws::String>
506 void SetChecksumXXHASH3(ChecksumXXHASH3T&& value) {
507 m_checksumXXHASH3HasBeenSet = true;
508 m_checksumXXHASH3 = std::forward<ChecksumXXHASH3T>(value);
509 }
510 template <typename ChecksumXXHASH3T = Aws::String>
512 SetChecksumXXHASH3(std::forward<ChecksumXXHASH3T>(value));
513 return *this;
514 }
516
518
526 inline const Aws::String& GetChecksumXXHASH128() const { return m_checksumXXHASH128; }
527 inline bool ChecksumXXHASH128HasBeenSet() const { return m_checksumXXHASH128HasBeenSet; }
528 template <typename ChecksumXXHASH128T = Aws::String>
529 void SetChecksumXXHASH128(ChecksumXXHASH128T&& value) {
530 m_checksumXXHASH128HasBeenSet = true;
531 m_checksumXXHASH128 = std::forward<ChecksumXXHASH128T>(value);
532 }
533 template <typename ChecksumXXHASH128T = Aws::String>
535 SetChecksumXXHASH128(std::forward<ChecksumXXHASH128T>(value));
536 return *this;
537 }
539
541
548 inline bool GetDeleteMarker() const { return m_deleteMarker; }
549 inline bool DeleteMarkerHasBeenSet() const { return m_deleteMarkerHasBeenSet; }
550 inline void SetDeleteMarker(bool value) {
551 m_deleteMarkerHasBeenSet = true;
552 m_deleteMarker = value;
553 }
555 SetDeleteMarker(value);
556 return *this;
557 }
559
561
565 inline const Aws::String& GetETag() const { return m_eTag; }
566 inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; }
567 template <typename ETagT = Aws::String>
568 void SetETag(ETagT&& value) {
569 m_eTagHasBeenSet = true;
570 m_eTag = std::forward<ETagT>(value);
571 }
572 template <typename ETagT = Aws::String>
574 SetETag(std::forward<ETagT>(value));
575 return *this;
576 }
578
580
583 inline const Aws::Utils::DateTime& GetExpires() const { return m_expires; }
584 inline bool ExpiresHasBeenSet() const { return m_expiresHasBeenSet; }
585 template <typename ExpiresT = Aws::Utils::DateTime>
586 void SetExpires(ExpiresT&& value) {
587 m_expiresHasBeenSet = true;
588 m_expires = std::forward<ExpiresT>(value);
589 }
590 template <typename ExpiresT = Aws::Utils::DateTime>
592 SetExpires(std::forward<ExpiresT>(value));
593 return *this;
594 }
596
598
604 inline const Aws::String& GetExpiration() const { return m_expiration; }
605 inline bool ExpirationHasBeenSet() const { return m_expirationHasBeenSet; }
606 template <typename ExpirationT = Aws::String>
607 void SetExpiration(ExpirationT&& value) {
608 m_expirationHasBeenSet = true;
609 m_expiration = std::forward<ExpirationT>(value);
610 }
611 template <typename ExpirationT = Aws::String>
613 SetExpiration(std::forward<ExpirationT>(value));
614 return *this;
615 }
617
619
622 inline const Aws::Utils::DateTime& GetLastModified() const { return m_lastModified; }
623 inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; }
624 template <typename LastModifiedT = Aws::Utils::DateTime>
625 void SetLastModified(LastModifiedT&& value) {
626 m_lastModifiedHasBeenSet = true;
627 m_lastModified = std::forward<LastModifiedT>(value);
628 }
629 template <typename LastModifiedT = Aws::Utils::DateTime>
631 SetLastModified(std::forward<LastModifiedT>(value));
632 return *this;
633 }
635
637
643 inline int GetMissingMeta() const { return m_missingMeta; }
644 inline bool MissingMetaHasBeenSet() const { return m_missingMetaHasBeenSet; }
645 inline void SetMissingMeta(int value) {
646 m_missingMetaHasBeenSet = true;
647 m_missingMeta = value;
648 }
650 SetMissingMeta(value);
651 return *this;
652 }
654
656
659 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const { return m_metadata; }
660 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
661 template <typename MetadataT = Aws::Map<Aws::String, Aws::String>>
662 void SetMetadata(MetadataT&& value) {
663 m_metadataHasBeenSet = true;
664 m_metadata = std::forward<MetadataT>(value);
665 }
666 template <typename MetadataT = Aws::Map<Aws::String, Aws::String>>
668 SetMetadata(std::forward<MetadataT>(value));
669 return *this;
670 }
671 template <typename MetadataKeyT = Aws::String, typename MetadataValueT = Aws::String>
672 WriteGetObjectResponseRequest& AddMetadata(MetadataKeyT&& key, MetadataValueT&& value) {
673 m_metadataHasBeenSet = true;
674 m_metadata.emplace(std::forward<MetadataKeyT>(key), std::forward<MetadataValueT>(value));
675 return *this;
676 }
678
680
686 inline ObjectLockMode GetObjectLockMode() const { return m_objectLockMode; }
687 inline bool ObjectLockModeHasBeenSet() const { return m_objectLockModeHasBeenSet; }
689 m_objectLockModeHasBeenSet = true;
690 m_objectLockMode = value;
691 }
693 SetObjectLockMode(value);
694 return *this;
695 }
697
699
702 inline ObjectLockLegalHoldStatus GetObjectLockLegalHoldStatus() const { return m_objectLockLegalHoldStatus; }
703 inline bool ObjectLockLegalHoldStatusHasBeenSet() const { return m_objectLockLegalHoldStatusHasBeenSet; }
705 m_objectLockLegalHoldStatusHasBeenSet = true;
706 m_objectLockLegalHoldStatus = value;
707 }
710 return *this;
711 }
713
715
718 inline const Aws::Utils::DateTime& GetObjectLockRetainUntilDate() const { return m_objectLockRetainUntilDate; }
719 inline bool ObjectLockRetainUntilDateHasBeenSet() const { return m_objectLockRetainUntilDateHasBeenSet; }
720 template <typename ObjectLockRetainUntilDateT = Aws::Utils::DateTime>
721 void SetObjectLockRetainUntilDate(ObjectLockRetainUntilDateT&& value) {
722 m_objectLockRetainUntilDateHasBeenSet = true;
723 m_objectLockRetainUntilDate = std::forward<ObjectLockRetainUntilDateT>(value);
724 }
725 template <typename ObjectLockRetainUntilDateT = Aws::Utils::DateTime>
727 SetObjectLockRetainUntilDate(std::forward<ObjectLockRetainUntilDateT>(value));
728 return *this;
729 }
731
733
736 inline int GetPartsCount() const { return m_partsCount; }
737 inline bool PartsCountHasBeenSet() const { return m_partsCountHasBeenSet; }
738 inline void SetPartsCount(int value) {
739 m_partsCountHasBeenSet = true;
740 m_partsCount = value;
741 }
743 SetPartsCount(value);
744 return *this;
745 }
747
749
754 inline ReplicationStatus GetReplicationStatus() const { return m_replicationStatus; }
755 inline bool ReplicationStatusHasBeenSet() const { return m_replicationStatusHasBeenSet; }
757 m_replicationStatusHasBeenSet = true;
758 m_replicationStatus = value;
759 }
762 return *this;
763 }
765
767
768 inline RequestCharged GetRequestCharged() const { return m_requestCharged; }
769 inline bool RequestChargedHasBeenSet() const { return m_requestChargedHasBeenSet; }
771 m_requestChargedHasBeenSet = true;
772 m_requestCharged = value;
773 }
775 SetRequestCharged(value);
776 return *this;
777 }
779
781
785 inline const Aws::String& GetRestore() const { return m_restore; }
786 inline bool RestoreHasBeenSet() const { return m_restoreHasBeenSet; }
787 template <typename RestoreT = Aws::String>
788 void SetRestore(RestoreT&& value) {
789 m_restoreHasBeenSet = true;
790 m_restore = std::forward<RestoreT>(value);
791 }
792 template <typename RestoreT = Aws::String>
794 SetRestore(std::forward<RestoreT>(value));
795 return *this;
796 }
798
800
806 inline ServerSideEncryption GetServerSideEncryption() const { return m_serverSideEncryption; }
807 inline bool ServerSideEncryptionHasBeenSet() const { return m_serverSideEncryptionHasBeenSet; }
809 m_serverSideEncryptionHasBeenSet = true;
810 m_serverSideEncryption = value;
811 }
814 return *this;
815 }
817
819
823 inline const Aws::String& GetSSECustomerAlgorithm() const { return m_sSECustomerAlgorithm; }
824 inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; }
825 template <typename SSECustomerAlgorithmT = Aws::String>
826 void SetSSECustomerAlgorithm(SSECustomerAlgorithmT&& value) {
827 m_sSECustomerAlgorithmHasBeenSet = true;
828 m_sSECustomerAlgorithm = std::forward<SSECustomerAlgorithmT>(value);
829 }
830 template <typename SSECustomerAlgorithmT = Aws::String>
832 SetSSECustomerAlgorithm(std::forward<SSECustomerAlgorithmT>(value));
833 return *this;
834 }
836
838
844 inline const Aws::String& GetSSEKMSKeyId() const { return m_sSEKMSKeyId; }
845 inline bool SSEKMSKeyIdHasBeenSet() const { return m_sSEKMSKeyIdHasBeenSet; }
846 template <typename SSEKMSKeyIdT = Aws::String>
847 void SetSSEKMSKeyId(SSEKMSKeyIdT&& value) {
848 m_sSEKMSKeyIdHasBeenSet = true;
849 m_sSEKMSKeyId = std::forward<SSEKMSKeyIdT>(value);
850 }
851 template <typename SSEKMSKeyIdT = Aws::String>
853 SetSSEKMSKeyId(std::forward<SSEKMSKeyIdT>(value));
854 return *this;
855 }
857
859
866 inline const Aws::String& GetSSECustomerKeyMD5() const { return m_sSECustomerKeyMD5; }
867 inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; }
868 template <typename SSECustomerKeyMD5T = Aws::String>
869 void SetSSECustomerKeyMD5(SSECustomerKeyMD5T&& value) {
870 m_sSECustomerKeyMD5HasBeenSet = true;
871 m_sSECustomerKeyMD5 = std::forward<SSECustomerKeyMD5T>(value);
872 }
873 template <typename SSECustomerKeyMD5T = Aws::String>
875 SetSSECustomerKeyMD5(std::forward<SSECustomerKeyMD5T>(value));
876 return *this;
877 }
879
881
888 inline StorageClass GetStorageClass() const { return m_storageClass; }
889 inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; }
890 inline void SetStorageClass(StorageClass value) {
891 m_storageClassHasBeenSet = true;
892 m_storageClass = value;
893 }
895 SetStorageClass(value);
896 return *this;
897 }
899
901
904 inline int GetTagCount() const { return m_tagCount; }
905 inline bool TagCountHasBeenSet() const { return m_tagCountHasBeenSet; }
906 inline void SetTagCount(int value) {
907 m_tagCountHasBeenSet = true;
908 m_tagCount = value;
909 }
911 SetTagCount(value);
912 return *this;
913 }
915
917
920 inline const Aws::String& GetVersionId() const { return m_versionId; }
921 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
922 template <typename VersionIdT = Aws::String>
923 void SetVersionId(VersionIdT&& value) {
924 m_versionIdHasBeenSet = true;
925 m_versionId = std::forward<VersionIdT>(value);
926 }
927 template <typename VersionIdT = Aws::String>
929 SetVersionId(std::forward<VersionIdT>(value));
930 return *this;
931 }
933
935
939 inline bool GetBucketKeyEnabled() const { return m_bucketKeyEnabled; }
940 inline bool BucketKeyEnabledHasBeenSet() const { return m_bucketKeyEnabledHasBeenSet; }
941 inline void SetBucketKeyEnabled(bool value) {
942 m_bucketKeyEnabledHasBeenSet = true;
943 m_bucketKeyEnabled = value;
944 }
946 SetBucketKeyEnabled(value);
947 return *this;
948 }
950
952
953 inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const { return m_customizedAccessLogTag; }
954 inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; }
955 template <typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
956 void SetCustomizedAccessLogTag(CustomizedAccessLogTagT&& value) {
957 m_customizedAccessLogTagHasBeenSet = true;
958 m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value);
959 }
960 template <typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
962 SetCustomizedAccessLogTag(std::forward<CustomizedAccessLogTagT>(value));
963 return *this;
964 }
965 template <typename CustomizedAccessLogTagKeyT = Aws::String, typename CustomizedAccessLogTagValueT = Aws::String>
966 WriteGetObjectResponseRequest& AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT&& key, CustomizedAccessLogTagValueT&& value) {
967 m_customizedAccessLogTagHasBeenSet = true;
968 m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
969 return *this;
970 }
972 private:
973 Aws::String m_requestRoute;
974
975 Aws::String m_requestToken;
976
977 int m_statusCode{0};
978
979 Aws::String m_errorCode;
980
981 Aws::String m_errorMessage;
982
983 Aws::String m_acceptRanges;
984
985 Aws::String m_cacheControl;
986
987 Aws::String m_contentDisposition;
988
989 Aws::String m_contentEncoding;
990
991 Aws::String m_contentLanguage;
992
993 long long m_contentLength{0};
994
995 Aws::String m_contentRange;
996
997 Aws::String m_checksumCRC32;
998
999 Aws::String m_checksumCRC32C;
1000
1001 Aws::String m_checksumCRC64NVME;
1002
1003 Aws::String m_checksumSHA1;
1004
1005 Aws::String m_checksumSHA256;
1006
1007 Aws::String m_checksumSHA512;
1008
1009 Aws::String m_checksumMD5;
1010
1011 Aws::String m_checksumXXHASH64;
1012
1013 Aws::String m_checksumXXHASH3;
1014
1015 Aws::String m_checksumXXHASH128;
1016
1017 bool m_deleteMarker{false};
1018
1019 Aws::String m_eTag;
1020
1021 Aws::Utils::DateTime m_expires{};
1022
1023 Aws::String m_expiration;
1024
1025 Aws::Utils::DateTime m_lastModified{};
1026
1027 int m_missingMeta{0};
1028
1030
1031 ObjectLockMode m_objectLockMode{ObjectLockMode::NOT_SET};
1032
1034
1035 Aws::Utils::DateTime m_objectLockRetainUntilDate{};
1036
1037 int m_partsCount{0};
1038
1039 ReplicationStatus m_replicationStatus{ReplicationStatus::NOT_SET};
1040
1041 RequestCharged m_requestCharged{RequestCharged::NOT_SET};
1042
1043 Aws::String m_restore;
1044
1046
1047 Aws::String m_sSECustomerAlgorithm;
1048
1049 Aws::String m_sSEKMSKeyId;
1050
1051 Aws::String m_sSECustomerKeyMD5;
1052
1053 StorageClass m_storageClass{StorageClass::NOT_SET};
1054
1055 int m_tagCount{0};
1056
1057 Aws::String m_versionId;
1058
1059 bool m_bucketKeyEnabled{false};
1060
1061 Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag;
1062 bool m_requestRouteHasBeenSet = false;
1063 bool m_requestTokenHasBeenSet = false;
1064 bool m_statusCodeHasBeenSet = false;
1065 bool m_errorCodeHasBeenSet = false;
1066 bool m_errorMessageHasBeenSet = false;
1067 bool m_acceptRangesHasBeenSet = false;
1068 bool m_cacheControlHasBeenSet = false;
1069 bool m_contentDispositionHasBeenSet = false;
1070 bool m_contentEncodingHasBeenSet = false;
1071 bool m_contentLanguageHasBeenSet = false;
1072 bool m_contentLengthHasBeenSet = false;
1073 bool m_contentRangeHasBeenSet = false;
1074 bool m_checksumCRC32HasBeenSet = false;
1075 bool m_checksumCRC32CHasBeenSet = false;
1076 bool m_checksumCRC64NVMEHasBeenSet = false;
1077 bool m_checksumSHA1HasBeenSet = false;
1078 bool m_checksumSHA256HasBeenSet = false;
1079 bool m_checksumSHA512HasBeenSet = false;
1080 bool m_checksumMD5HasBeenSet = false;
1081 bool m_checksumXXHASH64HasBeenSet = false;
1082 bool m_checksumXXHASH3HasBeenSet = false;
1083 bool m_checksumXXHASH128HasBeenSet = false;
1084 bool m_deleteMarkerHasBeenSet = false;
1085 bool m_eTagHasBeenSet = false;
1086 bool m_expiresHasBeenSet = false;
1087 bool m_expirationHasBeenSet = false;
1088 bool m_lastModifiedHasBeenSet = false;
1089 bool m_missingMetaHasBeenSet = false;
1090 bool m_metadataHasBeenSet = false;
1091 bool m_objectLockModeHasBeenSet = false;
1092 bool m_objectLockLegalHoldStatusHasBeenSet = false;
1093 bool m_objectLockRetainUntilDateHasBeenSet = false;
1094 bool m_partsCountHasBeenSet = false;
1095 bool m_replicationStatusHasBeenSet = false;
1096 bool m_requestChargedHasBeenSet = false;
1097 bool m_restoreHasBeenSet = false;
1098 bool m_serverSideEncryptionHasBeenSet = false;
1099 bool m_sSECustomerAlgorithmHasBeenSet = false;
1100 bool m_sSEKMSKeyIdHasBeenSet = false;
1101 bool m_sSECustomerKeyMD5HasBeenSet = false;
1102 bool m_storageClassHasBeenSet = false;
1103 bool m_tagCountHasBeenSet = false;
1104 bool m_versionIdHasBeenSet = false;
1105 bool m_bucketKeyEnabledHasBeenSet = false;
1106 bool m_customizedAccessLogTagHasBeenSet = false;
1107};
1108
1109} // namespace Model
1110} // namespace S3
1111} // namespace Aws
Aws::Vector< Aws::Endpoint::EndpointParameter > EndpointParameters
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
WriteGetObjectResponseRequest & WithChecksumSHA1(ChecksumSHA1T &&value)
WriteGetObjectResponseRequest & WithMissingMeta(int value)
WriteGetObjectResponseRequest & WithExpiration(ExpirationT &&value)
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
WriteGetObjectResponseRequest & WithLastModified(LastModifiedT &&value)
WriteGetObjectResponseRequest & WithRequestRoute(RequestRouteT &&value)
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
WriteGetObjectResponseRequest & WithChecksumXXHASH64(ChecksumXXHASH64T &&value)
WriteGetObjectResponseRequest & WithRequestCharged(RequestCharged value)
WriteGetObjectResponseRequest & WithBucketKeyEnabled(bool value)
WriteGetObjectResponseRequest & WithErrorMessage(ErrorMessageT &&value)
WriteGetObjectResponseRequest & WithReplicationStatus(ReplicationStatus value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
WriteGetObjectResponseRequest & WithContentLength(long long value)
WriteGetObjectResponseRequest & WithVersionId(VersionIdT &&value)
WriteGetObjectResponseRequest & WithChecksumCRC64NVME(ChecksumCRC64NVMET &&value)
void SetSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
WriteGetObjectResponseRequest & WithChecksumXXHASH128(ChecksumXXHASH128T &&value)
WriteGetObjectResponseRequest & WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus value)
const Aws::Utils::DateTime & GetObjectLockRetainUntilDate() const
WriteGetObjectResponseRequest & AddMetadata(MetadataKeyT &&key, MetadataValueT &&value)
WriteGetObjectResponseRequest & WithObjectLockMode(ObjectLockMode value)
void SetObjectLockRetainUntilDate(ObjectLockRetainUntilDateT &&value)
WriteGetObjectResponseRequest & WithRequestToken(RequestTokenT &&value)
WriteGetObjectResponseRequest & WithCacheControl(CacheControlT &&value)
WriteGetObjectResponseRequest & WithChecksumCRC32C(ChecksumCRC32CT &&value)
WriteGetObjectResponseRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
WriteGetObjectResponseRequest & WithObjectLockRetainUntilDate(ObjectLockRetainUntilDateT &&value)
WriteGetObjectResponseRequest & WithAcceptRanges(AcceptRangesT &&value)
WriteGetObjectResponseRequest & WithChecksumSHA512(ChecksumSHA512T &&value)
WriteGetObjectResponseRequest & WithErrorCode(ErrorCodeT &&value)
virtual const char * GetServiceRequestName() const override
WriteGetObjectResponseRequest & WithChecksumXXHASH3(ChecksumXXHASH3T &&value)
WriteGetObjectResponseRequest & WithPartsCount(int value)
WriteGetObjectResponseRequest & WithRestore(RestoreT &&value)
WriteGetObjectResponseRequest & WithETag(ETagT &&value)
WriteGetObjectResponseRequest & WithDeleteMarker(bool value)
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
WriteGetObjectResponseRequest & WithTagCount(int value)
void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus value)
WriteGetObjectResponseRequest & WithSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
WriteGetObjectResponseRequest & WithContentEncoding(ContentEncodingT &&value)
WriteGetObjectResponseRequest & WithChecksumCRC32(ChecksumCRC32T &&value)
WriteGetObjectResponseRequest & WithContentLanguage(ContentLanguageT &&value)
WriteGetObjectResponseRequest & WithStatusCode(int value)
WriteGetObjectResponseRequest & WithChecksumMD5(ChecksumMD5T &&value)
WriteGetObjectResponseRequest & WithStorageClass(StorageClass value)
WriteGetObjectResponseRequest & WithContentDisposition(ContentDispositionT &&value)
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
WriteGetObjectResponseRequest & WithExpires(ExpiresT &&value)
AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
WriteGetObjectResponseRequest & WithChecksumSHA256(ChecksumSHA256T &&value)
WriteGetObjectResponseRequest & WithSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
WriteGetObjectResponseRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
WriteGetObjectResponseRequest & WithMetadata(MetadataT &&value)
WriteGetObjectResponseRequest & WithServerSideEncryption(ServerSideEncryption value)
WriteGetObjectResponseRequest & WithSSEKMSKeyId(SSEKMSKeyIdT &&value)
WriteGetObjectResponseRequest & WithContentRange(ContentRangeT &&value)
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