/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Macie2 { namespace Model { /** *

Provides statistical data and other information about an S3 bucket that * Amazon Macie monitors and analyzes for your account. By default, object count * and storage size values include data for object parts that are the result of * incomplete multipart uploads. For more information, see How * Macie monitors Amazon S3 data security in the Amazon Macie User * Guide.

If an error occurs when Macie attempts to retrieve and process * information about the bucket or the bucket's objects, the value for most of * these properties is null. Key exceptions are accountId and bucketName. To * identify the cause of the error, refer to the errorCode and errorMessage * values.

See Also:

AWS * API Reference

*/ class MatchingBucket { public: AWS_MACIE2_API MatchingBucket(); AWS_MACIE2_API MatchingBucket(Aws::Utils::Json::JsonView jsonValue); AWS_MACIE2_API MatchingBucket& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The unique identifier for the Amazon Web Services account that owns the * bucket.

*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *

The unique identifier for the Amazon Web Services account that owns the * bucket.

*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *

The unique identifier for the Amazon Web Services account that owns the * bucket.

*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *

The unique identifier for the Amazon Web Services account that owns the * bucket.

*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *

The unique identifier for the Amazon Web Services account that owns the * bucket.

*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *

The unique identifier for the Amazon Web Services account that owns the * bucket.

*/ inline MatchingBucket& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *

The unique identifier for the Amazon Web Services account that owns the * bucket.

*/ inline MatchingBucket& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *

The unique identifier for the Amazon Web Services account that owns the * bucket.

*/ inline MatchingBucket& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *

The name of the bucket.

*/ inline const Aws::String& GetBucketName() const{ return m_bucketName; } /** *

The name of the bucket.

*/ inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; } /** *

The name of the bucket.

*/ inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; } /** *

The name of the bucket.

*/ inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); } /** *

The name of the bucket.

*/ inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); } /** *

The name of the bucket.

*/ inline MatchingBucket& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;} /** *

The name of the bucket.

*/ inline MatchingBucket& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;} /** *

The name of the bucket.

*/ inline MatchingBucket& WithBucketName(const char* value) { SetBucketName(value); return *this;} /** *

The total number of objects that Amazon Macie can analyze in the bucket. * These objects use a supported storage class and have a file name extension for a * supported file or storage format.

*/ inline long long GetClassifiableObjectCount() const{ return m_classifiableObjectCount; } /** *

The total number of objects that Amazon Macie can analyze in the bucket. * These objects use a supported storage class and have a file name extension for a * supported file or storage format.

*/ inline bool ClassifiableObjectCountHasBeenSet() const { return m_classifiableObjectCountHasBeenSet; } /** *

The total number of objects that Amazon Macie can analyze in the bucket. * These objects use a supported storage class and have a file name extension for a * supported file or storage format.

*/ inline void SetClassifiableObjectCount(long long value) { m_classifiableObjectCountHasBeenSet = true; m_classifiableObjectCount = value; } /** *

The total number of objects that Amazon Macie can analyze in the bucket. * These objects use a supported storage class and have a file name extension for a * supported file or storage format.

*/ inline MatchingBucket& WithClassifiableObjectCount(long long value) { SetClassifiableObjectCount(value); return *this;} /** *

The total storage size, in bytes, of the objects that Amazon Macie can * analyze in the bucket. These objects use a supported storage class and have a * file name extension for a supported file or storage format.

If versioning * is enabled for the bucket, Macie calculates this value based on the size of the * latest version of each applicable object in the bucket. This value doesn't * reflect the storage size of all versions of each applicable object in the * bucket.

*/ inline long long GetClassifiableSizeInBytes() const{ return m_classifiableSizeInBytes; } /** *

The total storage size, in bytes, of the objects that Amazon Macie can * analyze in the bucket. These objects use a supported storage class and have a * file name extension for a supported file or storage format.

If versioning * is enabled for the bucket, Macie calculates this value based on the size of the * latest version of each applicable object in the bucket. This value doesn't * reflect the storage size of all versions of each applicable object in the * bucket.

*/ inline bool ClassifiableSizeInBytesHasBeenSet() const { return m_classifiableSizeInBytesHasBeenSet; } /** *

The total storage size, in bytes, of the objects that Amazon Macie can * analyze in the bucket. These objects use a supported storage class and have a * file name extension for a supported file or storage format.

If versioning * is enabled for the bucket, Macie calculates this value based on the size of the * latest version of each applicable object in the bucket. This value doesn't * reflect the storage size of all versions of each applicable object in the * bucket.

*/ inline void SetClassifiableSizeInBytes(long long value) { m_classifiableSizeInBytesHasBeenSet = true; m_classifiableSizeInBytes = value; } /** *

The total storage size, in bytes, of the objects that Amazon Macie can * analyze in the bucket. These objects use a supported storage class and have a * file name extension for a supported file or storage format.

If versioning * is enabled for the bucket, Macie calculates this value based on the size of the * latest version of each applicable object in the bucket. This value doesn't * reflect the storage size of all versions of each applicable object in the * bucket.

*/ inline MatchingBucket& WithClassifiableSizeInBytes(long long value) { SetClassifiableSizeInBytes(value); return *this;} /** *

The error code for an error that prevented Amazon Macie from retrieving and * processing information about the bucket and the bucket's objects. If this value * is ACCESS_DENIED, Macie doesn't have permission to retrieve the information. For * example, the bucket has a restrictive bucket policy and Amazon S3 denied the * request. If this value is null, Macie was able to retrieve and process the * information.

*/ inline const BucketMetadataErrorCode& GetErrorCode() const{ return m_errorCode; } /** *

The error code for an error that prevented Amazon Macie from retrieving and * processing information about the bucket and the bucket's objects. If this value * is ACCESS_DENIED, Macie doesn't have permission to retrieve the information. For * example, the bucket has a restrictive bucket policy and Amazon S3 denied the * request. If this value is null, Macie was able to retrieve and process the * information.

*/ inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; } /** *

The error code for an error that prevented Amazon Macie from retrieving and * processing information about the bucket and the bucket's objects. If this value * is ACCESS_DENIED, Macie doesn't have permission to retrieve the information. For * example, the bucket has a restrictive bucket policy and Amazon S3 denied the * request. If this value is null, Macie was able to retrieve and process the * information.

*/ inline void SetErrorCode(const BucketMetadataErrorCode& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; } /** *

The error code for an error that prevented Amazon Macie from retrieving and * processing information about the bucket and the bucket's objects. If this value * is ACCESS_DENIED, Macie doesn't have permission to retrieve the information. For * example, the bucket has a restrictive bucket policy and Amazon S3 denied the * request. If this value is null, Macie was able to retrieve and process the * information.

*/ inline void SetErrorCode(BucketMetadataErrorCode&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); } /** *

The error code for an error that prevented Amazon Macie from retrieving and * processing information about the bucket and the bucket's objects. If this value * is ACCESS_DENIED, Macie doesn't have permission to retrieve the information. For * example, the bucket has a restrictive bucket policy and Amazon S3 denied the * request. If this value is null, Macie was able to retrieve and process the * information.

*/ inline MatchingBucket& WithErrorCode(const BucketMetadataErrorCode& value) { SetErrorCode(value); return *this;} /** *

The error code for an error that prevented Amazon Macie from retrieving and * processing information about the bucket and the bucket's objects. If this value * is ACCESS_DENIED, Macie doesn't have permission to retrieve the information. For * example, the bucket has a restrictive bucket policy and Amazon S3 denied the * request. If this value is null, Macie was able to retrieve and process the * information.

*/ inline MatchingBucket& WithErrorCode(BucketMetadataErrorCode&& value) { SetErrorCode(std::move(value)); return *this;} /** *

A brief description of the error (errorCode) that prevented Amazon Macie from * retrieving and processing information about the bucket and the bucket's objects. * This value is null if Macie was able to retrieve and process the * information.

*/ inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } /** *

A brief description of the error (errorCode) that prevented Amazon Macie from * retrieving and processing information about the bucket and the bucket's objects. * This value is null if Macie was able to retrieve and process the * information.

*/ inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } /** *

A brief description of the error (errorCode) that prevented Amazon Macie from * retrieving and processing information about the bucket and the bucket's objects. * This value is null if Macie was able to retrieve and process the * information.

*/ inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } /** *

A brief description of the error (errorCode) that prevented Amazon Macie from * retrieving and processing information about the bucket and the bucket's objects. * This value is null if Macie was able to retrieve and process the * information.

*/ inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } /** *

A brief description of the error (errorCode) that prevented Amazon Macie from * retrieving and processing information about the bucket and the bucket's objects. * This value is null if Macie was able to retrieve and process the * information.

*/ inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } /** *

A brief description of the error (errorCode) that prevented Amazon Macie from * retrieving and processing information about the bucket and the bucket's objects. * This value is null if Macie was able to retrieve and process the * information.

*/ inline MatchingBucket& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} /** *

A brief description of the error (errorCode) that prevented Amazon Macie from * retrieving and processing information about the bucket and the bucket's objects. * This value is null if Macie was able to retrieve and process the * information.

*/ inline MatchingBucket& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} /** *

A brief description of the error (errorCode) that prevented Amazon Macie from * retrieving and processing information about the bucket and the bucket's objects. * This value is null if Macie was able to retrieve and process the * information.

*/ inline MatchingBucket& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} /** *

Specifies whether any one-time or recurring classification jobs are * configured to analyze objects in the bucket, and, if so, the details of the job * that ran most recently.

*/ inline const JobDetails& GetJobDetails() const{ return m_jobDetails; } /** *

Specifies whether any one-time or recurring classification jobs are * configured to analyze objects in the bucket, and, if so, the details of the job * that ran most recently.

*/ inline bool JobDetailsHasBeenSet() const { return m_jobDetailsHasBeenSet; } /** *

Specifies whether any one-time or recurring classification jobs are * configured to analyze objects in the bucket, and, if so, the details of the job * that ran most recently.

*/ inline void SetJobDetails(const JobDetails& value) { m_jobDetailsHasBeenSet = true; m_jobDetails = value; } /** *

Specifies whether any one-time or recurring classification jobs are * configured to analyze objects in the bucket, and, if so, the details of the job * that ran most recently.

*/ inline void SetJobDetails(JobDetails&& value) { m_jobDetailsHasBeenSet = true; m_jobDetails = std::move(value); } /** *

Specifies whether any one-time or recurring classification jobs are * configured to analyze objects in the bucket, and, if so, the details of the job * that ran most recently.

*/ inline MatchingBucket& WithJobDetails(const JobDetails& value) { SetJobDetails(value); return *this;} /** *

Specifies whether any one-time or recurring classification jobs are * configured to analyze objects in the bucket, and, if so, the details of the job * that ran most recently.

*/ inline MatchingBucket& WithJobDetails(JobDetails&& value) { SetJobDetails(std::move(value)); return *this;} /** *

The date and time, in UTC and extended ISO 8601 format, when Amazon Macie * most recently analyzed data in the bucket while performing automated sensitive * data discovery for your account. This value is null if automated sensitive data * discovery is currently disabled for your account.

*/ inline const Aws::Utils::DateTime& GetLastAutomatedDiscoveryTime() const{ return m_lastAutomatedDiscoveryTime; } /** *

The date and time, in UTC and extended ISO 8601 format, when Amazon Macie * most recently analyzed data in the bucket while performing automated sensitive * data discovery for your account. This value is null if automated sensitive data * discovery is currently disabled for your account.

*/ inline bool LastAutomatedDiscoveryTimeHasBeenSet() const { return m_lastAutomatedDiscoveryTimeHasBeenSet; } /** *

The date and time, in UTC and extended ISO 8601 format, when Amazon Macie * most recently analyzed data in the bucket while performing automated sensitive * data discovery for your account. This value is null if automated sensitive data * discovery is currently disabled for your account.

*/ inline void SetLastAutomatedDiscoveryTime(const Aws::Utils::DateTime& value) { m_lastAutomatedDiscoveryTimeHasBeenSet = true; m_lastAutomatedDiscoveryTime = value; } /** *

The date and time, in UTC and extended ISO 8601 format, when Amazon Macie * most recently analyzed data in the bucket while performing automated sensitive * data discovery for your account. This value is null if automated sensitive data * discovery is currently disabled for your account.

*/ inline void SetLastAutomatedDiscoveryTime(Aws::Utils::DateTime&& value) { m_lastAutomatedDiscoveryTimeHasBeenSet = true; m_lastAutomatedDiscoveryTime = std::move(value); } /** *

The date and time, in UTC and extended ISO 8601 format, when Amazon Macie * most recently analyzed data in the bucket while performing automated sensitive * data discovery for your account. This value is null if automated sensitive data * discovery is currently disabled for your account.

*/ inline MatchingBucket& WithLastAutomatedDiscoveryTime(const Aws::Utils::DateTime& value) { SetLastAutomatedDiscoveryTime(value); return *this;} /** *

The date and time, in UTC and extended ISO 8601 format, when Amazon Macie * most recently analyzed data in the bucket while performing automated sensitive * data discovery for your account. This value is null if automated sensitive data * discovery is currently disabled for your account.

*/ inline MatchingBucket& WithLastAutomatedDiscoveryTime(Aws::Utils::DateTime&& value) { SetLastAutomatedDiscoveryTime(std::move(value)); return *this;} /** *

The total number of objects in the bucket.

*/ inline long long GetObjectCount() const{ return m_objectCount; } /** *

The total number of objects in the bucket.

*/ inline bool ObjectCountHasBeenSet() const { return m_objectCountHasBeenSet; } /** *

The total number of objects in the bucket.

*/ inline void SetObjectCount(long long value) { m_objectCountHasBeenSet = true; m_objectCount = value; } /** *

The total number of objects in the bucket.

*/ inline MatchingBucket& WithObjectCount(long long value) { SetObjectCount(value); return *this;} /** *

The total number of objects in the bucket, grouped by server-side encryption * type. This includes a grouping that reports the total number of objects that * aren't encrypted or use client-side encryption.

*/ inline const ObjectCountByEncryptionType& GetObjectCountByEncryptionType() const{ return m_objectCountByEncryptionType; } /** *

The total number of objects in the bucket, grouped by server-side encryption * type. This includes a grouping that reports the total number of objects that * aren't encrypted or use client-side encryption.

*/ inline bool ObjectCountByEncryptionTypeHasBeenSet() const { return m_objectCountByEncryptionTypeHasBeenSet; } /** *

The total number of objects in the bucket, grouped by server-side encryption * type. This includes a grouping that reports the total number of objects that * aren't encrypted or use client-side encryption.

*/ inline void SetObjectCountByEncryptionType(const ObjectCountByEncryptionType& value) { m_objectCountByEncryptionTypeHasBeenSet = true; m_objectCountByEncryptionType = value; } /** *

The total number of objects in the bucket, grouped by server-side encryption * type. This includes a grouping that reports the total number of objects that * aren't encrypted or use client-side encryption.

*/ inline void SetObjectCountByEncryptionType(ObjectCountByEncryptionType&& value) { m_objectCountByEncryptionTypeHasBeenSet = true; m_objectCountByEncryptionType = std::move(value); } /** *

The total number of objects in the bucket, grouped by server-side encryption * type. This includes a grouping that reports the total number of objects that * aren't encrypted or use client-side encryption.

*/ inline MatchingBucket& WithObjectCountByEncryptionType(const ObjectCountByEncryptionType& value) { SetObjectCountByEncryptionType(value); return *this;} /** *

The total number of objects in the bucket, grouped by server-side encryption * type. This includes a grouping that reports the total number of objects that * aren't encrypted or use client-side encryption.

*/ inline MatchingBucket& WithObjectCountByEncryptionType(ObjectCountByEncryptionType&& value) { SetObjectCountByEncryptionType(std::move(value)); return *this;} /** *

The current sensitivity score for the bucket, ranging from -1 (classification * error) to 100 (sensitive). This value is null if automated sensitive data * discovery is currently disabled for your account.

*/ inline int GetSensitivityScore() const{ return m_sensitivityScore; } /** *

The current sensitivity score for the bucket, ranging from -1 (classification * error) to 100 (sensitive). This value is null if automated sensitive data * discovery is currently disabled for your account.

*/ inline bool SensitivityScoreHasBeenSet() const { return m_sensitivityScoreHasBeenSet; } /** *

The current sensitivity score for the bucket, ranging from -1 (classification * error) to 100 (sensitive). This value is null if automated sensitive data * discovery is currently disabled for your account.

*/ inline void SetSensitivityScore(int value) { m_sensitivityScoreHasBeenSet = true; m_sensitivityScore = value; } /** *

The current sensitivity score for the bucket, ranging from -1 (classification * error) to 100 (sensitive). This value is null if automated sensitive data * discovery is currently disabled for your account.

*/ inline MatchingBucket& WithSensitivityScore(int value) { SetSensitivityScore(value); return *this;} /** *

The total storage size, in bytes, of the bucket.

If versioning is * enabled for the bucket, Amazon Macie calculates this value based on the size of * the latest version of each object in the bucket. This value doesn't reflect the * storage size of all versions of each object in the bucket.

*/ inline long long GetSizeInBytes() const{ return m_sizeInBytes; } /** *

The total storage size, in bytes, of the bucket.

If versioning is * enabled for the bucket, Amazon Macie calculates this value based on the size of * the latest version of each object in the bucket. This value doesn't reflect the * storage size of all versions of each object in the bucket.

*/ inline bool SizeInBytesHasBeenSet() const { return m_sizeInBytesHasBeenSet; } /** *

The total storage size, in bytes, of the bucket.

If versioning is * enabled for the bucket, Amazon Macie calculates this value based on the size of * the latest version of each object in the bucket. This value doesn't reflect the * storage size of all versions of each object in the bucket.

*/ inline void SetSizeInBytes(long long value) { m_sizeInBytesHasBeenSet = true; m_sizeInBytes = value; } /** *

The total storage size, in bytes, of the bucket.

If versioning is * enabled for the bucket, Amazon Macie calculates this value based on the size of * the latest version of each object in the bucket. This value doesn't reflect the * storage size of all versions of each object in the bucket.

*/ inline MatchingBucket& WithSizeInBytes(long long value) { SetSizeInBytes(value); return *this;} /** *

The total storage size, in bytes, of the objects that are compressed (.gz, * .gzip, .zip) files in the bucket.

If versioning is enabled for the * bucket, Amazon Macie calculates this value based on the size of the latest * version of each applicable object in the bucket. This value doesn't reflect the * storage size of all versions of each applicable object in the bucket.

*/ inline long long GetSizeInBytesCompressed() const{ return m_sizeInBytesCompressed; } /** *

The total storage size, in bytes, of the objects that are compressed (.gz, * .gzip, .zip) files in the bucket.

If versioning is enabled for the * bucket, Amazon Macie calculates this value based on the size of the latest * version of each applicable object in the bucket. This value doesn't reflect the * storage size of all versions of each applicable object in the bucket.

*/ inline bool SizeInBytesCompressedHasBeenSet() const { return m_sizeInBytesCompressedHasBeenSet; } /** *

The total storage size, in bytes, of the objects that are compressed (.gz, * .gzip, .zip) files in the bucket.

If versioning is enabled for the * bucket, Amazon Macie calculates this value based on the size of the latest * version of each applicable object in the bucket. This value doesn't reflect the * storage size of all versions of each applicable object in the bucket.

*/ inline void SetSizeInBytesCompressed(long long value) { m_sizeInBytesCompressedHasBeenSet = true; m_sizeInBytesCompressed = value; } /** *

The total storage size, in bytes, of the objects that are compressed (.gz, * .gzip, .zip) files in the bucket.

If versioning is enabled for the * bucket, Amazon Macie calculates this value based on the size of the latest * version of each applicable object in the bucket. This value doesn't reflect the * storage size of all versions of each applicable object in the bucket.

*/ inline MatchingBucket& WithSizeInBytesCompressed(long long value) { SetSizeInBytesCompressed(value); return *this;} /** *

The total number of objects that Amazon Macie can't analyze in the bucket. * These objects don't use a supported storage class or don't have a file name * extension for a supported file or storage format.

*/ inline const ObjectLevelStatistics& GetUnclassifiableObjectCount() const{ return m_unclassifiableObjectCount; } /** *

The total number of objects that Amazon Macie can't analyze in the bucket. * These objects don't use a supported storage class or don't have a file name * extension for a supported file or storage format.

*/ inline bool UnclassifiableObjectCountHasBeenSet() const { return m_unclassifiableObjectCountHasBeenSet; } /** *

The total number of objects that Amazon Macie can't analyze in the bucket. * These objects don't use a supported storage class or don't have a file name * extension for a supported file or storage format.

*/ inline void SetUnclassifiableObjectCount(const ObjectLevelStatistics& value) { m_unclassifiableObjectCountHasBeenSet = true; m_unclassifiableObjectCount = value; } /** *

The total number of objects that Amazon Macie can't analyze in the bucket. * These objects don't use a supported storage class or don't have a file name * extension for a supported file or storage format.

*/ inline void SetUnclassifiableObjectCount(ObjectLevelStatistics&& value) { m_unclassifiableObjectCountHasBeenSet = true; m_unclassifiableObjectCount = std::move(value); } /** *

The total number of objects that Amazon Macie can't analyze in the bucket. * These objects don't use a supported storage class or don't have a file name * extension for a supported file or storage format.

*/ inline MatchingBucket& WithUnclassifiableObjectCount(const ObjectLevelStatistics& value) { SetUnclassifiableObjectCount(value); return *this;} /** *

The total number of objects that Amazon Macie can't analyze in the bucket. * These objects don't use a supported storage class or don't have a file name * extension for a supported file or storage format.

*/ inline MatchingBucket& WithUnclassifiableObjectCount(ObjectLevelStatistics&& value) { SetUnclassifiableObjectCount(std::move(value)); return *this;} /** *

The total storage size, in bytes, of the objects that Amazon Macie can't * analyze in the bucket. These objects don't use a supported storage class or * don't have a file name extension for a supported file or storage format.

*/ inline const ObjectLevelStatistics& GetUnclassifiableObjectSizeInBytes() const{ return m_unclassifiableObjectSizeInBytes; } /** *

The total storage size, in bytes, of the objects that Amazon Macie can't * analyze in the bucket. These objects don't use a supported storage class or * don't have a file name extension for a supported file or storage format.

*/ inline bool UnclassifiableObjectSizeInBytesHasBeenSet() const { return m_unclassifiableObjectSizeInBytesHasBeenSet; } /** *

The total storage size, in bytes, of the objects that Amazon Macie can't * analyze in the bucket. These objects don't use a supported storage class or * don't have a file name extension for a supported file or storage format.

*/ inline void SetUnclassifiableObjectSizeInBytes(const ObjectLevelStatistics& value) { m_unclassifiableObjectSizeInBytesHasBeenSet = true; m_unclassifiableObjectSizeInBytes = value; } /** *

The total storage size, in bytes, of the objects that Amazon Macie can't * analyze in the bucket. These objects don't use a supported storage class or * don't have a file name extension for a supported file or storage format.

*/ inline void SetUnclassifiableObjectSizeInBytes(ObjectLevelStatistics&& value) { m_unclassifiableObjectSizeInBytesHasBeenSet = true; m_unclassifiableObjectSizeInBytes = std::move(value); } /** *

The total storage size, in bytes, of the objects that Amazon Macie can't * analyze in the bucket. These objects don't use a supported storage class or * don't have a file name extension for a supported file or storage format.

*/ inline MatchingBucket& WithUnclassifiableObjectSizeInBytes(const ObjectLevelStatistics& value) { SetUnclassifiableObjectSizeInBytes(value); return *this;} /** *

The total storage size, in bytes, of the objects that Amazon Macie can't * analyze in the bucket. These objects don't use a supported storage class or * don't have a file name extension for a supported file or storage format.

*/ inline MatchingBucket& WithUnclassifiableObjectSizeInBytes(ObjectLevelStatistics&& value) { SetUnclassifiableObjectSizeInBytes(std::move(value)); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; Aws::String m_bucketName; bool m_bucketNameHasBeenSet = false; long long m_classifiableObjectCount; bool m_classifiableObjectCountHasBeenSet = false; long long m_classifiableSizeInBytes; bool m_classifiableSizeInBytesHasBeenSet = false; BucketMetadataErrorCode m_errorCode; bool m_errorCodeHasBeenSet = false; Aws::String m_errorMessage; bool m_errorMessageHasBeenSet = false; JobDetails m_jobDetails; bool m_jobDetailsHasBeenSet = false; Aws::Utils::DateTime m_lastAutomatedDiscoveryTime; bool m_lastAutomatedDiscoveryTimeHasBeenSet = false; long long m_objectCount; bool m_objectCountHasBeenSet = false; ObjectCountByEncryptionType m_objectCountByEncryptionType; bool m_objectCountByEncryptionTypeHasBeenSet = false; int m_sensitivityScore; bool m_sensitivityScoreHasBeenSet = false; long long m_sizeInBytes; bool m_sizeInBytesHasBeenSet = false; long long m_sizeInBytesCompressed; bool m_sizeInBytesCompressedHasBeenSet = false; ObjectLevelStatistics m_unclassifiableObjectCount; bool m_unclassifiableObjectCountHasBeenSet = false; ObjectLevelStatistics m_unclassifiableObjectSizeInBytes; bool m_unclassifiableObjectSizeInBytesHasBeenSet = false; }; } // namespace Model } // namespace Macie2 } // namespace Aws