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

The collection of statistics.

*/ inline const Aws::Vector& GetTimeSeriesServiceStatistics() const{ return m_timeSeriesServiceStatistics; } /** *

The collection of statistics.

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

The collection of statistics.

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

The collection of statistics.

*/ inline GetTimeSeriesServiceStatisticsResult& WithTimeSeriesServiceStatistics(const Aws::Vector& value) { SetTimeSeriesServiceStatistics(value); return *this;} /** *

The collection of statistics.

*/ inline GetTimeSeriesServiceStatisticsResult& WithTimeSeriesServiceStatistics(Aws::Vector&& value) { SetTimeSeriesServiceStatistics(std::move(value)); return *this;} /** *

The collection of statistics.

*/ inline GetTimeSeriesServiceStatisticsResult& AddTimeSeriesServiceStatistics(const TimeSeriesServiceStatistics& value) { m_timeSeriesServiceStatistics.push_back(value); return *this; } /** *

The collection of statistics.

*/ inline GetTimeSeriesServiceStatisticsResult& AddTimeSeriesServiceStatistics(TimeSeriesServiceStatistics&& value) { m_timeSeriesServiceStatistics.push_back(std::move(value)); return *this; } /** *

A flag indicating whether or not a group's filter expression has been * consistent, or if a returned aggregation might show statistics from an older * version of the group's filter expression.

*/ inline bool GetContainsOldGroupVersions() const{ return m_containsOldGroupVersions; } /** *

A flag indicating whether or not a group's filter expression has been * consistent, or if a returned aggregation might show statistics from an older * version of the group's filter expression.

*/ inline void SetContainsOldGroupVersions(bool value) { m_containsOldGroupVersions = value; } /** *

A flag indicating whether or not a group's filter expression has been * consistent, or if a returned aggregation might show statistics from an older * version of the group's filter expression.

*/ inline GetTimeSeriesServiceStatisticsResult& WithContainsOldGroupVersions(bool value) { SetContainsOldGroupVersions(value); return *this;} /** *

Pagination token.

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

Pagination token.

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

Pagination token.

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

Pagination token.

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

Pagination token.

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

Pagination token.

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

Pagination token.

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