Data.Cloud.AmazonAPI.TAmazonObjectResult

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
record
struct
Visibility: public
Source:
Data.Cloud.AmazonAPI.pas
Data.Cloud.AmazonAPI.hpp
Unit: Data.Cloud.AmazonAPI
Parent: Data.Cloud.AmazonAPI

Delphi

TAmazonObjectResult = record

C++

struct DECLSPEC_DRECORD TAmazonObjectResult
{
public:
    System::UnicodeString Name;
    System::UnicodeString LastModified;
    System::UnicodeString ETag;
    __int64 Size;
    System::UnicodeString OwnerID;
    System::UnicodeString OwnerDisplayName;
    System::UnicodeString VersionId;
    bool IsLatest;
    bool IsDeleted;
    System::UnicodeString StorageClass;
    static TAmazonObjectResult __fastcall Create(const System::UnicodeString Name);
};

Description

A storage object, as returned by a 'get bucket' request.

TAmazonObjectResult is a storage object, as returned by a 'get bucket' request.

If a VersionId is specified, then this instance represents a version of the object. You can use the value of IsLatest to determine whether this is the latest version of the object. Also, you can check the value of IsDeleted to see whether a DeleteMarker is present for the object.

If the object is deleted, its size and ETag will not be populated.

See Also