AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
MacSystemIntegrityProtectionConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/ec2/EC2_EXPORTS.h>
9#include <aws/ec2/model/MacSystemIntegrityProtectionSettingStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace EC2 {
20namespace Model {
21
29 public:
33
34 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
35 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
36
38
41 inline MacSystemIntegrityProtectionSettingStatus GetAppleInternal() const { return m_appleInternal; }
42 inline bool AppleInternalHasBeenSet() const { return m_appleInternalHasBeenSet; }
44 m_appleInternalHasBeenSet = true;
45 m_appleInternal = value;
46 }
48 SetAppleInternal(value);
49 return *this;
50 }
52
54
57 inline MacSystemIntegrityProtectionSettingStatus GetBaseSystem() const { return m_baseSystem; }
58 inline bool BaseSystemHasBeenSet() const { return m_baseSystemHasBeenSet; }
60 m_baseSystemHasBeenSet = true;
61 m_baseSystem = value;
62 }
64 SetBaseSystem(value);
65 return *this;
66 }
68
70
74 inline MacSystemIntegrityProtectionSettingStatus GetDebuggingRestrictions() const { return m_debuggingRestrictions; }
75 inline bool DebuggingRestrictionsHasBeenSet() const { return m_debuggingRestrictionsHasBeenSet; }
77 m_debuggingRestrictionsHasBeenSet = true;
78 m_debuggingRestrictions = value;
79 }
82 return *this;
83 }
85
87
91 inline MacSystemIntegrityProtectionSettingStatus GetDTraceRestrictions() const { return m_dTraceRestrictions; }
92 inline bool DTraceRestrictionsHasBeenSet() const { return m_dTraceRestrictionsHasBeenSet; }
94 m_dTraceRestrictionsHasBeenSet = true;
95 m_dTraceRestrictions = value;
96 }
99 return *this;
100 }
102
104
108 inline MacSystemIntegrityProtectionSettingStatus GetFilesystemProtections() const { return m_filesystemProtections; }
109 inline bool FilesystemProtectionsHasBeenSet() const { return m_filesystemProtectionsHasBeenSet; }
111 m_filesystemProtectionsHasBeenSet = true;
112 m_filesystemProtections = value;
113 }
116 return *this;
117 }
119
121
124 inline MacSystemIntegrityProtectionSettingStatus GetKextSigning() const { return m_kextSigning; }
125 inline bool KextSigningHasBeenSet() const { return m_kextSigningHasBeenSet; }
127 m_kextSigningHasBeenSet = true;
128 m_kextSigning = value;
129 }
131 SetKextSigning(value);
132 return *this;
133 }
135
137
140 inline MacSystemIntegrityProtectionSettingStatus GetNvramProtections() const { return m_nvramProtections; }
141 inline bool NvramProtectionsHasBeenSet() const { return m_nvramProtectionsHasBeenSet; }
143 m_nvramProtectionsHasBeenSet = true;
144 m_nvramProtections = value;
145 }
147 SetNvramProtections(value);
148 return *this;
149 }
151
153
156 inline MacSystemIntegrityProtectionSettingStatus GetStatus() const { return m_status; }
157 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
159 m_statusHasBeenSet = true;
160 m_status = value;
161 }
163 SetStatus(value);
164 return *this;
165 }
167 private:
169
171
173
175
177
179
181
183 bool m_appleInternalHasBeenSet = false;
184 bool m_baseSystemHasBeenSet = false;
185 bool m_debuggingRestrictionsHasBeenSet = false;
186 bool m_dTraceRestrictionsHasBeenSet = false;
187 bool m_filesystemProtectionsHasBeenSet = false;
188 bool m_kextSigningHasBeenSet = false;
189 bool m_nvramProtectionsHasBeenSet = false;
190 bool m_statusHasBeenSet = false;
191};
192
193} // namespace Model
194} // namespace EC2
195} // namespace Aws
MacSystemIntegrityProtectionConfiguration & WithKextSigning(MacSystemIntegrityProtectionSettingStatus value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
MacSystemIntegrityProtectionConfiguration & WithDebuggingRestrictions(MacSystemIntegrityProtectionSettingStatus value)
AWS_EC2_API MacSystemIntegrityProtectionConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
MacSystemIntegrityProtectionConfiguration & WithFilesystemProtections(MacSystemIntegrityProtectionSettingStatus value)
MacSystemIntegrityProtectionConfiguration & WithDTraceRestrictions(MacSystemIntegrityProtectionSettingStatus value)
void SetDTraceRestrictions(MacSystemIntegrityProtectionSettingStatus value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API MacSystemIntegrityProtectionConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
MacSystemIntegrityProtectionConfiguration & WithAppleInternal(MacSystemIntegrityProtectionSettingStatus value)
MacSystemIntegrityProtectionConfiguration & WithNvramProtections(MacSystemIntegrityProtectionSettingStatus value)
void SetDebuggingRestrictions(MacSystemIntegrityProtectionSettingStatus value)
MacSystemIntegrityProtectionConfiguration & WithStatus(MacSystemIntegrityProtectionSettingStatus value)
void SetFilesystemProtections(MacSystemIntegrityProtectionSettingStatus value)
void SetNvramProtections(MacSystemIntegrityProtectionSettingStatus value)
MacSystemIntegrityProtectionConfiguration & WithBaseSystem(MacSystemIntegrityProtectionSettingStatus value)
std::basic_ostream< char, std::char_traits< char > > OStream