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

An array of requested updates to the enablement status of controls in * specified standards. The objects in the array include a security control ID, the * Amazon Resource Name (ARN) of the standard, the requested enablement status, and * the reason for updating the enablement status.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the standard in which you want to update * the control's enablement status.

*/ inline const Aws::String& GetStandardsArn() const{ return m_standardsArn; } /** *

The Amazon Resource Name (ARN) of the standard in which you want to update * the control's enablement status.

*/ inline bool StandardsArnHasBeenSet() const { return m_standardsArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the standard in which you want to update * the control's enablement status.

*/ inline void SetStandardsArn(const Aws::String& value) { m_standardsArnHasBeenSet = true; m_standardsArn = value; } /** *

The Amazon Resource Name (ARN) of the standard in which you want to update * the control's enablement status.

*/ inline void SetStandardsArn(Aws::String&& value) { m_standardsArnHasBeenSet = true; m_standardsArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the standard in which you want to update * the control's enablement status.

*/ inline void SetStandardsArn(const char* value) { m_standardsArnHasBeenSet = true; m_standardsArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the standard in which you want to update * the control's enablement status.

*/ inline StandardsControlAssociationUpdate& WithStandardsArn(const Aws::String& value) { SetStandardsArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the standard in which you want to update * the control's enablement status.

*/ inline StandardsControlAssociationUpdate& WithStandardsArn(Aws::String&& value) { SetStandardsArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the standard in which you want to update * the control's enablement status.

*/ inline StandardsControlAssociationUpdate& WithStandardsArn(const char* value) { SetStandardsArn(value); return *this;} /** *

The unique identifier for the security control whose enablement status you * want to update.

*/ inline const Aws::String& GetSecurityControlId() const{ return m_securityControlId; } /** *

The unique identifier for the security control whose enablement status you * want to update.

*/ inline bool SecurityControlIdHasBeenSet() const { return m_securityControlIdHasBeenSet; } /** *

The unique identifier for the security control whose enablement status you * want to update.

*/ inline void SetSecurityControlId(const Aws::String& value) { m_securityControlIdHasBeenSet = true; m_securityControlId = value; } /** *

The unique identifier for the security control whose enablement status you * want to update.

*/ inline void SetSecurityControlId(Aws::String&& value) { m_securityControlIdHasBeenSet = true; m_securityControlId = std::move(value); } /** *

The unique identifier for the security control whose enablement status you * want to update.

*/ inline void SetSecurityControlId(const char* value) { m_securityControlIdHasBeenSet = true; m_securityControlId.assign(value); } /** *

The unique identifier for the security control whose enablement status you * want to update.

*/ inline StandardsControlAssociationUpdate& WithSecurityControlId(const Aws::String& value) { SetSecurityControlId(value); return *this;} /** *

The unique identifier for the security control whose enablement status you * want to update.

*/ inline StandardsControlAssociationUpdate& WithSecurityControlId(Aws::String&& value) { SetSecurityControlId(std::move(value)); return *this;} /** *

The unique identifier for the security control whose enablement status you * want to update.

*/ inline StandardsControlAssociationUpdate& WithSecurityControlId(const char* value) { SetSecurityControlId(value); return *this;} /** *

The desired enablement status of the control in the standard.

*/ inline const AssociationStatus& GetAssociationStatus() const{ return m_associationStatus; } /** *

The desired enablement status of the control in the standard.

*/ inline bool AssociationStatusHasBeenSet() const { return m_associationStatusHasBeenSet; } /** *

The desired enablement status of the control in the standard.

*/ inline void SetAssociationStatus(const AssociationStatus& value) { m_associationStatusHasBeenSet = true; m_associationStatus = value; } /** *

The desired enablement status of the control in the standard.

*/ inline void SetAssociationStatus(AssociationStatus&& value) { m_associationStatusHasBeenSet = true; m_associationStatus = std::move(value); } /** *

The desired enablement status of the control in the standard.

*/ inline StandardsControlAssociationUpdate& WithAssociationStatus(const AssociationStatus& value) { SetAssociationStatus(value); return *this;} /** *

The desired enablement status of the control in the standard.

*/ inline StandardsControlAssociationUpdate& WithAssociationStatus(AssociationStatus&& value) { SetAssociationStatus(std::move(value)); return *this;} /** *

The reason for updating the control's enablement status in the standard.

*/ inline const Aws::String& GetUpdatedReason() const{ return m_updatedReason; } /** *

The reason for updating the control's enablement status in the standard.

*/ inline bool UpdatedReasonHasBeenSet() const { return m_updatedReasonHasBeenSet; } /** *

The reason for updating the control's enablement status in the standard.

*/ inline void SetUpdatedReason(const Aws::String& value) { m_updatedReasonHasBeenSet = true; m_updatedReason = value; } /** *

The reason for updating the control's enablement status in the standard.

*/ inline void SetUpdatedReason(Aws::String&& value) { m_updatedReasonHasBeenSet = true; m_updatedReason = std::move(value); } /** *

The reason for updating the control's enablement status in the standard.

*/ inline void SetUpdatedReason(const char* value) { m_updatedReasonHasBeenSet = true; m_updatedReason.assign(value); } /** *

The reason for updating the control's enablement status in the standard.

*/ inline StandardsControlAssociationUpdate& WithUpdatedReason(const Aws::String& value) { SetUpdatedReason(value); return *this;} /** *

The reason for updating the control's enablement status in the standard.

*/ inline StandardsControlAssociationUpdate& WithUpdatedReason(Aws::String&& value) { SetUpdatedReason(std::move(value)); return *this;} /** *

The reason for updating the control's enablement status in the standard.

*/ inline StandardsControlAssociationUpdate& WithUpdatedReason(const char* value) { SetUpdatedReason(value); return *this;} private: Aws::String m_standardsArn; bool m_standardsArnHasBeenSet = false; Aws::String m_securityControlId; bool m_securityControlIdHasBeenSet = false; AssociationStatus m_associationStatus; bool m_associationStatusHasBeenSet = false; Aws::String m_updatedReason; bool m_updatedReasonHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws