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++.
Public Member Functions | List of all members
azure::storage::table_result Class Reference

Represents the result of a table operation. More...

Public Member Functions

 table_result ()
 Initializes a new instance of the azure::storage::table_result class. More...
 
const azure::storage::table_entityentity () const
 Gets an azure::storage::table_entity object returned as part of an azure::storage::table_result object. More...
 
void set_entity (azure::storage::table_entity value)
 Sets an azure::storage::table_entity object returned as part of an azure::storage::table_result object. More...
 
int http_status_code () const
 Gets the HTTP status code for an azure::storage::table_result object. More...
 
void set_http_status_code (int value)
 Sets the HTTP status code for an azure::storage::table_result object. More...
 
const utility::string_t & etag () const
 Gets the ETag for an azure::storage::table_result object. More...
 
void set_etag (utility::string_t value)
 Sets the ETag for an azure::storage::table_result object. More...
 

Detailed Description

Represents the result of a table operation.

The azure::storage::table_result class encapsulates the HTTP response and any query results returned for a particular azure::storage::table_operation.

Constructor & Destructor Documentation

◆ table_result()

azure::storage::table_result::table_result ( )
inline

Initializes a new instance of the azure::storage::table_result class.

Member Function Documentation

◆ entity()

const azure::storage::table_entity& azure::storage::table_result::entity ( ) const
inline

Gets an azure::storage::table_entity object returned as part of an azure::storage::table_result object.

Returns
An azure::storage::table_entity object.

◆ etag()

const utility::string_t& azure::storage::table_result::etag ( ) const
inline

Gets the ETag for an azure::storage::table_result object.

Returns
The ETag, as a string.

◆ http_status_code()

int azure::storage::table_result::http_status_code ( ) const
inline

Gets the HTTP status code for an azure::storage::table_result object.

Returns
The HTTP status code.

◆ set_entity()

void azure::storage::table_result::set_entity ( azure::storage::table_entity  value)
inline

Sets an azure::storage::table_entity object returned as part of an azure::storage::table_result object.

Parameters
valueAn azure::storage::table_entity object.

◆ set_etag()

void azure::storage::table_result::set_etag ( utility::string_t  value)
inline

Sets the ETag for an azure::storage::table_result object.

Parameters
valueThe ETag, as a string.

◆ set_http_status_code()

void azure::storage::table_result::set_http_status_code ( int  value)
inline

Sets the HTTP status code for an azure::storage::table_result object.

Parameters
valueThe HTTP status code.