/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides details about a control's enablement status in a specified
* standard. See Also:
AWS
* API Reference
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.
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.
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.
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.
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.
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.
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.
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.
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::VectorThe 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::VectorThe requirement that underlies a control in the compliance framework related * to the standard.
*/ inline void SetRelatedRequirements(Aws::VectorThe requirement that underlies a control in the compliance framework related * to the standard.
*/ inline StandardsControlAssociationDetail& WithRelatedRequirements(const Aws::VectorThe requirement that underlies a control in the compliance framework related * to the standard.
*/ inline StandardsControlAssociationDetail& WithRelatedRequirements(Aws::VectorThe 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::VectorProvides 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::VectorProvides 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::VectorProvides 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::VectorProvides 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::VectorProvides 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