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

Provides details about the current status of the sensitive data * detection.

See Also:

AWS * API Reference

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

The code that represents the status of the sensitive data detection.

*/ inline const Aws::String& GetCode() const{ return m_code; } /** *

The code that represents the status of the sensitive data detection.

*/ inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; } /** *

The code that represents the status of the sensitive data detection.

*/ inline void SetCode(const Aws::String& value) { m_codeHasBeenSet = true; m_code = value; } /** *

The code that represents the status of the sensitive data detection.

*/ inline void SetCode(Aws::String&& value) { m_codeHasBeenSet = true; m_code = std::move(value); } /** *

The code that represents the status of the sensitive data detection.

*/ inline void SetCode(const char* value) { m_codeHasBeenSet = true; m_code.assign(value); } /** *

The code that represents the status of the sensitive data detection.

*/ inline ClassificationStatus& WithCode(const Aws::String& value) { SetCode(value); return *this;} /** *

The code that represents the status of the sensitive data detection.

*/ inline ClassificationStatus& WithCode(Aws::String&& value) { SetCode(std::move(value)); return *this;} /** *

The code that represents the status of the sensitive data detection.

*/ inline ClassificationStatus& WithCode(const char* value) { SetCode(value); return *this;} /** *

A longer description of the current status of the sensitive data * detection.

*/ inline const Aws::String& GetReason() const{ return m_reason; } /** *

A longer description of the current status of the sensitive data * detection.

*/ inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } /** *

A longer description of the current status of the sensitive data * detection.

*/ inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; } /** *

A longer description of the current status of the sensitive data * detection.

*/ inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } /** *

A longer description of the current status of the sensitive data * detection.

*/ inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); } /** *

A longer description of the current status of the sensitive data * detection.

*/ inline ClassificationStatus& WithReason(const Aws::String& value) { SetReason(value); return *this;} /** *

A longer description of the current status of the sensitive data * detection.

*/ inline ClassificationStatus& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;} /** *

A longer description of the current status of the sensitive data * detection.

*/ inline ClassificationStatus& WithReason(const char* value) { SetReason(value); return *this;} private: Aws::String m_code; bool m_codeHasBeenSet = false; Aws::String m_reason; bool m_reasonHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws