|
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 result returned by a request. More...
Public Member Functions | |
| request_result () | |
| Initializes a new instance of the azure::storage::request_result class. More... | |
| request_result (utility::datetime start_time, storage_location target_location) | |
| Initializes a new instance of the azure::storage::request_result class. More... | |
| WASTORAGE_API | request_result (utility::datetime start_time, storage_location target_location, const web::http::http_response &response, bool parse_body_as_error) |
| Initializes a new instance of the azure::storage::request_result class. More... | |
| WASTORAGE_API | request_result (utility::datetime start_time, storage_location target_location, const web::http::http_response &response, web::http::status_code http_status_code, storage_extended_error extended_error) |
| Initializes a new instance of the azure::storage::request_result class. More... | |
| bool | is_response_available () const |
| Indicates whether a response is available for the request. More... | |
| utility::datetime | start_time () const |
| Gets the start time of the request. More... | |
| storage_location | target_location () const |
| Gets the target location for the request. More... | |
| utility::datetime | end_time () const |
| Gets the end time of the request. More... | |
| web::http::status_code | http_status_code () const |
| Gets the HTTP status code for the request. More... | |
| void | set_http_status_code (web::http::status_code value) |
| Sets the HTTP status code for the request. More... | |
| const utility::string_t & | service_request_id () const |
| Gets the service request ID. More... | |
| utility::datetime | request_date () const |
| Gets the service request date. More... | |
| utility::size64_t | content_length () const |
| Gets the content length for the request. More... | |
| const utility::string_t & | content_md5 () const |
| Gets the content-MD5 hash for the request. More... | |
| const utility::string_t & | content_crc64 () const |
| Gets the content-CRC64 hash for the request. More... | |
| const utility::string_t & | etag () const |
| Gets the ETag for the request. More... | |
| const storage_extended_error & | extended_error () const |
| Gets extended error information for the request. More... | |
| void | set_extended_error (storage_extended_error value) |
| Sets extended error information for the request. More... | |
Represents a result returned by a request.
|
inline |
Initializes a new instance of the azure::storage::request_result class.
|
inline |
Initializes a new instance of the azure::storage::request_result class.
| start_time | The start time of the request. |
| target_location | The target location for the request. |
| WASTORAGE_API azure::storage::request_result::request_result | ( | utility::datetime | start_time, |
| storage_location | target_location, | ||
| const web::http::http_response & | response, | ||
| bool | parse_body_as_error | ||
| ) |
Initializes a new instance of the azure::storage::request_result class.
| start_time | The start time of the request. |
| target_location | The target location for the request. |
| response | The HTTP response to read. |
| parse_body_as_error | A flag that indicates whether to parse error data from the response body. |
| WASTORAGE_API azure::storage::request_result::request_result | ( | utility::datetime | start_time, |
| storage_location | target_location, | ||
| const web::http::http_response & | response, | ||
| web::http::status_code | http_status_code, | ||
| storage_extended_error | extended_error | ||
| ) |
Initializes a new instance of the azure::storage::request_result class.
| start_time | The start time of the request. |
| target_location | The target location for the request. |
| response | The HTTP response to read. |
| http_status_code | The HTTP status code for the request. |
| extended_error | The extended error information for the request. |
|
inline |
Gets the content-CRC64 hash for the request.
|
inline |
Gets the content length for the request.
|
inline |
Gets the content-MD5 hash for the request.
|
inline |
Gets the end time of the request.
|
inline |
Gets the ETag for the request.
|
inline |
Gets extended error information for the request.
|
inline |
Gets the HTTP status code for the request.
|
inline |
Indicates whether a response is available for the request.
true if a response is available.
|
inline |
Gets the service request date.
|
inline |
Gets the service request ID.
|
inline |
Sets extended error information for the request.
| value | The extended error information for the request. |
|
inline |
Sets the HTTP status code for the request.
| value | The HTTP status code for the request. |
|
inline |
Gets the start time of the request.
|
inline |
Gets the target location for the request.
1.8.15