AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
WriteGetObjectResponseRequest.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/S3Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/Array.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/s3/model/ObjectLockMode.h>
14#include <aws/s3/model/ObjectLockLegalHoldStatus.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#include <utility>
20
21namespace Aws
22{
23namespace Http
24{
25 class URI;
26} //namespace Http
27namespace S3
28{
29namespace Model
30{
31
35 {
36 public:
37 AWS_S3_API WriteGetObjectResponseRequest() = default;
38
39 // Service request name is the Operation name which will send this request out,
40 // each operation should has unique request name, so that we can get operation's name from this request.
41 // Note: this is not true for response, multiple operations may have the same response name,
42 // so we can not get operation's name from response.
43 inline virtual const char* GetServiceRequestName() const override { return "WriteGetObjectResponse"; }
44
45 AWS_S3_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
46
48
49 AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override;
50 AWS_S3_API bool SignBody() const override { return false; }
51
52 AWS_S3_API bool IsChunked() const override { return true; }
53
57 AWS_S3_API EndpointParameters GetEndpointContextParams() const override;
58
60
63 inline const Aws::String& GetRequestRoute() const { return m_requestRoute; }
64 inline bool RequestRouteHasBeenSet() const { return m_requestRouteHasBeenSet; }
65 template<typename RequestRouteT = Aws::String>
66 void SetRequestRoute(RequestRouteT&& value) { m_requestRouteHasBeenSet = true; m_requestRoute = std::forward<RequestRouteT>(value); }
67 template<typename RequestRouteT = Aws::String>
68 WriteGetObjectResponseRequest& WithRequestRoute(RequestRouteT&& value) { SetRequestRoute(std::forward<RequestRouteT>(value)); return *this;}
70
72
76 inline const Aws::String& GetRequestToken() const { return m_requestToken; }
77 inline bool RequestTokenHasBeenSet() const { return m_requestTokenHasBeenSet; }
78 template<typename RequestTokenT = Aws::String>
79 void SetRequestToken(RequestTokenT&& value) { m_requestTokenHasBeenSet = true; m_requestToken = std::forward<RequestTokenT>(value); }
80 template<typename RequestTokenT = Aws::String>
81 WriteGetObjectResponseRequest& WithRequestToken(RequestTokenT&& value) { SetRequestToken(std::forward<RequestTokenT>(value)); return *this;}
83
85
99 inline int GetStatusCode() const { return m_statusCode; }
100 inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
101 inline void SetStatusCode(int value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
102 inline WriteGetObjectResponseRequest& WithStatusCode(int value) { SetStatusCode(value); return *this;}
104
106
114 inline const Aws::String& GetErrorCode() const { return m_errorCode; }
115 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
116 template<typename ErrorCodeT = Aws::String>
117 void SetErrorCode(ErrorCodeT&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::forward<ErrorCodeT>(value); }
118 template<typename ErrorCodeT = Aws::String>
119 WriteGetObjectResponseRequest& WithErrorCode(ErrorCodeT&& value) { SetErrorCode(std::forward<ErrorCodeT>(value)); return *this;}
121
123
130 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
131 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
132 template<typename ErrorMessageT = Aws::String>
133 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
134 template<typename ErrorMessageT = Aws::String>
135 WriteGetObjectResponseRequest& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
137
139
142 inline const Aws::String& GetAcceptRanges() const { return m_acceptRanges; }
143 inline bool AcceptRangesHasBeenSet() const { return m_acceptRangesHasBeenSet; }
144 template<typename AcceptRangesT = Aws::String>
145 void SetAcceptRanges(AcceptRangesT&& value) { m_acceptRangesHasBeenSet = true; m_acceptRanges = std::forward<AcceptRangesT>(value); }
146 template<typename AcceptRangesT = Aws::String>
147 WriteGetObjectResponseRequest& WithAcceptRanges(AcceptRangesT&& value) { SetAcceptRanges(std::forward<AcceptRangesT>(value)); return *this;}
149
151
154 inline const Aws::String& GetCacheControl() const { return m_cacheControl; }
155 inline bool CacheControlHasBeenSet() const { return m_cacheControlHasBeenSet; }
156 template<typename CacheControlT = Aws::String>
157 void SetCacheControl(CacheControlT&& value) { m_cacheControlHasBeenSet = true; m_cacheControl = std::forward<CacheControlT>(value); }
158 template<typename CacheControlT = Aws::String>
159 WriteGetObjectResponseRequest& WithCacheControl(CacheControlT&& value) { SetCacheControl(std::forward<CacheControlT>(value)); return *this;}
161
163
166 inline const Aws::String& GetContentDisposition() const { return m_contentDisposition; }
167 inline bool ContentDispositionHasBeenSet() const { return m_contentDispositionHasBeenSet; }
168 template<typename ContentDispositionT = Aws::String>
169 void SetContentDisposition(ContentDispositionT&& value) { m_contentDispositionHasBeenSet = true; m_contentDisposition = std::forward<ContentDispositionT>(value); }
170 template<typename ContentDispositionT = Aws::String>
171 WriteGetObjectResponseRequest& WithContentDisposition(ContentDispositionT&& value) { SetContentDisposition(std::forward<ContentDispositionT>(value)); return *this;}
173
175
180 inline const Aws::String& GetContentEncoding() const { return m_contentEncoding; }
181 inline bool ContentEncodingHasBeenSet() const { return m_contentEncodingHasBeenSet; }
182 template<typename ContentEncodingT = Aws::String>
183 void SetContentEncoding(ContentEncodingT&& value) { m_contentEncodingHasBeenSet = true; m_contentEncoding = std::forward<ContentEncodingT>(value); }
184 template<typename ContentEncodingT = Aws::String>
185 WriteGetObjectResponseRequest& WithContentEncoding(ContentEncodingT&& value) { SetContentEncoding(std::forward<ContentEncodingT>(value)); return *this;}
187
189
192 inline const Aws::String& GetContentLanguage() const { return m_contentLanguage; }
193 inline bool ContentLanguageHasBeenSet() const { return m_contentLanguageHasBeenSet; }
194 template<typename ContentLanguageT = Aws::String>
195 void SetContentLanguage(ContentLanguageT&& value) { m_contentLanguageHasBeenSet = true; m_contentLanguage = std::forward<ContentLanguageT>(value); }
196 template<typename ContentLanguageT = Aws::String>
197 WriteGetObjectResponseRequest& WithContentLanguage(ContentLanguageT&& value) { SetContentLanguage(std::forward<ContentLanguageT>(value)); return *this;}
199
201
204 inline long long GetContentLength() const { return m_contentLength; }
205 inline bool ContentLengthHasBeenSet() const { return m_contentLengthHasBeenSet; }
206 inline void SetContentLength(long long value) { m_contentLengthHasBeenSet = true; m_contentLength = value; }
207 inline WriteGetObjectResponseRequest& WithContentLength(long long value) { SetContentLength(value); return *this;}
209
211
214 inline const Aws::String& GetContentRange() const { return m_contentRange; }
215 inline bool ContentRangeHasBeenSet() const { return m_contentRangeHasBeenSet; }
216 template<typename ContentRangeT = Aws::String>
217 void SetContentRange(ContentRangeT&& value) { m_contentRangeHasBeenSet = true; m_contentRange = std::forward<ContentRangeT>(value); }
218 template<typename ContentRangeT = Aws::String>
219 WriteGetObjectResponseRequest& WithContentRange(ContentRangeT&& value) { SetContentRange(std::forward<ContentRangeT>(value)); return *this;}
221
223
236 inline const Aws::String& GetChecksumCRC32() const { return m_checksumCRC32; }
237 inline bool ChecksumCRC32HasBeenSet() const { return m_checksumCRC32HasBeenSet; }
238 template<typename ChecksumCRC32T = Aws::String>
239 void SetChecksumCRC32(ChecksumCRC32T&& value) { m_checksumCRC32HasBeenSet = true; m_checksumCRC32 = std::forward<ChecksumCRC32T>(value); }
240 template<typename ChecksumCRC32T = Aws::String>
241 WriteGetObjectResponseRequest& WithChecksumCRC32(ChecksumCRC32T&& value) { SetChecksumCRC32(std::forward<ChecksumCRC32T>(value)); return *this;}
243
245
258 inline const Aws::String& GetChecksumCRC32C() const { return m_checksumCRC32C; }
259 inline bool ChecksumCRC32CHasBeenSet() const { return m_checksumCRC32CHasBeenSet; }
260 template<typename ChecksumCRC32CT = Aws::String>
261 void SetChecksumCRC32C(ChecksumCRC32CT&& value) { m_checksumCRC32CHasBeenSet = true; m_checksumCRC32C = std::forward<ChecksumCRC32CT>(value); }
262 template<typename ChecksumCRC32CT = Aws::String>
263 WriteGetObjectResponseRequest& WithChecksumCRC32C(ChecksumCRC32CT&& value) { SetChecksumCRC32C(std::forward<ChecksumCRC32CT>(value)); return *this;}
265
267
275 inline const Aws::String& GetChecksumCRC64NVME() const { return m_checksumCRC64NVME; }
276 inline bool ChecksumCRC64NVMEHasBeenSet() const { return m_checksumCRC64NVMEHasBeenSet; }
277 template<typename ChecksumCRC64NVMET = Aws::String>
278 void SetChecksumCRC64NVME(ChecksumCRC64NVMET&& value) { m_checksumCRC64NVMEHasBeenSet = true; m_checksumCRC64NVME = std::forward<ChecksumCRC64NVMET>(value); }
279 template<typename ChecksumCRC64NVMET = Aws::String>
280 WriteGetObjectResponseRequest& WithChecksumCRC64NVME(ChecksumCRC64NVMET&& value) { SetChecksumCRC64NVME(std::forward<ChecksumCRC64NVMET>(value)); return *this;}
282
284
297 inline const Aws::String& GetChecksumSHA1() const { return m_checksumSHA1; }
298 inline bool ChecksumSHA1HasBeenSet() const { return m_checksumSHA1HasBeenSet; }
299 template<typename ChecksumSHA1T = Aws::String>
300 void SetChecksumSHA1(ChecksumSHA1T&& value) { m_checksumSHA1HasBeenSet = true; m_checksumSHA1 = std::forward<ChecksumSHA1T>(value); }
301 template<typename ChecksumSHA1T = Aws::String>
302 WriteGetObjectResponseRequest& WithChecksumSHA1(ChecksumSHA1T&& value) { SetChecksumSHA1(std::forward<ChecksumSHA1T>(value)); return *this;}
304
306
319 inline const Aws::String& GetChecksumSHA256() const { return m_checksumSHA256; }
320 inline bool ChecksumSHA256HasBeenSet() const { return m_checksumSHA256HasBeenSet; }
321 template<typename ChecksumSHA256T = Aws::String>
322 void SetChecksumSHA256(ChecksumSHA256T&& value) { m_checksumSHA256HasBeenSet = true; m_checksumSHA256 = std::forward<ChecksumSHA256T>(value); }
323 template<typename ChecksumSHA256T = Aws::String>
324 WriteGetObjectResponseRequest& WithChecksumSHA256(ChecksumSHA256T&& value) { SetChecksumSHA256(std::forward<ChecksumSHA256T>(value)); return *this;}
326
328
335 inline bool GetDeleteMarker() const { return m_deleteMarker; }
336 inline bool DeleteMarkerHasBeenSet() const { return m_deleteMarkerHasBeenSet; }
337 inline void SetDeleteMarker(bool value) { m_deleteMarkerHasBeenSet = true; m_deleteMarker = value; }
338 inline WriteGetObjectResponseRequest& WithDeleteMarker(bool value) { SetDeleteMarker(value); return *this;}
340
342
346 inline const Aws::String& GetETag() const { return m_eTag; }
347 inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; }
348 template<typename ETagT = Aws::String>
349 void SetETag(ETagT&& value) { m_eTagHasBeenSet = true; m_eTag = std::forward<ETagT>(value); }
350 template<typename ETagT = Aws::String>
351 WriteGetObjectResponseRequest& WithETag(ETagT&& value) { SetETag(std::forward<ETagT>(value)); return *this;}
353
355
358 inline const Aws::Utils::DateTime& GetExpires() const { return m_expires; }
359 inline bool ExpiresHasBeenSet() const { return m_expiresHasBeenSet; }
360 template<typename ExpiresT = Aws::Utils::DateTime>
361 void SetExpires(ExpiresT&& value) { m_expiresHasBeenSet = true; m_expires = std::forward<ExpiresT>(value); }
362 template<typename ExpiresT = Aws::Utils::DateTime>
363 WriteGetObjectResponseRequest& WithExpires(ExpiresT&& value) { SetExpires(std::forward<ExpiresT>(value)); return *this;}
365
367
373 inline const Aws::String& GetExpiration() const { return m_expiration; }
374 inline bool ExpirationHasBeenSet() const { return m_expirationHasBeenSet; }
375 template<typename ExpirationT = Aws::String>
376 void SetExpiration(ExpirationT&& value) { m_expirationHasBeenSet = true; m_expiration = std::forward<ExpirationT>(value); }
377 template<typename ExpirationT = Aws::String>
378 WriteGetObjectResponseRequest& WithExpiration(ExpirationT&& value) { SetExpiration(std::forward<ExpirationT>(value)); return *this;}
380
382
385 inline const Aws::Utils::DateTime& GetLastModified() const { return m_lastModified; }
386 inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; }
387 template<typename LastModifiedT = Aws::Utils::DateTime>
388 void SetLastModified(LastModifiedT&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::forward<LastModifiedT>(value); }
389 template<typename LastModifiedT = Aws::Utils::DateTime>
390 WriteGetObjectResponseRequest& WithLastModified(LastModifiedT&& value) { SetLastModified(std::forward<LastModifiedT>(value)); return *this;}
392
394
400 inline int GetMissingMeta() const { return m_missingMeta; }
401 inline bool MissingMetaHasBeenSet() const { return m_missingMetaHasBeenSet; }
402 inline void SetMissingMeta(int value) { m_missingMetaHasBeenSet = true; m_missingMeta = value; }
403 inline WriteGetObjectResponseRequest& WithMissingMeta(int value) { SetMissingMeta(value); return *this;}
405
407
410 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const { return m_metadata; }
411 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
412 template<typename MetadataT = Aws::Map<Aws::String, Aws::String>>
413 void SetMetadata(MetadataT&& value) { m_metadataHasBeenSet = true; m_metadata = std::forward<MetadataT>(value); }
414 template<typename MetadataT = Aws::Map<Aws::String, Aws::String>>
415 WriteGetObjectResponseRequest& WithMetadata(MetadataT&& value) { SetMetadata(std::forward<MetadataT>(value)); return *this;}
416 template<typename MetadataKeyT = Aws::String, typename MetadataValueT = Aws::String>
417 WriteGetObjectResponseRequest& AddMetadata(MetadataKeyT&& key, MetadataValueT&& value) {
418 m_metadataHasBeenSet = true; m_metadata.emplace(std::forward<MetadataKeyT>(key), std::forward<MetadataValueT>(value)); return *this;
419 }
421
423
429 inline ObjectLockMode GetObjectLockMode() const { return m_objectLockMode; }
430 inline bool ObjectLockModeHasBeenSet() const { return m_objectLockModeHasBeenSet; }
431 inline void SetObjectLockMode(ObjectLockMode value) { m_objectLockModeHasBeenSet = true; m_objectLockMode = value; }
434
436
439 inline ObjectLockLegalHoldStatus GetObjectLockLegalHoldStatus() const { return m_objectLockLegalHoldStatus; }
440 inline bool ObjectLockLegalHoldStatusHasBeenSet() const { return m_objectLockLegalHoldStatusHasBeenSet; }
441 inline void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus value) { m_objectLockLegalHoldStatusHasBeenSet = true; m_objectLockLegalHoldStatus = value; }
444
446
449 inline const Aws::Utils::DateTime& GetObjectLockRetainUntilDate() const { return m_objectLockRetainUntilDate; }
450 inline bool ObjectLockRetainUntilDateHasBeenSet() const { return m_objectLockRetainUntilDateHasBeenSet; }
451 template<typename ObjectLockRetainUntilDateT = Aws::Utils::DateTime>
452 void SetObjectLockRetainUntilDate(ObjectLockRetainUntilDateT&& value) { m_objectLockRetainUntilDateHasBeenSet = true; m_objectLockRetainUntilDate = std::forward<ObjectLockRetainUntilDateT>(value); }
453 template<typename ObjectLockRetainUntilDateT = Aws::Utils::DateTime>
454 WriteGetObjectResponseRequest& WithObjectLockRetainUntilDate(ObjectLockRetainUntilDateT&& value) { SetObjectLockRetainUntilDate(std::forward<ObjectLockRetainUntilDateT>(value)); return *this;}
456
458
461 inline int GetPartsCount() const { return m_partsCount; }
462 inline bool PartsCountHasBeenSet() const { return m_partsCountHasBeenSet; }
463 inline void SetPartsCount(int value) { m_partsCountHasBeenSet = true; m_partsCount = value; }
464 inline WriteGetObjectResponseRequest& WithPartsCount(int value) { SetPartsCount(value); return *this;}
466
468
473 inline ReplicationStatus GetReplicationStatus() const { return m_replicationStatus; }
474 inline bool ReplicationStatusHasBeenSet() const { return m_replicationStatusHasBeenSet; }
475 inline void SetReplicationStatus(ReplicationStatus value) { m_replicationStatusHasBeenSet = true; m_replicationStatus = value; }
478
480
481 inline RequestCharged GetRequestCharged() const { return m_requestCharged; }
482 inline bool RequestChargedHasBeenSet() const { return m_requestChargedHasBeenSet; }
483 inline void SetRequestCharged(RequestCharged value) { m_requestChargedHasBeenSet = true; m_requestCharged = value; }
486
488
492 inline const Aws::String& GetRestore() const { return m_restore; }
493 inline bool RestoreHasBeenSet() const { return m_restoreHasBeenSet; }
494 template<typename RestoreT = Aws::String>
495 void SetRestore(RestoreT&& value) { m_restoreHasBeenSet = true; m_restore = std::forward<RestoreT>(value); }
496 template<typename RestoreT = Aws::String>
497 WriteGetObjectResponseRequest& WithRestore(RestoreT&& value) { SetRestore(std::forward<RestoreT>(value)); return *this;}
499
501
507 inline ServerSideEncryption GetServerSideEncryption() const { return m_serverSideEncryption; }
508 inline bool ServerSideEncryptionHasBeenSet() const { return m_serverSideEncryptionHasBeenSet; }
509 inline void SetServerSideEncryption(ServerSideEncryption value) { m_serverSideEncryptionHasBeenSet = true; m_serverSideEncryption = value; }
512
514
518 inline const Aws::String& GetSSECustomerAlgorithm() const { return m_sSECustomerAlgorithm; }
519 inline bool SSECustomerAlgorithmHasBeenSet() const { return m_sSECustomerAlgorithmHasBeenSet; }
520 template<typename SSECustomerAlgorithmT = Aws::String>
521 void SetSSECustomerAlgorithm(SSECustomerAlgorithmT&& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = std::forward<SSECustomerAlgorithmT>(value); }
522 template<typename SSECustomerAlgorithmT = Aws::String>
523 WriteGetObjectResponseRequest& WithSSECustomerAlgorithm(SSECustomerAlgorithmT&& value) { SetSSECustomerAlgorithm(std::forward<SSECustomerAlgorithmT>(value)); return *this;}
525
527
533 inline const Aws::String& GetSSEKMSKeyId() const { return m_sSEKMSKeyId; }
534 inline bool SSEKMSKeyIdHasBeenSet() const { return m_sSEKMSKeyIdHasBeenSet; }
535 template<typename SSEKMSKeyIdT = Aws::String>
536 void SetSSEKMSKeyId(SSEKMSKeyIdT&& value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId = std::forward<SSEKMSKeyIdT>(value); }
537 template<typename SSEKMSKeyIdT = Aws::String>
538 WriteGetObjectResponseRequest& WithSSEKMSKeyId(SSEKMSKeyIdT&& value) { SetSSEKMSKeyId(std::forward<SSEKMSKeyIdT>(value)); return *this;}
540
542
549 inline const Aws::String& GetSSECustomerKeyMD5() const { return m_sSECustomerKeyMD5; }
550 inline bool SSECustomerKeyMD5HasBeenSet() const { return m_sSECustomerKeyMD5HasBeenSet; }
551 template<typename SSECustomerKeyMD5T = Aws::String>
552 void SetSSECustomerKeyMD5(SSECustomerKeyMD5T&& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = std::forward<SSECustomerKeyMD5T>(value); }
553 template<typename SSECustomerKeyMD5T = Aws::String>
554 WriteGetObjectResponseRequest& WithSSECustomerKeyMD5(SSECustomerKeyMD5T&& value) { SetSSECustomerKeyMD5(std::forward<SSECustomerKeyMD5T>(value)); return *this;}
556
558
565 inline StorageClass GetStorageClass() const { return m_storageClass; }
566 inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; }
567 inline void SetStorageClass(StorageClass value) { m_storageClassHasBeenSet = true; m_storageClass = value; }
570
572
575 inline int GetTagCount() const { return m_tagCount; }
576 inline bool TagCountHasBeenSet() const { return m_tagCountHasBeenSet; }
577 inline void SetTagCount(int value) { m_tagCountHasBeenSet = true; m_tagCount = value; }
578 inline WriteGetObjectResponseRequest& WithTagCount(int value) { SetTagCount(value); return *this;}
580
582
585 inline const Aws::String& GetVersionId() const { return m_versionId; }
586 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
587 template<typename VersionIdT = Aws::String>
588 void SetVersionId(VersionIdT&& value) { m_versionIdHasBeenSet = true; m_versionId = std::forward<VersionIdT>(value); }
589 template<typename VersionIdT = Aws::String>
590 WriteGetObjectResponseRequest& WithVersionId(VersionIdT&& value) { SetVersionId(std::forward<VersionIdT>(value)); return *this;}
592
594
598 inline bool GetBucketKeyEnabled() const { return m_bucketKeyEnabled; }
599 inline bool BucketKeyEnabledHasBeenSet() const { return m_bucketKeyEnabledHasBeenSet; }
600 inline void SetBucketKeyEnabled(bool value) { m_bucketKeyEnabledHasBeenSet = true; m_bucketKeyEnabled = value; }
601 inline WriteGetObjectResponseRequest& WithBucketKeyEnabled(bool value) { SetBucketKeyEnabled(value); return *this;}
603
605
606 inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const { return m_customizedAccessLogTag; }
607 inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; }
608 template<typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
609 void SetCustomizedAccessLogTag(CustomizedAccessLogTagT&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value); }
610 template<typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
611 WriteGetObjectResponseRequest& WithCustomizedAccessLogTag(CustomizedAccessLogTagT&& value) { SetCustomizedAccessLogTag(std::forward<CustomizedAccessLogTagT>(value)); return *this;}
612 template<typename CustomizedAccessLogTagKeyT = Aws::String, typename CustomizedAccessLogTagValueT = Aws::String>
613 WriteGetObjectResponseRequest& AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT&& key, CustomizedAccessLogTagValueT&& value) {
614 m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value)); return *this;
615 }
617 private:
618
619 Aws::String m_requestRoute;
620 bool m_requestRouteHasBeenSet = false;
621
622 Aws::String m_requestToken;
623 bool m_requestTokenHasBeenSet = false;
624
625
626 int m_statusCode{0};
627 bool m_statusCodeHasBeenSet = false;
628
629 Aws::String m_errorCode;
630 bool m_errorCodeHasBeenSet = false;
631
632 Aws::String m_errorMessage;
633 bool m_errorMessageHasBeenSet = false;
634
635 Aws::String m_acceptRanges;
636 bool m_acceptRangesHasBeenSet = false;
637
638 Aws::String m_cacheControl;
639 bool m_cacheControlHasBeenSet = false;
640
641 Aws::String m_contentDisposition;
642 bool m_contentDispositionHasBeenSet = false;
643
644 Aws::String m_contentEncoding;
645 bool m_contentEncodingHasBeenSet = false;
646
647 Aws::String m_contentLanguage;
648 bool m_contentLanguageHasBeenSet = false;
649
650 long long m_contentLength{0};
651 bool m_contentLengthHasBeenSet = false;
652
653 Aws::String m_contentRange;
654 bool m_contentRangeHasBeenSet = false;
655
656 Aws::String m_checksumCRC32;
657 bool m_checksumCRC32HasBeenSet = false;
658
659 Aws::String m_checksumCRC32C;
660 bool m_checksumCRC32CHasBeenSet = false;
661
662 Aws::String m_checksumCRC64NVME;
663 bool m_checksumCRC64NVMEHasBeenSet = false;
664
665 Aws::String m_checksumSHA1;
666 bool m_checksumSHA1HasBeenSet = false;
667
668 Aws::String m_checksumSHA256;
669 bool m_checksumSHA256HasBeenSet = false;
670
671 bool m_deleteMarker{false};
672 bool m_deleteMarkerHasBeenSet = false;
673
674 Aws::String m_eTag;
675 bool m_eTagHasBeenSet = false;
676
677 Aws::Utils::DateTime m_expires{};
678 bool m_expiresHasBeenSet = false;
679
680 Aws::String m_expiration;
681 bool m_expirationHasBeenSet = false;
682
683 Aws::Utils::DateTime m_lastModified{};
684 bool m_lastModifiedHasBeenSet = false;
685
686 int m_missingMeta{0};
687 bool m_missingMetaHasBeenSet = false;
688
690 bool m_metadataHasBeenSet = false;
691
692 ObjectLockMode m_objectLockMode{ObjectLockMode::NOT_SET};
693 bool m_objectLockModeHasBeenSet = false;
694
696 bool m_objectLockLegalHoldStatusHasBeenSet = false;
697
698 Aws::Utils::DateTime m_objectLockRetainUntilDate{};
699 bool m_objectLockRetainUntilDateHasBeenSet = false;
700
701 int m_partsCount{0};
702 bool m_partsCountHasBeenSet = false;
703
705 bool m_replicationStatusHasBeenSet = false;
706
707 RequestCharged m_requestCharged{RequestCharged::NOT_SET};
708 bool m_requestChargedHasBeenSet = false;
709
710 Aws::String m_restore;
711 bool m_restoreHasBeenSet = false;
712
714 bool m_serverSideEncryptionHasBeenSet = false;
715
716 Aws::String m_sSECustomerAlgorithm;
717 bool m_sSECustomerAlgorithmHasBeenSet = false;
718
719 Aws::String m_sSEKMSKeyId;
720 bool m_sSEKMSKeyIdHasBeenSet = false;
721
722 Aws::String m_sSECustomerKeyMD5;
723 bool m_sSECustomerKeyMD5HasBeenSet = false;
724
725 StorageClass m_storageClass{StorageClass::NOT_SET};
726 bool m_storageClassHasBeenSet = false;
727
728 int m_tagCount{0};
729 bool m_tagCountHasBeenSet = false;
730
731 Aws::String m_versionId;
732 bool m_versionIdHasBeenSet = false;
733
734 bool m_bucketKeyEnabled{false};
735 bool m_bucketKeyEnabledHasBeenSet = false;
736
737 Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag;
738 bool m_customizedAccessLogTagHasBeenSet = false;
739 };
740
741} // namespace Model
742} // namespace S3
743} // 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 & 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 & 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 & WithErrorCode(ErrorCodeT &&value)
virtual const char * GetServiceRequestName() const override
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 & 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