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

The list of fleet metrics objects.

*/ inline const Aws::Vector& GetFleetMetrics() const{ return m_fleetMetrics; } /** *

The list of fleet metrics objects.

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

The list of fleet metrics objects.

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

The list of fleet metrics objects.

*/ inline ListFleetMetricsResult& WithFleetMetrics(const Aws::Vector& value) { SetFleetMetrics(value); return *this;} /** *

The list of fleet metrics objects.

*/ inline ListFleetMetricsResult& WithFleetMetrics(Aws::Vector&& value) { SetFleetMetrics(std::move(value)); return *this;} /** *

The list of fleet metrics objects.

*/ inline ListFleetMetricsResult& AddFleetMetrics(const FleetMetricNameAndArn& value) { m_fleetMetrics.push_back(value); return *this; } /** *

The list of fleet metrics objects.

*/ inline ListFleetMetricsResult& AddFleetMetrics(FleetMetricNameAndArn&& value) { m_fleetMetrics.push_back(std::move(value)); return *this; } /** *

The token for the next set of results. Will not be returned if the operation * has returned all results.

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

The token for the next set of results. Will not be returned if the operation * has returned all results.

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

The token for the next set of results. Will not be returned if the operation * has returned all results.

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

The token for the next set of results. Will not be returned if the operation * has returned all results.

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

The token for the next set of results. Will not be returned if the operation * has returned all results.

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

The token for the next set of results. Will not be returned if the operation * has returned all results.

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

The token for the next set of results. Will not be returned if the operation * has returned all results.

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