/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace GuardDuty { namespace Model { class AWS_GUARDDUTY_API GetFindingsResult { public: GetFindingsResult(); GetFindingsResult(const Aws::AmazonWebServiceResult& result); GetFindingsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list of findings.

*/ inline const Aws::Vector& GetFindings() const{ return m_findings; } /** *

A list of findings.

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

A list of findings.

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

A list of findings.

*/ inline GetFindingsResult& WithFindings(const Aws::Vector& value) { SetFindings(value); return *this;} /** *

A list of findings.

*/ inline GetFindingsResult& WithFindings(Aws::Vector&& value) { SetFindings(std::move(value)); return *this;} /** *

A list of findings.

*/ inline GetFindingsResult& AddFindings(const Finding& value) { m_findings.push_back(value); return *this; } /** *

A list of findings.

*/ inline GetFindingsResult& AddFindings(Finding&& value) { m_findings.push_back(std::move(value)); return *this; } private: Aws::Vector m_findings; }; } // namespace Model } // namespace GuardDuty } // namespace Aws