/** * 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 SecurityHub { namespace Model { /** *

Provides details about sensitive data that was detected on a * resource.

See Also:

AWS * API Reference

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

The path to the folder or file that contains the sensitive data.

*/ inline const Aws::String& GetDetailedResultsLocation() const{ return m_detailedResultsLocation; } /** *

The path to the folder or file that contains the sensitive data.

*/ inline bool DetailedResultsLocationHasBeenSet() const { return m_detailedResultsLocationHasBeenSet; } /** *

The path to the folder or file that contains the sensitive data.

*/ inline void SetDetailedResultsLocation(const Aws::String& value) { m_detailedResultsLocationHasBeenSet = true; m_detailedResultsLocation = value; } /** *

The path to the folder or file that contains the sensitive data.

*/ inline void SetDetailedResultsLocation(Aws::String&& value) { m_detailedResultsLocationHasBeenSet = true; m_detailedResultsLocation = std::move(value); } /** *

The path to the folder or file that contains the sensitive data.

*/ inline void SetDetailedResultsLocation(const char* value) { m_detailedResultsLocationHasBeenSet = true; m_detailedResultsLocation.assign(value); } /** *

The path to the folder or file that contains the sensitive data.

*/ inline DataClassificationDetails& WithDetailedResultsLocation(const Aws::String& value) { SetDetailedResultsLocation(value); return *this;} /** *

The path to the folder or file that contains the sensitive data.

*/ inline DataClassificationDetails& WithDetailedResultsLocation(Aws::String&& value) { SetDetailedResultsLocation(std::move(value)); return *this;} /** *

The path to the folder or file that contains the sensitive data.

*/ inline DataClassificationDetails& WithDetailedResultsLocation(const char* value) { SetDetailedResultsLocation(value); return *this;} /** *

The details about the sensitive data that was detected on the resource.

*/ inline const ClassificationResult& GetResult() const{ return m_result; } /** *

The details about the sensitive data that was detected on the resource.

*/ inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; } /** *

The details about the sensitive data that was detected on the resource.

*/ inline void SetResult(const ClassificationResult& value) { m_resultHasBeenSet = true; m_result = value; } /** *

The details about the sensitive data that was detected on the resource.

*/ inline void SetResult(ClassificationResult&& value) { m_resultHasBeenSet = true; m_result = std::move(value); } /** *

The details about the sensitive data that was detected on the resource.

*/ inline DataClassificationDetails& WithResult(const ClassificationResult& value) { SetResult(value); return *this;} /** *

The details about the sensitive data that was detected on the resource.

*/ inline DataClassificationDetails& WithResult(ClassificationResult&& value) { SetResult(std::move(value)); return *this;} private: Aws::String m_detailedResultsLocation; bool m_detailedResultsLocationHasBeenSet = false; ClassificationResult m_result; bool m_resultHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws