/** * 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 SecurityHub { namespace Model { /** *

Contains an instance of sensitive data that was detected by a * customer-defined identifier.

See Also:

AWS * API Reference

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

The list of detected instances of sensitive data.

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

The list of detected instances of sensitive data.

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

The list of detected instances of sensitive data.

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

The list of detected instances of sensitive data.

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

The list of detected instances of sensitive data.

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

The list of detected instances of sensitive data.

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

The list of detected instances of sensitive data.

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

The list of detected instances of sensitive data.

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

The total number of occurrences of sensitive data.

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

The total number of occurrences of sensitive data.

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

The total number of occurrences of sensitive data.

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

The total number of occurrences of sensitive data.

*/ inline CustomDataIdentifiersResult& 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 SecurityHub } // namespace Aws