/** * 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 BatchGetSecurityControlsRequest : public SecurityHubRequest { public: AWS_SECURITYHUB_API BatchGetSecurityControlsRequest(); // 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 "BatchGetSecurityControls"; } AWS_SECURITYHUB_API Aws::String SerializePayload() const override; /** *

A list of security controls (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters). The security * control ID or Amazon Resource Name (ARN) is the same across standards.

*/ inline const Aws::Vector& GetSecurityControlIds() const{ return m_securityControlIds; } /** *

A list of security controls (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters). The security * control ID or Amazon Resource Name (ARN) is the same across standards.

*/ inline bool SecurityControlIdsHasBeenSet() const { return m_securityControlIdsHasBeenSet; } /** *

A list of security controls (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters). The security * control ID or Amazon Resource Name (ARN) is the same across standards.

*/ inline void SetSecurityControlIds(const Aws::Vector& value) { m_securityControlIdsHasBeenSet = true; m_securityControlIds = value; } /** *

A list of security controls (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters). The security * control ID or Amazon Resource Name (ARN) is the same across standards.

*/ inline void SetSecurityControlIds(Aws::Vector&& value) { m_securityControlIdsHasBeenSet = true; m_securityControlIds = std::move(value); } /** *

A list of security controls (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters). The security * control ID or Amazon Resource Name (ARN) is the same across standards.

*/ inline BatchGetSecurityControlsRequest& WithSecurityControlIds(const Aws::Vector& value) { SetSecurityControlIds(value); return *this;} /** *

A list of security controls (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters). The security * control ID or Amazon Resource Name (ARN) is the same across standards.

*/ inline BatchGetSecurityControlsRequest& WithSecurityControlIds(Aws::Vector&& value) { SetSecurityControlIds(std::move(value)); return *this;} /** *

A list of security controls (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters). The security * control ID or Amazon Resource Name (ARN) is the same across standards.

*/ inline BatchGetSecurityControlsRequest& AddSecurityControlIds(const Aws::String& value) { m_securityControlIdsHasBeenSet = true; m_securityControlIds.push_back(value); return *this; } /** *

A list of security controls (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters). The security * control ID or Amazon Resource Name (ARN) is the same across standards.

*/ inline BatchGetSecurityControlsRequest& AddSecurityControlIds(Aws::String&& value) { m_securityControlIdsHasBeenSet = true; m_securityControlIds.push_back(std::move(value)); return *this; } /** *

A list of security controls (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters). The security * control ID or Amazon Resource Name (ARN) is the same across standards.

*/ inline BatchGetSecurityControlsRequest& AddSecurityControlIds(const char* value) { m_securityControlIdsHasBeenSet = true; m_securityControlIds.push_back(value); return *this; } private: Aws::Vector m_securityControlIds; bool m_securityControlIdsHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws