/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SecurityHub { namespace Model { class ListFindingAggregatorsResult { public: AWS_SECURITYHUB_API ListFindingAggregatorsResult(); AWS_SECURITYHUB_API ListFindingAggregatorsResult(const Aws::AmazonWebServiceResult& result); AWS_SECURITYHUB_API ListFindingAggregatorsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The list of finding aggregators. This operation currently only returns a * single result.

*/ inline const Aws::Vector& GetFindingAggregators() const{ return m_findingAggregators; } /** *

The list of finding aggregators. This operation currently only returns a * single result.

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

The list of finding aggregators. This operation currently only returns a * single result.

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

The list of finding aggregators. This operation currently only returns a * single result.

*/ inline ListFindingAggregatorsResult& WithFindingAggregators(const Aws::Vector& value) { SetFindingAggregators(value); return *this;} /** *

The list of finding aggregators. This operation currently only returns a * single result.

*/ inline ListFindingAggregatorsResult& WithFindingAggregators(Aws::Vector&& value) { SetFindingAggregators(std::move(value)); return *this;} /** *

The list of finding aggregators. This operation currently only returns a * single result.

*/ inline ListFindingAggregatorsResult& AddFindingAggregators(const FindingAggregator& value) { m_findingAggregators.push_back(value); return *this; } /** *

The list of finding aggregators. This operation currently only returns a * single result.

*/ inline ListFindingAggregatorsResult& AddFindingAggregators(FindingAggregator&& value) { m_findingAggregators.push_back(std::move(value)); return *this; } /** *

If there are more results, this is the token to provide in the next call to * ListFindingAggregators.

This operation currently only * returns a single result.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

If there are more results, this is the token to provide in the next call to * ListFindingAggregators.

This operation currently only * returns a single result.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

If there are more results, this is the token to provide in the next call to * ListFindingAggregators.

This operation currently only * returns a single result.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

If there are more results, this is the token to provide in the next call to * ListFindingAggregators.

This operation currently only * returns a single result.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

If there are more results, this is the token to provide in the next call to * ListFindingAggregators.

This operation currently only * returns a single result.

*/ inline ListFindingAggregatorsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

If there are more results, this is the token to provide in the next call to * ListFindingAggregators.

This operation currently only * returns a single result.

*/ inline ListFindingAggregatorsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

If there are more results, this is the token to provide in the next call to * ListFindingAggregators.

This operation currently only * returns a single result.

*/ inline ListFindingAggregatorsResult& WithNextToken(const char* value) { SetNextToken(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 ListFindingAggregatorsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListFindingAggregatorsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListFindingAggregatorsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_findingAggregators; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace SecurityHub } // namespace Aws