AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
PolicyStatus.h
Go to the documentation of this file.
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Xml
14{
15 class XmlNode;
16} // namespace Xml
17} // namespace Utils
18namespace S3
19{
20namespace Model
21{
22
29 {
30 public:
34
36
37
43 inline bool GetIsPublic() const{ return m_isPublic; }
44
50 inline bool IsPublicHasBeenSet() const { return m_isPublicHasBeenSet; }
51
57 inline void SetIsPublic(bool value) { m_isPublicHasBeenSet = true; m_isPublic = value; }
58
64 inline PolicyStatus& WithIsPublic(bool value) { SetIsPublic(value); return *this;}
65
66 private:
67
68 bool m_isPublic;
69 bool m_isPublicHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace S3
74} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
PolicyStatus & WithIsPublic(bool value)
Definition: PolicyStatus.h:64
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetIsPublic(bool value)
Definition: PolicyStatus.h:57
AWS_S3_API PolicyStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3_API PolicyStatus(const Aws::Utils::Xml::XmlNode &xmlNode)