/** * 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 Macie2 { namespace Model { class AWS_MACIE2_API GetFindingStatisticsResult { public: GetFindingStatisticsResult(); GetFindingStatisticsResult(const Aws::AmazonWebServiceResult& result); GetFindingStatisticsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An array of objects, one for each group of findings that meet the filter * criteria specified in the request.

*/ inline const Aws::Vector& GetCountsByGroup() const{ return m_countsByGroup; } /** *

An array of objects, one for each group of findings that meet the filter * criteria specified in the request.

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

An array of objects, one for each group of findings that meet the filter * criteria specified in the request.

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

An array of objects, one for each group of findings that meet the filter * criteria specified in the request.

*/ inline GetFindingStatisticsResult& WithCountsByGroup(const Aws::Vector& value) { SetCountsByGroup(value); return *this;} /** *

An array of objects, one for each group of findings that meet the filter * criteria specified in the request.

*/ inline GetFindingStatisticsResult& WithCountsByGroup(Aws::Vector&& value) { SetCountsByGroup(std::move(value)); return *this;} /** *

An array of objects, one for each group of findings that meet the filter * criteria specified in the request.

*/ inline GetFindingStatisticsResult& AddCountsByGroup(const GroupCount& value) { m_countsByGroup.push_back(value); return *this; } /** *

An array of objects, one for each group of findings that meet the filter * criteria specified in the request.

*/ inline GetFindingStatisticsResult& AddCountsByGroup(GroupCount&& value) { m_countsByGroup.push_back(std::move(value)); return *this; } private: Aws::Vector m_countsByGroup; }; } // namespace Model } // namespace Macie2 } // namespace Aws