AWS SDK for C++  1.8.95
AWS SDK for C++
Public Member Functions | Protected Member Functions | List of all members
Aws::AmazonStreamingWebServiceRequest Class Reference

#include <AmazonStreamingWebServiceRequest.h>

+ Inheritance diagram for Aws::AmazonStreamingWebServiceRequest:

Public Member Functions

 AmazonStreamingWebServiceRequest ()
 
virtual ~AmazonStreamingWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
void SetBody (const std::shared_ptr< Aws::IOStream > &body)
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
bool IsStreaming () const override
 
const Aws::StringGetContentType () const
 
void SetContentType (const Aws::String &contentType)
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 
virtual const char * GetServiceRequestName () const =0
 

Protected Member Functions

virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 
- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

High-level abstraction over AWS requests that don't have well formed payloads. GetBody() uses an underlying stream that has been set by a call to SetBody() Also supports request specific headers such as in rest protocols.

Definition at line 25 of file AmazonStreamingWebServiceRequest.h.

Constructor & Destructor Documentation

◆ AmazonStreamingWebServiceRequest()

Aws::AmazonStreamingWebServiceRequest::AmazonStreamingWebServiceRequest ( )
inline

Initializes members to defaults

Definition at line 31 of file AmazonStreamingWebServiceRequest.h.

◆ ~AmazonStreamingWebServiceRequest()

virtual Aws::AmazonStreamingWebServiceRequest::~AmazonStreamingWebServiceRequest ( )
virtual

Member Function Documentation

◆ GetBody()

std::shared_ptr<Aws::IOStream> Aws::AmazonStreamingWebServiceRequest::GetBody ( ) const
inlineoverridevirtual

Get the user set stream

Implements Aws::AmazonWebServiceRequest.

Definition at line 40 of file AmazonStreamingWebServiceRequest.h.

◆ GetContentType()

const Aws::String& Aws::AmazonStreamingWebServiceRequest::GetContentType ( ) const
inline

Get the user set contentType. Defaults to binary/octet-stream

Definition at line 65 of file AmazonStreamingWebServiceRequest.h.

◆ GetHeaders()

Aws::Http::HeaderValueCollection Aws::AmazonStreamingWebServiceRequest::GetHeaders ( ) const
inlineoverridevirtual

Gets all headers that will be needed in the request. Calls GetRequestSpecificHeaders(), which is the chance for subclasses to add headers from their modeled data.

Implements Aws::AmazonWebServiceRequest.

Definition at line 49 of file AmazonStreamingWebServiceRequest.h.

◆ GetRequestSpecificHeaders()

virtual Aws::Http::HeaderValueCollection Aws::AmazonStreamingWebServiceRequest::GetRequestSpecificHeaders ( ) const
inlineprotectedvirtual

◆ IsStreaming()

bool Aws::AmazonStreamingWebServiceRequest::IsStreaming ( ) const
inlineoverridevirtual

AmazonStreamingWebServiceRequest always returns true.

Reimplemented from Aws::AmazonWebServiceRequest.

Definition at line 60 of file AmazonStreamingWebServiceRequest.h.

◆ SetBody()

void Aws::AmazonStreamingWebServiceRequest::SetBody ( const std::shared_ptr< Aws::IOStream > &  body)
inline

Set the body stream to use for the request.

Definition at line 44 of file AmazonStreamingWebServiceRequest.h.

◆ SetContentType()

void Aws::AmazonStreamingWebServiceRequest::SetContentType ( const Aws::String contentType)
inline

Set the content type.

Definition at line 69 of file AmazonStreamingWebServiceRequest.h.


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