7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3-crt/model/ArchiveStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/s3-crt/model/ServerSideEncryption.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/s3-crt/model/StorageClass.h>
14#include <aws/s3-crt/model/RequestCharged.h>
15#include <aws/s3-crt/model/ReplicationStatus.h>
16#include <aws/s3-crt/model/ObjectLockMode.h>
17#include <aws/s3-crt/model/ObjectLockLegalHoldStatus.h>
22template<
typename RESULT_TYPE>
23class AmazonWebServiceResult;
81 inline void SetExpiration(
const char* value) { m_expiration.assign(value); }
108 inline void SetRestore(
const char* value) { m_restore.assign(value); }
234 inline void SetETag(
const char* value) { m_eTag.assign(value); }
262 inline void SetVersionId(
const char* value) { m_versionId.assign(value); }
592 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
611 long long m_contentLength;
651 bool m_bucketKeyEnabled;
HeadObjectResult & WithBucketKeyEnabled(bool value)
void SetVersionId(const char *value)
HeadObjectResult & WithWebsiteRedirectLocation(const char *value)
HeadObjectResult & WithExpiresString(const Aws::String &value)
const Aws::String & GetContentLanguage() const
HeadObjectResult & WithChecksumCRC32(Aws::String &&value)
void SetExpires(const Aws::Utils::DateTime &value)
HeadObjectResult & WithServerSideEncryption(ServerSideEncryption &&value)
void SetServerSideEncryption(ServerSideEncryption &&value)
const Aws::String & GetContentDisposition() const
HeadObjectResult & WithRequestId(Aws::String &&value)
HeadObjectResult & WithObjectLockRetainUntilDate(const Aws::Utils::DateTime &value)
AWS_S3CRT_API HeadObjectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetChecksumSHA1(const Aws::String &value)
HeadObjectResult & WithExpiresString(Aws::String &&value)
HeadObjectResult & WithChecksumCRC32(const Aws::String &value)
HeadObjectResult & WithArchiveStatus(ArchiveStatus &&value)
void SetVersionId(Aws::String &&value)
HeadObjectResult & WithContentLanguage(const Aws::String &value)
void SetWebsiteRedirectLocation(const Aws::String &value)
void SetWebsiteRedirectLocation(Aws::String &&value)
HeadObjectResult & WithLastModified(Aws::Utils::DateTime &&value)
HeadObjectResult & WithExpiration(const char *value)
HeadObjectResult & WithRestore(const char *value)
HeadObjectResult & WithRequestCharged(RequestCharged &&value)
HeadObjectResult & WithObjectLockMode(ObjectLockMode &&value)
void SetSSEKMSKeyId(const Aws::String &value)
void SetContentEncoding(Aws::String &&value)
HeadObjectResult & WithWebsiteRedirectLocation(Aws::String &&value)
void SetWebsiteRedirectLocation(const char *value)
HeadObjectResult & WithChecksumSHA256(const char *value)
const Aws::String & GetChecksumSHA256() const
HeadObjectResult & WithChecksumSHA1(const Aws::String &value)
const Aws::Utils::DateTime & GetObjectLockRetainUntilDate() const
void SetContentType(Aws::String &&value)
void SetChecksumCRC32C(Aws::String &&value)
void SetReplicationStatus(ReplicationStatus &&value)
HeadObjectResult & WithExpiresString(const char *value)
void SetContentDisposition(const Aws::String &value)
const Aws::String & GetSSEKMSKeyId() const
HeadObjectResult & WithChecksumSHA256(const Aws::String &value)
const Aws::String & GetExpiration() const
HeadObjectResult & AddMetadata(Aws::String &&key, const Aws::String &value)
HeadObjectResult & WithRequestId(const Aws::String &value)
HeadObjectResult & WithAcceptRanges(Aws::String &&value)
HeadObjectResult & WithExpiration(const Aws::String &value)
HeadObjectResult & WithContentEncoding(Aws::String &&value)
HeadObjectResult & WithVersionId(const Aws::String &value)
const ReplicationStatus & GetReplicationStatus() const
HeadObjectResult & WithETag(const Aws::String &value)
const Aws::String & GetAcceptRanges() const
void SetContentLanguage(const char *value)
void SetExpiration(const char *value)
void SetLastModified(const Aws::Utils::DateTime &value)
HeadObjectResult & WithSSECustomerKeyMD5(const char *value)
HeadObjectResult & WithContentDisposition(const Aws::String &value)
const StorageClass & GetStorageClass() const
void SetRequestCharged(RequestCharged &&value)
void SetRequestId(const char *value)
HeadObjectResult & WithReplicationStatus(ReplicationStatus &&value)
HeadObjectResult & WithRequestCharged(const RequestCharged &value)
HeadObjectResult & WithContentType(const Aws::String &value)
HeadObjectResult & WithSSECustomerAlgorithm(const char *value)
HeadObjectResult & WithObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus &value)
void SetChecksumSHA256(Aws::String &&value)
AWS_S3CRT_API HeadObjectResult()
void SetSSEKMSKeyId(const char *value)
void SetAcceptRanges(const Aws::String &value)
HeadObjectResult & WithCacheControl(Aws::String &&value)
HeadObjectResult & WithObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus &&value)
HeadObjectResult & WithSSECustomerKeyMD5(Aws::String &&value)
void SetRestore(Aws::String &&value)
long long GetContentLength() const
bool GetBucketKeyEnabled() const
const Aws::Utils::DateTime & GetExpires() const
HeadObjectResult & WithContentLength(long long value)
void SetChecksumSHA1(Aws::String &&value)
void SetExpiresString(const char *value)
void SetObjectLockRetainUntilDate(const Aws::Utils::DateTime &value)
void SetChecksumCRC32(Aws::String &&value)
void SetETag(Aws::String &&value)
HeadObjectResult & WithContentType(Aws::String &&value)
HeadObjectResult & WithChecksumSHA1(Aws::String &&value)
const Aws::String & GetContentEncoding() const
HeadObjectResult & WithMissingMeta(int value)
void SetETag(const char *value)
void SetSSECustomerAlgorithm(Aws::String &&value)
void SetSSECustomerKeyMD5(const char *value)
const ArchiveStatus & GetArchiveStatus() const
void SetExpiresString(Aws::String &&value)
HeadObjectResult & WithRequestId(const char *value)
void SetChecksumSHA256(const Aws::String &value)
HeadObjectResult & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
HeadObjectResult & AddMetadata(const char *key, Aws::String &&value)
void SetChecksumSHA1(const char *value)
void SetChecksumCRC32(const char *value)
HeadObjectResult & WithObjectLockMode(const ObjectLockMode &value)
void SetContentEncoding(const char *value)
HeadObjectResult & WithExpires(Aws::Utils::DateTime &&value)
HeadObjectResult & AddMetadata(const char *key, const char *value)
HeadObjectResult & WithSSECustomerKeyMD5(const Aws::String &value)
HeadObjectResult & WithObjectLockRetainUntilDate(Aws::Utils::DateTime &&value)
HeadObjectResult & WithDeleteMarker(bool value)
void SetBucketKeyEnabled(bool value)
HeadObjectResult & WithChecksumSHA256(Aws::String &&value)
bool GetDeleteMarker() const
const Aws::String & GetRequestId() const
HeadObjectResult & AddMetadata(Aws::String &&key, const char *value)
void SetRequestId(Aws::String &&value)
void SetLastModified(Aws::Utils::DateTime &&value)
HeadObjectResult & WithContentDisposition(Aws::String &&value)
void SetVersionId(const Aws::String &value)
HeadObjectResult & WithVersionId(Aws::String &&value)
const Aws::String & GetChecksumCRC32() const
void SetExpiration(const Aws::String &value)
void SetETag(const Aws::String &value)
void SetStorageClass(const StorageClass &value)
void SetChecksumSHA256(const char *value)
HeadObjectResult & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
HeadObjectResult & AddMetadata(const Aws::String &key, const Aws::String &value)
HeadObjectResult & WithStorageClass(const StorageClass &value)
HeadObjectResult & WithRestore(Aws::String &&value)
void SetObjectLockMode(ObjectLockMode &&value)
HeadObjectResult & WithContentDisposition(const char *value)
void SetContentEncoding(const Aws::String &value)
void SetAcceptRanges(Aws::String &&value)
HeadObjectResult & WithAcceptRanges(const char *value)
void SetExpiration(Aws::String &&value)
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
HeadObjectResult & WithSSEKMSKeyId(const char *value)
HeadObjectResult & WithCacheControl(const char *value)
HeadObjectResult & AddMetadata(Aws::String &&key, Aws::String &&value)
void SetRequestId(const Aws::String &value)
HeadObjectResult & WithVersionId(const char *value)
const Aws::String & GetSSECustomerKeyMD5() const
void SetReplicationStatus(const ReplicationStatus &value)
void SetContentType(const Aws::String &value)
void SetRestore(const char *value)
HeadObjectResult & WithChecksumCRC32C(const char *value)
void SetArchiveStatus(ArchiveStatus &&value)
const ObjectLockLegalHoldStatus & GetObjectLockLegalHoldStatus() const
const ServerSideEncryption & GetServerSideEncryption() const
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
void SetMissingMeta(int value)
HeadObjectResult & WithChecksumCRC32C(Aws::String &&value)
HeadObjectResult & WithPartsCount(int value)
void SetCacheControl(const char *value)
HeadObjectResult & WithSSEKMSKeyId(Aws::String &&value)
const Aws::String & GetChecksumSHA1() const
HeadObjectResult & WithSSEKMSKeyId(const Aws::String &value)
HeadObjectResult & WithETag(const char *value)
const Aws::String & GetExpiresString() const
HeadObjectResult & WithCacheControl(const Aws::String &value)
HeadObjectResult & WithExpires(const Aws::Utils::DateTime &value)
void SetCacheControl(const Aws::String &value)
HeadObjectResult & WithContentEncoding(const char *value)
HeadObjectResult & WithReplicationStatus(const ReplicationStatus &value)
const Aws::String & GetCacheControl() const
void SetRestore(const Aws::String &value)
void SetContentLanguage(Aws::String &&value)
void SetContentDisposition(Aws::String &&value)
AWS_S3CRT_API HeadObjectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetStorageClass(StorageClass &&value)
void SetSSECustomerKeyMD5(Aws::String &&value)
void SetExpires(Aws::Utils::DateTime &&value)
HeadObjectResult & WithContentLanguage(const char *value)
void SetArchiveStatus(const ArchiveStatus &value)
void SetExpiresString(const Aws::String &value)
HeadObjectResult & WithChecksumSHA1(const char *value)
const Aws::String & GetSSECustomerAlgorithm() const
void SetChecksumCRC32C(const Aws::String &value)
HeadObjectResult & WithAcceptRanges(const Aws::String &value)
const Aws::String & GetETag() const
void SetObjectLockMode(const ObjectLockMode &value)
const Aws::Utils::DateTime & GetLastModified() const
void SetPartsCount(int value)
const Aws::String & GetRestore() const
HeadObjectResult & WithChecksumCRC32(const char *value)
void SetAcceptRanges(const char *value)
HeadObjectResult & WithArchiveStatus(const ArchiveStatus &value)
HeadObjectResult & WithContentLanguage(Aws::String &&value)
void SetChecksumCRC32(const Aws::String &value)
const Aws::String & GetWebsiteRedirectLocation() const
void SetContentLanguage(const Aws::String &value)
const Aws::String & GetContentType() const
HeadObjectResult & WithContentType(const char *value)
void SetObjectLockLegalHoldStatus(const ObjectLockLegalHoldStatus &value)
void SetObjectLockRetainUntilDate(Aws::Utils::DateTime &&value)
HeadObjectResult & WithChecksumCRC32C(const Aws::String &value)
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
void SetCacheControl(Aws::String &&value)
const RequestCharged & GetRequestCharged() const
HeadObjectResult & WithStorageClass(StorageClass &&value)
const Aws::String & GetChecksumCRC32C() const
const Aws::String & GetVersionId() const
void SetRequestCharged(const RequestCharged &value)
void SetObjectLockLegalHoldStatus(ObjectLockLegalHoldStatus &&value)
HeadObjectResult & WithETag(Aws::String &&value)
int GetMissingMeta() const
int GetPartsCount() const
HeadObjectResult & WithSSECustomerAlgorithm(const Aws::String &value)
HeadObjectResult & WithLastModified(const Aws::Utils::DateTime &value)
void SetContentType(const char *value)
HeadObjectResult & WithWebsiteRedirectLocation(const Aws::String &value)
void SetSSECustomerAlgorithm(const char *value)
const ObjectLockMode & GetObjectLockMode() const
HeadObjectResult & AddMetadata(const Aws::String &key, Aws::String &&value)
HeadObjectResult & WithServerSideEncryption(const ServerSideEncryption &value)
void SetSSEKMSKeyId(Aws::String &&value)
HeadObjectResult & WithRestore(const Aws::String &value)
void SetContentDisposition(const char *value)
void SetServerSideEncryption(const ServerSideEncryption &value)
HeadObjectResult & WithContentEncoding(const Aws::String &value)
HeadObjectResult & WithSSECustomerAlgorithm(Aws::String &&value)
void SetContentLength(long long value)
HeadObjectResult & WithExpiration(Aws::String &&value)
void SetSSECustomerKeyMD5(const Aws::String &value)
void SetSSECustomerAlgorithm(const Aws::String &value)
void SetDeleteMarker(bool value)
void SetChecksumCRC32C(const char *value)
ObjectLockLegalHoldStatus
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument