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>
63 template<
typename AccountIdT = Aws::String>
64 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
65 template<
typename AccountIdT = Aws::String>
89 template<
typename BucketNameT = Aws::String>
90 void SetBucketName(BucketNameT&& value) { m_bucketNameHasBeenSet =
true; m_bucketName = std::forward<BucketNameT>(value); }
91 template<
typename BucketNameT = Aws::String>
150 template<
typename ErrorMessageT = Aws::String>
151 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet =
true; m_errorMessage = std::forward<ErrorMessageT>(value); }
152 template<
typename ErrorMessageT = Aws::String>
164 template<
typename JobDetailsT = JobDetails>
165 void SetJobDetails(JobDetailsT&& value) { m_jobDetailsHasBeenSet =
true; m_jobDetails = std::forward<JobDetailsT>(value); }
166 template<
typename JobDetailsT = JobDetails>
179 template<
typename LastAutomatedDiscoveryTimeT = Aws::Utils::DateTime>
180 void SetLastAutomatedDiscoveryTime(LastAutomatedDiscoveryTimeT&& value) { m_lastAutomatedDiscoveryTimeHasBeenSet =
true; m_lastAutomatedDiscoveryTime = std::forward<LastAutomatedDiscoveryTimeT>(value); }
181 template<
typename LastAutomatedDiscoveryTimeT = Aws::Utils::DateTime>
191 inline void SetObjectCount(
long long value) { m_objectCountHasBeenSet =
true; m_objectCount = value; }
203 template<
typename ObjectCountByEncryptionTypeT = ObjectCountByEncryptionType>
204 void SetObjectCountByEncryptionType(ObjectCountByEncryptionTypeT&& value) { m_objectCountByEncryptionTypeHasBeenSet =
true; m_objectCountByEncryptionType = std::forward<ObjectCountByEncryptionTypeT>(value); }
205 template<
typename ObjectCountByEncryptionTypeT = ObjectCountByEncryptionType>
220 inline void SetSensitivityScore(
int value) { m_sensitivityScoreHasBeenSet =
true; m_sensitivityScore = value; }
233 inline void SetSizeInBytes(
long long value) { m_sizeInBytesHasBeenSet =
true; m_sizeInBytes = value; }
247 inline void SetSizeInBytesCompressed(
long long value) { m_sizeInBytesCompressedHasBeenSet =
true; m_sizeInBytesCompressed = value; }
259 template<
typename Un
classifiableObjectCountT = ObjectLevelStatistics>
260 void SetUnclassifiableObjectCount(UnclassifiableObjectCountT&& value) { m_unclassifiableObjectCountHasBeenSet =
true; m_unclassifiableObjectCount = std::forward<UnclassifiableObjectCountT>(value); }
261 template<
typename Un
classifiableObjectCountT = ObjectLevelStatistics>
273 template<
typename Un
classifiableObjectSizeInBytesT = ObjectLevelStatistics>
274 void SetUnclassifiableObjectSizeInBytes(UnclassifiableObjectSizeInBytesT&& value) { m_unclassifiableObjectSizeInBytesHasBeenSet =
true; m_unclassifiableObjectSizeInBytes = std::forward<UnclassifiableObjectSizeInBytesT>(value); }
275 template<
typename Un
classifiableObjectSizeInBytesT = ObjectLevelStatistics>
281 bool m_accountIdHasBeenSet =
false;
284 bool m_automatedDiscoveryMonitoringStatusHasBeenSet =
false;
287 bool m_bucketNameHasBeenSet =
false;
289 long long m_classifiableObjectCount{0};
290 bool m_classifiableObjectCountHasBeenSet =
false;
292 long long m_classifiableSizeInBytes{0};
293 bool m_classifiableSizeInBytesHasBeenSet =
false;
296 bool m_errorCodeHasBeenSet =
false;
299 bool m_errorMessageHasBeenSet =
false;
301 JobDetails m_jobDetails;
302 bool m_jobDetailsHasBeenSet =
false;
305 bool m_lastAutomatedDiscoveryTimeHasBeenSet =
false;
307 long long m_objectCount{0};
308 bool m_objectCountHasBeenSet =
false;
310 ObjectCountByEncryptionType m_objectCountByEncryptionType;
311 bool m_objectCountByEncryptionTypeHasBeenSet =
false;
313 int m_sensitivityScore{0};
314 bool m_sensitivityScoreHasBeenSet =
false;
316 long long m_sizeInBytes{0};
317 bool m_sizeInBytesHasBeenSet =
false;
319 long long m_sizeInBytesCompressed{0};
320 bool m_sizeInBytesCompressedHasBeenSet =
false;
322 ObjectLevelStatistics m_unclassifiableObjectCount;
323 bool m_unclassifiableObjectCountHasBeenSet =
false;
325 ObjectLevelStatistics m_unclassifiableObjectSizeInBytes;
326 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