diff options
author | orivej <orivej@yandex-team.ru> | 2022-02-10 16:44:49 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:44:49 +0300 |
commit | 718c552901d703c502ccbefdfc3c9028d608b947 (patch) | |
tree | 46534a98bbefcd7b1f3faa5b52c138ab27db75b7 /contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyResult.h | |
parent | e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (diff) | |
download | ydb-718c552901d703c502ccbefdfc3c9028d608b947.tar.gz |
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyResult.h')
-rw-r--r-- | contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyResult.h | 112 |
1 files changed, 56 insertions, 56 deletions
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyResult.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyResult.h index 80857238c6..69dee58e93 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyResult.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/GetBucketPolicyResult.h @@ -1,56 +1,56 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include <aws/s3/S3_EXPORTS.h> -#include <aws/core/utils/stream/ResponseStream.h> -#include <aws/core/utils/memory/stl/AWSString.h> -#include <utility> - -namespace Aws -{ -template<typename RESULT_TYPE> -class AmazonWebServiceResult; - -namespace S3 -{ -namespace Model -{ - class AWS_S3_API GetBucketPolicyResult - { - public: - GetBucketPolicyResult(); - //We have to define these because Microsoft doesn't auto generate them - GetBucketPolicyResult(GetBucketPolicyResult&&); - GetBucketPolicyResult& operator=(GetBucketPolicyResult&&); - //we delete these because Microsoft doesn't handle move generation correctly - //and we therefore don't trust them to get it right here either. - GetBucketPolicyResult(const GetBucketPolicyResult&) = delete; - GetBucketPolicyResult& operator=(const GetBucketPolicyResult&) = delete; - - - GetBucketPolicyResult(Aws::AmazonWebServiceResult<Aws::Utils::Stream::ResponseStream>&& result); - GetBucketPolicyResult& operator=(Aws::AmazonWebServiceResult<Aws::Utils::Stream::ResponseStream>&& result); - - - - /** - * <p>The bucket policy as a JSON document.</p> - */ - inline Aws::IOStream& GetPolicy() { return m_policy.GetUnderlyingStream(); } - - /** - * <p>The bucket policy as a JSON document.</p> - */ - inline void ReplaceBody(Aws::IOStream* body) { m_policy = Aws::Utils::Stream::ResponseStream(body); } - - private: - - Aws::Utils::Stream::ResponseStream m_policy; - }; - -} // namespace Model -} // namespace S3 -} // namespace Aws +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include <aws/s3/S3_EXPORTS.h> +#include <aws/core/utils/stream/ResponseStream.h> +#include <aws/core/utils/memory/stl/AWSString.h> +#include <utility> + +namespace Aws +{ +template<typename RESULT_TYPE> +class AmazonWebServiceResult; + +namespace S3 +{ +namespace Model +{ + class AWS_S3_API GetBucketPolicyResult + { + public: + GetBucketPolicyResult(); + //We have to define these because Microsoft doesn't auto generate them + GetBucketPolicyResult(GetBucketPolicyResult&&); + GetBucketPolicyResult& operator=(GetBucketPolicyResult&&); + //we delete these because Microsoft doesn't handle move generation correctly + //and we therefore don't trust them to get it right here either. + GetBucketPolicyResult(const GetBucketPolicyResult&) = delete; + GetBucketPolicyResult& operator=(const GetBucketPolicyResult&) = delete; + + + GetBucketPolicyResult(Aws::AmazonWebServiceResult<Aws::Utils::Stream::ResponseStream>&& result); + GetBucketPolicyResult& operator=(Aws::AmazonWebServiceResult<Aws::Utils::Stream::ResponseStream>&& result); + + + + /** + * <p>The bucket policy as a JSON document.</p> + */ + inline Aws::IOStream& GetPolicy() { return m_policy.GetUnderlyingStream(); } + + /** + * <p>The bucket policy as a JSON document.</p> + */ + inline void ReplaceBody(Aws::IOStream* body) { m_policy = Aws::Utils::Stream::ResponseStream(body); } + + private: + + Aws::Utils::Stream::ResponseStream m_policy; + }; + +} // namespace Model +} // namespace S3 +} // namespace Aws |