/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides details about a security control for which a response couldn't be
* returned. See Also:
AWS
* API Reference
The control (identified with SecurityControlId
,
* SecurityControlArn
, or a mix of both parameters) for which a
* response couldn't be returned.
The control (identified with SecurityControlId
,
* SecurityControlArn
, or a mix of both parameters) for which a
* response couldn't be returned.
The control (identified with SecurityControlId
,
* SecurityControlArn
, or a mix of both parameters) for which a
* response couldn't be returned.
The control (identified with SecurityControlId
,
* SecurityControlArn
, or a mix of both parameters) for which a
* response couldn't be returned.
The control (identified with SecurityControlId
,
* SecurityControlArn
, or a mix of both parameters) for which a
* response couldn't be returned.
The control (identified with SecurityControlId
,
* SecurityControlArn
, or a mix of both parameters) for which a
* response couldn't be returned.
The control (identified with SecurityControlId
,
* SecurityControlArn
, or a mix of both parameters) for which a
* response couldn't be returned.
The control (identified with SecurityControlId
,
* SecurityControlArn
, or a mix of both parameters) for which a
* response couldn't be returned.
The error code for the unprocessed security control.
*/ inline const UnprocessedErrorCode& GetErrorCode() const{ return m_errorCode; } /** *The error code for the unprocessed security control.
*/ inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; } /** *The error code for the unprocessed security control.
*/ inline void SetErrorCode(const UnprocessedErrorCode& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; } /** *The error code for the unprocessed security control.
*/ inline void SetErrorCode(UnprocessedErrorCode&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); } /** *The error code for the unprocessed security control.
*/ inline UnprocessedSecurityControl& WithErrorCode(const UnprocessedErrorCode& value) { SetErrorCode(value); return *this;} /** *The error code for the unprocessed security control.
*/ inline UnprocessedSecurityControl& WithErrorCode(UnprocessedErrorCode&& value) { SetErrorCode(std::move(value)); return *this;} /** *The reason why the security control was unprocessed.
*/ inline const Aws::String& GetErrorReason() const{ return m_errorReason; } /** *The reason why the security control was unprocessed.
*/ inline bool ErrorReasonHasBeenSet() const { return m_errorReasonHasBeenSet; } /** *The reason why the security control was unprocessed.
*/ inline void SetErrorReason(const Aws::String& value) { m_errorReasonHasBeenSet = true; m_errorReason = value; } /** *The reason why the security control was unprocessed.
*/ inline void SetErrorReason(Aws::String&& value) { m_errorReasonHasBeenSet = true; m_errorReason = std::move(value); } /** *The reason why the security control was unprocessed.
*/ inline void SetErrorReason(const char* value) { m_errorReasonHasBeenSet = true; m_errorReason.assign(value); } /** *The reason why the security control was unprocessed.
*/ inline UnprocessedSecurityControl& WithErrorReason(const Aws::String& value) { SetErrorReason(value); return *this;} /** *The reason why the security control was unprocessed.
*/ inline UnprocessedSecurityControl& WithErrorReason(Aws::String&& value) { SetErrorReason(std::move(value)); return *this;} /** *The reason why the security control was unprocessed.
*/ inline UnprocessedSecurityControl& WithErrorReason(const char* value) { SetErrorReason(value); return *this;} private: Aws::String m_securityControlId; bool m_securityControlIdHasBeenSet = false; UnprocessedErrorCode m_errorCode; bool m_errorCodeHasBeenSet = false; Aws::String m_errorReason; bool m_errorReasonHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws