/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains a detected instance of sensitive data that are based on built-in
* identifiers.See Also:
AWS
* API Reference
The category of sensitive data that was detected. For example, the category * can indicate that the sensitive data involved credentials, financial * information, or personal information.
*/ inline const Aws::String& GetCategory() const{ return m_category; } /** *The category of sensitive data that was detected. For example, the category * can indicate that the sensitive data involved credentials, financial * information, or personal information.
*/ inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; } /** *The category of sensitive data that was detected. For example, the category * can indicate that the sensitive data involved credentials, financial * information, or personal information.
*/ inline void SetCategory(const Aws::String& value) { m_categoryHasBeenSet = true; m_category = value; } /** *The category of sensitive data that was detected. For example, the category * can indicate that the sensitive data involved credentials, financial * information, or personal information.
*/ inline void SetCategory(Aws::String&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); } /** *The category of sensitive data that was detected. For example, the category * can indicate that the sensitive data involved credentials, financial * information, or personal information.
*/ inline void SetCategory(const char* value) { m_categoryHasBeenSet = true; m_category.assign(value); } /** *The category of sensitive data that was detected. For example, the category * can indicate that the sensitive data involved credentials, financial * information, or personal information.
*/ inline SensitiveDataResult& WithCategory(const Aws::String& value) { SetCategory(value); return *this;} /** *The category of sensitive data that was detected. For example, the category * can indicate that the sensitive data involved credentials, financial * information, or personal information.
*/ inline SensitiveDataResult& WithCategory(Aws::String&& value) { SetCategory(std::move(value)); return *this;} /** *The category of sensitive data that was detected. For example, the category * can indicate that the sensitive data involved credentials, financial * information, or personal information.
*/ inline SensitiveDataResult& WithCategory(const char* value) { SetCategory(value); return *this;} /** *The list of detected instances of sensitive data.
*/ inline const Aws::VectorThe 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::VectorThe list of detected instances of sensitive data.
*/ inline void SetDetections(Aws::VectorThe list of detected instances of sensitive data.
*/ inline SensitiveDataResult& WithDetections(const Aws::VectorThe list of detected instances of sensitive data.
*/ inline SensitiveDataResult& WithDetections(Aws::VectorThe list of detected instances of sensitive data.
*/ inline SensitiveDataResult& AddDetections(const SensitiveDataDetections& value) { m_detectionsHasBeenSet = true; m_detections.push_back(value); return *this; } /** *The list of detected instances of sensitive data.
*/ inline SensitiveDataResult& AddDetections(SensitiveDataDetections&& 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 SensitiveDataResult& WithTotalCount(long long value) { SetTotalCount(value); return *this;} private: Aws::String m_category; bool m_categoryHasBeenSet = false; Aws::Vector