AWS SDK for C++  1.8.154
AWS SDK for C++
GetAccessPointPolicyStatusResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlDocument;
21 } // namespace Xml
22 } // namespace Utils
23 namespace S3Control
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const PolicyStatus& GetPolicyStatus() const{ return m_policyStatus; }
39 
43  inline void SetPolicyStatus(const PolicyStatus& value) { m_policyStatus = value; }
44 
48  inline void SetPolicyStatus(PolicyStatus&& value) { m_policyStatus = std::move(value); }
49 
53  inline GetAccessPointPolicyStatusResult& WithPolicyStatus(const PolicyStatus& value) { SetPolicyStatus(value); return *this;}
54 
58  inline GetAccessPointPolicyStatusResult& WithPolicyStatus(PolicyStatus&& value) { SetPolicyStatus(std::move(value)); return *this;}
59 
60  private:
61 
62  PolicyStatus m_policyStatus;
63  };
64 
65 } // namespace Model
66 } // namespace S3Control
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::S3Control::Model::GetAccessPointPolicyStatusResult::GetAccessPointPolicyStatusResult
GetAccessPointPolicyStatusResult()
Aws::S3Control::Model::GetAccessPointPolicyStatusResult::SetPolicyStatus
void SetPolicyStatus(const PolicyStatus &value)
Definition: GetAccessPointPolicyStatusResult.h:43
S3Control_EXPORTS.h
PolicyStatus.h
Aws::S3Control::Model::GetAccessPointPolicyStatusResult::GetAccessPointPolicyStatusResult
GetAccessPointPolicyStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::S3Control::Model::GetAccessPointPolicyStatusResult::WithPolicyStatus
GetAccessPointPolicyStatusResult & WithPolicyStatus(const PolicyStatus &value)
Definition: GetAccessPointPolicyStatusResult.h:53
Aws::S3Control::Model::GetAccessPointPolicyStatusResult::WithPolicyStatus
GetAccessPointPolicyStatusResult & WithPolicyStatus(PolicyStatus &&value)
Definition: GetAccessPointPolicyStatusResult.h:58
Aws::S3Control::Model::GetAccessPointPolicyStatusResult::operator=
GetAccessPointPolicyStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::GetAccessPointPolicyStatusResult::GetPolicyStatus
const PolicyStatus & GetPolicyStatus() const
Definition: GetAccessPointPolicyStatusResult.h:38
Aws::S3Control::Model::PolicyStatus
Definition: PolicyStatus.h:34
Aws::S3Control::Model::GetAccessPointPolicyStatusResult::SetPolicyStatus
void SetPolicyStatus(PolicyStatus &&value)
Definition: GetAccessPointPolicyStatusResult.h:48
Aws::S3Control::Model::GetAccessPointPolicyStatusResult
Definition: GetAccessPointPolicyStatusResult.h:28
Aws
Definition: AccessManagementClient.h:15