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

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

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

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. *

*/ inline const StandardsControlAssociationId& GetStandardsControlAssociationId() const{ return m_standardsControlAssociationId; } /** *

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. *

*/ inline bool StandardsControlAssociationIdHasBeenSet() const { return m_standardsControlAssociationIdHasBeenSet; } /** *

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. *

*/ inline void SetStandardsControlAssociationId(const StandardsControlAssociationId& value) { m_standardsControlAssociationIdHasBeenSet = true; m_standardsControlAssociationId = value; } /** *

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. *

*/ inline void SetStandardsControlAssociationId(StandardsControlAssociationId&& value) { m_standardsControlAssociationIdHasBeenSet = true; m_standardsControlAssociationId = std::move(value); } /** *

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. *

*/ inline UnprocessedStandardsControlAssociation& WithStandardsControlAssociationId(const StandardsControlAssociationId& value) { SetStandardsControlAssociationId(value); return *this;} /** *

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. *

*/ inline UnprocessedStandardsControlAssociation& WithStandardsControlAssociationId(StandardsControlAssociationId&& value) { SetStandardsControlAssociationId(std::move(value)); return *this;} /** *

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