Microsoft Azure Storage Client Library for C++
7.5.0
The Microsoft Azure Storage Client Library for C++ is a library for working with the Azure Storage Services in C++.
|
Represents a set of access conditions to be used for operations against the File service. Reserved for future support of file conditional headers. More...
Public Member Functions | |
file_access_condition () | |
Constructs an empty file access condition. More... | |
bool | is_valid () const |
Returns if this condition is empty. More... | |
const utility::string_t & | lease_id () const |
Gets a lease ID that must match the lease on a resource. More... | |
void | set_lease_id (utility::string_t value) |
Sets a lease ID that must match the lease on a resource. More... | |
Static Public Member Functions | |
static file_access_condition | generate_lease_condition (utility::string_t lease_id) |
Generates a file access condition such that an operation will be performed only if the lease ID on the resource matches the specified lease ID. More... | |
Represents a set of access conditions to be used for operations against the File service. Reserved for future support of file conditional headers.
|
inline |
Constructs an empty file access condition.
|
inlinestatic |
Generates a file access condition such that an operation will be performed only if the lease ID on the resource matches the specified lease ID.
lease_id | The lease ID that must match the lease ID of the resource. |
|
inline |
Returns if this condition is empty.
true
if this condition is empty, false
otherwise.
|
inline |
Gets a lease ID that must match the lease on a resource.
|
inline |
Sets a lease ID that must match the lease on a resource.
value | A string containing the lease ID. |