AWS SDK for C++  1.7.226
AWS SDK for C++
Public Member Functions | List of all members
Aws::AmazonWebServiceResult< PAYLOAD_TYPE > Class Template Reference

#include <DescribeCertificateResult.h>

Public Member Functions

 AmazonWebServiceResult ()
 
 AmazonWebServiceResult (const PAYLOAD_TYPE &payload, const Http::HeaderValueCollection &headers, Http::HttpResponseCode responseCode=Http::HttpResponseCode::OK)
 
 AmazonWebServiceResult (PAYLOAD_TYPE &&payload, Http::HeaderValueCollection &&headers, Http::HttpResponseCode responseCode=Http::HttpResponseCode::OK)
 
 AmazonWebServiceResult (const AmazonWebServiceResult &result)
 
 AmazonWebServiceResult (AmazonWebServiceResult &&result)
 
const PAYLOAD_TYPE & GetPayload () const
 
PAYLOAD_TYPE TakeOwnershipOfPayload ()
 
const Http::HeaderValueCollectionGetHeaderValueCollection () const
 
Http::HttpResponseCode GetResponseCode () const
 

Detailed Description

template<typename PAYLOAD_TYPE>
class Aws::AmazonWebServiceResult< PAYLOAD_TYPE >

Container for web response to an AWS Request.

Definition at line 24 of file DescribeCertificateResult.h.

Constructor & Destructor Documentation

◆ AmazonWebServiceResult() [1/5]

template<typename PAYLOAD_TYPE>
Aws::AmazonWebServiceResult< PAYLOAD_TYPE >::AmazonWebServiceResult ( )
inline

Definition at line 31 of file AmazonWebServiceResult.h.

◆ AmazonWebServiceResult() [2/5]

template<typename PAYLOAD_TYPE>
Aws::AmazonWebServiceResult< PAYLOAD_TYPE >::AmazonWebServiceResult ( const PAYLOAD_TYPE &  payload,
const Http::HeaderValueCollection headers,
Http::HttpResponseCode  responseCode = Http::HttpResponseCode::OK 
)
inline

Sets payload, header collection and a response code.

Definition at line 36 of file AmazonWebServiceResult.h.

◆ AmazonWebServiceResult() [3/5]

template<typename PAYLOAD_TYPE>
Aws::AmazonWebServiceResult< PAYLOAD_TYPE >::AmazonWebServiceResult ( PAYLOAD_TYPE &&  payload,
Http::HeaderValueCollection &&  headers,
Http::HttpResponseCode  responseCode = Http::HttpResponseCode::OK 
)
inline

Sets payload, header collection and a response code, but transfers ownership of payload and headers (for move only operations).

Definition at line 45 of file AmazonWebServiceResult.h.

◆ AmazonWebServiceResult() [4/5]

template<typename PAYLOAD_TYPE>
Aws::AmazonWebServiceResult< PAYLOAD_TYPE >::AmazonWebServiceResult ( const AmazonWebServiceResult< PAYLOAD_TYPE > &  result)
inline

Definition at line 51 of file AmazonWebServiceResult.h.

◆ AmazonWebServiceResult() [5/5]

template<typename PAYLOAD_TYPE>
Aws::AmazonWebServiceResult< PAYLOAD_TYPE >::AmazonWebServiceResult ( AmazonWebServiceResult< PAYLOAD_TYPE > &&  result)
inline

Definition at line 57 of file AmazonWebServiceResult.h.

Member Function Documentation

◆ GetHeaderValueCollection()

template<typename PAYLOAD_TYPE>
const Http::HeaderValueCollection& Aws::AmazonWebServiceResult< PAYLOAD_TYPE >::GetHeaderValueCollection ( ) const
inline

Get the headers from the response

Definition at line 74 of file AmazonWebServiceResult.h.

◆ GetPayload()

template<typename PAYLOAD_TYPE>
const PAYLOAD_TYPE& Aws::AmazonWebServiceResult< PAYLOAD_TYPE >::GetPayload ( ) const
inline

Get the payload from the response

Definition at line 66 of file AmazonWebServiceResult.h.

◆ GetResponseCode()

template<typename PAYLOAD_TYPE>
Http::HttpResponseCode Aws::AmazonWebServiceResult< PAYLOAD_TYPE >::GetResponseCode ( ) const
inline

Get the http response code from the response

Definition at line 78 of file AmazonWebServiceResult.h.

◆ TakeOwnershipOfPayload()

template<typename PAYLOAD_TYPE>
PAYLOAD_TYPE Aws::AmazonWebServiceResult< PAYLOAD_TYPE >::TakeOwnershipOfPayload ( )
inline

Get the payload from the response and take ownership of it.

Definition at line 70 of file AmazonWebServiceResult.h.


The documentation for this class was generated from the following files: