AWS SDK for C++  1.9.129
AWS SDK for C++
ResponseStream.h
Go to the documentation of this file.
1 
6 #pragma once
7 
11 
12 namespace Aws
13 {
14  namespace Utils
15  {
16  namespace Stream
17  {
22  {
23  public:
39  ResponseStream(IOStream* underlyingStreamToManage);
40  ResponseStream(const ResponseStream&) = delete;
42 
48 
52  inline Aws::IOStream& GetUnderlyingStream() const { return *m_underlyingStream; }
53 
54  private:
55  void ReleaseStream();
56 
57  Aws::IOStream* m_underlyingStream;
58  };
59 
61  {
62  public:
64 
68  };
69 
71 
72  } //namespace Stream
73  } //namespace Utils
74 } //namespace Aws
Aws::IOStream
std::basic_iostream< char, std::char_traits< char > > IOStream
Definition: AWSStreamFwd.h:22
Aws::Utils::Stream::ResponseStream::operator=
ResponseStream & operator=(const ResponseStream &)=delete
Aws::Utils::Stream::ResponseStream
Definition: ResponseStream.h:22
AWS_CORE_API
#define AWS_CORE_API
Definition: Core_EXPORTS.h:25
Aws::Utils::Stream::ResponseStream::ResponseStream
ResponseStream(IOStream *underlyingStreamToManage)
Aws::Utils::Stream::DefaultUnderlyingStream::DefaultUnderlyingStream
DefaultUnderlyingStream()
Aws::Utils::Stream::DefaultUnderlyingStream::DefaultUnderlyingStream
DefaultUnderlyingStream(Aws::UniquePtr< std::streambuf > buf)
Aws::Utils::Stream::DefaultUnderlyingStream::~DefaultUnderlyingStream
virtual ~DefaultUnderlyingStream()
Aws::Utils::Stream::ResponseStream::~ResponseStream
~ResponseStream()
AWSStreamFwd.h
Aws::Utils::Stream::ResponseStream::ResponseStream
ResponseStream()
Aws::Utils::Stream::DefaultUnderlyingStream
Definition: ResponseStream.h:61
Aws::Utils::Stream::ResponseStream::ResponseStream
ResponseStream(const Aws::IOStreamFactory &factory)
Aws::Utils::Stream::ResponseStream::GetUnderlyingStream
Aws::IOStream & GetUnderlyingStream() const
Definition: ResponseStream.h:52
Aws::Utils::Stream::ResponseStream::ResponseStream
ResponseStream(ResponseStream &&)
Aws::Utils::Stream::ResponseStream::ResponseStream
ResponseStream(const ResponseStream &)=delete
Aws::UniquePtr
std::unique_ptr< T, Deleter< T > > UniquePtr
Definition: AWSMemory.h:249
Aws::Utils::Stream::DefaultResponseStreamFactoryMethod
AWS_CORE_API Aws::IOStream * DefaultResponseStreamFactoryMethod()
Core_EXPORTS.h
Aws::Utils::Stream::DefaultUnderlyingStream::Base
Aws::IOStream Base
Definition: ResponseStream.h:63
Aws
Definition: AccessManagementClient.h:15
Aws::IOStreamFactory
std::function< Aws::IOStream *(void) > IOStreamFactory
Definition: AWSStreamFwd.h:25
AWSMemory.h
Aws::Utils::Stream::ResponseStream::operator=
ResponseStream & operator=(ResponseStream &&)