AWS SDK for C++
0.14.3
AWS SDK for C++
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
aws-cpp-sdk-s3
include
aws
s3
model
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
>
17
#include <
aws/core/utils/stream/ResponseStream.h
>
18
#include <
aws/core/utils/memory/stl/AWSString.h
>
19
20
namespace
Aws
21
{
22
template
<
typename
RESULT_TYPE>
23
class
AmazonWebServiceResult;
24
25
namespace
S3
26
{
27
namespace
Model
28
{
29
class
AWS_S3_API
GetBucketPolicyResult
30
{
31
public
:
32
GetBucketPolicyResult
();
33
//We have to define these because Microsoft doesn't auto generate them
34
GetBucketPolicyResult
(
GetBucketPolicyResult
&&);
35
GetBucketPolicyResult
& operator=(
GetBucketPolicyResult
&&);
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.
38
GetBucketPolicyResult
(
const
GetBucketPolicyResult
&) =
delete
;
39
GetBucketPolicyResult
& operator=(
const
GetBucketPolicyResult
&) =
delete
;
40
41
42
GetBucketPolicyResult
(
AmazonWebServiceResult<Utils::Stream::ResponseStream>
&& result);
43
GetBucketPolicyResult
& operator=(
AmazonWebServiceResult<Utils::Stream::ResponseStream>
&& result);
44
45
49
inline
Aws::IOStream
&
GetPolicy
() {
return
m_policy.GetUnderlyingStream(); }
50
51
private
:
52
Utils::Stream::ResponseStream
m_policy;
53
};
54
55
}
// namespace Model
56
}
// namespace S3
57
}
// namespace Aws
Aws::AmazonWebServiceResult
Definition:
DescribeCertificateResult.h:22
Aws::CodeDeploy::Model::RevisionLocationType::S3
ResponseStream.h
Aws::S3::Model::GetBucketPolicyResult
Definition:
GetBucketPolicyResult.h:29
AWS_S3_API
#define AWS_S3_API
Definition:
S3_EXPORTS.h:37
Aws::S3::Model::GetBucketPolicyResult::GetPolicy
Aws::IOStream & GetPolicy()
Definition:
GetBucketPolicyResult.h:49
Aws::Utils::Stream::ResponseStream
Definition:
ResponseStream.h:30
AWSString.h
Aws::IOStream
std::basic_iostream< char, std::char_traits< char > > IOStream
Definition:
AWSStreamFwd.h:32
S3_EXPORTS.h
Aws
JSON (JavaScript Object Notation).
Definition:
AccessManagementClient.h:24
Generated by
1.8.11