AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MetadataHandler.h
1
5#pragma once
6
7#include <aws/s3-encryption/handlers/MetadataHandler.h>
8#include <aws/s3-encryption/handlers/DataHandler.h>
9
10namespace Aws
11{
12 namespace S3Encryption
13 {
14 namespace Handlers
15 {
16 /*
17 Metadata handler will be responsible for reading and writing metadata to and from S3 object using a Put object
18 request or a Get object result.
19 */
20 class AWS_S3ENCRYPTION_API MetadataHandler : public DataHandler
21 {
22 public:
23 /*
24 * Write ContentCryptoMaterial data to a put object request. This occurs in place.
25 */
27
28 /*
29 * Read the metadata of a GetObject result and store into a ContentCryptoMaterial Object.
30 */
32
33 /*
34 * Read the metadata of a HeadObject result and store into a ContentCryptoMaterialObject.
35 */
37 };
38 }
39 }
40}
Aws::Utils::Crypto::ContentCryptoMaterial ReadContentCryptoMaterial(const Aws::S3::Model::HeadObjectResult &result)
Aws::Utils::Crypto::ContentCryptoMaterial ReadContentCryptoMaterial(Aws::S3::Model::GetObjectResult &result) override
void PopulateRequest(Aws::S3::Model::PutObjectRequest &request, const Aws::Utils::Crypto::ContentCryptoMaterial &contentCryptoMaterial) override