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

Provides information about custom data identifiers that produced a sensitive * data finding, and the number of occurrences of the data that they detected for * the finding.

See Also:

AWS * API Reference

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

The custom data identifiers that detected the data, and the number of * occurrences of the data that each identifier detected.

*/ inline const Aws::Vector& GetDetections() const{ return m_detections; } /** *

The custom data identifiers that detected the data, and the number of * occurrences of the data that each identifier detected.

*/ inline bool DetectionsHasBeenSet() const { return m_detectionsHasBeenSet; } /** *

The custom data identifiers that detected the data, and the number of * occurrences of the data that each identifier detected.

*/ inline void SetDetections(const Aws::Vector& value) { m_detectionsHasBeenSet = true; m_detections = value; } /** *

The custom data identifiers that detected the data, and the number of * occurrences of the data that each identifier detected.

*/ inline void SetDetections(Aws::Vector&& value) { m_detectionsHasBeenSet = true; m_detections = std::move(value); } /** *

The custom data identifiers that detected the data, and the number of * occurrences of the data that each identifier detected.

*/ inline CustomDataIdentifiers& WithDetections(const Aws::Vector& value) { SetDetections(value); return *this;} /** *

The custom data identifiers that detected the data, and the number of * occurrences of the data that each identifier detected.

*/ inline CustomDataIdentifiers& WithDetections(Aws::Vector&& value) { SetDetections(std::move(value)); return *this;} /** *

The custom data identifiers that detected the data, and the number of * occurrences of the data that each identifier detected.

*/ inline CustomDataIdentifiers& AddDetections(const CustomDetection& value) { m_detectionsHasBeenSet = true; m_detections.push_back(value); return *this; } /** *

The custom data identifiers that detected the data, and the number of * occurrences of the data that each identifier detected.

*/ inline CustomDataIdentifiers& AddDetections(CustomDetection&& value) { m_detectionsHasBeenSet = true; m_detections.push_back(std::move(value)); return *this; } /** *

The total number of occurrences of the data that was detected by the custom * data identifiers and produced the finding.

*/ inline long long GetTotalCount() const{ return m_totalCount; } /** *

The total number of occurrences of the data that was detected by the custom * data identifiers and produced the finding.

*/ inline bool TotalCountHasBeenSet() const { return m_totalCountHasBeenSet; } /** *

The total number of occurrences of the data that was detected by the custom * data identifiers and produced the finding.

*/ inline void SetTotalCount(long long value) { m_totalCountHasBeenSet = true; m_totalCount = value; } /** *

The total number of occurrences of the data that was detected by the custom * data identifiers and produced the finding.

*/ inline CustomDataIdentifiers& WithTotalCount(long long value) { SetTotalCount(value); return *this;} private: Aws::Vector m_detections; bool m_detectionsHasBeenSet = false; long long m_totalCount; bool m_totalCountHasBeenSet = false; }; } // namespace Model } // namespace Macie2 } // namespace Aws