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

Configuration of entity detection for a profile job. When undefined, entity * detection is disabled.

See Also:

AWS * API Reference

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

Entity types to detect. Can be any of the following:

  • *

    USA_SSN

  • EMAIL

  • USA_ITIN

  • *

    USA_PASSPORT_NUMBER

  • PHONE_NUMBER

  • *

    USA_DRIVING_LICENSE

  • BANK_ACCOUNT

  • *

    CREDIT_CARD

  • IP_ADDRESS

  • MAC_ADDRESS

    *
  • USA_DEA_NUMBER

  • USA_HCPCS_CODE

  • *

    USA_NATIONAL_PROVIDER_IDENTIFIER

  • USA_NATIONAL_DRUG_CODE

    *
  • USA_HEALTH_INSURANCE_CLAIM_NUMBER

  • *

    USA_MEDICARE_BENEFICIARY_IDENTIFIER

  • USA_CPT_CODE

  • *
  • PERSON_NAME

  • DATE

The Entity type * group USA_ALL is also supported, and includes all of the above entity types * except PERSON_NAME and DATE.

*/ inline const Aws::Vector& GetEntityTypes() const{ return m_entityTypes; } /** *

Entity types to detect. Can be any of the following:

  • *

    USA_SSN

  • EMAIL

  • USA_ITIN

  • *

    USA_PASSPORT_NUMBER

  • PHONE_NUMBER

  • *

    USA_DRIVING_LICENSE

  • BANK_ACCOUNT

  • *

    CREDIT_CARD

  • IP_ADDRESS

  • MAC_ADDRESS

    *
  • USA_DEA_NUMBER

  • USA_HCPCS_CODE

  • *

    USA_NATIONAL_PROVIDER_IDENTIFIER

  • USA_NATIONAL_DRUG_CODE

    *
  • USA_HEALTH_INSURANCE_CLAIM_NUMBER

  • *

    USA_MEDICARE_BENEFICIARY_IDENTIFIER

  • USA_CPT_CODE

  • *
  • PERSON_NAME

  • DATE

The Entity type * group USA_ALL is also supported, and includes all of the above entity types * except PERSON_NAME and DATE.

*/ inline bool EntityTypesHasBeenSet() const { return m_entityTypesHasBeenSet; } /** *

Entity types to detect. Can be any of the following:

  • *

    USA_SSN

  • EMAIL

  • USA_ITIN

  • *

    USA_PASSPORT_NUMBER

  • PHONE_NUMBER

  • *

    USA_DRIVING_LICENSE

  • BANK_ACCOUNT

  • *

    CREDIT_CARD

  • IP_ADDRESS

  • MAC_ADDRESS

    *
  • USA_DEA_NUMBER

  • USA_HCPCS_CODE

  • *

    USA_NATIONAL_PROVIDER_IDENTIFIER

  • USA_NATIONAL_DRUG_CODE

    *
  • USA_HEALTH_INSURANCE_CLAIM_NUMBER

  • *

    USA_MEDICARE_BENEFICIARY_IDENTIFIER

  • USA_CPT_CODE

  • *
  • PERSON_NAME

  • DATE

The Entity type * group USA_ALL is also supported, and includes all of the above entity types * except PERSON_NAME and DATE.

*/ inline void SetEntityTypes(const Aws::Vector& value) { m_entityTypesHasBeenSet = true; m_entityTypes = value; } /** *

Entity types to detect. Can be any of the following:

  • *

    USA_SSN

  • EMAIL

  • USA_ITIN

  • *

    USA_PASSPORT_NUMBER

  • PHONE_NUMBER

  • *

    USA_DRIVING_LICENSE

  • BANK_ACCOUNT

  • *

    CREDIT_CARD

  • IP_ADDRESS

  • MAC_ADDRESS

    *
  • USA_DEA_NUMBER

  • USA_HCPCS_CODE

  • *

    USA_NATIONAL_PROVIDER_IDENTIFIER

  • USA_NATIONAL_DRUG_CODE

    *
  • USA_HEALTH_INSURANCE_CLAIM_NUMBER

  • *

    USA_MEDICARE_BENEFICIARY_IDENTIFIER

  • USA_CPT_CODE

  • *
  • PERSON_NAME

  • DATE

The Entity type * group USA_ALL is also supported, and includes all of the above entity types * except PERSON_NAME and DATE.

*/ inline void SetEntityTypes(Aws::Vector&& value) { m_entityTypesHasBeenSet = true; m_entityTypes = std::move(value); } /** *

Entity types to detect. Can be any of the following:

  • *

    USA_SSN

  • EMAIL

  • USA_ITIN

  • *

    USA_PASSPORT_NUMBER

  • PHONE_NUMBER

  • *

    USA_DRIVING_LICENSE

  • BANK_ACCOUNT

  • *

    CREDIT_CARD

  • IP_ADDRESS

  • MAC_ADDRESS

    *
  • USA_DEA_NUMBER

  • USA_HCPCS_CODE

  • *

    USA_NATIONAL_PROVIDER_IDENTIFIER

  • USA_NATIONAL_DRUG_CODE

    *
  • USA_HEALTH_INSURANCE_CLAIM_NUMBER

  • *

    USA_MEDICARE_BENEFICIARY_IDENTIFIER

  • USA_CPT_CODE

  • *
  • PERSON_NAME

  • DATE

The Entity type * group USA_ALL is also supported, and includes all of the above entity types * except PERSON_NAME and DATE.

*/ inline EntityDetectorConfiguration& WithEntityTypes(const Aws::Vector& value) { SetEntityTypes(value); return *this;} /** *

Entity types to detect. Can be any of the following:

  • *

    USA_SSN

  • EMAIL

  • USA_ITIN

  • *

    USA_PASSPORT_NUMBER

  • PHONE_NUMBER

  • *

    USA_DRIVING_LICENSE

  • BANK_ACCOUNT

  • *

    CREDIT_CARD

  • IP_ADDRESS

  • MAC_ADDRESS

    *
  • USA_DEA_NUMBER

  • USA_HCPCS_CODE

  • *

    USA_NATIONAL_PROVIDER_IDENTIFIER

  • USA_NATIONAL_DRUG_CODE

    *
  • USA_HEALTH_INSURANCE_CLAIM_NUMBER

  • *

    USA_MEDICARE_BENEFICIARY_IDENTIFIER

  • USA_CPT_CODE

  • *
  • PERSON_NAME

  • DATE

The Entity type * group USA_ALL is also supported, and includes all of the above entity types * except PERSON_NAME and DATE.

*/ inline EntityDetectorConfiguration& WithEntityTypes(Aws::Vector&& value) { SetEntityTypes(std::move(value)); return *this;} /** *

Entity types to detect. Can be any of the following:

  • *

    USA_SSN

  • EMAIL

  • USA_ITIN

  • *

    USA_PASSPORT_NUMBER

  • PHONE_NUMBER

  • *

    USA_DRIVING_LICENSE

  • BANK_ACCOUNT

  • *

    CREDIT_CARD

  • IP_ADDRESS

  • MAC_ADDRESS

    *
  • USA_DEA_NUMBER

  • USA_HCPCS_CODE

  • *

    USA_NATIONAL_PROVIDER_IDENTIFIER

  • USA_NATIONAL_DRUG_CODE

    *
  • USA_HEALTH_INSURANCE_CLAIM_NUMBER

  • *

    USA_MEDICARE_BENEFICIARY_IDENTIFIER

  • USA_CPT_CODE

  • *
  • PERSON_NAME

  • DATE

The Entity type * group USA_ALL is also supported, and includes all of the above entity types * except PERSON_NAME and DATE.

*/ inline EntityDetectorConfiguration& AddEntityTypes(const Aws::String& value) { m_entityTypesHasBeenSet = true; m_entityTypes.push_back(value); return *this; } /** *

Entity types to detect. Can be any of the following:

  • *

    USA_SSN

  • EMAIL

  • USA_ITIN

  • *

    USA_PASSPORT_NUMBER

  • PHONE_NUMBER

  • *

    USA_DRIVING_LICENSE

  • BANK_ACCOUNT

  • *

    CREDIT_CARD

  • IP_ADDRESS

  • MAC_ADDRESS

    *
  • USA_DEA_NUMBER

  • USA_HCPCS_CODE

  • *

    USA_NATIONAL_PROVIDER_IDENTIFIER

  • USA_NATIONAL_DRUG_CODE

    *
  • USA_HEALTH_INSURANCE_CLAIM_NUMBER

  • *

    USA_MEDICARE_BENEFICIARY_IDENTIFIER

  • USA_CPT_CODE

  • *
  • PERSON_NAME

  • DATE

The Entity type * group USA_ALL is also supported, and includes all of the above entity types * except PERSON_NAME and DATE.

*/ inline EntityDetectorConfiguration& AddEntityTypes(Aws::String&& value) { m_entityTypesHasBeenSet = true; m_entityTypes.push_back(std::move(value)); return *this; } /** *

Entity types to detect. Can be any of the following:

  • *

    USA_SSN

  • EMAIL

  • USA_ITIN

  • *

    USA_PASSPORT_NUMBER

  • PHONE_NUMBER

  • *

    USA_DRIVING_LICENSE

  • BANK_ACCOUNT

  • *

    CREDIT_CARD

  • IP_ADDRESS

  • MAC_ADDRESS

    *
  • USA_DEA_NUMBER

  • USA_HCPCS_CODE

  • *

    USA_NATIONAL_PROVIDER_IDENTIFIER

  • USA_NATIONAL_DRUG_CODE

    *
  • USA_HEALTH_INSURANCE_CLAIM_NUMBER

  • *

    USA_MEDICARE_BENEFICIARY_IDENTIFIER

  • USA_CPT_CODE

  • *
  • PERSON_NAME

  • DATE

The Entity type * group USA_ALL is also supported, and includes all of the above entity types * except PERSON_NAME and DATE.

*/ inline EntityDetectorConfiguration& AddEntityTypes(const char* value) { m_entityTypesHasBeenSet = true; m_entityTypes.push_back(value); return *this; } /** *

Configuration of statistics that are allowed to be run on columns that * contain detected entities. When undefined, no statistics will be computed on * columns that contain detected entities.

*/ inline const Aws::Vector& GetAllowedStatistics() const{ return m_allowedStatistics; } /** *

Configuration of statistics that are allowed to be run on columns that * contain detected entities. When undefined, no statistics will be computed on * columns that contain detected entities.

*/ inline bool AllowedStatisticsHasBeenSet() const { return m_allowedStatisticsHasBeenSet; } /** *

Configuration of statistics that are allowed to be run on columns that * contain detected entities. When undefined, no statistics will be computed on * columns that contain detected entities.

*/ inline void SetAllowedStatistics(const Aws::Vector& value) { m_allowedStatisticsHasBeenSet = true; m_allowedStatistics = value; } /** *

Configuration of statistics that are allowed to be run on columns that * contain detected entities. When undefined, no statistics will be computed on * columns that contain detected entities.

*/ inline void SetAllowedStatistics(Aws::Vector&& value) { m_allowedStatisticsHasBeenSet = true; m_allowedStatistics = std::move(value); } /** *

Configuration of statistics that are allowed to be run on columns that * contain detected entities. When undefined, no statistics will be computed on * columns that contain detected entities.

*/ inline EntityDetectorConfiguration& WithAllowedStatistics(const Aws::Vector& value) { SetAllowedStatistics(value); return *this;} /** *

Configuration of statistics that are allowed to be run on columns that * contain detected entities. When undefined, no statistics will be computed on * columns that contain detected entities.

*/ inline EntityDetectorConfiguration& WithAllowedStatistics(Aws::Vector&& value) { SetAllowedStatistics(std::move(value)); return *this;} /** *

Configuration of statistics that are allowed to be run on columns that * contain detected entities. When undefined, no statistics will be computed on * columns that contain detected entities.

*/ inline EntityDetectorConfiguration& AddAllowedStatistics(const AllowedStatistics& value) { m_allowedStatisticsHasBeenSet = true; m_allowedStatistics.push_back(value); return *this; } /** *

Configuration of statistics that are allowed to be run on columns that * contain detected entities. When undefined, no statistics will be computed on * columns that contain detected entities.

*/ inline EntityDetectorConfiguration& AddAllowedStatistics(AllowedStatistics&& value) { m_allowedStatisticsHasBeenSet = true; m_allowedStatistics.push_back(std::move(value)); return *this; } private: Aws::Vector m_entityTypes; bool m_entityTypesHasBeenSet = false; Aws::Vector m_allowedStatistics; bool m_allowedStatisticsHasBeenSet = false; }; } // namespace Model } // namespace GlueDataBrew } // namespace Aws