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

#include <CreateAnalyzerResult.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 14 of file CreateAnalyzerResult.h.

Constructor & Destructor Documentation

◆ AmazonWebServiceResult() [1/5]

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

Definition at line 21 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 26 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 35 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 41 of file AmazonWebServiceResult.h.

◆ AmazonWebServiceResult() [5/5]

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

Definition at line 47 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 64 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 56 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 68 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 60 of file AmazonWebServiceResult.h.


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