SSS - S3 Toolkit 0.9.6
S3 client library and applications
Loading...
Searching...
No Matches
sss::api::Grant Struct Reference

XML -> C++ mapping of ListObjectsV2/Contents response. See https://docs.aws.amazon.com/AmazonS3/latest/API/API_Object.html. More...

#include <s3-api.h>

Detailed Description

XML -> C++ mapping of ListObjectsV2/Contents response. See https://docs.aws.amazon.com/AmazonS3/latest/API/API_Object.html.

struct ObjectInfo {
std::string checksumAlgo;
std::string key;
std::string lastModified;
ETag etag;
size_t size;
std::string storageClass;
// ObjectOwner
std::string ownerDisplayName;
std::string ownerID;
};
\encode
struct ObjectInfo {
std::string checksumAlgo;
std::string key;
std::string lastModified;
ETag etag;
size_t size;
std::string storageClass;
// ObjectOwner
std::string ownerDisplayName;
std::string ownerID;
};
\brief XML -> C++ mapping of \c Grante record
See https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketAcl.html
\code{.cpp}
struct Grant {
struct Grantee {
std::string displayName;
std::string emailAddress;
std::string id;
std::string xsiType;
std::string uri;
bool Empty() const {
return uri.empty() && xsiType.empty() && id.empty() &&
emailAddress.empty() && displayName.empty();
}
} grantee;
std::string permission;
};
std::string ETag
ETag returned by upload requests.
Definition s3-client.h:55

The documentation for this struct was generated from the following file: