/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Macie2 { namespace Model { /** *

Provides information about an S3 object that Amazon Macie selected for * analysis while performing automated sensitive data discovery for an S3 bucket, * and the status and results of the analysis. This information is available only * if automated sensitive data discovery is currently enabled for your * account.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the object.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) of the object.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the object.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The Amazon Resource Name (ARN) of the object.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the object.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) of the object.

*/ inline ResourceProfileArtifact& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the object.

*/ inline ResourceProfileArtifact& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the object.

*/ inline ResourceProfileArtifact& WithArn(const char* value) { SetArn(value); return *this;} /** *

The status of the analysis. Possible values are:

  • COMPLETE - * Amazon Macie successfully completed its analysis of the object.

  • *
  • PARTIAL - Macie analyzed only a subset of data in the object. For * example, the object is an archive file that contains files in an unsupported * format.

  • SKIPPED - Macie wasn't able to analyze the object. For * example, the object is a malformed file.

*/ inline const Aws::String& GetClassificationResultStatus() const{ return m_classificationResultStatus; } /** *

The status of the analysis. Possible values are:

  • COMPLETE - * Amazon Macie successfully completed its analysis of the object.

  • *
  • PARTIAL - Macie analyzed only a subset of data in the object. For * example, the object is an archive file that contains files in an unsupported * format.

  • SKIPPED - Macie wasn't able to analyze the object. For * example, the object is a malformed file.

*/ inline bool ClassificationResultStatusHasBeenSet() const { return m_classificationResultStatusHasBeenSet; } /** *

The status of the analysis. Possible values are:

  • COMPLETE - * Amazon Macie successfully completed its analysis of the object.

  • *
  • PARTIAL - Macie analyzed only a subset of data in the object. For * example, the object is an archive file that contains files in an unsupported * format.

  • SKIPPED - Macie wasn't able to analyze the object. For * example, the object is a malformed file.

*/ inline void SetClassificationResultStatus(const Aws::String& value) { m_classificationResultStatusHasBeenSet = true; m_classificationResultStatus = value; } /** *

The status of the analysis. Possible values are:

  • COMPLETE - * Amazon Macie successfully completed its analysis of the object.

  • *
  • PARTIAL - Macie analyzed only a subset of data in the object. For * example, the object is an archive file that contains files in an unsupported * format.

  • SKIPPED - Macie wasn't able to analyze the object. For * example, the object is a malformed file.

*/ inline void SetClassificationResultStatus(Aws::String&& value) { m_classificationResultStatusHasBeenSet = true; m_classificationResultStatus = std::move(value); } /** *

The status of the analysis. Possible values are:

  • COMPLETE - * Amazon Macie successfully completed its analysis of the object.

  • *
  • PARTIAL - Macie analyzed only a subset of data in the object. For * example, the object is an archive file that contains files in an unsupported * format.

  • SKIPPED - Macie wasn't able to analyze the object. For * example, the object is a malformed file.

*/ inline void SetClassificationResultStatus(const char* value) { m_classificationResultStatusHasBeenSet = true; m_classificationResultStatus.assign(value); } /** *

The status of the analysis. Possible values are:

  • COMPLETE - * Amazon Macie successfully completed its analysis of the object.

  • *
  • PARTIAL - Macie analyzed only a subset of data in the object. For * example, the object is an archive file that contains files in an unsupported * format.

  • SKIPPED - Macie wasn't able to analyze the object. For * example, the object is a malformed file.

*/ inline ResourceProfileArtifact& WithClassificationResultStatus(const Aws::String& value) { SetClassificationResultStatus(value); return *this;} /** *

The status of the analysis. Possible values are:

  • COMPLETE - * Amazon Macie successfully completed its analysis of the object.

  • *
  • PARTIAL - Macie analyzed only a subset of data in the object. For * example, the object is an archive file that contains files in an unsupported * format.

  • SKIPPED - Macie wasn't able to analyze the object. For * example, the object is a malformed file.

*/ inline ResourceProfileArtifact& WithClassificationResultStatus(Aws::String&& value) { SetClassificationResultStatus(std::move(value)); return *this;} /** *

The status of the analysis. Possible values are:

  • COMPLETE - * Amazon Macie successfully completed its analysis of the object.

  • *
  • PARTIAL - Macie analyzed only a subset of data in the object. For * example, the object is an archive file that contains files in an unsupported * format.

  • SKIPPED - Macie wasn't able to analyze the object. For * example, the object is a malformed file.

*/ inline ResourceProfileArtifact& WithClassificationResultStatus(const char* value) { SetClassificationResultStatus(value); return *this;} /** *

Specifies whether Amazon Macie found sensitive data in the object.

*/ inline bool GetSensitive() const{ return m_sensitive; } /** *

Specifies whether Amazon Macie found sensitive data in the object.

*/ inline bool SensitiveHasBeenSet() const { return m_sensitiveHasBeenSet; } /** *

Specifies whether Amazon Macie found sensitive data in the object.

*/ inline void SetSensitive(bool value) { m_sensitiveHasBeenSet = true; m_sensitive = value; } /** *

Specifies whether Amazon Macie found sensitive data in the object.

*/ inline ResourceProfileArtifact& WithSensitive(bool value) { SetSensitive(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_classificationResultStatus; bool m_classificationResultStatusHasBeenSet = false; bool m_sensitive; bool m_sensitiveHasBeenSet = false; }; } // namespace Model } // namespace Macie2 } // namespace Aws