78 lines
2.2 KiB
C++
78 lines
2.2 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/s3control/S3Control_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
template<typename RESULT_TYPE>
|
|
class AmazonWebServiceResult;
|
|
|
|
namespace Utils
|
|
{
|
|
namespace Xml
|
|
{
|
|
class XmlDocument;
|
|
} // namespace Xml
|
|
} // namespace Utils
|
|
namespace S3Control
|
|
{
|
|
namespace Model
|
|
{
|
|
class AWS_S3CONTROL_API GetAccessPointPolicyResult
|
|
{
|
|
public:
|
|
GetAccessPointPolicyResult();
|
|
GetAccessPointPolicyResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
|
|
GetAccessPointPolicyResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
|
|
|
|
|
|
/**
|
|
* <p>The access point policy associated with the specified access point.</p>
|
|
*/
|
|
inline const Aws::String& GetPolicy() const{ return m_policy; }
|
|
|
|
/**
|
|
* <p>The access point policy associated with the specified access point.</p>
|
|
*/
|
|
inline void SetPolicy(const Aws::String& value) { m_policy = value; }
|
|
|
|
/**
|
|
* <p>The access point policy associated with the specified access point.</p>
|
|
*/
|
|
inline void SetPolicy(Aws::String&& value) { m_policy = std::move(value); }
|
|
|
|
/**
|
|
* <p>The access point policy associated with the specified access point.</p>
|
|
*/
|
|
inline void SetPolicy(const char* value) { m_policy.assign(value); }
|
|
|
|
/**
|
|
* <p>The access point policy associated with the specified access point.</p>
|
|
*/
|
|
inline GetAccessPointPolicyResult& WithPolicy(const Aws::String& value) { SetPolicy(value); return *this;}
|
|
|
|
/**
|
|
* <p>The access point policy associated with the specified access point.</p>
|
|
*/
|
|
inline GetAccessPointPolicyResult& WithPolicy(Aws::String&& value) { SetPolicy(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The access point policy associated with the specified access point.</p>
|
|
*/
|
|
inline GetAccessPointPolicyResult& WithPolicy(const char* value) { SetPolicy(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_policy;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace S3Control
|
|
} // namespace Aws
|