/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information about sensitive data that was detected by managed data
* identifiers and produced a sensitive data finding.See Also:
AWS
* API Reference
The total number of occurrences of the type of data that was detected.
*/ inline long long GetCount() const{ return m_count; } /** *The total number of occurrences of the type of data that was detected.
*/ inline bool CountHasBeenSet() const { return m_countHasBeenSet; } /** *The total number of occurrences of the type of data that was detected.
*/ inline void SetCount(long long value) { m_countHasBeenSet = true; m_count = value; } /** *The total number of occurrences of the type of data that was detected.
*/ inline DefaultDetection& WithCount(long long value) { SetCount(value); return *this;} /** *The type of data that was detected. For example, AWS_CREDENTIALS, * PHONE_NUMBER, or ADDRESS.
*/ inline const Aws::String& GetType() const{ return m_type; } /** *The type of data that was detected. For example, AWS_CREDENTIALS, * PHONE_NUMBER, or ADDRESS.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of data that was detected. For example, AWS_CREDENTIALS, * PHONE_NUMBER, or ADDRESS.
*/ inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of data that was detected. For example, AWS_CREDENTIALS, * PHONE_NUMBER, or ADDRESS.
*/ inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of data that was detected. For example, AWS_CREDENTIALS, * PHONE_NUMBER, or ADDRESS.
*/ inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } /** *The type of data that was detected. For example, AWS_CREDENTIALS, * PHONE_NUMBER, or ADDRESS.
*/ inline DefaultDetection& WithType(const Aws::String& value) { SetType(value); return *this;} /** *The type of data that was detected. For example, AWS_CREDENTIALS, * PHONE_NUMBER, or ADDRESS.
*/ inline DefaultDetection& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} /** *The type of data that was detected. For example, AWS_CREDENTIALS, * PHONE_NUMBER, or ADDRESS.
*/ inline DefaultDetection& WithType(const char* value) { SetType(value); return *this;} private: long long m_count; bool m_countHasBeenSet; Aws::String m_type; bool m_typeHasBeenSet; }; } // namespace Model } // namespace Macie2 } // namespace Aws