libs3  trunk
S3GetConditions Struct Reference

#include <libs3.h>

Public Attributes

int64_t ifModifiedSince
 
int64_t ifNotModifiedSince
 
const char * ifMatchETag
 
const char * ifNotMatchETag
 

Detailed Description

S3GetConditions is used for the get_object operation, and specifies conditions which the object must meet in order to be successfully returned.

Member Data Documentation

int64_t S3GetConditions::ifModifiedSince

The request will be processed if the Last-Modification header of the object is greater than or equal to this value, specified as a number of seconds since Unix epoch. If this value is less than zero, it will not be used in the conditional.

int64_t S3GetConditions::ifNotModifiedSince

The request will be processed if the Last-Modification header of the object is less than this value, specified as a number of seconds since Unix epoch. If this value is less than zero, it will not be used in the conditional.

const char* S3GetConditions::ifMatchETag

If non-NULL, this gives an eTag header value which the object must match in order to be returned. Note that altough the eTag is simply an MD5, this must be presented in the S3 eTag form, which typically includes double-quotes.

const char* S3GetConditions::ifNotMatchETag

If non-NULL, this gives an eTag header value which the object must not match in order to be returned. Note that altough the eTag is simply an MD5, this must be presented in the S3 eTag form, which typically includes double-quotes.


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