/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace SecurityHub { namespace Model { /** */ class BatchGetStandardsControlAssociationsRequest : public SecurityHubRequest { public: AWS_SECURITYHUB_API BatchGetStandardsControlAssociationsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "BatchGetStandardsControlAssociations"; } AWS_SECURITYHUB_API Aws::String SerializePayload() const override; /** *

An array with one or more objects that includes a security control * (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters) and the Amazon * Resource Name (ARN) of a standard. This field is used to query the enablement * status of a control in a specified standard. The security control ID or ARN is * the same across standards.

*/ inline const Aws::Vector& GetStandardsControlAssociationIds() const{ return m_standardsControlAssociationIds; } /** *

An array with one or more objects that includes a security control * (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters) and the Amazon * Resource Name (ARN) of a standard. This field is used to query the enablement * status of a control in a specified standard. The security control ID or ARN is * the same across standards.

*/ inline bool StandardsControlAssociationIdsHasBeenSet() const { return m_standardsControlAssociationIdsHasBeenSet; } /** *

An array with one or more objects that includes a security control * (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters) and the Amazon * Resource Name (ARN) of a standard. This field is used to query the enablement * status of a control in a specified standard. The security control ID or ARN is * the same across standards.

*/ inline void SetStandardsControlAssociationIds(const Aws::Vector& value) { m_standardsControlAssociationIdsHasBeenSet = true; m_standardsControlAssociationIds = value; } /** *

An array with one or more objects that includes a security control * (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters) and the Amazon * Resource Name (ARN) of a standard. This field is used to query the enablement * status of a control in a specified standard. The security control ID or ARN is * the same across standards.

*/ inline void SetStandardsControlAssociationIds(Aws::Vector&& value) { m_standardsControlAssociationIdsHasBeenSet = true; m_standardsControlAssociationIds = std::move(value); } /** *

An array with one or more objects that includes a security control * (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters) and the Amazon * Resource Name (ARN) of a standard. This field is used to query the enablement * status of a control in a specified standard. The security control ID or ARN is * the same across standards.

*/ inline BatchGetStandardsControlAssociationsRequest& WithStandardsControlAssociationIds(const Aws::Vector& value) { SetStandardsControlAssociationIds(value); return *this;} /** *

An array with one or more objects that includes a security control * (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters) and the Amazon * Resource Name (ARN) of a standard. This field is used to query the enablement * status of a control in a specified standard. The security control ID or ARN is * the same across standards.

*/ inline BatchGetStandardsControlAssociationsRequest& WithStandardsControlAssociationIds(Aws::Vector&& value) { SetStandardsControlAssociationIds(std::move(value)); return *this;} /** *

An array with one or more objects that includes a security control * (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters) and the Amazon * Resource Name (ARN) of a standard. This field is used to query the enablement * status of a control in a specified standard. The security control ID or ARN is * the same across standards.

*/ inline BatchGetStandardsControlAssociationsRequest& AddStandardsControlAssociationIds(const StandardsControlAssociationId& value) { m_standardsControlAssociationIdsHasBeenSet = true; m_standardsControlAssociationIds.push_back(value); return *this; } /** *

An array with one or more objects that includes a security control * (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters) and the Amazon * Resource Name (ARN) of a standard. This field is used to query the enablement * status of a control in a specified standard. The security control ID or ARN is * the same across standards.

*/ inline BatchGetStandardsControlAssociationsRequest& AddStandardsControlAssociationIds(StandardsControlAssociationId&& value) { m_standardsControlAssociationIdsHasBeenSet = true; m_standardsControlAssociationIds.push_back(std::move(value)); return *this; } private: Aws::Vector m_standardsControlAssociationIds; bool m_standardsControlAssociationIdsHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws