AWS SDK for C++  0.14.3
AWS SDK for C++
GetBucketPolicyResult.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 #include <aws/s3/S3_EXPORTS.h>
19 
20 namespace Aws
21 {
22 template<typename RESULT_TYPE>
23 class AmazonWebServiceResult;
24 
25 namespace S3
26 {
27 namespace Model
28 {
30  {
31  public:
33  //We have to define these because Microsoft doesn't auto generate them
36  //we delete these because Microsoft doesn't handle move generation correctly
37  //and we therefore don't trust them to get it right here either.
39  GetBucketPolicyResult& operator=(const GetBucketPolicyResult&) = delete;
40 
41 
44 
45 
49  inline Aws::IOStream& GetPolicy() { return m_policy.GetUnderlyingStream(); }
50 
51  private:
53  };
54 
55 } // namespace Model
56 } // namespace S3
57 } // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:37
std::basic_iostream< char, std::char_traits< char > > IOStream
Definition: AWSStreamFwd.h:32
JSON (JavaScript Object Notation).