/** * 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 { /** *

Specifies the allow lists, custom data identifiers, and managed data * identifiers to include (use) when performing automated sensitive data discovery * for an Amazon Macie account. The configuration must specify at least one custom * data identifier or managed data identifier. For information about the managed * data identifiers that Amazon Macie currently provides, see Using * managed data identifiers in the Amazon Macie User * Guide.

See Also:

AWS * API Reference

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

An array of unique identifiers, one for each allow list to include.

*/ inline const Aws::Vector& GetAllowListIds() const{ return m_allowListIds; } /** *

An array of unique identifiers, one for each allow list to include.

*/ inline bool AllowListIdsHasBeenSet() const { return m_allowListIdsHasBeenSet; } /** *

An array of unique identifiers, one for each allow list to include.

*/ inline void SetAllowListIds(const Aws::Vector& value) { m_allowListIdsHasBeenSet = true; m_allowListIds = value; } /** *

An array of unique identifiers, one for each allow list to include.

*/ inline void SetAllowListIds(Aws::Vector&& value) { m_allowListIdsHasBeenSet = true; m_allowListIds = std::move(value); } /** *

An array of unique identifiers, one for each allow list to include.

*/ inline SensitivityInspectionTemplateIncludes& WithAllowListIds(const Aws::Vector& value) { SetAllowListIds(value); return *this;} /** *

An array of unique identifiers, one for each allow list to include.

*/ inline SensitivityInspectionTemplateIncludes& WithAllowListIds(Aws::Vector&& value) { SetAllowListIds(std::move(value)); return *this;} /** *

An array of unique identifiers, one for each allow list to include.

*/ inline SensitivityInspectionTemplateIncludes& AddAllowListIds(const Aws::String& value) { m_allowListIdsHasBeenSet = true; m_allowListIds.push_back(value); return *this; } /** *

An array of unique identifiers, one for each allow list to include.

*/ inline SensitivityInspectionTemplateIncludes& AddAllowListIds(Aws::String&& value) { m_allowListIdsHasBeenSet = true; m_allowListIds.push_back(std::move(value)); return *this; } /** *

An array of unique identifiers, one for each allow list to include.

*/ inline SensitivityInspectionTemplateIncludes& AddAllowListIds(const char* value) { m_allowListIdsHasBeenSet = true; m_allowListIds.push_back(value); return *this; } /** *

An array of unique identifiers, one for each custom data identifier to * include.

*/ inline const Aws::Vector& GetCustomDataIdentifierIds() const{ return m_customDataIdentifierIds; } /** *

An array of unique identifiers, one for each custom data identifier to * include.

*/ inline bool CustomDataIdentifierIdsHasBeenSet() const { return m_customDataIdentifierIdsHasBeenSet; } /** *

An array of unique identifiers, one for each custom data identifier to * include.

*/ inline void SetCustomDataIdentifierIds(const Aws::Vector& value) { m_customDataIdentifierIdsHasBeenSet = true; m_customDataIdentifierIds = value; } /** *

An array of unique identifiers, one for each custom data identifier to * include.

*/ inline void SetCustomDataIdentifierIds(Aws::Vector&& value) { m_customDataIdentifierIdsHasBeenSet = true; m_customDataIdentifierIds = std::move(value); } /** *

An array of unique identifiers, one for each custom data identifier to * include.

*/ inline SensitivityInspectionTemplateIncludes& WithCustomDataIdentifierIds(const Aws::Vector& value) { SetCustomDataIdentifierIds(value); return *this;} /** *

An array of unique identifiers, one for each custom data identifier to * include.

*/ inline SensitivityInspectionTemplateIncludes& WithCustomDataIdentifierIds(Aws::Vector&& value) { SetCustomDataIdentifierIds(std::move(value)); return *this;} /** *

An array of unique identifiers, one for each custom data identifier to * include.

*/ inline SensitivityInspectionTemplateIncludes& AddCustomDataIdentifierIds(const Aws::String& value) { m_customDataIdentifierIdsHasBeenSet = true; m_customDataIdentifierIds.push_back(value); return *this; } /** *

An array of unique identifiers, one for each custom data identifier to * include.

*/ inline SensitivityInspectionTemplateIncludes& AddCustomDataIdentifierIds(Aws::String&& value) { m_customDataIdentifierIdsHasBeenSet = true; m_customDataIdentifierIds.push_back(std::move(value)); return *this; } /** *

An array of unique identifiers, one for each custom data identifier to * include.

*/ inline SensitivityInspectionTemplateIncludes& AddCustomDataIdentifierIds(const char* value) { m_customDataIdentifierIdsHasBeenSet = true; m_customDataIdentifierIds.push_back(value); return *this; } /** *

An array of unique identifiers, one for each managed data identifier to * include.

Amazon Macie uses these managed data identifiers in addition to * managed data identifiers that are subsequently released and recommended for * automated sensitive data discovery. To retrieve a list of valid values for the * managed data identifiers that are currently available, use the * ListManagedDataIdentifiers operation.

*/ inline const Aws::Vector& GetManagedDataIdentifierIds() const{ return m_managedDataIdentifierIds; } /** *

An array of unique identifiers, one for each managed data identifier to * include.

Amazon Macie uses these managed data identifiers in addition to * managed data identifiers that are subsequently released and recommended for * automated sensitive data discovery. To retrieve a list of valid values for the * managed data identifiers that are currently available, use the * ListManagedDataIdentifiers operation.

*/ inline bool ManagedDataIdentifierIdsHasBeenSet() const { return m_managedDataIdentifierIdsHasBeenSet; } /** *

An array of unique identifiers, one for each managed data identifier to * include.

Amazon Macie uses these managed data identifiers in addition to * managed data identifiers that are subsequently released and recommended for * automated sensitive data discovery. To retrieve a list of valid values for the * managed data identifiers that are currently available, use the * ListManagedDataIdentifiers operation.

*/ inline void SetManagedDataIdentifierIds(const Aws::Vector& value) { m_managedDataIdentifierIdsHasBeenSet = true; m_managedDataIdentifierIds = value; } /** *

An array of unique identifiers, one for each managed data identifier to * include.

Amazon Macie uses these managed data identifiers in addition to * managed data identifiers that are subsequently released and recommended for * automated sensitive data discovery. To retrieve a list of valid values for the * managed data identifiers that are currently available, use the * ListManagedDataIdentifiers operation.

*/ inline void SetManagedDataIdentifierIds(Aws::Vector&& value) { m_managedDataIdentifierIdsHasBeenSet = true; m_managedDataIdentifierIds = std::move(value); } /** *

An array of unique identifiers, one for each managed data identifier to * include.

Amazon Macie uses these managed data identifiers in addition to * managed data identifiers that are subsequently released and recommended for * automated sensitive data discovery. To retrieve a list of valid values for the * managed data identifiers that are currently available, use the * ListManagedDataIdentifiers operation.

*/ inline SensitivityInspectionTemplateIncludes& WithManagedDataIdentifierIds(const Aws::Vector& value) { SetManagedDataIdentifierIds(value); return *this;} /** *

An array of unique identifiers, one for each managed data identifier to * include.

Amazon Macie uses these managed data identifiers in addition to * managed data identifiers that are subsequently released and recommended for * automated sensitive data discovery. To retrieve a list of valid values for the * managed data identifiers that are currently available, use the * ListManagedDataIdentifiers operation.

*/ inline SensitivityInspectionTemplateIncludes& WithManagedDataIdentifierIds(Aws::Vector&& value) { SetManagedDataIdentifierIds(std::move(value)); return *this;} /** *

An array of unique identifiers, one for each managed data identifier to * include.

Amazon Macie uses these managed data identifiers in addition to * managed data identifiers that are subsequently released and recommended for * automated sensitive data discovery. To retrieve a list of valid values for the * managed data identifiers that are currently available, use the * ListManagedDataIdentifiers operation.

*/ inline SensitivityInspectionTemplateIncludes& AddManagedDataIdentifierIds(const Aws::String& value) { m_managedDataIdentifierIdsHasBeenSet = true; m_managedDataIdentifierIds.push_back(value); return *this; } /** *

An array of unique identifiers, one for each managed data identifier to * include.

Amazon Macie uses these managed data identifiers in addition to * managed data identifiers that are subsequently released and recommended for * automated sensitive data discovery. To retrieve a list of valid values for the * managed data identifiers that are currently available, use the * ListManagedDataIdentifiers operation.

*/ inline SensitivityInspectionTemplateIncludes& AddManagedDataIdentifierIds(Aws::String&& value) { m_managedDataIdentifierIdsHasBeenSet = true; m_managedDataIdentifierIds.push_back(std::move(value)); return *this; } /** *

An array of unique identifiers, one for each managed data identifier to * include.

Amazon Macie uses these managed data identifiers in addition to * managed data identifiers that are subsequently released and recommended for * automated sensitive data discovery. To retrieve a list of valid values for the * managed data identifiers that are currently available, use the * ListManagedDataIdentifiers operation.

*/ inline SensitivityInspectionTemplateIncludes& AddManagedDataIdentifierIds(const char* value) { m_managedDataIdentifierIdsHasBeenSet = true; m_managedDataIdentifierIds.push_back(value); return *this; } private: Aws::Vector m_allowListIds; bool m_allowListIdsHasBeenSet = false; Aws::Vector m_customDataIdentifierIds; bool m_customDataIdentifierIdsHasBeenSet = false; Aws::Vector m_managedDataIdentifierIds; bool m_managedDataIdentifierIdsHasBeenSet = false; }; } // namespace Model } // namespace Macie2 } // namespace Aws