AWS SDK for C++  1.8.154
AWS SDK for C++
PolicyStatus.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Xml
14 {
15  class XmlNode;
16 } // namespace Xml
17 } // namespace Utils
18 namespace S3Control
19 {
20 namespace Model
21 {
22 
34  {
35  public:
39 
40  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41 
42 
46  inline bool GetIsPublic() const{ return m_isPublic; }
47 
51  inline bool IsPublicHasBeenSet() const { return m_isPublicHasBeenSet; }
52 
56  inline void SetIsPublic(bool value) { m_isPublicHasBeenSet = true; m_isPublic = value; }
57 
61  inline PolicyStatus& WithIsPublic(bool value) { SetIsPublic(value); return *this;}
62 
63  private:
64 
65  bool m_isPublic;
66  bool m_isPublicHasBeenSet;
67  };
68 
69 } // namespace Model
70 } // namespace S3Control
71 } // namespace Aws
Aws::S3Control::Model::PolicyStatus::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::S3Control::Model::PolicyStatus::PolicyStatus
PolicyStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
S3Control_EXPORTS.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::S3Control::Model::PolicyStatus::IsPublicHasBeenSet
bool IsPublicHasBeenSet() const
Definition: PolicyStatus.h:51
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::PolicyStatus
Definition: PolicyStatus.h:34
Aws::S3Control::Model::PolicyStatus::PolicyStatus
PolicyStatus()
Aws::S3Control::Model::PolicyStatus::WithIsPublic
PolicyStatus & WithIsPublic(bool value)
Definition: PolicyStatus.h:61
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::PolicyStatus::GetIsPublic
bool GetIsPublic() const
Definition: PolicyStatus.h:46
Aws::S3Control::Model::PolicyStatus::SetIsPublic
void SetIsPublic(bool value)
Definition: PolicyStatus.h:56
Aws::S3Control::Model::PolicyStatus::operator=
PolicyStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)