/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides details about which control's enablement status couldn't be
* retrieved in a specified standard when calling BatchUpdateStandardsControlAssociations.
* This parameter also provides details about why the request was unprocessed.
* See Also:
AWS
* API Reference
An array with one or more objects that includes a security control
* (identified with SecurityControlId
,
* SecurityControlArn
, or a mix of both parameters) and the Amazon
* Resource Name (ARN) of a standard. This parameter shows the specific controls
* for which the enablement status couldn't be retrieved in specified standards
* when calling BatchUpdateStandardsControlAssociations.
*
An array with one or more objects that includes a security control
* (identified with SecurityControlId
,
* SecurityControlArn
, or a mix of both parameters) and the Amazon
* Resource Name (ARN) of a standard. This parameter shows the specific controls
* for which the enablement status couldn't be retrieved in specified standards
* when calling BatchUpdateStandardsControlAssociations.
*
An array with one or more objects that includes a security control
* (identified with SecurityControlId
,
* SecurityControlArn
, or a mix of both parameters) and the Amazon
* Resource Name (ARN) of a standard. This parameter shows the specific controls
* for which the enablement status couldn't be retrieved in specified standards
* when calling BatchUpdateStandardsControlAssociations.
*
An array with one or more objects that includes a security control
* (identified with SecurityControlId
,
* SecurityControlArn
, or a mix of both parameters) and the Amazon
* Resource Name (ARN) of a standard. This parameter shows the specific controls
* for which the enablement status couldn't be retrieved in specified standards
* when calling BatchUpdateStandardsControlAssociations.
*
An array with one or more objects that includes a security control
* (identified with SecurityControlId
,
* SecurityControlArn
, or a mix of both parameters) and the Amazon
* Resource Name (ARN) of a standard. This parameter shows the specific controls
* for which the enablement status couldn't be retrieved in specified standards
* when calling BatchUpdateStandardsControlAssociations.
*
An array with one or more objects that includes a security control
* (identified with SecurityControlId
,
* SecurityControlArn
, or a mix of both parameters) and the Amazon
* Resource Name (ARN) of a standard. This parameter shows the specific controls
* for which the enablement status couldn't be retrieved in specified standards
* when calling BatchUpdateStandardsControlAssociations.
*
The error code for the unprocessed standard and control association.
*/ inline const UnprocessedErrorCode& GetErrorCode() const{ return m_errorCode; } /** *The error code for the unprocessed standard and control association.
*/ inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; } /** *The error code for the unprocessed standard and control association.
*/ inline void SetErrorCode(const UnprocessedErrorCode& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; } /** *The error code for the unprocessed standard and control association.
*/ inline void SetErrorCode(UnprocessedErrorCode&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); } /** *The error code for the unprocessed standard and control association.
*/ inline UnprocessedStandardsControlAssociation& WithErrorCode(const UnprocessedErrorCode& value) { SetErrorCode(value); return *this;} /** *The error code for the unprocessed standard and control association.
*/ inline UnprocessedStandardsControlAssociation& WithErrorCode(UnprocessedErrorCode&& value) { SetErrorCode(std::move(value)); return *this;} /** *The reason why the standard and control association was unprocessed.
*/ inline const Aws::String& GetErrorReason() const{ return m_errorReason; } /** *The reason why the standard and control association was unprocessed.
*/ inline bool ErrorReasonHasBeenSet() const { return m_errorReasonHasBeenSet; } /** *The reason why the standard and control association was unprocessed.
*/ inline void SetErrorReason(const Aws::String& value) { m_errorReasonHasBeenSet = true; m_errorReason = value; } /** *The reason why the standard and control association was unprocessed.
*/ inline void SetErrorReason(Aws::String&& value) { m_errorReasonHasBeenSet = true; m_errorReason = std::move(value); } /** *The reason why the standard and control association was unprocessed.
*/ inline void SetErrorReason(const char* value) { m_errorReasonHasBeenSet = true; m_errorReason.assign(value); } /** *The reason why the standard and control association was unprocessed.
*/ inline UnprocessedStandardsControlAssociation& WithErrorReason(const Aws::String& value) { SetErrorReason(value); return *this;} /** *The reason why the standard and control association was unprocessed.
*/ inline UnprocessedStandardsControlAssociation& WithErrorReason(Aws::String&& value) { SetErrorReason(std::move(value)); return *this;} /** *The reason why the standard and control association was unprocessed.
*/ inline UnprocessedStandardsControlAssociation& WithErrorReason(const char* value) { SetErrorReason(value); return *this;} private: StandardsControlAssociationId m_standardsControlAssociationId; bool m_standardsControlAssociationIdHasBeenSet = false; UnprocessedErrorCode m_errorCode; bool m_errorCodeHasBeenSet = false; Aws::String m_errorReason; bool m_errorReasonHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws