AWS SDK for C++  1.9.123
AWS SDK for C++
Public Member Functions | List of all members
Aws::SecurityHub::Model::Compliance Class Reference

#include <Compliance.h>

Public Member Functions

 Compliance ()
 
 Compliance (Aws::Utils::Json::JsonView jsonValue)
 
Complianceoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const ComplianceStatusGetStatus () const
 
bool StatusHasBeenSet () const
 
void SetStatus (const ComplianceStatus &value)
 
void SetStatus (ComplianceStatus &&value)
 
ComplianceWithStatus (const ComplianceStatus &value)
 
ComplianceWithStatus (ComplianceStatus &&value)
 
const Aws::Vector< Aws::String > & GetRelatedRequirements () const
 
bool RelatedRequirementsHasBeenSet () const
 
void SetRelatedRequirements (const Aws::Vector< Aws::String > &value)
 
void SetRelatedRequirements (Aws::Vector< Aws::String > &&value)
 
ComplianceWithRelatedRequirements (const Aws::Vector< Aws::String > &value)
 
ComplianceWithRelatedRequirements (Aws::Vector< Aws::String > &&value)
 
ComplianceAddRelatedRequirements (const Aws::String &value)
 
ComplianceAddRelatedRequirements (Aws::String &&value)
 
ComplianceAddRelatedRequirements (const char *value)
 
const Aws::Vector< StatusReason > & GetStatusReasons () const
 
bool StatusReasonsHasBeenSet () const
 
void SetStatusReasons (const Aws::Vector< StatusReason > &value)
 
void SetStatusReasons (Aws::Vector< StatusReason > &&value)
 
ComplianceWithStatusReasons (const Aws::Vector< StatusReason > &value)
 
ComplianceWithStatusReasons (Aws::Vector< StatusReason > &&value)
 
ComplianceAddStatusReasons (const StatusReason &value)
 
ComplianceAddStatusReasons (StatusReason &&value)
 

Detailed Description

Contains finding details that are specific to control-based findings. Only returned for findings generated from controls.

See Also:

AWS API Reference

Definition at line 35 of file Compliance.h.

Constructor & Destructor Documentation

◆ Compliance() [1/2]

Aws::SecurityHub::Model::Compliance::Compliance ( )

◆ Compliance() [2/2]

Aws::SecurityHub::Model::Compliance::Compliance ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddRelatedRequirements() [1/3]

Compliance& Aws::SecurityHub::Model::Compliance::AddRelatedRequirements ( Aws::String &&  value)
inline

For a control, the industry or regulatory framework requirements that are related to the control. The check for that control is aligned with these requirements.

Definition at line 189 of file Compliance.h.

◆ AddRelatedRequirements() [2/3]

Compliance& Aws::SecurityHub::Model::Compliance::AddRelatedRequirements ( const Aws::String value)
inline

For a control, the industry or regulatory framework requirements that are related to the control. The check for that control is aligned with these requirements.

Definition at line 182 of file Compliance.h.

◆ AddRelatedRequirements() [3/3]

Compliance& Aws::SecurityHub::Model::Compliance::AddRelatedRequirements ( const char *  value)
inline

For a control, the industry or regulatory framework requirements that are related to the control. The check for that control is aligned with these requirements.

Definition at line 196 of file Compliance.h.

◆ AddStatusReasons() [1/2]

Compliance& Aws::SecurityHub::Model::Compliance::AddStatusReasons ( const StatusReason value)
inline

For findings generated from controls, a list of reasons behind the value of Status. For the list of status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.

Definition at line 260 of file Compliance.h.

◆ AddStatusReasons() [2/2]

Compliance& Aws::SecurityHub::Model::Compliance::AddStatusReasons ( StatusReason &&  value)
inline

For findings generated from controls, a list of reasons behind the value of Status. For the list of status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.

Definition at line 269 of file Compliance.h.

◆ GetRelatedRequirements()

const Aws::Vector<Aws::String>& Aws::SecurityHub::Model::Compliance::GetRelatedRequirements ( ) const
inline

For a control, the industry or regulatory framework requirements that are related to the control. The check for that control is aligned with these requirements.

Definition at line 140 of file Compliance.h.

◆ GetStatus()

const ComplianceStatus& Aws::SecurityHub::Model::Compliance::GetStatus ( ) const
inline

The result of a standards check.

The valid values for Status are as follows.

    • PASSED - Standards check passed for all evaluated resources.

    • WARNING - Some information is missing or this check is not supported for your configuration.

    • FAILED

      • Standards check failed for at least one evaluated resource.

    • NOT_AVAILABLE - Check could not be performed due to a service outage, API error, or because the result of the Config evaluation was NOT_APPLICABLE. If the Config evaluation result was NOT_APPLICABLE, then after 3 days, Security Hub automatically archives the finding.

Definition at line 57 of file Compliance.h.

◆ GetStatusReasons()

const Aws::Vector<StatusReason>& Aws::SecurityHub::Model::Compliance::GetStatusReasons ( ) const
inline

For findings generated from controls, a list of reasons behind the value of Status. For the list of status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.

Definition at line 206 of file Compliance.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::SecurityHub::Model::Compliance::Jsonize ( ) const

◆ operator=()

Compliance& Aws::SecurityHub::Model::Compliance::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ RelatedRequirementsHasBeenSet()

bool Aws::SecurityHub::Model::Compliance::RelatedRequirementsHasBeenSet ( ) const
inline

For a control, the industry or regulatory framework requirements that are related to the control. The check for that control is aligned with these requirements.

Definition at line 147 of file Compliance.h.

◆ SetRelatedRequirements() [1/2]

void Aws::SecurityHub::Model::Compliance::SetRelatedRequirements ( Aws::Vector< Aws::String > &&  value)
inline

For a control, the industry or regulatory framework requirements that are related to the control. The check for that control is aligned with these requirements.

Definition at line 161 of file Compliance.h.

◆ SetRelatedRequirements() [2/2]

void Aws::SecurityHub::Model::Compliance::SetRelatedRequirements ( const Aws::Vector< Aws::String > &  value)
inline

For a control, the industry or regulatory framework requirements that are related to the control. The check for that control is aligned with these requirements.

Definition at line 154 of file Compliance.h.

◆ SetStatus() [1/2]

void Aws::SecurityHub::Model::Compliance::SetStatus ( ComplianceStatus &&  value)
inline

The result of a standards check.

The valid values for Status are as follows.

    • PASSED - Standards check passed for all evaluated resources.

    • WARNING - Some information is missing or this check is not supported for your configuration.

    • FAILED

      • Standards check failed for at least one evaluated resource.

    • NOT_AVAILABLE - Check could not be performed due to a service outage, API error, or because the result of the Config evaluation was NOT_APPLICABLE. If the Config evaluation result was NOT_APPLICABLE, then after 3 days, Security Hub automatically archives the finding.

Definition at line 102 of file Compliance.h.

◆ SetStatus() [2/2]

void Aws::SecurityHub::Model::Compliance::SetStatus ( const ComplianceStatus value)
inline

The result of a standards check.

The valid values for Status are as follows.

    • PASSED - Standards check passed for all evaluated resources.

    • WARNING - Some information is missing or this check is not supported for your configuration.

    • FAILED

      • Standards check failed for at least one evaluated resource.

    • NOT_AVAILABLE - Check could not be performed due to a service outage, API error, or because the result of the Config evaluation was NOT_APPLICABLE. If the Config evaluation result was NOT_APPLICABLE, then after 3 days, Security Hub automatically archives the finding.

Definition at line 87 of file Compliance.h.

◆ SetStatusReasons() [1/2]

void Aws::SecurityHub::Model::Compliance::SetStatusReasons ( Aws::Vector< StatusReason > &&  value)
inline

For findings generated from controls, a list of reasons behind the value of Status. For the list of status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.

Definition at line 233 of file Compliance.h.

◆ SetStatusReasons() [2/2]

void Aws::SecurityHub::Model::Compliance::SetStatusReasons ( const Aws::Vector< StatusReason > &  value)
inline

For findings generated from controls, a list of reasons behind the value of Status. For the list of status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.

Definition at line 224 of file Compliance.h.

◆ StatusHasBeenSet()

bool Aws::SecurityHub::Model::Compliance::StatusHasBeenSet ( ) const
inline

The result of a standards check.

The valid values for Status are as follows.

    • PASSED - Standards check passed for all evaluated resources.

    • WARNING - Some information is missing or this check is not supported for your configuration.

    • FAILED

      • Standards check failed for at least one evaluated resource.

    • NOT_AVAILABLE - Check could not be performed due to a service outage, API error, or because the result of the Config evaluation was NOT_APPLICABLE. If the Config evaluation result was NOT_APPLICABLE, then after 3 days, Security Hub automatically archives the finding.

Definition at line 72 of file Compliance.h.

◆ StatusReasonsHasBeenSet()

bool Aws::SecurityHub::Model::Compliance::StatusReasonsHasBeenSet ( ) const
inline

For findings generated from controls, a list of reasons behind the value of Status. For the list of status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.

Definition at line 215 of file Compliance.h.

◆ WithRelatedRequirements() [1/2]

Compliance& Aws::SecurityHub::Model::Compliance::WithRelatedRequirements ( Aws::Vector< Aws::String > &&  value)
inline

For a control, the industry or regulatory framework requirements that are related to the control. The check for that control is aligned with these requirements.

Definition at line 175 of file Compliance.h.

◆ WithRelatedRequirements() [2/2]

Compliance& Aws::SecurityHub::Model::Compliance::WithRelatedRequirements ( const Aws::Vector< Aws::String > &  value)
inline

For a control, the industry or regulatory framework requirements that are related to the control. The check for that control is aligned with these requirements.

Definition at line 168 of file Compliance.h.

◆ WithStatus() [1/2]

Compliance& Aws::SecurityHub::Model::Compliance::WithStatus ( ComplianceStatus &&  value)
inline

The result of a standards check.

The valid values for Status are as follows.

    • PASSED - Standards check passed for all evaluated resources.

    • WARNING - Some information is missing or this check is not supported for your configuration.

    • FAILED

      • Standards check failed for at least one evaluated resource.

    • NOT_AVAILABLE - Check could not be performed due to a service outage, API error, or because the result of the Config evaluation was NOT_APPLICABLE. If the Config evaluation result was NOT_APPLICABLE, then after 3 days, Security Hub automatically archives the finding.

Definition at line 132 of file Compliance.h.

◆ WithStatus() [2/2]

Compliance& Aws::SecurityHub::Model::Compliance::WithStatus ( const ComplianceStatus value)
inline

The result of a standards check.

The valid values for Status are as follows.

    • PASSED - Standards check passed for all evaluated resources.

    • WARNING - Some information is missing or this check is not supported for your configuration.

    • FAILED

      • Standards check failed for at least one evaluated resource.

    • NOT_AVAILABLE - Check could not be performed due to a service outage, API error, or because the result of the Config evaluation was NOT_APPLICABLE. If the Config evaluation result was NOT_APPLICABLE, then after 3 days, Security Hub automatically archives the finding.

Definition at line 117 of file Compliance.h.

◆ WithStatusReasons() [1/2]

Compliance& Aws::SecurityHub::Model::Compliance::WithStatusReasons ( Aws::Vector< StatusReason > &&  value)
inline

For findings generated from controls, a list of reasons behind the value of Status. For the list of status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.

Definition at line 251 of file Compliance.h.

◆ WithStatusReasons() [2/2]

Compliance& Aws::SecurityHub::Model::Compliance::WithStatusReasons ( const Aws::Vector< StatusReason > &  value)
inline

For findings generated from controls, a list of reasons behind the value of Status. For the list of status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.

Definition at line 242 of file Compliance.h.


The documentation for this class was generated from the following file: