/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Macie2 { namespace Model { /** */ class UpdateSensitivityInspectionTemplateRequest : public Macie2Request { public: AWS_MACIE2_API UpdateSensitivityInspectionTemplateRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateSensitivityInspectionTemplate"; } AWS_MACIE2_API Aws::String SerializePayload() const override; /** *

A custom description of the template. The description can contain as many as * 200 characters.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A custom description of the template. The description can contain as many as * 200 characters.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A custom description of the template. The description can contain as many as * 200 characters.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A custom description of the template. The description can contain as many as * 200 characters.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A custom description of the template. The description can contain as many as * 200 characters.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A custom description of the template. The description can contain as many as * 200 characters.

*/ inline UpdateSensitivityInspectionTemplateRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A custom description of the template. The description can contain as many as * 200 characters.

*/ inline UpdateSensitivityInspectionTemplateRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A custom description of the template. The description can contain as many as * 200 characters.

*/ inline UpdateSensitivityInspectionTemplateRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The managed data identifiers to explicitly exclude (not use) when analyzing * data.

To exclude an allow list or custom data identifier that's currently * included by the template, update the values for the * SensitivityInspectionTemplateIncludes.allowListIds and * SensitivityInspectionTemplateIncludes.customDataIdentifierIds properties, * respectively.

*/ inline const SensitivityInspectionTemplateExcludes& GetExcludes() const{ return m_excludes; } /** *

The managed data identifiers to explicitly exclude (not use) when analyzing * data.

To exclude an allow list or custom data identifier that's currently * included by the template, update the values for the * SensitivityInspectionTemplateIncludes.allowListIds and * SensitivityInspectionTemplateIncludes.customDataIdentifierIds properties, * respectively.

*/ inline bool ExcludesHasBeenSet() const { return m_excludesHasBeenSet; } /** *

The managed data identifiers to explicitly exclude (not use) when analyzing * data.

To exclude an allow list or custom data identifier that's currently * included by the template, update the values for the * SensitivityInspectionTemplateIncludes.allowListIds and * SensitivityInspectionTemplateIncludes.customDataIdentifierIds properties, * respectively.

*/ inline void SetExcludes(const SensitivityInspectionTemplateExcludes& value) { m_excludesHasBeenSet = true; m_excludes = value; } /** *

The managed data identifiers to explicitly exclude (not use) when analyzing * data.

To exclude an allow list or custom data identifier that's currently * included by the template, update the values for the * SensitivityInspectionTemplateIncludes.allowListIds and * SensitivityInspectionTemplateIncludes.customDataIdentifierIds properties, * respectively.

*/ inline void SetExcludes(SensitivityInspectionTemplateExcludes&& value) { m_excludesHasBeenSet = true; m_excludes = std::move(value); } /** *

The managed data identifiers to explicitly exclude (not use) when analyzing * data.

To exclude an allow list or custom data identifier that's currently * included by the template, update the values for the * SensitivityInspectionTemplateIncludes.allowListIds and * SensitivityInspectionTemplateIncludes.customDataIdentifierIds properties, * respectively.

*/ inline UpdateSensitivityInspectionTemplateRequest& WithExcludes(const SensitivityInspectionTemplateExcludes& value) { SetExcludes(value); return *this;} /** *

The managed data identifiers to explicitly exclude (not use) when analyzing * data.

To exclude an allow list or custom data identifier that's currently * included by the template, update the values for the * SensitivityInspectionTemplateIncludes.allowListIds and * SensitivityInspectionTemplateIncludes.customDataIdentifierIds properties, * respectively.

*/ inline UpdateSensitivityInspectionTemplateRequest& WithExcludes(SensitivityInspectionTemplateExcludes&& value) { SetExcludes(std::move(value)); return *this;} /** *

The unique identifier for the Amazon Macie resource that the request applies * to.

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

The unique identifier for the Amazon Macie resource that the request applies * to.

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

The unique identifier for the Amazon Macie resource that the request applies * to.

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

The unique identifier for the Amazon Macie resource that the request applies * to.

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

The unique identifier for the Amazon Macie resource that the request applies * to.

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

The unique identifier for the Amazon Macie resource that the request applies * to.

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

The unique identifier for the Amazon Macie resource that the request applies * to.

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

The unique identifier for the Amazon Macie resource that the request applies * to.

*/ inline UpdateSensitivityInspectionTemplateRequest& WithId(const char* value) { SetId(value); return *this;} /** *

The allow lists, custom data identifiers, and managed data identifiers to * include (use) when analyzing data.

*/ inline const SensitivityInspectionTemplateIncludes& GetIncludes() const{ return m_includes; } /** *

The allow lists, custom data identifiers, and managed data identifiers to * include (use) when analyzing data.

*/ inline bool IncludesHasBeenSet() const { return m_includesHasBeenSet; } /** *

The allow lists, custom data identifiers, and managed data identifiers to * include (use) when analyzing data.

*/ inline void SetIncludes(const SensitivityInspectionTemplateIncludes& value) { m_includesHasBeenSet = true; m_includes = value; } /** *

The allow lists, custom data identifiers, and managed data identifiers to * include (use) when analyzing data.

*/ inline void SetIncludes(SensitivityInspectionTemplateIncludes&& value) { m_includesHasBeenSet = true; m_includes = std::move(value); } /** *

The allow lists, custom data identifiers, and managed data identifiers to * include (use) when analyzing data.

*/ inline UpdateSensitivityInspectionTemplateRequest& WithIncludes(const SensitivityInspectionTemplateIncludes& value) { SetIncludes(value); return *this;} /** *

The allow lists, custom data identifiers, and managed data identifiers to * include (use) when analyzing data.

*/ inline UpdateSensitivityInspectionTemplateRequest& WithIncludes(SensitivityInspectionTemplateIncludes&& value) { SetIncludes(std::move(value)); return *this;} private: Aws::String m_description; bool m_descriptionHasBeenSet = false; SensitivityInspectionTemplateExcludes m_excludes; bool m_excludesHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; SensitivityInspectionTemplateIncludes m_includes; bool m_includesHasBeenSet = false; }; } // namespace Model } // namespace Macie2 } // namespace Aws