/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Macie2 { namespace Model { class GetSensitivityInspectionTemplateResult { public: AWS_MACIE2_API GetSensitivityInspectionTemplateResult(); AWS_MACIE2_API GetSensitivityInspectionTemplateResult(const Aws::AmazonWebServiceResult& result); AWS_MACIE2_API GetSensitivityInspectionTemplateResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The custom description of the template.

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

The custom description of the template.

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

The custom description of the template.

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

The custom description of the template.

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

The custom description of the template.

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

The custom description of the template.

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

The custom description of the template.

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

The managed data identifiers that are explicitly excluded (not used) when * analyzing data.

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

The managed data identifiers that are explicitly excluded (not used) when * analyzing data.

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

The managed data identifiers that are explicitly excluded (not used) when * analyzing data.

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

The managed data identifiers that are explicitly excluded (not used) when * analyzing data.

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

The managed data identifiers that are explicitly excluded (not used) when * analyzing data.

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

The allow lists, custom data identifiers, and managed data identifiers that * are included (used) when analyzing data.

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

The allow lists, custom data identifiers, and managed data identifiers that * are included (used) when analyzing data.

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

The allow lists, custom data identifiers, and managed data identifiers that * are included (used) when analyzing data.

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

The allow lists, custom data identifiers, and managed data identifiers that * are included (used) when analyzing data.

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

The allow lists, custom data identifiers, and managed data identifiers that * are included (used) when analyzing data.

*/ inline GetSensitivityInspectionTemplateResult& WithIncludes(SensitivityInspectionTemplateIncludes&& value) { SetIncludes(std::move(value)); return *this;} /** *

The name of the template: automated-sensitive-data-discovery.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the template: automated-sensitive-data-discovery.

*/ inline void SetName(const Aws::String& value) { m_name = value; } /** *

The name of the template: automated-sensitive-data-discovery.

*/ inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** *

The name of the template: automated-sensitive-data-discovery.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The name of the template: automated-sensitive-data-discovery.

*/ inline GetSensitivityInspectionTemplateResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the template: automated-sensitive-data-discovery.

*/ inline GetSensitivityInspectionTemplateResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the template: automated-sensitive-data-discovery.

*/ inline GetSensitivityInspectionTemplateResult& WithName(const char* value) { SetName(value); return *this;} /** *

The unique identifier for the template.

*/ inline const Aws::String& GetSensitivityInspectionTemplateId() const{ return m_sensitivityInspectionTemplateId; } /** *

The unique identifier for the template.

*/ inline void SetSensitivityInspectionTemplateId(const Aws::String& value) { m_sensitivityInspectionTemplateId = value; } /** *

The unique identifier for the template.

*/ inline void SetSensitivityInspectionTemplateId(Aws::String&& value) { m_sensitivityInspectionTemplateId = std::move(value); } /** *

The unique identifier for the template.

*/ inline void SetSensitivityInspectionTemplateId(const char* value) { m_sensitivityInspectionTemplateId.assign(value); } /** *

The unique identifier for the template.

*/ inline GetSensitivityInspectionTemplateResult& WithSensitivityInspectionTemplateId(const Aws::String& value) { SetSensitivityInspectionTemplateId(value); return *this;} /** *

The unique identifier for the template.

*/ inline GetSensitivityInspectionTemplateResult& WithSensitivityInspectionTemplateId(Aws::String&& value) { SetSensitivityInspectionTemplateId(std::move(value)); return *this;} /** *

The unique identifier for the template.

*/ inline GetSensitivityInspectionTemplateResult& WithSensitivityInspectionTemplateId(const char* value) { SetSensitivityInspectionTemplateId(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetSensitivityInspectionTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetSensitivityInspectionTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetSensitivityInspectionTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_description; SensitivityInspectionTemplateExcludes m_excludes; SensitivityInspectionTemplateIncludes m_includes; Aws::String m_name; Aws::String m_sensitivityInspectionTemplateId; Aws::String m_requestId; }; } // namespace Model } // namespace Macie2 } // namespace Aws