/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information about a custom data identifier that produced a sensitive
* data finding, and the sensitive data that it detected for the
* finding.See Also:
AWS
* API Reference
The unique identifier for the custom data identifier.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The unique identifier for the custom data identifier.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The unique identifier for the custom data identifier.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The unique identifier for the custom data identifier.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The unique identifier for the custom data identifier.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The unique identifier for the custom data identifier.
*/ inline CustomDetection& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The unique identifier for the custom data identifier.
*/ inline CustomDetection& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The unique identifier for the custom data identifier.
*/ inline CustomDetection& WithArn(const char* value) { SetArn(value); return *this;} /** *The total number of occurrences of the sensitive data that the custom data * identifier detected.
*/ inline long long GetCount() const{ return m_count; } /** *The total number of occurrences of the sensitive data that the custom data * identifier detected.
*/ inline bool CountHasBeenSet() const { return m_countHasBeenSet; } /** *The total number of occurrences of the sensitive data that the custom data * identifier detected.
*/ inline void SetCount(long long value) { m_countHasBeenSet = true; m_count = value; } /** *The total number of occurrences of the sensitive data that the custom data * identifier detected.
*/ inline CustomDetection& WithCount(long long value) { SetCount(value); return *this;} /** *The name of the custom data identifier.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the custom data identifier.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the custom data identifier.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the custom data identifier.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the custom data identifier.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the custom data identifier.
*/ inline CustomDetection& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the custom data identifier.
*/ inline CustomDetection& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the custom data identifier.
*/ inline CustomDetection& WithName(const char* value) { SetName(value); return *this;} /** *The location of 1-15 occurrences of the sensitive data that the custom data * identifier detected. A finding includes location data for a maximum of 15 * occurrences of sensitive data.
*/ inline const Occurrences& GetOccurrences() const{ return m_occurrences; } /** *The location of 1-15 occurrences of the sensitive data that the custom data * identifier detected. A finding includes location data for a maximum of 15 * occurrences of sensitive data.
*/ inline bool OccurrencesHasBeenSet() const { return m_occurrencesHasBeenSet; } /** *The location of 1-15 occurrences of the sensitive data that the custom data * identifier detected. A finding includes location data for a maximum of 15 * occurrences of sensitive data.
*/ inline void SetOccurrences(const Occurrences& value) { m_occurrencesHasBeenSet = true; m_occurrences = value; } /** *The location of 1-15 occurrences of the sensitive data that the custom data * identifier detected. A finding includes location data for a maximum of 15 * occurrences of sensitive data.
*/ inline void SetOccurrences(Occurrences&& value) { m_occurrencesHasBeenSet = true; m_occurrences = std::move(value); } /** *The location of 1-15 occurrences of the sensitive data that the custom data * identifier detected. A finding includes location data for a maximum of 15 * occurrences of sensitive data.
*/ inline CustomDetection& WithOccurrences(const Occurrences& value) { SetOccurrences(value); return *this;} /** *The location of 1-15 occurrences of the sensitive data that the custom data * identifier detected. A finding includes location data for a maximum of 15 * occurrences of sensitive data.
*/ inline CustomDetection& WithOccurrences(Occurrences&& value) { SetOccurrences(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; long long m_count; bool m_countHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Occurrences m_occurrences; bool m_occurrencesHasBeenSet = false; }; } // namespace Model } // namespace Macie2 } // namespace Aws