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

Contains the accumulated trend data.

*/ inline const ReportGroupTrendStats& GetStats() const{ return m_stats; } /** *

Contains the accumulated trend data.

*/ inline void SetStats(const ReportGroupTrendStats& value) { m_stats = value; } /** *

Contains the accumulated trend data.

*/ inline void SetStats(ReportGroupTrendStats&& value) { m_stats = std::move(value); } /** *

Contains the accumulated trend data.

*/ inline GetReportGroupTrendResult& WithStats(const ReportGroupTrendStats& value) { SetStats(value); return *this;} /** *

Contains the accumulated trend data.

*/ inline GetReportGroupTrendResult& WithStats(ReportGroupTrendStats&& value) { SetStats(std::move(value)); return *this;} /** *

An array that contains the raw data for each report.

*/ inline const Aws::Vector& GetRawData() const{ return m_rawData; } /** *

An array that contains the raw data for each report.

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

An array that contains the raw data for each report.

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

An array that contains the raw data for each report.

*/ inline GetReportGroupTrendResult& WithRawData(const Aws::Vector& value) { SetRawData(value); return *this;} /** *

An array that contains the raw data for each report.

*/ inline GetReportGroupTrendResult& WithRawData(Aws::Vector&& value) { SetRawData(std::move(value)); return *this;} /** *

An array that contains the raw data for each report.

*/ inline GetReportGroupTrendResult& AddRawData(const ReportWithRawData& value) { m_rawData.push_back(value); return *this; } /** *

An array that contains the raw data for each report.

*/ inline GetReportGroupTrendResult& AddRawData(ReportWithRawData&& value) { m_rawData.push_back(std::move(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 GetReportGroupTrendResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetReportGroupTrendResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetReportGroupTrendResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ReportGroupTrendStats m_stats; Aws::Vector m_rawData; Aws::String m_requestId; }; } // namespace Model } // namespace CodeBuild } // namespace Aws