AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
GetBucketPolicyResult.h
Go to the documentation of this file.
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace S3
18{
19namespace Model
20{
22 {
23 public:
25 //We have to define these because Microsoft doesn't auto generate them
28 //we delete these because Microsoft doesn't handle move generation correctly
29 //and we therefore don't trust them to get it right here either.
32
33
36
37
38
42 inline Aws::IOStream& GetPolicy() { return m_policy.GetUnderlyingStream(); }
43
47 inline void ReplaceBody(Aws::IOStream* body) { m_policy = Aws::Utils::Stream::ResponseStream(body); }
48
49 private:
50
52 };
53
54} // namespace Model
55} // namespace S3
56} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
AWS_S3_API GetBucketPolicyResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
AWS_S3_API GetBucketPolicyResult(GetBucketPolicyResult &&)
GetBucketPolicyResult(const GetBucketPolicyResult &)=delete
GetBucketPolicyResult & operator=(const GetBucketPolicyResult &)=delete
AWS_S3_API GetBucketPolicyResult & operator=(GetBucketPolicyResult &&)
AWS_S3_API GetBucketPolicyResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
Aws::IOStream & GetUnderlyingStream() const
std::basic_iostream< char, std::char_traits< char > > IOStream