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;
size_t size;
std::string storageClass;
std::string ownerDisplayName;
std::string ownerID;
};
\encode
struct ObjectInfo {
std::string checksumAlgo;
std::string key;
std::string lastModified;
size_t size;
std::string storageClass;
std::string ownerDisplayName;
std::string ownerID;
};
\brief XML -> C++ mapping of \c Grante record
See https:
\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