/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace S3Control { namespace Model { class AWS_S3CONTROL_API GetAccessPointPolicyStatusResult { public: GetAccessPointPolicyStatusResult(); GetAccessPointPolicyStatusResult(const Aws::AmazonWebServiceResult& result); GetAccessPointPolicyStatusResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Indicates the current policy status of the specified access point.

*/ inline const PolicyStatus& GetPolicyStatus() const{ return m_policyStatus; } /** *

Indicates the current policy status of the specified access point.

*/ inline void SetPolicyStatus(const PolicyStatus& value) { m_policyStatus = value; } /** *

Indicates the current policy status of the specified access point.

*/ inline void SetPolicyStatus(PolicyStatus&& value) { m_policyStatus = std::move(value); } /** *

Indicates the current policy status of the specified access point.

*/ inline GetAccessPointPolicyStatusResult& WithPolicyStatus(const PolicyStatus& value) { SetPolicyStatus(value); return *this;} /** *

Indicates the current policy status of the specified access point.

*/ inline GetAccessPointPolicyStatusResult& WithPolicyStatus(PolicyStatus&& value) { SetPolicyStatus(std::move(value)); return *this;} private: PolicyStatus m_policyStatus; }; } // namespace Model } // namespace S3Control } // namespace Aws