/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #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 a control's enablement status in a specified * standard.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of a security standard.

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

The Amazon Resource Name (ARN) of a security standard.

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

The Amazon Resource Name (ARN) of a security standard.

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

The Amazon Resource Name (ARN) of a security standard.

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

The Amazon Resource Name (ARN) of a security standard.

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

The Amazon Resource Name (ARN) of a security standard.

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

The Amazon Resource Name (ARN) of a security standard.

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

The Amazon Resource Name (ARN) of a security standard.

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

The unique identifier of a security control across standards. Values for * this field typically consist of an Amazon Web Service name and a number, such as * APIGateway.3.

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

The unique identifier of a security control across standards. Values for * this field typically consist of an Amazon Web Service name and a number, such as * APIGateway.3.

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

The unique identifier of a security control across standards. Values for * this field typically consist of an Amazon Web Service name and a number, such as * APIGateway.3.

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

The unique identifier of a security control across standards. Values for * this field typically consist of an Amazon Web Service name and a number, such as * APIGateway.3.

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

The unique identifier of a security control across standards. Values for * this field typically consist of an Amazon Web Service name and a number, such as * APIGateway.3.

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

The unique identifier of a security control across standards. Values for * this field typically consist of an Amazon Web Service name and a number, such as * APIGateway.3.

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

The unique identifier of a security control across standards. Values for * this field typically consist of an Amazon Web Service name and a number, such as * APIGateway.3.

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

The unique identifier of a security control across standards. Values for * this field typically consist of an Amazon Web Service name and a number, such as * APIGateway.3.

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

The ARN of a security control across standards, such as * arn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1. * This parameter doesn't mention a specific standard.

*/ inline const Aws::String& GetSecurityControlArn() const{ return m_securityControlArn; } /** *

The ARN of a security control across standards, such as * arn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1. * This parameter doesn't mention a specific standard.

*/ inline bool SecurityControlArnHasBeenSet() const { return m_securityControlArnHasBeenSet; } /** *

The ARN of a security control across standards, such as * arn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1. * This parameter doesn't mention a specific standard.

*/ inline void SetSecurityControlArn(const Aws::String& value) { m_securityControlArnHasBeenSet = true; m_securityControlArn = value; } /** *

The ARN of a security control across standards, such as * arn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1. * This parameter doesn't mention a specific standard.

*/ inline void SetSecurityControlArn(Aws::String&& value) { m_securityControlArnHasBeenSet = true; m_securityControlArn = std::move(value); } /** *

The ARN of a security control across standards, such as * arn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1. * This parameter doesn't mention a specific standard.

*/ inline void SetSecurityControlArn(const char* value) { m_securityControlArnHasBeenSet = true; m_securityControlArn.assign(value); } /** *

The ARN of a security control across standards, such as * arn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1. * This parameter doesn't mention a specific standard.

*/ inline StandardsControlAssociationDetail& WithSecurityControlArn(const Aws::String& value) { SetSecurityControlArn(value); return *this;} /** *

The ARN of a security control across standards, such as * arn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1. * This parameter doesn't mention a specific standard.

*/ inline StandardsControlAssociationDetail& WithSecurityControlArn(Aws::String&& value) { SetSecurityControlArn(std::move(value)); return *this;} /** *

The ARN of a security control across standards, such as * arn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1. * This parameter doesn't mention a specific standard.

*/ inline StandardsControlAssociationDetail& WithSecurityControlArn(const char* value) { SetSecurityControlArn(value); return *this;} /** *

Specifies whether a control is enabled or disabled in a specified standard. *

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

Specifies whether a control is enabled or disabled in a specified standard. *

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

Specifies whether a control is enabled or disabled in a specified standard. *

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

Specifies whether a control is enabled or disabled in a specified standard. *

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

Specifies whether a control is enabled or disabled in a specified standard. *

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

Specifies whether a control is enabled or disabled in a specified standard. *

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

The requirement that underlies a control in the compliance framework related * to the standard.

*/ inline const Aws::Vector& GetRelatedRequirements() const{ return m_relatedRequirements; } /** *

The requirement that underlies a control in the compliance framework related * to the standard.

*/ inline bool RelatedRequirementsHasBeenSet() const { return m_relatedRequirementsHasBeenSet; } /** *

The requirement that underlies a control in the compliance framework related * to the standard.

*/ inline void SetRelatedRequirements(const Aws::Vector& value) { m_relatedRequirementsHasBeenSet = true; m_relatedRequirements = value; } /** *

The requirement that underlies a control in the compliance framework related * to the standard.

*/ inline void SetRelatedRequirements(Aws::Vector&& value) { m_relatedRequirementsHasBeenSet = true; m_relatedRequirements = std::move(value); } /** *

The requirement that underlies a control in the compliance framework related * to the standard.

*/ inline StandardsControlAssociationDetail& WithRelatedRequirements(const Aws::Vector& value) { SetRelatedRequirements(value); return *this;} /** *

The requirement that underlies a control in the compliance framework related * to the standard.

*/ inline StandardsControlAssociationDetail& WithRelatedRequirements(Aws::Vector&& value) { SetRelatedRequirements(std::move(value)); return *this;} /** *

The requirement that underlies a control in the compliance framework related * to the standard.

*/ inline StandardsControlAssociationDetail& AddRelatedRequirements(const Aws::String& value) { m_relatedRequirementsHasBeenSet = true; m_relatedRequirements.push_back(value); return *this; } /** *

The requirement that underlies a control in the compliance framework related * to the standard.

*/ inline StandardsControlAssociationDetail& AddRelatedRequirements(Aws::String&& value) { m_relatedRequirementsHasBeenSet = true; m_relatedRequirements.push_back(std::move(value)); return *this; } /** *

The requirement that underlies a control in the compliance framework related * to the standard.

*/ inline StandardsControlAssociationDetail& AddRelatedRequirements(const char* value) { m_relatedRequirementsHasBeenSet = true; m_relatedRequirements.push_back(value); return *this; } /** *

The time at which the enablement status of the control in the specified * standard was last updated.

*/ inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } /** *

The time at which the enablement status of the control in the specified * standard was last updated.

*/ inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } /** *

The time at which the enablement status of the control in the specified * standard was last updated.

*/ inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } /** *

The time at which the enablement status of the control in the specified * standard was last updated.

*/ inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } /** *

The time at which the enablement status of the control in the specified * standard was last updated.

*/ inline StandardsControlAssociationDetail& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} /** *

The time at which the enablement status of the control in the specified * standard was last updated.

*/ inline StandardsControlAssociationDetail& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} /** *

The reason for updating the enablement status of a control in a specified * standard.

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

The reason for updating the enablement status of a control in a specified * standard.

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

The reason for updating the enablement status of a control in a specified * standard.

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

The reason for updating the enablement status of a control in a specified * standard.

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

The reason for updating the enablement status of a control in a specified * standard.

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

The reason for updating the enablement status of a control in a specified * standard.

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

The reason for updating the enablement status of a control in a specified * standard.

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

The reason for updating the enablement status of a control in a specified * standard.

*/ inline StandardsControlAssociationDetail& WithUpdatedReason(const char* value) { SetUpdatedReason(value); return *this;} /** *

The title of a control. This field may reference a specific standard.

*/ inline const Aws::String& GetStandardsControlTitle() const{ return m_standardsControlTitle; } /** *

The title of a control. This field may reference a specific standard.

*/ inline bool StandardsControlTitleHasBeenSet() const { return m_standardsControlTitleHasBeenSet; } /** *

The title of a control. This field may reference a specific standard.

*/ inline void SetStandardsControlTitle(const Aws::String& value) { m_standardsControlTitleHasBeenSet = true; m_standardsControlTitle = value; } /** *

The title of a control. This field may reference a specific standard.

*/ inline void SetStandardsControlTitle(Aws::String&& value) { m_standardsControlTitleHasBeenSet = true; m_standardsControlTitle = std::move(value); } /** *

The title of a control. This field may reference a specific standard.

*/ inline void SetStandardsControlTitle(const char* value) { m_standardsControlTitleHasBeenSet = true; m_standardsControlTitle.assign(value); } /** *

The title of a control. This field may reference a specific standard.

*/ inline StandardsControlAssociationDetail& WithStandardsControlTitle(const Aws::String& value) { SetStandardsControlTitle(value); return *this;} /** *

The title of a control. This field may reference a specific standard.

*/ inline StandardsControlAssociationDetail& WithStandardsControlTitle(Aws::String&& value) { SetStandardsControlTitle(std::move(value)); return *this;} /** *

The title of a control. This field may reference a specific standard.

*/ inline StandardsControlAssociationDetail& WithStandardsControlTitle(const char* value) { SetStandardsControlTitle(value); return *this;} /** *

The description of a control. This typically summarizes how Security Hub * evaluates the control and the conditions under which it produces a failed * finding. This parameter may reference a specific standard.

*/ inline const Aws::String& GetStandardsControlDescription() const{ return m_standardsControlDescription; } /** *

The description of a control. This typically summarizes how Security Hub * evaluates the control and the conditions under which it produces a failed * finding. This parameter may reference a specific standard.

*/ inline bool StandardsControlDescriptionHasBeenSet() const { return m_standardsControlDescriptionHasBeenSet; } /** *

The description of a control. This typically summarizes how Security Hub * evaluates the control and the conditions under which it produces a failed * finding. This parameter may reference a specific standard.

*/ inline void SetStandardsControlDescription(const Aws::String& value) { m_standardsControlDescriptionHasBeenSet = true; m_standardsControlDescription = value; } /** *

The description of a control. This typically summarizes how Security Hub * evaluates the control and the conditions under which it produces a failed * finding. This parameter may reference a specific standard.

*/ inline void SetStandardsControlDescription(Aws::String&& value) { m_standardsControlDescriptionHasBeenSet = true; m_standardsControlDescription = std::move(value); } /** *

The description of a control. This typically summarizes how Security Hub * evaluates the control and the conditions under which it produces a failed * finding. This parameter may reference a specific standard.

*/ inline void SetStandardsControlDescription(const char* value) { m_standardsControlDescriptionHasBeenSet = true; m_standardsControlDescription.assign(value); } /** *

The description of a control. This typically summarizes how Security Hub * evaluates the control and the conditions under which it produces a failed * finding. This parameter may reference a specific standard.

*/ inline StandardsControlAssociationDetail& WithStandardsControlDescription(const Aws::String& value) { SetStandardsControlDescription(value); return *this;} /** *

The description of a control. This typically summarizes how Security Hub * evaluates the control and the conditions under which it produces a failed * finding. This parameter may reference a specific standard.

*/ inline StandardsControlAssociationDetail& WithStandardsControlDescription(Aws::String&& value) { SetStandardsControlDescription(std::move(value)); return *this;} /** *

The description of a control. This typically summarizes how Security Hub * evaluates the control and the conditions under which it produces a failed * finding. This parameter may reference a specific standard.

*/ inline StandardsControlAssociationDetail& WithStandardsControlDescription(const char* value) { SetStandardsControlDescription(value); return *this;} /** *

Provides the input parameter that Security Hub uses to call the UpdateStandardsControl * API. This API can be used to enable or disable a control in a specified * standard.

*/ inline const Aws::Vector& GetStandardsControlArns() const{ return m_standardsControlArns; } /** *

Provides the input parameter that Security Hub uses to call the UpdateStandardsControl * API. This API can be used to enable or disable a control in a specified * standard.

*/ inline bool StandardsControlArnsHasBeenSet() const { return m_standardsControlArnsHasBeenSet; } /** *

Provides the input parameter that Security Hub uses to call the UpdateStandardsControl * API. This API can be used to enable or disable a control in a specified * standard.

*/ inline void SetStandardsControlArns(const Aws::Vector& value) { m_standardsControlArnsHasBeenSet = true; m_standardsControlArns = value; } /** *

Provides the input parameter that Security Hub uses to call the UpdateStandardsControl * API. This API can be used to enable or disable a control in a specified * standard.

*/ inline void SetStandardsControlArns(Aws::Vector&& value) { m_standardsControlArnsHasBeenSet = true; m_standardsControlArns = std::move(value); } /** *

Provides the input parameter that Security Hub uses to call the UpdateStandardsControl * API. This API can be used to enable or disable a control in a specified * standard.

*/ inline StandardsControlAssociationDetail& WithStandardsControlArns(const Aws::Vector& value) { SetStandardsControlArns(value); return *this;} /** *

Provides the input parameter that Security Hub uses to call the UpdateStandardsControl * API. This API can be used to enable or disable a control in a specified * standard.

*/ inline StandardsControlAssociationDetail& WithStandardsControlArns(Aws::Vector&& value) { SetStandardsControlArns(std::move(value)); return *this;} /** *

Provides the input parameter that Security Hub uses to call the UpdateStandardsControl * API. This API can be used to enable or disable a control in a specified * standard.

*/ inline StandardsControlAssociationDetail& AddStandardsControlArns(const Aws::String& value) { m_standardsControlArnsHasBeenSet = true; m_standardsControlArns.push_back(value); return *this; } /** *

Provides the input parameter that Security Hub uses to call the UpdateStandardsControl * API. This API can be used to enable or disable a control in a specified * standard.

*/ inline StandardsControlAssociationDetail& AddStandardsControlArns(Aws::String&& value) { m_standardsControlArnsHasBeenSet = true; m_standardsControlArns.push_back(std::move(value)); return *this; } /** *

Provides the input parameter that Security Hub uses to call the UpdateStandardsControl * API. This API can be used to enable or disable a control in a specified * standard.

*/ inline StandardsControlAssociationDetail& AddStandardsControlArns(const char* value) { m_standardsControlArnsHasBeenSet = true; m_standardsControlArns.push_back(value); return *this; } private: Aws::String m_standardsArn; bool m_standardsArnHasBeenSet = false; Aws::String m_securityControlId; bool m_securityControlIdHasBeenSet = false; Aws::String m_securityControlArn; bool m_securityControlArnHasBeenSet = false; AssociationStatus m_associationStatus; bool m_associationStatusHasBeenSet = false; Aws::Vector m_relatedRequirements; bool m_relatedRequirementsHasBeenSet = false; Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; Aws::String m_updatedReason; bool m_updatedReasonHasBeenSet = false; Aws::String m_standardsControlTitle; bool m_standardsControlTitleHasBeenSet = false; Aws::String m_standardsControlDescription; bool m_standardsControlDescriptionHasBeenSet = false; Aws::Vector m_standardsControlArns; bool m_standardsControlArnsHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws