/** * 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 BatchGetSecurityControlsResult { public: AWS_SECURITYHUB_API BatchGetSecurityControlsResult(); AWS_SECURITYHUB_API BatchGetSecurityControlsResult(const Aws::AmazonWebServiceResult& result); AWS_SECURITYHUB_API BatchGetSecurityControlsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An array that returns the identifier, Amazon Resource Name (ARN), and other * details about a security control. The same information is returned whether the * request includes SecurityControlId or * SecurityControlArn.

*/ inline const Aws::Vector& GetSecurityControls() const{ return m_securityControls; } /** *

An array that returns the identifier, Amazon Resource Name (ARN), and other * details about a security control. The same information is returned whether the * request includes SecurityControlId or * SecurityControlArn.

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

An array that returns the identifier, Amazon Resource Name (ARN), and other * details about a security control. The same information is returned whether the * request includes SecurityControlId or * SecurityControlArn.

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

An array that returns the identifier, Amazon Resource Name (ARN), and other * details about a security control. The same information is returned whether the * request includes SecurityControlId or * SecurityControlArn.

*/ inline BatchGetSecurityControlsResult& WithSecurityControls(const Aws::Vector& value) { SetSecurityControls(value); return *this;} /** *

An array that returns the identifier, Amazon Resource Name (ARN), and other * details about a security control. The same information is returned whether the * request includes SecurityControlId or * SecurityControlArn.

*/ inline BatchGetSecurityControlsResult& WithSecurityControls(Aws::Vector&& value) { SetSecurityControls(std::move(value)); return *this;} /** *

An array that returns the identifier, Amazon Resource Name (ARN), and other * details about a security control. The same information is returned whether the * request includes SecurityControlId or * SecurityControlArn.

*/ inline BatchGetSecurityControlsResult& AddSecurityControls(const SecurityControl& value) { m_securityControls.push_back(value); return *this; } /** *

An array that returns the identifier, Amazon Resource Name (ARN), and other * details about a security control. The same information is returned whether the * request includes SecurityControlId or * SecurityControlArn.

*/ inline BatchGetSecurityControlsResult& AddSecurityControls(SecurityControl&& value) { m_securityControls.push_back(std::move(value)); return *this; } /** *

A security control (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters) for which details * cannot be returned.

*/ inline const Aws::Vector& GetUnprocessedIds() const{ return m_unprocessedIds; } /** *

A security control (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters) for which details * cannot be returned.

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

A security control (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters) for which details * cannot be returned.

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

A security control (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters) for which details * cannot be returned.

*/ inline BatchGetSecurityControlsResult& WithUnprocessedIds(const Aws::Vector& value) { SetUnprocessedIds(value); return *this;} /** *

A security control (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters) for which details * cannot be returned.

*/ inline BatchGetSecurityControlsResult& WithUnprocessedIds(Aws::Vector&& value) { SetUnprocessedIds(std::move(value)); return *this;} /** *

A security control (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters) for which details * cannot be returned.

*/ inline BatchGetSecurityControlsResult& AddUnprocessedIds(const UnprocessedSecurityControl& value) { m_unprocessedIds.push_back(value); return *this; } /** *

A security control (identified with SecurityControlId, * SecurityControlArn, or a mix of both parameters) for which details * cannot be returned.

*/ inline BatchGetSecurityControlsResult& AddUnprocessedIds(UnprocessedSecurityControl&& value) { m_unprocessedIds.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 BatchGetSecurityControlsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline BatchGetSecurityControlsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline BatchGetSecurityControlsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_securityControls; Aws::Vector m_unprocessedIds; Aws::String m_requestId; }; } // namespace Model } // namespace SecurityHub } // namespace Aws