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