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 the system properties for a file. More...
Classes | |
struct | inherit_t |
struct | now_t |
struct | preserve_t |
struct | source_t |
Public Member Functions | |
cloud_file_properties () | |
Initializes a new instance of the azure::storage::cloud_file_properties class. More... | |
utility::size64_t | length () const |
Gets the size of the file, in bytes. More... | |
utility::size64_t | size () const |
Gets the size of the file, in bytes. More... | |
const utility::string_t & | etag () const |
Gets the file's ETag value. More... | |
utility::datetime | last_modified () const |
Gets the last-modified time for the file, expressed as a UTC value. More... | |
const utility::string_t & | type () const |
Gets the type of the file. More... | |
const utility::string_t & | content_type () const |
Gets the content-type value stored for the file. More... | |
void | set_content_type (utility::string_t content_type) |
Sets the content-type value stored for the file. More... | |
const utility::string_t & | content_encoding () const |
Gets the content-encoding value stored for the file. More... | |
void | set_content_encoding (utility::string_t value) |
Sets the content-encoding value stored for the file. More... | |
const utility::string_t & | content_language () const |
Gets the content-language value stored for the file. More... | |
void | set_content_language (utility::string_t value) |
Sets the content-language value stored for the file. More... | |
const utility::string_t & | cache_control () const |
Gets the cache-control value stored for the file. More... | |
void | set_cache_control (utility::string_t value) |
Sets the cache-control value stored for the file. More... | |
const utility::string_t & | content_md5 () const |
Gets the content-MD5 value stored for the file. More... | |
void | set_content_md5 (utility::string_t value) |
Sets the content-MD5 value stored for the file. More... | |
const utility::string_t & | content_disposition () const |
Gets the content-disposition value stored for the file. More... | |
void | set_content_disposition (utility::string_t value) |
Sets the content-disposition value stored for the file. More... | |
bool | server_encrypted () const |
Gets if the server is encrypted. More... | |
void | set_server_encrypted (bool value) |
Sets if the server is encrypted. More... | |
const utility::string_t & | permission () const |
Gets the permission property. More... | |
void | set_permission (utility::string_t value) |
Sets the permission property. More... | |
void | set_permission (inherit_t) |
Sets the permission property value to inherit, which means to inherit from the parent directory. More... | |
void | set_permission (preserve_t) |
Sets the permission property value to preserve, which means to keep existing value unchanged. More... | |
void | set_permission (source_t) |
Sets the permission property value to source, which means security descriptor shall be set for the target file by copying from the source file. More... | |
const utility::string_t & | permission_key () const |
Gets security descriptor of the permission. More... | |
void | set_permission_key (utility::string_t value) |
Sets security descriptor of permission. More... | |
cloud_file_attributes | attributes () const |
Gets file system attributes set on this file. More... | |
void | set_attributes (cloud_file_attributes value) |
Sets file system attributes on this file. More... | |
utility::datetime | creation_time () const |
Gets the creation time property for this file. More... | |
void | set_creation_time (utility::datetime value) |
Sets the creation time property for this file. More... | |
void | set_creation_time (now_t) |
Sets the creation time property for this file to now, which indicates the time of the request. More... | |
void | set_creation_time (preserve_t) |
Sets the creation time property for this file to preserve, which means to keep the existing value unchanged. More... | |
utility::datetime | last_write_time () const |
Gets the last write time property for this file. More... | |
void | set_last_write_time (utility::datetime value) |
Sets the last write time property for this file. More... | |
void | set_last_write_time (now_t) |
Sets the last write time property for this file to now, which indicates the time of the request. More... | |
void | set_last_write_time (preserve_t) |
Sets the last write time property for this file to preserve, which means to keep the existing value unchanged. More... | |
utility::datetime | change_time () const |
Gets the change time property for this file. More... | |
const utility::string_t & | file_id () const |
Gets the file id property for this file. More... | |
const utility::string_t & | file_parent_id () const |
Gets the parent file id property for this file. More... | |
azure::storage::lease_status | lease_status () const |
Gets the file's lease status. More... | |
azure::storage::lease_state | lease_state () const |
Gets the file's lease state. More... | |
azure::storage::lease_duration | lease_duration () const |
Gets the file's lease duration. More... | |
Static Public Attributes | |
static constexpr now_t | now {} |
static constexpr inherit_t | inherit {} |
static constexpr preserve_t | preserve {} |
static constexpr source_t | source {} |
Represents the system properties for a file.
|
inline |
Initializes a new instance of the azure::storage::cloud_file_properties class.
|
inline |
Gets file system attributes set on this file.
|
inline |
Gets the cache-control value stored for the file.
|
inline |
Gets the change time property for this file.
|
inline |
Gets the content-disposition value stored for the file.
|
inline |
Gets the content-encoding value stored for the file.
|
inline |
Gets the content-language value stored for the file.
|
inline |
Gets the content-MD5 value stored for the file.
|
inline |
Gets the content-type value stored for the file.
|
inline |
Gets the creation time property for this file.
|
inline |
Gets the file's ETag value.
|
inline |
Gets the file id property for this file.
|
inline |
Gets the parent file id property for this file.
|
inline |
Gets the last-modified time for the file, expressed as a UTC value.
|
inline |
Gets the last write time property for this file.
|
inline |
Gets the file's lease duration.
|
inline |
Gets the file's lease state.
|
inline |
Gets the file's lease status.
|
inline |
Gets the size of the file, in bytes.
|
inline |
Gets the permission property.
|
inline |
Gets security descriptor of the permission.
|
inline |
Gets if the server is encrypted.
true
if a server is encrypted.
|
inline |
Sets file system attributes on this file.
value | An azure::storage::cloud_file_attributes that represents a set of attributes. |
|
inline |
Sets the cache-control value stored for the file.
value | The file's cache-control value. |
|
inline |
Sets the content-disposition value stored for the file.
value | The file's content-disposition value. |
|
inline |
Sets the content-encoding value stored for the file.
value | The file's content-encoding value. |
|
inline |
Sets the content-language value stored for the file.
value | The file's content-language value. |
|
inline |
Sets the content-MD5 value stored for the file.
value | The file's content-MD5 hash. |
|
inline |
Sets the content-type value stored for the file.
value | The file's content-type value. |
|
inline |
Sets the creation time property for this file.
value | An ISO 8601 datetime utility::string_t. |
|
inline |
Sets the creation time property for this file to now, which indicates the time of the request.
value | Explicitly specified datetime value, must be azure::storage::cloud_file_properties::now. |
|
inline |
Sets the creation time property for this file to preserve, which means to keep the existing value unchanged.
value | Explicitly specified datetime value, must be azure::storage::cloud_file_properties::preserve. |
|
inline |
Sets the last write time property for this file.
value | An ISO 8601 datetime utility::string_t. |
|
inline |
Sets the last write time property for this file to now, which indicates the time of the request.
value | Explicitly specified datetime value, must be azure::storage::cloud_file_properties::now. |
|
inline |
Sets the last write time property for this file to preserve, which means to keep the existing value unchanged.
value | Explicitly specified datetime value, must be azure::storage::cloud_file_properties::preserve. |
|
inline |
Sets the permission property.
value | A utility::string_t that contains permission in the Security Descriptor Definition Language (SDDL). |
|
inline |
Sets the permission property value to inherit, which means to inherit from the parent directory.
value | Explicitly specified permission value, must be azure::storage::cloud_file_properties::inherit. |
|
inline |
Sets the permission property value to preserve, which means to keep existing value unchanged.
value | Explicitly specified permission value, must be azure::storage::cloud_file_properties::preserve. |
|
inline |
Sets the permission property value to source, which means security descriptor shall be set for the target file by copying from the source file.
value | Explicitly specified permission value, must be azure::storage::cloud_file_properties::source. |
This only applies to copy operation.
|
inline |
Sets security descriptor of permission.
value | A utility::string_t that contains security descriptor of the permission. |
|
inline |
Sets if the server is encrypted.
value | If the server is encrypted. |
|
inline |
Gets the size of the file, in bytes.
|
inline |
Gets the type of the file.