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

Provides information about a sensitive data finding, including the * classification job that produced the finding.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the file that contains the detailed record, * including offsets, for the finding.

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

The Amazon Resource Name (ARN) of the file that contains the detailed record, * including offsets, for the finding.

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

The Amazon Resource Name (ARN) of the file that contains the detailed record, * including offsets, for the finding.

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

The Amazon Resource Name (ARN) of the file that contains the detailed record, * including offsets, for the finding.

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

The Amazon Resource Name (ARN) of the file that contains the detailed record, * including offsets, for the finding.

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

The Amazon Resource Name (ARN) of the file that contains the detailed record, * including offsets, for the finding.

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

The Amazon Resource Name (ARN) of the file that contains the detailed record, * including offsets, for the finding.

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

The Amazon Resource Name (ARN) of the file that contains the detailed record, * including offsets, for the finding.

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

The Amazon Resource Name (ARN) of the classification job that produced the * finding.

*/ inline const Aws::String& GetJobArn() const{ return m_jobArn; } /** *

The Amazon Resource Name (ARN) of the classification job that produced the * finding.

*/ inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the classification job that produced the * finding.

*/ inline void SetJobArn(const Aws::String& value) { m_jobArnHasBeenSet = true; m_jobArn = value; } /** *

The Amazon Resource Name (ARN) of the classification job that produced the * finding.

*/ inline void SetJobArn(Aws::String&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the classification job that produced the * finding.

*/ inline void SetJobArn(const char* value) { m_jobArnHasBeenSet = true; m_jobArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the classification job that produced the * finding.

*/ inline ClassificationDetails& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the classification job that produced the * finding.

*/ inline ClassificationDetails& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the classification job that produced the * finding.

*/ inline ClassificationDetails& WithJobArn(const char* value) { SetJobArn(value); return *this;} /** *

The unique identifier for the classification job that produced the * finding.

*/ inline const Aws::String& GetJobId() const{ return m_jobId; } /** *

The unique identifier for the classification job that produced the * finding.

*/ inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } /** *

The unique identifier for the classification job that produced the * finding.

*/ inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } /** *

The unique identifier for the classification job that produced the * finding.

*/ inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } /** *

The unique identifier for the classification job that produced the * finding.

*/ inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } /** *

The unique identifier for the classification job that produced the * finding.

*/ inline ClassificationDetails& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} /** *

The unique identifier for the classification job that produced the * finding.

*/ inline ClassificationDetails& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} /** *

The unique identifier for the classification job that produced the * finding.

*/ inline ClassificationDetails& WithJobId(const char* value) { SetJobId(value); return *this;} /** *

The status and detailed results of the finding.

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

The status and detailed results of the finding.

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

The status and detailed results of the finding.

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

The status and detailed results of the finding.

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

The status and detailed results of the finding.

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

The status and detailed results of the finding.

*/ inline ClassificationDetails& WithResult(ClassificationResult&& value) { SetResult(std::move(value)); return *this;} private: Aws::String m_detailedResultsLocation; bool m_detailedResultsLocationHasBeenSet; Aws::String m_jobArn; bool m_jobArnHasBeenSet; Aws::String m_jobId; bool m_jobIdHasBeenSet; ClassificationResult m_result; bool m_resultHasBeenSet; }; } // namespace Model } // namespace Macie2 } // namespace Aws