/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information about the category, types, and occurrences of sensitive
* data that produced a sensitive data finding.See Also:
AWS
* API Reference
The category of sensitive data that was detected. For example: CREDENTIALS, * for credentials data such as private keys or Amazon Web Services secret access * keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, * PERSONAL_INFORMATION, for personal health information, such as health insurance * identification numbers, or personally identifiable information, such as passport * numbers.
*/ inline const SensitiveDataItemCategory& GetCategory() const{ return m_category; } /** *The category of sensitive data that was detected. For example: CREDENTIALS, * for credentials data such as private keys or Amazon Web Services secret access * keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, * PERSONAL_INFORMATION, for personal health information, such as health insurance * identification numbers, or personally identifiable information, such as passport * numbers.
*/ inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; } /** *The category of sensitive data that was detected. For example: CREDENTIALS, * for credentials data such as private keys or Amazon Web Services secret access * keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, * PERSONAL_INFORMATION, for personal health information, such as health insurance * identification numbers, or personally identifiable information, such as passport * numbers.
*/ inline void SetCategory(const SensitiveDataItemCategory& value) { m_categoryHasBeenSet = true; m_category = value; } /** *The category of sensitive data that was detected. For example: CREDENTIALS, * for credentials data such as private keys or Amazon Web Services secret access * keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, * PERSONAL_INFORMATION, for personal health information, such as health insurance * identification numbers, or personally identifiable information, such as passport * numbers.
*/ inline void SetCategory(SensitiveDataItemCategory&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); } /** *The category of sensitive data that was detected. For example: CREDENTIALS, * for credentials data such as private keys or Amazon Web Services secret access * keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, * PERSONAL_INFORMATION, for personal health information, such as health insurance * identification numbers, or personally identifiable information, such as passport * numbers.
*/ inline SensitiveDataItem& WithCategory(const SensitiveDataItemCategory& value) { SetCategory(value); return *this;} /** *The category of sensitive data that was detected. For example: CREDENTIALS, * for credentials data such as private keys or Amazon Web Services secret access * keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, * PERSONAL_INFORMATION, for personal health information, such as health insurance * identification numbers, or personally identifiable information, such as passport * numbers.
*/ inline SensitiveDataItem& WithCategory(SensitiveDataItemCategory&& value) { SetCategory(std::move(value)); return *this;} /** *An array of objects, one for each type of sensitive data that was detected. * Each object reports the number of occurrences of a specific type of sensitive * data that was detected, and the location of up to 15 of those occurrences.
*/ inline const Aws::VectorAn array of objects, one for each type of sensitive data that was detected. * Each object reports the number of occurrences of a specific type of sensitive * data that was detected, and the location of up to 15 of those occurrences.
*/ inline bool DetectionsHasBeenSet() const { return m_detectionsHasBeenSet; } /** *An array of objects, one for each type of sensitive data that was detected. * Each object reports the number of occurrences of a specific type of sensitive * data that was detected, and the location of up to 15 of those occurrences.
*/ inline void SetDetections(const Aws::VectorAn array of objects, one for each type of sensitive data that was detected. * Each object reports the number of occurrences of a specific type of sensitive * data that was detected, and the location of up to 15 of those occurrences.
*/ inline void SetDetections(Aws::VectorAn array of objects, one for each type of sensitive data that was detected. * Each object reports the number of occurrences of a specific type of sensitive * data that was detected, and the location of up to 15 of those occurrences.
*/ inline SensitiveDataItem& WithDetections(const Aws::VectorAn array of objects, one for each type of sensitive data that was detected. * Each object reports the number of occurrences of a specific type of sensitive * data that was detected, and the location of up to 15 of those occurrences.
*/ inline SensitiveDataItem& WithDetections(Aws::VectorAn array of objects, one for each type of sensitive data that was detected. * Each object reports the number of occurrences of a specific type of sensitive * data that was detected, and the location of up to 15 of those occurrences.
*/ inline SensitiveDataItem& AddDetections(const DefaultDetection& value) { m_detectionsHasBeenSet = true; m_detections.push_back(value); return *this; } /** *An array of objects, one for each type of sensitive data that was detected. * Each object reports the number of occurrences of a specific type of sensitive * data that was detected, and the location of up to 15 of those occurrences.
*/ inline SensitiveDataItem& AddDetections(DefaultDetection&& value) { m_detectionsHasBeenSet = true; m_detections.push_back(std::move(value)); return *this; } /** *The total number of occurrences of the sensitive data that was detected.
*/ inline long long GetTotalCount() const{ return m_totalCount; } /** *The total number of occurrences of the sensitive data that was detected.
*/ inline bool TotalCountHasBeenSet() const { return m_totalCountHasBeenSet; } /** *The total number of occurrences of the sensitive data that was detected.
*/ inline void SetTotalCount(long long value) { m_totalCountHasBeenSet = true; m_totalCount = value; } /** *The total number of occurrences of the sensitive data that was detected.
*/ inline SensitiveDataItem& WithTotalCount(long long value) { SetTotalCount(value); return *this;} private: SensitiveDataItemCategory m_category; bool m_categoryHasBeenSet = false; Aws::Vector