AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
ResourceStatistics.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Macie2 {
17namespace Model {
18
29 public:
30 AWS_MACIE2_API ResourceStatistics() = default;
33 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline long long GetTotalBytesClassified() const { return m_totalBytesClassified; }
41 inline bool TotalBytesClassifiedHasBeenSet() const { return m_totalBytesClassifiedHasBeenSet; }
42 inline void SetTotalBytesClassified(long long value) {
43 m_totalBytesClassifiedHasBeenSet = true;
44 m_totalBytesClassified = value;
45 }
48 return *this;
49 }
51
53
59 inline long long GetTotalDetections() const { return m_totalDetections; }
60 inline bool TotalDetectionsHasBeenSet() const { return m_totalDetectionsHasBeenSet; }
61 inline void SetTotalDetections(long long value) {
62 m_totalDetectionsHasBeenSet = true;
63 m_totalDetections = value;
64 }
65 inline ResourceStatistics& WithTotalDetections(long long value) {
66 SetTotalDetections(value);
67 return *this;
68 }
70
72
79 inline long long GetTotalDetectionsSuppressed() const { return m_totalDetectionsSuppressed; }
80 inline bool TotalDetectionsSuppressedHasBeenSet() const { return m_totalDetectionsSuppressedHasBeenSet; }
81 inline void SetTotalDetectionsSuppressed(long long value) {
82 m_totalDetectionsSuppressedHasBeenSet = true;
83 m_totalDetectionsSuppressed = value;
84 }
87 return *this;
88 }
90
92
95 inline long long GetTotalItemsClassified() const { return m_totalItemsClassified; }
96 inline bool TotalItemsClassifiedHasBeenSet() const { return m_totalItemsClassifiedHasBeenSet; }
97 inline void SetTotalItemsClassified(long long value) {
98 m_totalItemsClassifiedHasBeenSet = true;
99 m_totalItemsClassified = value;
100 }
103 return *this;
104 }
106
108
112 inline long long GetTotalItemsSensitive() const { return m_totalItemsSensitive; }
113 inline bool TotalItemsSensitiveHasBeenSet() const { return m_totalItemsSensitiveHasBeenSet; }
114 inline void SetTotalItemsSensitive(long long value) {
115 m_totalItemsSensitiveHasBeenSet = true;
116 m_totalItemsSensitive = value;
117 }
120 return *this;
121 }
123
125
131 inline long long GetTotalItemsSkipped() const { return m_totalItemsSkipped; }
132 inline bool TotalItemsSkippedHasBeenSet() const { return m_totalItemsSkippedHasBeenSet; }
133 inline void SetTotalItemsSkipped(long long value) {
134 m_totalItemsSkippedHasBeenSet = true;
135 m_totalItemsSkipped = value;
136 }
137 inline ResourceStatistics& WithTotalItemsSkipped(long long value) {
139 return *this;
140 }
142
144
149 inline long long GetTotalItemsSkippedInvalidEncryption() const { return m_totalItemsSkippedInvalidEncryption; }
150 inline bool TotalItemsSkippedInvalidEncryptionHasBeenSet() const { return m_totalItemsSkippedInvalidEncryptionHasBeenSet; }
151 inline void SetTotalItemsSkippedInvalidEncryption(long long value) {
152 m_totalItemsSkippedInvalidEncryptionHasBeenSet = true;
153 m_totalItemsSkippedInvalidEncryption = value;
154 }
157 return *this;
158 }
160
162
167 inline long long GetTotalItemsSkippedInvalidKms() const { return m_totalItemsSkippedInvalidKms; }
168 inline bool TotalItemsSkippedInvalidKmsHasBeenSet() const { return m_totalItemsSkippedInvalidKmsHasBeenSet; }
169 inline void SetTotalItemsSkippedInvalidKms(long long value) {
170 m_totalItemsSkippedInvalidKmsHasBeenSet = true;
171 m_totalItemsSkippedInvalidKms = value;
172 }
175 return *this;
176 }
178
180
185 inline long long GetTotalItemsSkippedPermissionDenied() const { return m_totalItemsSkippedPermissionDenied; }
186 inline bool TotalItemsSkippedPermissionDeniedHasBeenSet() const { return m_totalItemsSkippedPermissionDeniedHasBeenSet; }
187 inline void SetTotalItemsSkippedPermissionDenied(long long value) {
188 m_totalItemsSkippedPermissionDeniedHasBeenSet = true;
189 m_totalItemsSkippedPermissionDenied = value;
190 }
193 return *this;
194 }
196 private:
197 long long m_totalBytesClassified{0};
198
199 long long m_totalDetections{0};
200
201 long long m_totalDetectionsSuppressed{0};
202
203 long long m_totalItemsClassified{0};
204
205 long long m_totalItemsSensitive{0};
206
207 long long m_totalItemsSkipped{0};
208
209 long long m_totalItemsSkippedInvalidEncryption{0};
210
211 long long m_totalItemsSkippedInvalidKms{0};
212
213 long long m_totalItemsSkippedPermissionDenied{0};
214 bool m_totalBytesClassifiedHasBeenSet = false;
215 bool m_totalDetectionsHasBeenSet = false;
216 bool m_totalDetectionsSuppressedHasBeenSet = false;
217 bool m_totalItemsClassifiedHasBeenSet = false;
218 bool m_totalItemsSensitiveHasBeenSet = false;
219 bool m_totalItemsSkippedHasBeenSet = false;
220 bool m_totalItemsSkippedInvalidEncryptionHasBeenSet = false;
221 bool m_totalItemsSkippedInvalidKmsHasBeenSet = false;
222 bool m_totalItemsSkippedPermissionDeniedHasBeenSet = false;
223};
224
225} // namespace Model
226} // namespace Macie2
227} // namespace Aws
ResourceStatistics & WithTotalBytesClassified(long long value)
AWS_MACIE2_API ResourceStatistics()=default
ResourceStatistics & WithTotalItemsSkippedPermissionDenied(long long value)
ResourceStatistics & WithTotalItemsSkipped(long long value)
ResourceStatistics & WithTotalItemsSensitive(long long value)
AWS_MACIE2_API ResourceStatistics(Aws::Utils::Json::JsonView jsonValue)
ResourceStatistics & WithTotalItemsSkippedInvalidEncryption(long long value)
AWS_MACIE2_API ResourceStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceStatistics & WithTotalDetections(long long value)
void SetTotalItemsSkippedInvalidEncryption(long long value)
ResourceStatistics & WithTotalDetectionsSuppressed(long long value)
void SetTotalItemsSkippedPermissionDenied(long long value)
void SetTotalItemsSkippedInvalidKms(long long value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTotalDetectionsSuppressed(long long value)
ResourceStatistics & WithTotalItemsClassified(long long value)
ResourceStatistics & WithTotalItemsSkippedInvalidKms(long long value)
Aws::Utils::Json::JsonValue JsonValue