7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/macie2/Macie2_EXPORTS.h>
10#include <aws/macie2/model/AutomatedDiscoveryMonitoringStatus.h>
11#include <aws/macie2/model/BucketMetadataErrorCode.h>
12#include <aws/macie2/model/JobDetails.h>
13#include <aws/macie2/model/ObjectCountByEncryptionType.h>
14#include <aws/macie2/model/ObjectLevelStatistics.h>
57 template <
typename AccountIdT = Aws::String>
59 m_accountIdHasBeenSet =
true;
60 m_accountId = std::forward<AccountIdT>(value);
62 template <
typename AccountIdT = Aws::String>
80 m_automatedDiscoveryMonitoringStatusHasBeenSet =
true;
81 m_automatedDiscoveryMonitoringStatus = value;
95 template <
typename BucketNameT = Aws::String>
97 m_bucketNameHasBeenSet =
true;
98 m_bucketName = std::forward<BucketNameT>(value);
100 template <
typename BucketNameT = Aws::String>
116 m_classifiableObjectCountHasBeenSet =
true;
117 m_classifiableObjectCount = value;
138 m_classifiableSizeInBytesHasBeenSet =
true;
139 m_classifiableSizeInBytes = value;
162 m_errorCodeHasBeenSet =
true;
180 template <
typename ErrorMessageT = Aws::String>
182 m_errorMessageHasBeenSet =
true;
183 m_errorMessage = std::forward<ErrorMessageT>(value);
185 template <
typename ErrorMessageT = Aws::String>
200 template <
typename JobDetailsT = JobDetails>
202 m_jobDetailsHasBeenSet =
true;
203 m_jobDetails = std::forward<JobDetailsT>(value);
205 template <
typename JobDetailsT = JobDetails>
221 template <
typename LastAutomatedDiscoveryTimeT = Aws::Utils::DateTime>
223 m_lastAutomatedDiscoveryTimeHasBeenSet =
true;
224 m_lastAutomatedDiscoveryTime = std::forward<LastAutomatedDiscoveryTimeT>(value);
226 template <
typename LastAutomatedDiscoveryTimeT = Aws::Utils::DateTime>
240 m_objectCountHasBeenSet =
true;
241 m_objectCount = value;
257 template <
typename ObjectCountByEncryptionTypeT = ObjectCountByEncryptionType>
259 m_objectCountByEncryptionTypeHasBeenSet =
true;
260 m_objectCountByEncryptionType = std::forward<ObjectCountByEncryptionTypeT>(value);
262 template <
typename ObjectCountByEncryptionTypeT = ObjectCountByEncryptionType>
281 m_sensitivityScoreHasBeenSet =
true;
282 m_sensitivityScore = value;
300 m_sizeInBytesHasBeenSet =
true;
301 m_sizeInBytes = value;
320 m_sizeInBytesCompressedHasBeenSet =
true;
321 m_sizeInBytesCompressed = value;
337 template <
typename Un
classifiableObjectCountT = ObjectLevelStatistics>
339 m_unclassifiableObjectCountHasBeenSet =
true;
340 m_unclassifiableObjectCount = std::forward<UnclassifiableObjectCountT>(value);
342 template <
typename Un
classifiableObjectCountT = ObjectLevelStatistics>
357 template <
typename Un
classifiableObjectSizeInBytesT = ObjectLevelStatistics>
359 m_unclassifiableObjectSizeInBytesHasBeenSet =
true;
360 m_unclassifiableObjectSizeInBytes = std::forward<UnclassifiableObjectSizeInBytesT>(value);
362 template <
typename Un
classifiableObjectSizeInBytesT = ObjectLevelStatistics>
375 long long m_classifiableObjectCount{0};
377 long long m_classifiableSizeInBytes{0};
383 JobDetails m_jobDetails;
387 long long m_objectCount{0};
389 ObjectCountByEncryptionType m_objectCountByEncryptionType;
391 int m_sensitivityScore{0};
393 long long m_sizeInBytes{0};
395 long long m_sizeInBytesCompressed{0};
397 ObjectLevelStatistics m_unclassifiableObjectCount;
399 ObjectLevelStatistics m_unclassifiableObjectSizeInBytes;
400 bool m_accountIdHasBeenSet =
false;
401 bool m_automatedDiscoveryMonitoringStatusHasBeenSet =
false;
402 bool m_bucketNameHasBeenSet =
false;
403 bool m_classifiableObjectCountHasBeenSet =
false;
404 bool m_classifiableSizeInBytesHasBeenSet =
false;
405 bool m_errorCodeHasBeenSet =
false;
406 bool m_errorMessageHasBeenSet =
false;
407 bool m_jobDetailsHasBeenSet =
false;
408 bool m_lastAutomatedDiscoveryTimeHasBeenSet =
false;
409 bool m_objectCountHasBeenSet =
false;
410 bool m_objectCountByEncryptionTypeHasBeenSet =
false;
411 bool m_sensitivityScoreHasBeenSet =
false;
412 bool m_sizeInBytesHasBeenSet =
false;
413 bool m_sizeInBytesCompressedHasBeenSet =
false;
414 bool m_unclassifiableObjectCountHasBeenSet =
false;
415 bool m_unclassifiableObjectSizeInBytesHasBeenSet =
false;
MatchingBucket & WithAutomatedDiscoveryMonitoringStatus(AutomatedDiscoveryMonitoringStatus value)
void SetSensitivityScore(int value)
bool SensitivityScoreHasBeenSet() const
void SetClassifiableSizeInBytes(long long value)
MatchingBucket & WithAccountId(AccountIdT &&value)
const Aws::String & GetErrorMessage() const
int GetSensitivityScore() const
bool ClassifiableSizeInBytesHasBeenSet() const
long long GetObjectCount() const
bool AccountIdHasBeenSet() const
bool UnclassifiableObjectSizeInBytesHasBeenSet() const
MatchingBucket & WithJobDetails(JobDetailsT &&value)
long long GetSizeInBytesCompressed() const
void SetBucketName(BucketNameT &&value)
AWS_MACIE2_API MatchingBucket & operator=(Aws::Utils::Json::JsonView jsonValue)
BucketMetadataErrorCode GetErrorCode() const
void SetObjectCount(long long value)
void SetSizeInBytesCompressed(long long value)
AWS_MACIE2_API MatchingBucket()=default
MatchingBucket & WithBucketName(BucketNameT &&value)
bool ErrorMessageHasBeenSet() const
bool ClassifiableObjectCountHasBeenSet() const
MatchingBucket & WithLastAutomatedDiscoveryTime(LastAutomatedDiscoveryTimeT &&value)
void SetObjectCountByEncryptionType(ObjectCountByEncryptionTypeT &&value)
bool LastAutomatedDiscoveryTimeHasBeenSet() const
bool UnclassifiableObjectCountHasBeenSet() const
void SetSizeInBytes(long long value)
const ObjectCountByEncryptionType & GetObjectCountByEncryptionType() const
bool SizeInBytesCompressedHasBeenSet() const
const ObjectLevelStatistics & GetUnclassifiableObjectSizeInBytes() const
bool SizeInBytesHasBeenSet() const
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
MatchingBucket & WithErrorCode(BucketMetadataErrorCode value)
long long GetClassifiableObjectCount() const
void SetUnclassifiableObjectCount(UnclassifiableObjectCountT &&value)
long long GetClassifiableSizeInBytes() const
MatchingBucket & WithObjectCount(long long value)
void SetAutomatedDiscoveryMonitoringStatus(AutomatedDiscoveryMonitoringStatus value)
const Aws::String & GetBucketName() const
const Aws::String & GetAccountId() const
void SetAccountId(AccountIdT &&value)
bool JobDetailsHasBeenSet() const
MatchingBucket & WithUnclassifiableObjectSizeInBytes(UnclassifiableObjectSizeInBytesT &&value)
void SetErrorMessage(ErrorMessageT &&value)
MatchingBucket & WithUnclassifiableObjectCount(UnclassifiableObjectCountT &&value)
MatchingBucket & WithObjectCountByEncryptionType(ObjectCountByEncryptionTypeT &&value)
const ObjectLevelStatistics & GetUnclassifiableObjectCount() const
AutomatedDiscoveryMonitoringStatus GetAutomatedDiscoveryMonitoringStatus() const
MatchingBucket & WithClassifiableSizeInBytes(long long value)
const JobDetails & GetJobDetails() const
MatchingBucket & WithErrorMessage(ErrorMessageT &&value)
bool AutomatedDiscoveryMonitoringStatusHasBeenSet() const
MatchingBucket & WithClassifiableObjectCount(long long value)
bool BucketNameHasBeenSet() const
AWS_MACIE2_API MatchingBucket(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastAutomatedDiscoveryTime() const
void SetUnclassifiableObjectSizeInBytes(UnclassifiableObjectSizeInBytesT &&value)
void SetClassifiableObjectCount(long long value)
bool ObjectCountByEncryptionTypeHasBeenSet() const
long long GetSizeInBytes() const
MatchingBucket & WithSizeInBytesCompressed(long long value)
MatchingBucket & WithSensitivityScore(int value)
void SetLastAutomatedDiscoveryTime(LastAutomatedDiscoveryTimeT &&value)
void SetErrorCode(BucketMetadataErrorCode value)
void SetJobDetails(JobDetailsT &&value)
MatchingBucket & WithSizeInBytes(long long value)
bool ErrorCodeHasBeenSet() const
bool ObjectCountHasBeenSet() const
AutomatedDiscoveryMonitoringStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue