AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RequestCompression.h
1
6#pragma once
7
8#include <aws/core/Core_EXPORTS.h>
9#include <aws/core/client/ClientConfiguration.h>
10#include <aws/core/utils/Outcome.h>
11#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14
15using iostream_outcome =
17
18namespace Aws {
19namespace Client {
21
28Aws::String AWS_CORE_API
30
34class AWS_CORE_API RequestCompression final {
35public:
47 const size_t payloadLength);
54 iostream_outcome compress(std::shared_ptr<Aws::IOStream> input,
55 const CompressionAlgorithm &algorithm) const;
62 iostream_outcome uncompress(std::shared_ptr<Aws::IOStream> input,
63 const CompressionAlgorithm &algorithm) const;
64};
65} // namespace Client
66} // namespace Aws
iostream_outcome compress(std::shared_ptr< Aws::IOStream > input, const CompressionAlgorithm &algorithm) const
iostream_outcome uncompress(std::shared_ptr< Aws::IOStream > input, const CompressionAlgorithm &algorithm) const
CompressionAlgorithm selectAlgorithm(const Aws::Vector< CompressionAlgorithm > &proposedAlgorithms, const Aws::Client::RequestCompressionConfig &config, const size_t payloadLength)
Aws::String AWS_CORE_API GetCompressionAlgorithmId(const CompressionAlgorithm &algorithm)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition AWSString.h:97
std::vector< T, Aws::Allocator< T > > Vector
Definition AWSVector.h:17