AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ResponseStream.h
Go to the documentation of this file.
1
6#pragma once
7
11
12namespace Aws
13{
14 namespace Utils
15 {
16 namespace Stream
17 {
22 {
23 public:
39 ResponseStream(IOStream* underlyingStreamToManage);
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
#define AWS_CORE_API
Definition: Core_EXPORTS.h:26
DefaultUnderlyingStream(Aws::UniquePtr< std::streambuf > buf)
ResponseStream & operator=(ResponseStream &&)
ResponseStream(IOStream *underlyingStreamToManage)
Aws::IOStream & GetUnderlyingStream() const
ResponseStream & operator=(const ResponseStream &)=delete
ResponseStream(const Aws::IOStreamFactory &factory)
ResponseStream(const ResponseStream &)=delete
AWS_CORE_API Aws::IOStream * DefaultResponseStreamFactoryMethod()
std::basic_iostream< char, std::char_traits< char > > IOStream
Definition: AWSStreamFwd.h:22
std::function< Aws::IOStream *(void) > IOStreamFactory
Definition: AWSStreamFwd.h:25
std::unique_ptr< T, D > UniquePtr
Definition: AWSMemory.h:250