/** * 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 { /** *

An array that provides the enablement status and other details for each * control that applies to each enabled standard.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of a standard.

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

The Amazon Resource Name (ARN) of a standard.

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

The Amazon Resource Name (ARN) of a standard.

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

The Amazon Resource Name (ARN) of a standard.

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

The Amazon Resource Name (ARN) of a standard.

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

The Amazon Resource Name (ARN) of a standard.

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

The Amazon Resource Name (ARN) of a standard.

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

The Amazon Resource Name (ARN) of a standard.

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

A unique standard-agnostic identifier for a control. Values for this field * typically consist of an Amazon Web Service and a number, such as APIGateway.5. * This field doesn't reference a specific standard.

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

A unique standard-agnostic identifier for a control. Values for this field * typically consist of an Amazon Web Service and a number, such as APIGateway.5. * This field doesn't reference a specific standard.

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

A unique standard-agnostic identifier for a control. Values for this field * typically consist of an Amazon Web Service and a number, such as APIGateway.5. * This field doesn't reference a specific standard.

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

A unique standard-agnostic identifier for a control. Values for this field * typically consist of an Amazon Web Service and a number, such as APIGateway.5. * This field doesn't reference a specific standard.

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

A unique standard-agnostic identifier for a control. Values for this field * typically consist of an Amazon Web Service and a number, such as APIGateway.5. * This field doesn't reference a specific standard.

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

A unique standard-agnostic identifier for a control. Values for this field * typically consist of an Amazon Web Service and a number, such as APIGateway.5. * This field doesn't reference a specific standard.

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

A unique standard-agnostic identifier for a control. Values for this field * typically consist of an Amazon Web Service and a number, such as APIGateway.5. * This field doesn't reference a specific standard.

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

A unique standard-agnostic identifier for a control. Values for this field * typically consist of an Amazon Web Service and a number, such as APIGateway.5. * This field doesn't reference a specific standard.

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

The ARN of a control, 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 control, 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 control, 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 control, 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 control, 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 control, such as * arn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1. * This parameter doesn't mention a specific standard.

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

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

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

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

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

The enablement status of a control in a specific standard.

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

The enablement status of a control in a specific standard.

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

The enablement status of a control in a specific standard.

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

The enablement status of a control in a specific standard.

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

The enablement status of a control in a specific standard.

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

The enablement status of a control in a specific standard.

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

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

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

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

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

The requirement that underlies this 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 this 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 this control in the compliance framework * related to the standard.

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

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

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

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

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

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

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

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

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

The last time that a control's enablement status in a specified standard was * updated.

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

The last time that a control's enablement status in a specified standard was * updated.

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

The last time that a control's enablement status in a specified standard was * updated.

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

The last time that a control's enablement status in a specified standard was * updated.

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

The last time that a control's enablement status in a specified standard was * updated.

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

The last time that a control's enablement status in a specified standard was * updated.

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

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

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

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

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

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

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

The reason for updating the control's enablement status in a specified * 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 a specified * standard.

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

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

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

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

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

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

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

The title of a control.

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

The title of a control.

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

The title of a control.

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

The title of a control.

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

The title of a control.

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

The title of a control.

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

The title of a control.

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

The title of a control.

*/ inline StandardsControlAssociationSummary& 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. The 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. The 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. The 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. The 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. The 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. The parameter may reference a specific standard.

*/ inline StandardsControlAssociationSummary& 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. The parameter may reference a specific standard.

*/ inline StandardsControlAssociationSummary& 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. The parameter may reference a specific standard.

*/ inline StandardsControlAssociationSummary& WithStandardsControlDescription(const char* value) { SetStandardsControlDescription(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; }; } // namespace Model } // namespace SecurityHub } // namespace Aws