/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information about the status of a sensitive data
* finding.See Also:
AWS
* API Reference
The status of the finding, such as COMPLETE.
*/ inline const Aws::String& GetCode() const{ return m_code; } /** *The status of the finding, such as COMPLETE.
*/ inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; } /** *The status of the finding, such as COMPLETE.
*/ inline void SetCode(const Aws::String& value) { m_codeHasBeenSet = true; m_code = value; } /** *The status of the finding, such as COMPLETE.
*/ inline void SetCode(Aws::String&& value) { m_codeHasBeenSet = true; m_code = std::move(value); } /** *The status of the finding, such as COMPLETE.
*/ inline void SetCode(const char* value) { m_codeHasBeenSet = true; m_code.assign(value); } /** *The status of the finding, such as COMPLETE.
*/ inline ClassificationResultStatus& WithCode(const Aws::String& value) { SetCode(value); return *this;} /** *The status of the finding, such as COMPLETE.
*/ inline ClassificationResultStatus& WithCode(Aws::String&& value) { SetCode(std::move(value)); return *this;} /** *The status of the finding, such as COMPLETE.
*/ inline ClassificationResultStatus& WithCode(const char* value) { SetCode(value); return *this;} /** *A brief description of the status of the finding. Amazon Macie uses this * value to notify you of any errors, warnings, or considerations that might impact * your analysis of the finding.
*/ inline const Aws::String& GetReason() const{ return m_reason; } /** *A brief description of the status of the finding. Amazon Macie uses this * value to notify you of any errors, warnings, or considerations that might impact * your analysis of the finding.
*/ inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } /** *A brief description of the status of the finding. Amazon Macie uses this * value to notify you of any errors, warnings, or considerations that might impact * your analysis of the finding.
*/ inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; } /** *A brief description of the status of the finding. Amazon Macie uses this * value to notify you of any errors, warnings, or considerations that might impact * your analysis of the finding.
*/ inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } /** *A brief description of the status of the finding. Amazon Macie uses this * value to notify you of any errors, warnings, or considerations that might impact * your analysis of the finding.
*/ inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); } /** *A brief description of the status of the finding. Amazon Macie uses this * value to notify you of any errors, warnings, or considerations that might impact * your analysis of the finding.
*/ inline ClassificationResultStatus& WithReason(const Aws::String& value) { SetReason(value); return *this;} /** *A brief description of the status of the finding. Amazon Macie uses this * value to notify you of any errors, warnings, or considerations that might impact * your analysis of the finding.
*/ inline ClassificationResultStatus& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;} /** *A brief description of the status of the finding. Amazon Macie uses this * value to notify you of any errors, warnings, or considerations that might impact * your analysis of the finding.
*/ inline ClassificationResultStatus& WithReason(const char* value) { SetReason(value); return *this;} private: Aws::String m_code; bool m_codeHasBeenSet; Aws::String m_reason; bool m_reasonHasBeenSet; }; } // namespace Model } // namespace Macie2 } // namespace Aws