/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides aggregated statistical data for sensitive data discovery metrics
* that apply to S3 buckets, grouped by bucket sensitivity score
* (sensitivityScore). If automated sensitive data discovery is currently disabled
* for your account, the value for each metric is 0.See Also:
AWS
* API Reference
The aggregated statistical data for all buckets that have a sensitivity score * of -1.
*/ inline const SensitivityAggregations& GetClassificationError() const{ return m_classificationError; } /** *The aggregated statistical data for all buckets that have a sensitivity score * of -1.
*/ inline bool ClassificationErrorHasBeenSet() const { return m_classificationErrorHasBeenSet; } /** *The aggregated statistical data for all buckets that have a sensitivity score * of -1.
*/ inline void SetClassificationError(const SensitivityAggregations& value) { m_classificationErrorHasBeenSet = true; m_classificationError = value; } /** *The aggregated statistical data for all buckets that have a sensitivity score * of -1.
*/ inline void SetClassificationError(SensitivityAggregations&& value) { m_classificationErrorHasBeenSet = true; m_classificationError = std::move(value); } /** *The aggregated statistical data for all buckets that have a sensitivity score * of -1.
*/ inline BucketStatisticsBySensitivity& WithClassificationError(const SensitivityAggregations& value) { SetClassificationError(value); return *this;} /** *The aggregated statistical data for all buckets that have a sensitivity score * of -1.
*/ inline BucketStatisticsBySensitivity& WithClassificationError(SensitivityAggregations&& value) { SetClassificationError(std::move(value)); return *this;} /** *The aggregated statistical data for all buckets that have a sensitivity score * of 50.
*/ inline const SensitivityAggregations& GetNotClassified() const{ return m_notClassified; } /** *The aggregated statistical data for all buckets that have a sensitivity score * of 50.
*/ inline bool NotClassifiedHasBeenSet() const { return m_notClassifiedHasBeenSet; } /** *The aggregated statistical data for all buckets that have a sensitivity score * of 50.
*/ inline void SetNotClassified(const SensitivityAggregations& value) { m_notClassifiedHasBeenSet = true; m_notClassified = value; } /** *The aggregated statistical data for all buckets that have a sensitivity score * of 50.
*/ inline void SetNotClassified(SensitivityAggregations&& value) { m_notClassifiedHasBeenSet = true; m_notClassified = std::move(value); } /** *The aggregated statistical data for all buckets that have a sensitivity score * of 50.
*/ inline BucketStatisticsBySensitivity& WithNotClassified(const SensitivityAggregations& value) { SetNotClassified(value); return *this;} /** *The aggregated statistical data for all buckets that have a sensitivity score * of 50.
*/ inline BucketStatisticsBySensitivity& WithNotClassified(SensitivityAggregations&& value) { SetNotClassified(std::move(value)); return *this;} /** *The aggregated statistical data for all buckets that have a sensitivity score * of 1-49.
*/ inline const SensitivityAggregations& GetNotSensitive() const{ return m_notSensitive; } /** *The aggregated statistical data for all buckets that have a sensitivity score * of 1-49.
*/ inline bool NotSensitiveHasBeenSet() const { return m_notSensitiveHasBeenSet; } /** *The aggregated statistical data for all buckets that have a sensitivity score * of 1-49.
*/ inline void SetNotSensitive(const SensitivityAggregations& value) { m_notSensitiveHasBeenSet = true; m_notSensitive = value; } /** *The aggregated statistical data for all buckets that have a sensitivity score * of 1-49.
*/ inline void SetNotSensitive(SensitivityAggregations&& value) { m_notSensitiveHasBeenSet = true; m_notSensitive = std::move(value); } /** *The aggregated statistical data for all buckets that have a sensitivity score * of 1-49.
*/ inline BucketStatisticsBySensitivity& WithNotSensitive(const SensitivityAggregations& value) { SetNotSensitive(value); return *this;} /** *The aggregated statistical data for all buckets that have a sensitivity score * of 1-49.
*/ inline BucketStatisticsBySensitivity& WithNotSensitive(SensitivityAggregations&& value) { SetNotSensitive(std::move(value)); return *this;} /** *The aggregated statistical data for all buckets that have a sensitivity score * of 51-100.
*/ inline const SensitivityAggregations& GetSensitive() const{ return m_sensitive; } /** *The aggregated statistical data for all buckets that have a sensitivity score * of 51-100.
*/ inline bool SensitiveHasBeenSet() const { return m_sensitiveHasBeenSet; } /** *The aggregated statistical data for all buckets that have a sensitivity score * of 51-100.
*/ inline void SetSensitive(const SensitivityAggregations& value) { m_sensitiveHasBeenSet = true; m_sensitive = value; } /** *The aggregated statistical data for all buckets that have a sensitivity score * of 51-100.
*/ inline void SetSensitive(SensitivityAggregations&& value) { m_sensitiveHasBeenSet = true; m_sensitive = std::move(value); } /** *The aggregated statistical data for all buckets that have a sensitivity score * of 51-100.
*/ inline BucketStatisticsBySensitivity& WithSensitive(const SensitivityAggregations& value) { SetSensitive(value); return *this;} /** *The aggregated statistical data for all buckets that have a sensitivity score * of 51-100.
*/ inline BucketStatisticsBySensitivity& WithSensitive(SensitivityAggregations&& value) { SetSensitive(std::move(value)); return *this;} private: SensitivityAggregations m_classificationError; bool m_classificationErrorHasBeenSet = false; SensitivityAggregations m_notClassified; bool m_notClassifiedHasBeenSet = false; SensitivityAggregations m_notSensitive; bool m_notSensitiveHasBeenSet = false; SensitivityAggregations m_sensitive; bool m_sensitiveHasBeenSet = false; }; } // namespace Model } // namespace Macie2 } // namespace Aws