7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/core/utils/stream/ResponseStream.h>
9#include <aws/core/utils/Array.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/s3-crt/model/ServerSideEncryption.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/s3-crt/model/StorageClass.h>
15#include <aws/s3-crt/model/RequestCharged.h>
16#include <aws/s3-crt/model/ReplicationStatus.h>
17#include <aws/s3-crt/model/ObjectLockMode.h>
18#include <aws/s3-crt/model/ObjectLockLegalHoldStatus.h>
23template<
typename RESULT_TYPE>
24class AmazonWebServiceResult;
99 inline void SetExpiration(
const char* value) { m_expiration.assign(value); }
115 inline void SetRestore(
const char* value) { m_restore.assign(value); }
153 inline void SetETag(
const char* value) { m_eTag.assign(value); }
245 inline void SetVersionId(
const char* value) { m_versionId.assign(value); }
547 inline void SetId2(
const char* value) { m_id2.assign(value); }
558 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
590 long long m_contentLength;
632 bool m_bucketKeyEnabled;
AWS_S3CRT_API GetObjectResult(GetObjectResult &&)
void SetReplicationStatus(ReplicationStatus &&value)
GetObjectResult & WithAcceptRanges(Aws::String &&value)
GetObjectResult & WithChecksumCRC32(const Aws::String &value)
GetObjectResult & WithContentLanguage(const char *value)
GetObjectResult & WithObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus &value)
GetObjectResult & WithRestore(const Aws::String &value)
GetObjectResult & WithId2(Aws::String &&value)
void SetObjectLockRetainUntilDate(Aws::Utils::DateTime &&value)
AWS_S3CRT_API GetObjectResult & operator=(GetObjectResult &&)
void SetSSECustomerAlgorithm(const Aws::String &value)
const Aws::String & GetCacheControl() const
GetObjectResult & WithChecksumCRC32C(const char *value)
void SetRestore(const Aws::String &value)
void SetContentEncoding(Aws::String &&value)
void SetExpiration(const char *value)
GetObjectResult & WithStorageClass(const StorageClass &value)
GetObjectResult & WithMissingMeta(int value)
void ReplaceBody(Aws::IOStream *body)
void SetContentRange(const char *value)
void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime &value)
void SetSSEKMSKeyId(Aws::String &&value)
GetObjectResult & WithSSEKMSKeyId(const Aws::String &value)
GetObjectResult & WithContentDisposition(Aws::String &&value)
GetObjectResult & WithRequestId(const Aws::String &value)
GetObjectResult & WithChecksumSHA1(const char *value)
GetObjectResult & WithContentRange(const char *value)
GetObjectResult & WithChecksumSHA1(const Aws::String &value)
void SetPartsCount(int value)
const Aws::String & GetWebsiteRedirectLocation() const
const Aws::String & GetSSECustomerAlgorithm() const
void SetAcceptRanges(Aws::String &&value)
void SetVersionId(Aws::String &&value)
GetObjectResult & WithDeleteMarker(bool value)
void SetContentDisposition(Aws::String &&value)
void SetRequestCharged(const RequestCharged &value)
void SetVersionId(const char *value)
GetObjectResult & WithCacheControl(Aws::String &&value)
void SetContentDisposition(const char *value)
void SetId2(const char *value)
void SetETag(const Aws::String &value)
void SetChecksumCRC32C(Aws::String &&value)
GetObjectResult & WithExpires(Aws::Utils::DateTime &&value)
void SetSSECustomerKeyMD5(const Aws::String &value)
GetObjectResult & WithContentType(const Aws::String &value)
GetObjectResult & WithRestore(Aws::String &&value)
void SetObjectLockMode(const ObjectLockMode &value)
void SetChecksumCRC32(const Aws::String &value)
GetObjectResult & operator=(const GetObjectResult &)=delete
GetObjectResult & WithLastModified(Aws::Utils::DateTime &&value)
void SetChecksumCRC32(const char *value)
GetObjectResult & WithWebsiteRedirectLocation(const char *value)
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
GetObjectResult & WithContentRange(const Aws::String &value)
GetObjectResult & WithRequestId(Aws::String &&value)
GetObjectResult & AddMetadata(const char *key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
GetObjectResult & WithServerSideEncryption(ServerSideEncryption &&value)
GetObjectResult & WithWebsiteRedirectLocation(const Aws::String &value)
GetObjectResult & WithSSEKMSKeyId(Aws::String &&value)
void SetChecksumSHA256(Aws::String &&value)
const Aws::String & GetContentLanguage() const
void SetContentEncoding(const Aws::String &value)
GetObjectResult & WithExpiresString(Aws::String &&value)
void SetStorageClass(const StorageClass &value)
GetObjectResult & WithId2(const char *value)
void SetReplicationStatus(const ReplicationStatus &value)
GetObjectResult & WithRequestId(const char *value)
void SetChecksumCRC32C(const char *value)
const Aws::String & GetETag() const
GetObjectResult & WithContentLanguage(Aws::String &&value)
GetObjectResult & WithVersionId(const char *value)
void SetContentEncoding(const char *value)
GetObjectResult & WithChecksumSHA256(const Aws::String &value)
const Aws::String & GetContentEncoding() const
void SetSSEKMSKeyId(const Aws::String &value)
GetObjectResult & WithChecksumSHA256(const char *value)
AWS_S3CRT_API GetObjectResult()
GetObjectResult & WithChecksumCRC32C(Aws::String &&value)
void SetChecksumSHA256(const Aws::String &value)
GetObjectResult & AddMetadata(const char *key, Aws::String &&value)
GetObjectResult & WithSSECustomerAlgorithm(Aws::String &&value)
const Aws::String & GetAcceptRanges() const
GetObjectResult & WithObjectLockMode(const ObjectLockMode &value)
const Aws::String & GetRestore() const
void SetWebsiteRedirectLocation(Aws::String &&value)
const Aws::String & GetContentDisposition() const
void SetExpiration(const Aws::String &value)
void SetChecksumCRC32(Aws::String &&value)
AWS_S3CRT_API GetObjectResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
GetObjectResult & WithContentRange(Aws::String &&value)
void SetExpiresString(const char *value)
long long GetContentLength() const
GetObjectResult & WithExpiration(const Aws::String &value)
GetObjectResult & WithRestore(const char *value)
void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus &&value)
void SetContentRange(const Aws::String &value)
const Aws::String & GetContentRange() const
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
void SetObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus &value)
void SetBucketKeyEnabled(bool value)
void SetRequestCharged(RequestCharged &&value)
const ReplicationStatus & GetReplicationStatus() const
void SetExpiration(Aws::String &&value)
void SetChecksumSHA1(Aws::String &&value)
GetObjectResult & WithObjectLockMode(ObjectLockMode &&value)
bool GetBucketKeyEnabled() const
void SetContentType(const char *value)
void SetWebsiteRedirectLocation(const char *value)
GetObjectResult & AddMetadata(Aws::String &&key, Aws::String &&value)
GetObjectResult & AddMetadata(const Aws::String &key, Aws::String &&value)
void SetRestore(const char *value)
GetObjectResult & AddMetadata(const Aws::String &key, const Aws::String &value)
const Aws::String & GetExpiresString() const
const ObjectLockMode & GetObjectLockMode() const
void SetChecksumSHA256(const char *value)
GetObjectResult & WithSSECustomerKeyMD5(const Aws::String &value)
GetObjectResult & WithExpiresString(const Aws::String &value)
void SetContentLanguage(Aws::String &&value)
void SetExpiresString(const Aws::String &value)
GetObjectResult & WithAcceptRanges(const char *value)
GetObjectResult & WithStorageClass(StorageClass &&value)
GetObjectResult & WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus &&value)
const Aws::String & GetChecksumSHA1() const
GetObjectResult & WithObjectLockRetainUntilDate(Aws::Utils::DateTime &&value)
void SetTagCount(int value)
const Aws::String & GetContentType() const
GetObjectResult & WithSSECustomerKeyMD5(Aws::String &&value)
GetObjectResult & WithSSECustomerKeyMD5(const char *value)
void SetLastModified(const Aws::Utils::DateTime &value)
GetObjectResult & WithExpiration(Aws::String &&value)
void SetETag(Aws::String &&value)
const Aws::String & GetChecksumCRC32C() const
void SetSSECustomerKeyMD5(Aws::String &&value)
void SetServerSideEncryption(ServerSideEncryption &&value)
void SetContentDisposition(const Aws::String &value)
GetObjectResult & WithCacheControl(const Aws::String &value)
const ObjectLockLegalHoldStatus & GetObjectLockLegalHoldStatus() const
const StorageClass & GetStorageClass() const
void SetObjectLockMode(ObjectLockMode &&value)
const Aws::String & GetRequestId() const
void SetContentLength(long long value)
GetObjectResult & WithContentType(Aws::String &&value)
const Aws::Utils::DateTime & GetExpires() const
GetObjectResult & WithChecksumCRC32C(const Aws::String &value)
void SetDeleteMarker(bool value)
int GetPartsCount() const
void SetRestore(Aws::String &&value)
const RequestCharged & GetRequestCharged() const
GetObjectResult & WithSSECustomerAlgorithm(const Aws::String &value)
const Aws::String & GetSSEKMSKeyId() const
const Aws::String & GetId2() const
void SetLastModified(Aws::Utils::DateTime &&value)
void SetMissingMeta(int value)
void SetWebsiteRedirectLocation(const Aws::String &value)
GetObjectResult & WithContentLength(long long value)
GetObjectResult & WithPartsCount(int value)
GetObjectResult & WithId2(const Aws::String &value)
void SetExpires(Aws::Utils::DateTime &&value)
GetObjectResult & WithLastModified(const Aws::Utils::DateTime &value)
GetObjectResult & WithChecksumSHA256(Aws::String &&value)
GetObjectResult & AddMetadata(Aws::String &&key, const Aws::String &value)
GetObjectResult & WithSSECustomerAlgorithm(const char *value)
void SetSSECustomerKeyMD5(const char *value)
GetObjectResult(const GetObjectResult &)=delete
GetObjectResult & WithContentDisposition(const Aws::String &value)
GetObjectResult & WithETag(const Aws::String &value)
GetObjectResult & WithObjectLockRetainUntilDate(const Aws::Utils::DateTime &value)
void SetContentLanguage(const Aws::String &value)
void SetCacheControl(const Aws::String &value)
GetObjectResult & WithExpires(const Aws::Utils::DateTime &value)
void SetCacheControl(const char *value)
const Aws::Utils::DateTime & GetLastModified() const
void SetContentType(Aws::String &&value)
GetObjectResult & WithContentEncoding(Aws::String &&value)
GetObjectResult & WithReplicationStatus(ReplicationStatus &&value)
void SetChecksumSHA1(const Aws::String &value)
void SetId2(Aws::String &&value)
GetObjectResult & WithChecksumSHA1(Aws::String &&value)
void SetContentRange(Aws::String &&value)
GetObjectResult & WithVersionId(Aws::String &&value)
GetObjectResult & WithChecksumCRC32(const char *value)
GetObjectResult & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
void SetSSECustomerAlgorithm(Aws::String &&value)
GetObjectResult & WithServerSideEncryption(const ServerSideEncryption &value)
GetObjectResult & WithAcceptRanges(const Aws::String &value)
bool GetDeleteMarker() const
GetObjectResult & WithETag(const char *value)
GetObjectResult & WithTagCount(int value)
const Aws::Utils::DateTime & GetObjectLockRetainUntilDate() const
void SetStorageClass(StorageClass &&value)
GetObjectResult & WithWebsiteRedirectLocation(Aws::String &&value)
const ServerSideEncryption & GetServerSideEncryption() const
void SetRequestId(Aws::String &&value)
GetObjectResult & WithRequestCharged(RequestCharged &&value)
GetObjectResult & WithSSEKMSKeyId(const char *value)
GetObjectResult & WithContentLanguage(const Aws::String &value)
GetObjectResult & WithChecksumCRC32(Aws::String &&value)
void SetServerSideEncryption(const ServerSideEncryption &value)
void SetETag(const char *value)
GetObjectResult & WithETag(Aws::String &&value)
GetObjectResult & WithBucketKeyEnabled(bool value)
void SetId2(const Aws::String &value)
void SetSSEKMSKeyId(const char *value)
GetObjectResult & WithExpiresString(const char *value)
void SetExpires(const Aws::Utils::DateTime &value)
GetObjectResult & WithVersionId(const Aws::String &value)
void SetContentType(const Aws::String &value)
void SetChecksumCRC32C(const Aws::String &value)
const Aws::String & GetVersionId() const
GetObjectResult & WithReplicationStatus(const ReplicationStatus &value)
void SetExpiresString(Aws::String &&value)
void SetRequestId(const char *value)
void SetAcceptRanges(const char *value)
void SetSSECustomerAlgorithm(const char *value)
GetObjectResult & WithContentType(const char *value)
void SetVersionId(const Aws::String &value)
const Aws::String & GetChecksumCRC32() const
const Aws::String & GetSSECustomerKeyMD5() const
GetObjectResult & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
GetObjectResult & AddMetadata(Aws::String &&key, const char *value)
int GetMissingMeta() const
void SetContentLanguage(const char *value)
GetObjectResult & WithContentEncoding(const Aws::String &value)
Aws::IOStream & GetBody() const
void SetAcceptRanges(const Aws::String &value)
AWS_S3CRT_API GetObjectResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
void SetCacheControl(Aws::String &&value)
GetObjectResult & WithContentDisposition(const char *value)
GetObjectResult & WithCacheControl(const char *value)
GetObjectResult & WithExpiration(const char *value)
void SetRequestId(const Aws::String &value)
const Aws::String & GetChecksumSHA256() const
void SetChecksumSHA1(const char *value)
GetObjectResult & WithRequestCharged(const RequestCharged &value)
GetObjectResult & WithContentEncoding(const char *value)
const Aws::String & GetExpiration() const
Aws::IOStream & GetUnderlyingStream() const
ObjectLockLegalHoldStatus
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