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