AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MatchingBucket.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/macie2/model/AutomatedDiscoveryMonitoringStatus.h>
10#include <aws/macie2/model/BucketMetadataErrorCode.h>
11#include <aws/macie2/model/JobDetails.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/macie2/model/ObjectCountByEncryptionType.h>
14#include <aws/macie2/model/ObjectLevelStatistics.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Macie2
28{
29namespace Model
30{
31
48 {
49 public:
50 AWS_MACIE2_API MatchingBucket();
51 AWS_MACIE2_API MatchingBucket(Aws::Utils::Json::JsonView jsonValue);
53 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
54
55
57
61 inline const Aws::String& GetAccountId() const{ return m_accountId; }
62 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
63 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
64 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
65 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
66 inline MatchingBucket& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
67 inline MatchingBucket& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
68 inline MatchingBucket& WithAccountId(const char* value) { SetAccountId(value); return *this;}
70
72
79 inline const AutomatedDiscoveryMonitoringStatus& GetAutomatedDiscoveryMonitoringStatus() const{ return m_automatedDiscoveryMonitoringStatus; }
80 inline bool AutomatedDiscoveryMonitoringStatusHasBeenSet() const { return m_automatedDiscoveryMonitoringStatusHasBeenSet; }
81 inline void SetAutomatedDiscoveryMonitoringStatus(const AutomatedDiscoveryMonitoringStatus& value) { m_automatedDiscoveryMonitoringStatusHasBeenSet = true; m_automatedDiscoveryMonitoringStatus = value; }
82 inline void SetAutomatedDiscoveryMonitoringStatus(AutomatedDiscoveryMonitoringStatus&& value) { m_automatedDiscoveryMonitoringStatusHasBeenSet = true; m_automatedDiscoveryMonitoringStatus = std::move(value); }
86
88
91 inline const Aws::String& GetBucketName() const{ return m_bucketName; }
92 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
93 inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; }
94 inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); }
95 inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); }
96 inline MatchingBucket& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;}
97 inline MatchingBucket& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;}
98 inline MatchingBucket& WithBucketName(const char* value) { SetBucketName(value); return *this;}
100
102
107 inline long long GetClassifiableObjectCount() const{ return m_classifiableObjectCount; }
108 inline bool ClassifiableObjectCountHasBeenSet() const { return m_classifiableObjectCountHasBeenSet; }
109 inline void SetClassifiableObjectCount(long long value) { m_classifiableObjectCountHasBeenSet = true; m_classifiableObjectCount = value; }
110 inline MatchingBucket& WithClassifiableObjectCount(long long value) { SetClassifiableObjectCount(value); return *this;}
112
114
123 inline long long GetClassifiableSizeInBytes() const{ return m_classifiableSizeInBytes; }
124 inline bool ClassifiableSizeInBytesHasBeenSet() const { return m_classifiableSizeInBytesHasBeenSet; }
125 inline void SetClassifiableSizeInBytes(long long value) { m_classifiableSizeInBytesHasBeenSet = true; m_classifiableSizeInBytes = value; }
126 inline MatchingBucket& WithClassifiableSizeInBytes(long long value) { SetClassifiableSizeInBytes(value); return *this;}
128
130
138 inline const BucketMetadataErrorCode& GetErrorCode() const{ return m_errorCode; }
139 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
140 inline void SetErrorCode(const BucketMetadataErrorCode& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
141 inline void SetErrorCode(BucketMetadataErrorCode&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
142 inline MatchingBucket& WithErrorCode(const BucketMetadataErrorCode& value) { SetErrorCode(value); return *this;}
143 inline MatchingBucket& WithErrorCode(BucketMetadataErrorCode&& value) { SetErrorCode(std::move(value)); return *this;}
145
147
153 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
154 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
155 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
156 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
157 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
158 inline MatchingBucket& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
159 inline MatchingBucket& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
160 inline MatchingBucket& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
162
164
169 inline const JobDetails& GetJobDetails() const{ return m_jobDetails; }
170 inline bool JobDetailsHasBeenSet() const { return m_jobDetailsHasBeenSet; }
171 inline void SetJobDetails(const JobDetails& value) { m_jobDetailsHasBeenSet = true; m_jobDetails = value; }
172 inline void SetJobDetails(JobDetails&& value) { m_jobDetailsHasBeenSet = true; m_jobDetails = std::move(value); }
173 inline MatchingBucket& WithJobDetails(const JobDetails& value) { SetJobDetails(value); return *this;}
174 inline MatchingBucket& WithJobDetails(JobDetails&& value) { SetJobDetails(std::move(value)); return *this;}
176
178
184 inline const Aws::Utils::DateTime& GetLastAutomatedDiscoveryTime() const{ return m_lastAutomatedDiscoveryTime; }
185 inline bool LastAutomatedDiscoveryTimeHasBeenSet() const { return m_lastAutomatedDiscoveryTimeHasBeenSet; }
186 inline void SetLastAutomatedDiscoveryTime(const Aws::Utils::DateTime& value) { m_lastAutomatedDiscoveryTimeHasBeenSet = true; m_lastAutomatedDiscoveryTime = value; }
187 inline void SetLastAutomatedDiscoveryTime(Aws::Utils::DateTime&& value) { m_lastAutomatedDiscoveryTimeHasBeenSet = true; m_lastAutomatedDiscoveryTime = std::move(value); }
191
193
196 inline long long GetObjectCount() const{ return m_objectCount; }
197 inline bool ObjectCountHasBeenSet() const { return m_objectCountHasBeenSet; }
198 inline void SetObjectCount(long long value) { m_objectCountHasBeenSet = true; m_objectCount = value; }
199 inline MatchingBucket& WithObjectCount(long long value) { SetObjectCount(value); return *this;}
201
203
208 inline const ObjectCountByEncryptionType& GetObjectCountByEncryptionType() const{ return m_objectCountByEncryptionType; }
209 inline bool ObjectCountByEncryptionTypeHasBeenSet() const { return m_objectCountByEncryptionTypeHasBeenSet; }
210 inline void SetObjectCountByEncryptionType(const ObjectCountByEncryptionType& value) { m_objectCountByEncryptionTypeHasBeenSet = true; m_objectCountByEncryptionType = value; }
211 inline void SetObjectCountByEncryptionType(ObjectCountByEncryptionType&& value) { m_objectCountByEncryptionTypeHasBeenSet = true; m_objectCountByEncryptionType = std::move(value); }
215
217
225 inline int GetSensitivityScore() const{ return m_sensitivityScore; }
226 inline bool SensitivityScoreHasBeenSet() const { return m_sensitivityScoreHasBeenSet; }
227 inline void SetSensitivityScore(int value) { m_sensitivityScoreHasBeenSet = true; m_sensitivityScore = value; }
228 inline MatchingBucket& WithSensitivityScore(int value) { SetSensitivityScore(value); return *this;}
230
232
238 inline long long GetSizeInBytes() const{ return m_sizeInBytes; }
239 inline bool SizeInBytesHasBeenSet() const { return m_sizeInBytesHasBeenSet; }
240 inline void SetSizeInBytes(long long value) { m_sizeInBytesHasBeenSet = true; m_sizeInBytes = value; }
241 inline MatchingBucket& WithSizeInBytes(long long value) { SetSizeInBytes(value); return *this;}
243
245
252 inline long long GetSizeInBytesCompressed() const{ return m_sizeInBytesCompressed; }
253 inline bool SizeInBytesCompressedHasBeenSet() const { return m_sizeInBytesCompressedHasBeenSet; }
254 inline void SetSizeInBytesCompressed(long long value) { m_sizeInBytesCompressedHasBeenSet = true; m_sizeInBytesCompressed = value; }
255 inline MatchingBucket& WithSizeInBytesCompressed(long long value) { SetSizeInBytesCompressed(value); return *this;}
257
259
264 inline const ObjectLevelStatistics& GetUnclassifiableObjectCount() const{ return m_unclassifiableObjectCount; }
265 inline bool UnclassifiableObjectCountHasBeenSet() const { return m_unclassifiableObjectCountHasBeenSet; }
266 inline void SetUnclassifiableObjectCount(const ObjectLevelStatistics& value) { m_unclassifiableObjectCountHasBeenSet = true; m_unclassifiableObjectCount = value; }
267 inline void SetUnclassifiableObjectCount(ObjectLevelStatistics&& value) { m_unclassifiableObjectCountHasBeenSet = true; m_unclassifiableObjectCount = std::move(value); }
271
273
278 inline const ObjectLevelStatistics& GetUnclassifiableObjectSizeInBytes() const{ return m_unclassifiableObjectSizeInBytes; }
279 inline bool UnclassifiableObjectSizeInBytesHasBeenSet() const { return m_unclassifiableObjectSizeInBytesHasBeenSet; }
280 inline void SetUnclassifiableObjectSizeInBytes(const ObjectLevelStatistics& value) { m_unclassifiableObjectSizeInBytesHasBeenSet = true; m_unclassifiableObjectSizeInBytes = value; }
281 inline void SetUnclassifiableObjectSizeInBytes(ObjectLevelStatistics&& value) { m_unclassifiableObjectSizeInBytesHasBeenSet = true; m_unclassifiableObjectSizeInBytes = std::move(value); }
285 private:
286
287 Aws::String m_accountId;
288 bool m_accountIdHasBeenSet = false;
289
290 AutomatedDiscoveryMonitoringStatus m_automatedDiscoveryMonitoringStatus;
291 bool m_automatedDiscoveryMonitoringStatusHasBeenSet = false;
292
293 Aws::String m_bucketName;
294 bool m_bucketNameHasBeenSet = false;
295
296 long long m_classifiableObjectCount;
297 bool m_classifiableObjectCountHasBeenSet = false;
298
299 long long m_classifiableSizeInBytes;
300 bool m_classifiableSizeInBytesHasBeenSet = false;
301
302 BucketMetadataErrorCode m_errorCode;
303 bool m_errorCodeHasBeenSet = false;
304
305 Aws::String m_errorMessage;
306 bool m_errorMessageHasBeenSet = false;
307
308 JobDetails m_jobDetails;
309 bool m_jobDetailsHasBeenSet = false;
310
311 Aws::Utils::DateTime m_lastAutomatedDiscoveryTime;
312 bool m_lastAutomatedDiscoveryTimeHasBeenSet = false;
313
314 long long m_objectCount;
315 bool m_objectCountHasBeenSet = false;
316
317 ObjectCountByEncryptionType m_objectCountByEncryptionType;
318 bool m_objectCountByEncryptionTypeHasBeenSet = false;
319
320 int m_sensitivityScore;
321 bool m_sensitivityScoreHasBeenSet = false;
322
323 long long m_sizeInBytes;
324 bool m_sizeInBytesHasBeenSet = false;
325
326 long long m_sizeInBytesCompressed;
327 bool m_sizeInBytesCompressedHasBeenSet = false;
328
329 ObjectLevelStatistics m_unclassifiableObjectCount;
330 bool m_unclassifiableObjectCountHasBeenSet = false;
331
332 ObjectLevelStatistics m_unclassifiableObjectSizeInBytes;
333 bool m_unclassifiableObjectSizeInBytesHasBeenSet = false;
334 };
335
336} // namespace Model
337} // namespace Macie2
338} // namespace Aws
MatchingBucket & WithUnclassifiableObjectCount(const ObjectLevelStatistics &value)
MatchingBucket & WithBucketName(const char *value)
void SetErrorMessage(Aws::String &&value)
void SetClassifiableSizeInBytes(long long value)
void SetJobDetails(const JobDetails &value)
void SetAutomatedDiscoveryMonitoringStatus(const AutomatedDiscoveryMonitoringStatus &value)
MatchingBucket & WithLastAutomatedDiscoveryTime(Aws::Utils::DateTime &&value)
const Aws::String & GetErrorMessage() const
MatchingBucket & WithErrorMessage(Aws::String &&value)
bool UnclassifiableObjectSizeInBytesHasBeenSet() const
MatchingBucket & WithLastAutomatedDiscoveryTime(const Aws::Utils::DateTime &value)
AWS_MACIE2_API MatchingBucket & operator=(Aws::Utils::Json::JsonView jsonValue)
MatchingBucket & WithErrorMessage(const char *value)
void SetErrorCode(const BucketMetadataErrorCode &value)
MatchingBucket & WithUnclassifiableObjectCount(ObjectLevelStatistics &&value)
void SetLastAutomatedDiscoveryTime(Aws::Utils::DateTime &&value)
void SetUnclassifiableObjectSizeInBytes(ObjectLevelStatistics &&value)
void SetObjectCount(long long value)
void SetErrorMessage(const char *value)
void SetSizeInBytesCompressed(long long value)
void SetBucketName(const Aws::String &value)
void SetBucketName(const char *value)
MatchingBucket & WithErrorCode(BucketMetadataErrorCode &&value)
void SetBucketName(Aws::String &&value)
const AutomatedDiscoveryMonitoringStatus & GetAutomatedDiscoveryMonitoringStatus() const
MatchingBucket & WithAccountId(const char *value)
void SetSizeInBytes(long long value)
const ObjectCountByEncryptionType & GetObjectCountByEncryptionType() const
void SetUnclassifiableObjectCount(const ObjectLevelStatistics &value)
const ObjectLevelStatistics & GetUnclassifiableObjectSizeInBytes() const
void SetObjectCountByEncryptionType(ObjectCountByEncryptionType &&value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
MatchingBucket & WithJobDetails(const JobDetails &value)
void SetLastAutomatedDiscoveryTime(const Aws::Utils::DateTime &value)
long long GetClassifiableObjectCount() const
MatchingBucket & WithErrorMessage(const Aws::String &value)
long long GetClassifiableSizeInBytes() const
MatchingBucket & WithObjectCount(long long value)
const Aws::String & GetBucketName() const
void SetJobDetails(JobDetails &&value)
void SetAccountId(const Aws::String &value)
const Aws::String & GetAccountId() const
MatchingBucket & WithObjectCountByEncryptionType(ObjectCountByEncryptionType &&value)
void SetErrorCode(BucketMetadataErrorCode &&value)
MatchingBucket & WithAccountId(Aws::String &&value)
MatchingBucket & WithBucketName(Aws::String &&value)
const ObjectLevelStatistics & GetUnclassifiableObjectCount() const
MatchingBucket & WithBucketName(const Aws::String &value)
MatchingBucket & WithClassifiableSizeInBytes(long long value)
const JobDetails & GetJobDetails() const
bool AutomatedDiscoveryMonitoringStatusHasBeenSet() const
const BucketMetadataErrorCode & GetErrorCode() const
void SetAccountId(Aws::String &&value)
MatchingBucket & WithClassifiableObjectCount(long long value)
AWS_MACIE2_API MatchingBucket(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastAutomatedDiscoveryTime() const
void SetUnclassifiableObjectSizeInBytes(const ObjectLevelStatistics &value)
void SetAccountId(const char *value)
void SetClassifiableObjectCount(long long value)
void SetUnclassifiableObjectCount(ObjectLevelStatistics &&value)
void SetObjectCountByEncryptionType(const ObjectCountByEncryptionType &value)
MatchingBucket & WithSizeInBytesCompressed(long long value)
MatchingBucket & WithSensitivityScore(int value)
void SetAutomatedDiscoveryMonitoringStatus(AutomatedDiscoveryMonitoringStatus &&value)
MatchingBucket & WithAccountId(const Aws::String &value)
MatchingBucket & WithErrorCode(const BucketMetadataErrorCode &value)
MatchingBucket & WithObjectCountByEncryptionType(const ObjectCountByEncryptionType &value)
MatchingBucket & WithAutomatedDiscoveryMonitoringStatus(const AutomatedDiscoveryMonitoringStatus &value)
MatchingBucket & WithSizeInBytes(long long value)
MatchingBucket & WithJobDetails(JobDetails &&value)
MatchingBucket & WithAutomatedDiscoveryMonitoringStatus(AutomatedDiscoveryMonitoringStatus &&value)
MatchingBucket & WithUnclassifiableObjectSizeInBytes(ObjectLevelStatistics &&value)
MatchingBucket & WithUnclassifiableObjectSizeInBytes(const ObjectLevelStatistics &value)
void SetErrorMessage(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue