/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Macie2 { namespace Model { /** *

Provides information about a managed data identifier. For additional * information, see Using * managed data identifiers in the Amazon Macie User * Guide.

See Also:

AWS * API Reference

*/ class ManagedDataIdentifierSummary { public: AWS_MACIE2_API ManagedDataIdentifierSummary(); AWS_MACIE2_API ManagedDataIdentifierSummary(Aws::Utils::Json::JsonView jsonValue); AWS_MACIE2_API ManagedDataIdentifierSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The category of sensitive data that the managed data identifier detects: * 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 the managed data identifier detects: * 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 the managed data identifier detects: * 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 the managed data identifier detects: * 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 the managed data identifier detects: * 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 ManagedDataIdentifierSummary& WithCategory(const SensitiveDataItemCategory& value) { SetCategory(value); return *this;} /** *

The category of sensitive data that the managed data identifier detects: * 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 ManagedDataIdentifierSummary& WithCategory(SensitiveDataItemCategory&& value) { SetCategory(std::move(value)); return *this;} /** *

The unique identifier for the managed data identifier. This is a string that * describes the type of sensitive data that the managed data identifier detects. * For example: OPENSSH_PRIVATE_KEY for OpenSSH private keys, CREDIT_CARD_NUMBER * for credit card numbers, or USA_PASSPORT_NUMBER for US passport numbers.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The unique identifier for the managed data identifier. This is a string that * describes the type of sensitive data that the managed data identifier detects. * For example: OPENSSH_PRIVATE_KEY for OpenSSH private keys, CREDIT_CARD_NUMBER * for credit card numbers, or USA_PASSPORT_NUMBER for US passport numbers.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The unique identifier for the managed data identifier. This is a string that * describes the type of sensitive data that the managed data identifier detects. * For example: OPENSSH_PRIVATE_KEY for OpenSSH private keys, CREDIT_CARD_NUMBER * for credit card numbers, or USA_PASSPORT_NUMBER for US passport numbers.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The unique identifier for the managed data identifier. This is a string that * describes the type of sensitive data that the managed data identifier detects. * For example: OPENSSH_PRIVATE_KEY for OpenSSH private keys, CREDIT_CARD_NUMBER * for credit card numbers, or USA_PASSPORT_NUMBER for US passport numbers.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The unique identifier for the managed data identifier. This is a string that * describes the type of sensitive data that the managed data identifier detects. * For example: OPENSSH_PRIVATE_KEY for OpenSSH private keys, CREDIT_CARD_NUMBER * for credit card numbers, or USA_PASSPORT_NUMBER for US passport numbers.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The unique identifier for the managed data identifier. This is a string that * describes the type of sensitive data that the managed data identifier detects. * For example: OPENSSH_PRIVATE_KEY for OpenSSH private keys, CREDIT_CARD_NUMBER * for credit card numbers, or USA_PASSPORT_NUMBER for US passport numbers.

*/ inline ManagedDataIdentifierSummary& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The unique identifier for the managed data identifier. This is a string that * describes the type of sensitive data that the managed data identifier detects. * For example: OPENSSH_PRIVATE_KEY for OpenSSH private keys, CREDIT_CARD_NUMBER * for credit card numbers, or USA_PASSPORT_NUMBER for US passport numbers.

*/ inline ManagedDataIdentifierSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The unique identifier for the managed data identifier. This is a string that * describes the type of sensitive data that the managed data identifier detects. * For example: OPENSSH_PRIVATE_KEY for OpenSSH private keys, CREDIT_CARD_NUMBER * for credit card numbers, or USA_PASSPORT_NUMBER for US passport numbers.

*/ inline ManagedDataIdentifierSummary& WithId(const char* value) { SetId(value); return *this;} private: SensitiveDataItemCategory m_category; bool m_categoryHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; }; } // namespace Model } // namespace Macie2 } // namespace Aws