237 lines
8.0 KiB
C++
237 lines
8.0 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/macie2/Macie2_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <aws/macie2/model/ClassificationResult.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace Macie2
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>Provides information about a sensitive data finding, including the
|
|
* classification job that produced the finding.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ClassificationDetails">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
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;
|
|
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the file that contains the detailed record,
|
|
* including offsets, for the finding.</p>
|
|
*/
|
|
inline const Aws::String& GetDetailedResultsLocation() const{ return m_detailedResultsLocation; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the file that contains the detailed record,
|
|
* including offsets, for the finding.</p>
|
|
*/
|
|
inline bool DetailedResultsLocationHasBeenSet() const { return m_detailedResultsLocationHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the file that contains the detailed record,
|
|
* including offsets, for the finding.</p>
|
|
*/
|
|
inline void SetDetailedResultsLocation(const Aws::String& value) { m_detailedResultsLocationHasBeenSet = true; m_detailedResultsLocation = value; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the file that contains the detailed record,
|
|
* including offsets, for the finding.</p>
|
|
*/
|
|
inline void SetDetailedResultsLocation(Aws::String&& value) { m_detailedResultsLocationHasBeenSet = true; m_detailedResultsLocation = std::move(value); }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the file that contains the detailed record,
|
|
* including offsets, for the finding.</p>
|
|
*/
|
|
inline void SetDetailedResultsLocation(const char* value) { m_detailedResultsLocationHasBeenSet = true; m_detailedResultsLocation.assign(value); }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the file that contains the detailed record,
|
|
* including offsets, for the finding.</p>
|
|
*/
|
|
inline ClassificationDetails& WithDetailedResultsLocation(const Aws::String& value) { SetDetailedResultsLocation(value); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the file that contains the detailed record,
|
|
* including offsets, for the finding.</p>
|
|
*/
|
|
inline ClassificationDetails& WithDetailedResultsLocation(Aws::String&& value) { SetDetailedResultsLocation(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the file that contains the detailed record,
|
|
* including offsets, for the finding.</p>
|
|
*/
|
|
inline ClassificationDetails& WithDetailedResultsLocation(const char* value) { SetDetailedResultsLocation(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the classification job that produced the
|
|
* finding.</p>
|
|
*/
|
|
inline const Aws::String& GetJobArn() const{ return m_jobArn; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the classification job that produced the
|
|
* finding.</p>
|
|
*/
|
|
inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the classification job that produced the
|
|
* finding.</p>
|
|
*/
|
|
inline void SetJobArn(const Aws::String& value) { m_jobArnHasBeenSet = true; m_jobArn = value; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the classification job that produced the
|
|
* finding.</p>
|
|
*/
|
|
inline void SetJobArn(Aws::String&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::move(value); }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the classification job that produced the
|
|
* finding.</p>
|
|
*/
|
|
inline void SetJobArn(const char* value) { m_jobArnHasBeenSet = true; m_jobArn.assign(value); }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the classification job that produced the
|
|
* finding.</p>
|
|
*/
|
|
inline ClassificationDetails& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the classification job that produced the
|
|
* finding.</p>
|
|
*/
|
|
inline ClassificationDetails& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the classification job that produced the
|
|
* finding.</p>
|
|
*/
|
|
inline ClassificationDetails& WithJobArn(const char* value) { SetJobArn(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The unique identifier for the classification job that produced the
|
|
* finding.</p>
|
|
*/
|
|
inline const Aws::String& GetJobId() const{ return m_jobId; }
|
|
|
|
/**
|
|
* <p>The unique identifier for the classification job that produced the
|
|
* finding.</p>
|
|
*/
|
|
inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The unique identifier for the classification job that produced the
|
|
* finding.</p>
|
|
*/
|
|
inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
|
|
|
|
/**
|
|
* <p>The unique identifier for the classification job that produced the
|
|
* finding.</p>
|
|
*/
|
|
inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
|
|
|
|
/**
|
|
* <p>The unique identifier for the classification job that produced the
|
|
* finding.</p>
|
|
*/
|
|
inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
|
|
|
|
/**
|
|
* <p>The unique identifier for the classification job that produced the
|
|
* finding.</p>
|
|
*/
|
|
inline ClassificationDetails& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
|
|
|
|
/**
|
|
* <p>The unique identifier for the classification job that produced the
|
|
* finding.</p>
|
|
*/
|
|
inline ClassificationDetails& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The unique identifier for the classification job that produced the
|
|
* finding.</p>
|
|
*/
|
|
inline ClassificationDetails& WithJobId(const char* value) { SetJobId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The status and detailed results of the finding.</p>
|
|
*/
|
|
inline const ClassificationResult& GetResult() const{ return m_result; }
|
|
|
|
/**
|
|
* <p>The status and detailed results of the finding.</p>
|
|
*/
|
|
inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The status and detailed results of the finding.</p>
|
|
*/
|
|
inline void SetResult(const ClassificationResult& value) { m_resultHasBeenSet = true; m_result = value; }
|
|
|
|
/**
|
|
* <p>The status and detailed results of the finding.</p>
|
|
*/
|
|
inline void SetResult(ClassificationResult&& value) { m_resultHasBeenSet = true; m_result = std::move(value); }
|
|
|
|
/**
|
|
* <p>The status and detailed results of the finding.</p>
|
|
*/
|
|
inline ClassificationDetails& WithResult(const ClassificationResult& value) { SetResult(value); return *this;}
|
|
|
|
/**
|
|
* <p>The status and detailed results of the finding.</p>
|
|
*/
|
|
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
|