/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SecurityHub { namespace Model { class BatchGetStandardsControlAssociationsResult { public: AWS_SECURITYHUB_API BatchGetStandardsControlAssociationsResult(); AWS_SECURITYHUB_API BatchGetStandardsControlAssociationsResult(const Aws::AmazonWebServiceResult& result); AWS_SECURITYHUB_API BatchGetStandardsControlAssociationsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Provides the enablement status of a security control in a specified standard * and other details for the control in relation to the specified standard.

*/ inline const Aws::Vector& GetStandardsControlAssociationDetails() const{ return m_standardsControlAssociationDetails; } /** *

Provides the enablement status of a security control in a specified standard * and other details for the control in relation to the specified standard.

*/ inline void SetStandardsControlAssociationDetails(const Aws::Vector& value) { m_standardsControlAssociationDetails = value; } /** *

Provides the enablement status of a security control in a specified standard * and other details for the control in relation to the specified standard.

*/ inline void SetStandardsControlAssociationDetails(Aws::Vector&& value) { m_standardsControlAssociationDetails = std::move(value); } /** *

Provides the enablement status of a security control in a specified standard * and other details for the control in relation to the specified standard.

*/ inline BatchGetStandardsControlAssociationsResult& WithStandardsControlAssociationDetails(const Aws::Vector& value) { SetStandardsControlAssociationDetails(value); return *this;} /** *

Provides the enablement status of a security control in a specified standard * and other details for the control in relation to the specified standard.

*/ inline BatchGetStandardsControlAssociationsResult& WithStandardsControlAssociationDetails(Aws::Vector&& value) { SetStandardsControlAssociationDetails(std::move(value)); return *this;} /** *

Provides the enablement status of a security control in a specified standard * and other details for the control in relation to the specified standard.

*/ inline BatchGetStandardsControlAssociationsResult& AddStandardsControlAssociationDetails(const StandardsControlAssociationDetail& value) { m_standardsControlAssociationDetails.push_back(value); return *this; } /** *

Provides the enablement status of a security control in a specified standard * and other details for the control in relation to the specified standard.

*/ inline BatchGetStandardsControlAssociationsResult& AddStandardsControlAssociationDetails(StandardsControlAssociationDetail&& value) { m_standardsControlAssociationDetails.push_back(std::move(value)); return *this; } /** *

A security control (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters) whose enablement * status in a specified standard cannot be returned.

*/ inline const Aws::Vector& GetUnprocessedAssociations() const{ return m_unprocessedAssociations; } /** *

A security control (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters) whose enablement * status in a specified standard cannot be returned.

*/ inline void SetUnprocessedAssociations(const Aws::Vector& value) { m_unprocessedAssociations = value; } /** *

A security control (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters) whose enablement * status in a specified standard cannot be returned.

*/ inline void SetUnprocessedAssociations(Aws::Vector&& value) { m_unprocessedAssociations = std::move(value); } /** *

A security control (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters) whose enablement * status in a specified standard cannot be returned.

*/ inline BatchGetStandardsControlAssociationsResult& WithUnprocessedAssociations(const Aws::Vector& value) { SetUnprocessedAssociations(value); return *this;} /** *

A security control (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters) whose enablement * status in a specified standard cannot be returned.

*/ inline BatchGetStandardsControlAssociationsResult& WithUnprocessedAssociations(Aws::Vector&& value) { SetUnprocessedAssociations(std::move(value)); return *this;} /** *

A security control (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters) whose enablement * status in a specified standard cannot be returned.

*/ inline BatchGetStandardsControlAssociationsResult& AddUnprocessedAssociations(const UnprocessedStandardsControlAssociation& value) { m_unprocessedAssociations.push_back(value); return *this; } /** *

A security control (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters) whose enablement * status in a specified standard cannot be returned.

*/ inline BatchGetStandardsControlAssociationsResult& AddUnprocessedAssociations(UnprocessedStandardsControlAssociation&& value) { m_unprocessedAssociations.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline BatchGetStandardsControlAssociationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline BatchGetStandardsControlAssociationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline BatchGetStandardsControlAssociationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_standardsControlAssociationDetails; Aws::Vector m_unprocessedAssociations; Aws::String m_requestId; }; } // namespace Model } // namespace SecurityHub } // namespace Aws