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

The statistics returned by the Fleet Indexing service based on the query and * aggregation field.

*/ inline const Statistics& GetStatistics() const{ return m_statistics; } /** *

The statistics returned by the Fleet Indexing service based on the query and * aggregation field.

*/ inline void SetStatistics(const Statistics& value) { m_statistics = value; } /** *

The statistics returned by the Fleet Indexing service based on the query and * aggregation field.

*/ inline void SetStatistics(Statistics&& value) { m_statistics = std::move(value); } /** *

The statistics returned by the Fleet Indexing service based on the query and * aggregation field.

*/ inline GetStatisticsResult& WithStatistics(const Statistics& value) { SetStatistics(value); return *this;} /** *

The statistics returned by the Fleet Indexing service based on the query and * aggregation field.

*/ inline GetStatisticsResult& WithStatistics(Statistics&& value) { SetStatistics(std::move(value)); return *this;} private: Statistics m_statistics; }; } // namespace Model } // namespace IoT } // namespace Aws