/**
* 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 number of occurrences of the data that it detected for the
* finding.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the custom data identifier.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the custom data identifier.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the custom data identifier.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the custom data identifier.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the custom data identifier.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the custom data identifier.
*/ inline CustomDetection& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the custom data identifier.
*/ inline CustomDetection& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the custom data identifier.
*/ inline CustomDetection& WithArn(const char* value) { SetArn(value); return *this;} /** *The total number of occurrences of the data that the custom data identifier * detected for the finding.
*/ inline long long GetCount() const{ return m_count; } /** *The total number of occurrences of the data that the custom data identifier * detected for the finding.
*/ inline bool CountHasBeenSet() const { return m_countHasBeenSet; } /** *The total number of occurrences of the data that the custom data identifier * detected for the finding.
*/ inline void SetCount(long long value) { m_countHasBeenSet = true; m_count = value; } /** *The total number of occurrences of the data that the custom data identifier * detected for the finding.
*/ 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;} private: Aws::String m_arn; bool m_arnHasBeenSet; long long m_count; bool m_countHasBeenSet; Aws::String m_name; bool m_nameHasBeenSet; }; } // namespace Model } // namespace Macie2 } // namespace Aws