/** * 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 CodeGuruSecurity { namespace Model { /** */ class BatchGetFindingsRequest : public CodeGuruSecurityRequest { public: AWS_CODEGURUSECURITY_API BatchGetFindingsRequest(); // 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 "BatchGetFindings"; } AWS_CODEGURUSECURITY_API Aws::String SerializePayload() const override; /** *

A list of finding identifiers. Each identifier consists of a * scanName and a findingId. You retrieve the * findingId when you call GetFindings.

*/ inline const Aws::Vector& GetFindingIdentifiers() const{ return m_findingIdentifiers; } /** *

A list of finding identifiers. Each identifier consists of a * scanName and a findingId. You retrieve the * findingId when you call GetFindings.

*/ inline bool FindingIdentifiersHasBeenSet() const { return m_findingIdentifiersHasBeenSet; } /** *

A list of finding identifiers. Each identifier consists of a * scanName and a findingId. You retrieve the * findingId when you call GetFindings.

*/ inline void SetFindingIdentifiers(const Aws::Vector& value) { m_findingIdentifiersHasBeenSet = true; m_findingIdentifiers = value; } /** *

A list of finding identifiers. Each identifier consists of a * scanName and a findingId. You retrieve the * findingId when you call GetFindings.

*/ inline void SetFindingIdentifiers(Aws::Vector&& value) { m_findingIdentifiersHasBeenSet = true; m_findingIdentifiers = std::move(value); } /** *

A list of finding identifiers. Each identifier consists of a * scanName and a findingId. You retrieve the * findingId when you call GetFindings.

*/ inline BatchGetFindingsRequest& WithFindingIdentifiers(const Aws::Vector& value) { SetFindingIdentifiers(value); return *this;} /** *

A list of finding identifiers. Each identifier consists of a * scanName and a findingId. You retrieve the * findingId when you call GetFindings.

*/ inline BatchGetFindingsRequest& WithFindingIdentifiers(Aws::Vector&& value) { SetFindingIdentifiers(std::move(value)); return *this;} /** *

A list of finding identifiers. Each identifier consists of a * scanName and a findingId. You retrieve the * findingId when you call GetFindings.

*/ inline BatchGetFindingsRequest& AddFindingIdentifiers(const FindingIdentifier& value) { m_findingIdentifiersHasBeenSet = true; m_findingIdentifiers.push_back(value); return *this; } /** *

A list of finding identifiers. Each identifier consists of a * scanName and a findingId. You retrieve the * findingId when you call GetFindings.

*/ inline BatchGetFindingsRequest& AddFindingIdentifiers(FindingIdentifier&& value) { m_findingIdentifiersHasBeenSet = true; m_findingIdentifiers.push_back(std::move(value)); return *this; } private: Aws::Vector m_findingIdentifiers; bool m_findingIdentifiersHasBeenSet = false; }; } // namespace Model } // namespace CodeGuruSecurity } // namespace Aws