aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectResult.h
diff options
context:
space:
mode:
authordakovalkov <dakovalkov@yandex-team.com>2023-12-03 13:33:55 +0300
committerdakovalkov <dakovalkov@yandex-team.com>2023-12-03 14:04:39 +0300
commit2a718325637e5302334b6d0a6430f63168f8dbb3 (patch)
tree64be81080b7df9ec1d86d053a0c394ae53fcf1fe /contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectResult.h
parente0d94a470142d95c3007e9c5d80380994940664a (diff)
downloadydb-2a718325637e5302334b6d0a6430f63168f8dbb3.tar.gz
Update contrib/libs/aws-sdk-cpp to 1.11.37
Diffstat (limited to 'contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectResult.h')
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectResult.h438
1 files changed, 368 insertions, 70 deletions
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectResult.h
index cac0384d29..d19738ba59 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectResult.h
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetObjectResult.h
@@ -27,28 +27,28 @@ namespace S3
{
namespace Model
{
- class AWS_S3_API GetObjectResult
+ class GetObjectResult
{
public:
- GetObjectResult();
+ AWS_S3_API GetObjectResult();
//We have to define these because Microsoft doesn't auto generate them
- GetObjectResult(GetObjectResult&&);
- GetObjectResult& operator=(GetObjectResult&&);
+ AWS_S3_API GetObjectResult(GetObjectResult&&);
+ AWS_S3_API GetObjectResult& operator=(GetObjectResult&&);
//we delete these because Microsoft doesn't handle move generation correctly
//and we therefore don't trust them to get it right here either.
GetObjectResult(const GetObjectResult&) = delete;
GetObjectResult& operator=(const GetObjectResult&) = delete;
- GetObjectResult(Aws::AmazonWebServiceResult<Aws::Utils::Stream::ResponseStream>&& result);
- GetObjectResult& operator=(Aws::AmazonWebServiceResult<Aws::Utils::Stream::ResponseStream>&& result);
+ AWS_S3_API GetObjectResult(Aws::AmazonWebServiceResult<Aws::Utils::Stream::ResponseStream>&& result);
+ AWS_S3_API GetObjectResult& operator=(Aws::AmazonWebServiceResult<Aws::Utils::Stream::ResponseStream>&& result);
/**
* <p>Object data.</p>
*/
- inline Aws::IOStream& GetBody() { return m_body.GetUnderlyingStream(); }
+ inline Aws::IOStream& GetBody() const { return m_body.GetUnderlyingStream(); }
/**
* <p>Object data.</p>
@@ -113,57 +113,57 @@ namespace Model
/**
* <p>If the object expiration is configured (see PUT Bucket lifecycle), the
- * response includes this header. It includes the expiry-date and rule-id key-value
- * pairs providing object expiration information. The value of the rule-id is URL
- * encoded.</p>
+ * response includes this header. It includes the <code>expiry-date</code> and
+ * <code>rule-id</code> key-value pairs providing object expiration information.
+ * The value of the <code>rule-id</code> is URL-encoded.</p>
*/
inline const Aws::String& GetExpiration() const{ return m_expiration; }
/**
* <p>If the object expiration is configured (see PUT Bucket lifecycle), the
- * response includes this header. It includes the expiry-date and rule-id key-value
- * pairs providing object expiration information. The value of the rule-id is URL
- * encoded.</p>
+ * response includes this header. It includes the <code>expiry-date</code> and
+ * <code>rule-id</code> key-value pairs providing object expiration information.
+ * The value of the <code>rule-id</code> is URL-encoded.</p>
*/
inline void SetExpiration(const Aws::String& value) { m_expiration = value; }
/**
* <p>If the object expiration is configured (see PUT Bucket lifecycle), the
- * response includes this header. It includes the expiry-date and rule-id key-value
- * pairs providing object expiration information. The value of the rule-id is URL
- * encoded.</p>
+ * response includes this header. It includes the <code>expiry-date</code> and
+ * <code>rule-id</code> key-value pairs providing object expiration information.
+ * The value of the <code>rule-id</code> is URL-encoded.</p>
*/
inline void SetExpiration(Aws::String&& value) { m_expiration = std::move(value); }
/**
* <p>If the object expiration is configured (see PUT Bucket lifecycle), the
- * response includes this header. It includes the expiry-date and rule-id key-value
- * pairs providing object expiration information. The value of the rule-id is URL
- * encoded.</p>
+ * response includes this header. It includes the <code>expiry-date</code> and
+ * <code>rule-id</code> key-value pairs providing object expiration information.
+ * The value of the <code>rule-id</code> is URL-encoded.</p>
*/
inline void SetExpiration(const char* value) { m_expiration.assign(value); }
/**
* <p>If the object expiration is configured (see PUT Bucket lifecycle), the
- * response includes this header. It includes the expiry-date and rule-id key-value
- * pairs providing object expiration information. The value of the rule-id is URL
- * encoded.</p>
+ * response includes this header. It includes the <code>expiry-date</code> and
+ * <code>rule-id</code> key-value pairs providing object expiration information.
+ * The value of the <code>rule-id</code> is URL-encoded.</p>
*/
inline GetObjectResult& WithExpiration(const Aws::String& value) { SetExpiration(value); return *this;}
/**
* <p>If the object expiration is configured (see PUT Bucket lifecycle), the
- * response includes this header. It includes the expiry-date and rule-id key-value
- * pairs providing object expiration information. The value of the rule-id is URL
- * encoded.</p>
+ * response includes this header. It includes the <code>expiry-date</code> and
+ * <code>rule-id</code> key-value pairs providing object expiration information.
+ * The value of the <code>rule-id</code> is URL-encoded.</p>
*/
inline GetObjectResult& WithExpiration(Aws::String&& value) { SetExpiration(std::move(value)); return *this;}
/**
* <p>If the object expiration is configured (see PUT Bucket lifecycle), the
- * response includes this header. It includes the expiry-date and rule-id key-value
- * pairs providing object expiration information. The value of the rule-id is URL
- * encoded.</p>
+ * response includes this header. It includes the <code>expiry-date</code> and
+ * <code>rule-id</code> key-value pairs providing object expiration information.
+ * The value of the <code>rule-id</code> is URL-encoded.</p>
*/
inline GetObjectResult& WithExpiration(const char* value) { SetExpiration(value); return *this;}
@@ -254,49 +254,333 @@ namespace Model
/**
- * <p>An ETag is an opaque identifier assigned by a web server to a specific
- * version of a resource found at a URL.</p>
+ * <p>An entity tag (ETag) is an opaque identifier assigned by a web server to a
+ * specific version of a resource found at a URL.</p>
*/
inline const Aws::String& GetETag() const{ return m_eTag; }
/**
- * <p>An ETag is an opaque identifier assigned by a web server to a specific
- * version of a resource found at a URL.</p>
+ * <p>An entity tag (ETag) is an opaque identifier assigned by a web server to a
+ * specific version of a resource found at a URL.</p>
*/
inline void SetETag(const Aws::String& value) { m_eTag = value; }
/**
- * <p>An ETag is an opaque identifier assigned by a web server to a specific
- * version of a resource found at a URL.</p>
+ * <p>An entity tag (ETag) is an opaque identifier assigned by a web server to a
+ * specific version of a resource found at a URL.</p>
*/
inline void SetETag(Aws::String&& value) { m_eTag = std::move(value); }
/**
- * <p>An ETag is an opaque identifier assigned by a web server to a specific
- * version of a resource found at a URL.</p>
+ * <p>An entity tag (ETag) is an opaque identifier assigned by a web server to a
+ * specific version of a resource found at a URL.</p>
*/
inline void SetETag(const char* value) { m_eTag.assign(value); }
/**
- * <p>An ETag is an opaque identifier assigned by a web server to a specific
- * version of a resource found at a URL.</p>
+ * <p>An entity tag (ETag) is an opaque identifier assigned by a web server to a
+ * specific version of a resource found at a URL.</p>
*/
inline GetObjectResult& WithETag(const Aws::String& value) { SetETag(value); return *this;}
/**
- * <p>An ETag is an opaque identifier assigned by a web server to a specific
- * version of a resource found at a URL.</p>
+ * <p>An entity tag (ETag) is an opaque identifier assigned by a web server to a
+ * specific version of a resource found at a URL.</p>
*/
inline GetObjectResult& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
/**
- * <p>An ETag is an opaque identifier assigned by a web server to a specific
- * version of a resource found at a URL.</p>
+ * <p>An entity tag (ETag) is an opaque identifier assigned by a web server to a
+ * specific version of a resource found at a URL.</p>
*/
inline GetObjectResult& WithETag(const char* value) { SetETag(value); return *this;}
/**
+ * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be
+ * present if it was uploaded with the object. With multipart uploads, this may not
+ * be a checksum value of the object. For more information about how checksums are
+ * calculated with multipart uploads, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
+ */
+ inline const Aws::String& GetChecksumCRC32() const{ return m_checksumCRC32; }
+
+ /**
+ * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be
+ * present if it was uploaded with the object. With multipart uploads, this may not
+ * be a checksum value of the object. For more information about how checksums are
+ * calculated with multipart uploads, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
+ */
+ inline void SetChecksumCRC32(const Aws::String& value) { m_checksumCRC32 = value; }
+
+ /**
+ * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be
+ * present if it was uploaded with the object. With multipart uploads, this may not
+ * be a checksum value of the object. For more information about how checksums are
+ * calculated with multipart uploads, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
+ */
+ inline void SetChecksumCRC32(Aws::String&& value) { m_checksumCRC32 = std::move(value); }
+
+ /**
+ * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be
+ * present if it was uploaded with the object. With multipart uploads, this may not
+ * be a checksum value of the object. For more information about how checksums are
+ * calculated with multipart uploads, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
+ */
+ inline void SetChecksumCRC32(const char* value) { m_checksumCRC32.assign(value); }
+
+ /**
+ * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be
+ * present if it was uploaded with the object. With multipart uploads, this may not
+ * be a checksum value of the object. For more information about how checksums are
+ * calculated with multipart uploads, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
+ */
+ inline GetObjectResult& WithChecksumCRC32(const Aws::String& value) { SetChecksumCRC32(value); return *this;}
+
+ /**
+ * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be
+ * present if it was uploaded with the object. With multipart uploads, this may not
+ * be a checksum value of the object. For more information about how checksums are
+ * calculated with multipart uploads, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
+ */
+ inline GetObjectResult& WithChecksumCRC32(Aws::String&& value) { SetChecksumCRC32(std::move(value)); return *this;}
+
+ /**
+ * <p>The base64-encoded, 32-bit CRC32 checksum of the object. This will only be
+ * present if it was uploaded with the object. With multipart uploads, this may not
+ * be a checksum value of the object. For more information about how checksums are
+ * calculated with multipart uploads, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
+ */
+ inline GetObjectResult& WithChecksumCRC32(const char* value) { SetChecksumCRC32(value); return *this;}
+
+
+ /**
+ * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be
+ * present if it was uploaded with the object. With multipart uploads, this may not
+ * be a checksum value of the object. For more information about how checksums are
+ * calculated with multipart uploads, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
+ */
+ inline const Aws::String& GetChecksumCRC32C() const{ return m_checksumCRC32C; }
+
+ /**
+ * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be
+ * present if it was uploaded with the object. With multipart uploads, this may not
+ * be a checksum value of the object. For more information about how checksums are
+ * calculated with multipart uploads, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
+ */
+ inline void SetChecksumCRC32C(const Aws::String& value) { m_checksumCRC32C = value; }
+
+ /**
+ * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be
+ * present if it was uploaded with the object. With multipart uploads, this may not
+ * be a checksum value of the object. For more information about how checksums are
+ * calculated with multipart uploads, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
+ */
+ inline void SetChecksumCRC32C(Aws::String&& value) { m_checksumCRC32C = std::move(value); }
+
+ /**
+ * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be
+ * present if it was uploaded with the object. With multipart uploads, this may not
+ * be a checksum value of the object. For more information about how checksums are
+ * calculated with multipart uploads, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
+ */
+ inline void SetChecksumCRC32C(const char* value) { m_checksumCRC32C.assign(value); }
+
+ /**
+ * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be
+ * present if it was uploaded with the object. With multipart uploads, this may not
+ * be a checksum value of the object. For more information about how checksums are
+ * calculated with multipart uploads, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
+ */
+ inline GetObjectResult& WithChecksumCRC32C(const Aws::String& value) { SetChecksumCRC32C(value); return *this;}
+
+ /**
+ * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be
+ * present if it was uploaded with the object. With multipart uploads, this may not
+ * be a checksum value of the object. For more information about how checksums are
+ * calculated with multipart uploads, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
+ */
+ inline GetObjectResult& WithChecksumCRC32C(Aws::String&& value) { SetChecksumCRC32C(std::move(value)); return *this;}
+
+ /**
+ * <p>The base64-encoded, 32-bit CRC32C checksum of the object. This will only be
+ * present if it was uploaded with the object. With multipart uploads, this may not
+ * be a checksum value of the object. For more information about how checksums are
+ * calculated with multipart uploads, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
+ */
+ inline GetObjectResult& WithChecksumCRC32C(const char* value) { SetChecksumCRC32C(value); return *this;}
+
+
+ /**
+ * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be
+ * present if it was uploaded with the object. With multipart uploads, this may not
+ * be a checksum value of the object. For more information about how checksums are
+ * calculated with multipart uploads, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
+ */
+ inline const Aws::String& GetChecksumSHA1() const{ return m_checksumSHA1; }
+
+ /**
+ * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be
+ * present if it was uploaded with the object. With multipart uploads, this may not
+ * be a checksum value of the object. For more information about how checksums are
+ * calculated with multipart uploads, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
+ */
+ inline void SetChecksumSHA1(const Aws::String& value) { m_checksumSHA1 = value; }
+
+ /**
+ * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be
+ * present if it was uploaded with the object. With multipart uploads, this may not
+ * be a checksum value of the object. For more information about how checksums are
+ * calculated with multipart uploads, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
+ */
+ inline void SetChecksumSHA1(Aws::String&& value) { m_checksumSHA1 = std::move(value); }
+
+ /**
+ * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be
+ * present if it was uploaded with the object. With multipart uploads, this may not
+ * be a checksum value of the object. For more information about how checksums are
+ * calculated with multipart uploads, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
+ */
+ inline void SetChecksumSHA1(const char* value) { m_checksumSHA1.assign(value); }
+
+ /**
+ * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be
+ * present if it was uploaded with the object. With multipart uploads, this may not
+ * be a checksum value of the object. For more information about how checksums are
+ * calculated with multipart uploads, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
+ */
+ inline GetObjectResult& WithChecksumSHA1(const Aws::String& value) { SetChecksumSHA1(value); return *this;}
+
+ /**
+ * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be
+ * present if it was uploaded with the object. With multipart uploads, this may not
+ * be a checksum value of the object. For more information about how checksums are
+ * calculated with multipart uploads, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
+ */
+ inline GetObjectResult& WithChecksumSHA1(Aws::String&& value) { SetChecksumSHA1(std::move(value)); return *this;}
+
+ /**
+ * <p>The base64-encoded, 160-bit SHA-1 digest of the object. This will only be
+ * present if it was uploaded with the object. With multipart uploads, this may not
+ * be a checksum value of the object. For more information about how checksums are
+ * calculated with multipart uploads, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
+ */
+ inline GetObjectResult& WithChecksumSHA1(const char* value) { SetChecksumSHA1(value); return *this;}
+
+
+ /**
+ * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be
+ * present if it was uploaded with the object. With multipart uploads, this may not
+ * be a checksum value of the object. For more information about how checksums are
+ * calculated with multipart uploads, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
+ */
+ inline const Aws::String& GetChecksumSHA256() const{ return m_checksumSHA256; }
+
+ /**
+ * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be
+ * present if it was uploaded with the object. With multipart uploads, this may not
+ * be a checksum value of the object. For more information about how checksums are
+ * calculated with multipart uploads, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
+ */
+ inline void SetChecksumSHA256(const Aws::String& value) { m_checksumSHA256 = value; }
+
+ /**
+ * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be
+ * present if it was uploaded with the object. With multipart uploads, this may not
+ * be a checksum value of the object. For more information about how checksums are
+ * calculated with multipart uploads, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
+ */
+ inline void SetChecksumSHA256(Aws::String&& value) { m_checksumSHA256 = std::move(value); }
+
+ /**
+ * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be
+ * present if it was uploaded with the object. With multipart uploads, this may not
+ * be a checksum value of the object. For more information about how checksums are
+ * calculated with multipart uploads, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
+ */
+ inline void SetChecksumSHA256(const char* value) { m_checksumSHA256.assign(value); }
+
+ /**
+ * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be
+ * present if it was uploaded with the object. With multipart uploads, this may not
+ * be a checksum value of the object. For more information about how checksums are
+ * calculated with multipart uploads, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
+ */
+ inline GetObjectResult& WithChecksumSHA256(const Aws::String& value) { SetChecksumSHA256(value); return *this;}
+
+ /**
+ * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be
+ * present if it was uploaded with the object. With multipart uploads, this may not
+ * be a checksum value of the object. For more information about how checksums are
+ * calculated with multipart uploads, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
+ */
+ inline GetObjectResult& WithChecksumSHA256(Aws::String&& value) { SetChecksumSHA256(std::move(value)); return *this;}
+
+ /**
+ * <p>The base64-encoded, 256-bit SHA-256 digest of the object. This will only be
+ * present if it was uploaded with the object. With multipart uploads, this may not
+ * be a checksum value of the object. For more information about how checksums are
+ * calculated with multipart uploads, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
+ * Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
+ */
+ inline GetObjectResult& WithChecksumSHA256(const char* value) { SetChecksumSHA256(value); return *this;}
+
+
+ /**
* <p>This is set to the number of metadata entries not returned in
* <code>x-amz-meta</code> headers. This can happen if you create metadata using an
* API like SOAP that supports more flexible metadata than the REST API. For
@@ -859,70 +1143,70 @@ namespace Model
/**
- * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS)
- * symmetric customer managed customer master key (CMK) that was used for the
- * object.</p>
+ * <p>If present, specifies the ID of the Amazon Web Services Key Management
+ * Service (Amazon Web Services KMS) symmetric customer managed key that was used
+ * for the object.</p>
*/
inline const Aws::String& GetSSEKMSKeyId() const{ return m_sSEKMSKeyId; }
/**
- * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS)
- * symmetric customer managed customer master key (CMK) that was used for the
- * object.</p>
+ * <p>If present, specifies the ID of the Amazon Web Services Key Management
+ * Service (Amazon Web Services KMS) symmetric customer managed key that was used
+ * for the object.</p>
*/
inline void SetSSEKMSKeyId(const Aws::String& value) { m_sSEKMSKeyId = value; }
/**
- * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS)
- * symmetric customer managed customer master key (CMK) that was used for the
- * object.</p>
+ * <p>If present, specifies the ID of the Amazon Web Services Key Management
+ * Service (Amazon Web Services KMS) symmetric customer managed key that was used
+ * for the object.</p>
*/
inline void SetSSEKMSKeyId(Aws::String&& value) { m_sSEKMSKeyId = std::move(value); }
/**
- * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS)
- * symmetric customer managed customer master key (CMK) that was used for the
- * object.</p>
+ * <p>If present, specifies the ID of the Amazon Web Services Key Management
+ * Service (Amazon Web Services KMS) symmetric customer managed key that was used
+ * for the object.</p>
*/
inline void SetSSEKMSKeyId(const char* value) { m_sSEKMSKeyId.assign(value); }
/**
- * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS)
- * symmetric customer managed customer master key (CMK) that was used for the
- * object.</p>
+ * <p>If present, specifies the ID of the Amazon Web Services Key Management
+ * Service (Amazon Web Services KMS) symmetric customer managed key that was used
+ * for the object.</p>
*/
inline GetObjectResult& WithSSEKMSKeyId(const Aws::String& value) { SetSSEKMSKeyId(value); return *this;}
/**
- * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS)
- * symmetric customer managed customer master key (CMK) that was used for the
- * object.</p>
+ * <p>If present, specifies the ID of the Amazon Web Services Key Management
+ * Service (Amazon Web Services KMS) symmetric customer managed key that was used
+ * for the object.</p>
*/
inline GetObjectResult& WithSSEKMSKeyId(Aws::String&& value) { SetSSEKMSKeyId(std::move(value)); return *this;}
/**
- * <p>If present, specifies the ID of the AWS Key Management Service (AWS KMS)
- * symmetric customer managed customer master key (CMK) that was used for the
- * object.</p>
+ * <p>If present, specifies the ID of the Amazon Web Services Key Management
+ * Service (Amazon Web Services KMS) symmetric customer managed key that was used
+ * for the object.</p>
*/
inline GetObjectResult& WithSSEKMSKeyId(const char* value) { SetSSEKMSKeyId(value); return *this;}
/**
* <p>Indicates whether the object uses an S3 Bucket Key for server-side encryption
- * with AWS KMS (SSE-KMS).</p>
+ * with Amazon Web Services KMS (SSE-KMS).</p>
*/
inline bool GetBucketKeyEnabled() const{ return m_bucketKeyEnabled; }
/**
* <p>Indicates whether the object uses an S3 Bucket Key for server-side encryption
- * with AWS KMS (SSE-KMS).</p>
+ * with Amazon Web Services KMS (SSE-KMS).</p>
*/
inline void SetBucketKeyEnabled(bool value) { m_bucketKeyEnabled = value; }
/**
* <p>Indicates whether the object uses an S3 Bucket Key for server-side encryption
- * with AWS KMS (SSE-KMS).</p>
+ * with Amazon Web Services KMS (SSE-KMS).</p>
*/
inline GetObjectResult& WithBucketKeyEnabled(bool value) { SetBucketKeyEnabled(value); return *this;}
@@ -1006,17 +1290,23 @@ namespace Model
/**
- * <p>The count of parts this object has.</p>
+ * <p>The count of parts this object has. This value is only returned if you
+ * specify <code>partNumber</code> in your request and the object was uploaded as a
+ * multipart upload.</p>
*/
inline int GetPartsCount() const{ return m_partsCount; }
/**
- * <p>The count of parts this object has.</p>
+ * <p>The count of parts this object has. This value is only returned if you
+ * specify <code>partNumber</code> in your request and the object was uploaded as a
+ * multipart upload.</p>
*/
inline void SetPartsCount(int value) { m_partsCount = value; }
/**
- * <p>The count of parts this object has.</p>
+ * <p>The count of parts this object has. This value is only returned if you
+ * specify <code>partNumber</code> in your request and the object was uploaded as a
+ * multipart upload.</p>
*/
inline GetObjectResult& WithPartsCount(int value) { SetPartsCount(value); return *this;}
@@ -1165,7 +1455,7 @@ namespace Model
private:
- Aws::Utils::Stream::ResponseStream m_body;
+ Aws::Utils::Stream::ResponseStream m_body;
bool m_deleteMarker;
@@ -1181,6 +1471,14 @@ namespace Model
Aws::String m_eTag;
+ Aws::String m_checksumCRC32;
+
+ Aws::String m_checksumCRC32C;
+
+ Aws::String m_checksumSHA1;
+
+ Aws::String m_checksumSHA256;
+
int m_missingMeta;
Aws::String m_versionId;