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

The percentile values of the aggregated fields.

*/ inline const Aws::Vector& GetPercentiles() const{ return m_percentiles; } /** *

The percentile values of the aggregated fields.

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

The percentile values of the aggregated fields.

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

The percentile values of the aggregated fields.

*/ inline GetPercentilesResult& WithPercentiles(const Aws::Vector& value) { SetPercentiles(value); return *this;} /** *

The percentile values of the aggregated fields.

*/ inline GetPercentilesResult& WithPercentiles(Aws::Vector&& value) { SetPercentiles(std::move(value)); return *this;} /** *

The percentile values of the aggregated fields.

*/ inline GetPercentilesResult& AddPercentiles(const PercentPair& value) { m_percentiles.push_back(value); return *this; } /** *

The percentile values of the aggregated fields.

*/ inline GetPercentilesResult& AddPercentiles(PercentPair&& value) { m_percentiles.push_back(std::move(value)); return *this; } private: Aws::Vector m_percentiles; }; } // namespace Model } // namespace IoT } // namespace Aws