AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetReportGroupTrendResult.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/model/ReportGroupTrendStats.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/codebuild/model/ReportWithRawData.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace CodeBuild
27{
28namespace Model
29{
31 {
32 public:
33 AWS_CODEBUILD_API GetReportGroupTrendResult() = default;
36
37
39
42 inline const ReportGroupTrendStats& GetStats() const { return m_stats; }
43 template<typename StatsT = ReportGroupTrendStats>
44 void SetStats(StatsT&& value) { m_statsHasBeenSet = true; m_stats = std::forward<StatsT>(value); }
45 template<typename StatsT = ReportGroupTrendStats>
46 GetReportGroupTrendResult& WithStats(StatsT&& value) { SetStats(std::forward<StatsT>(value)); return *this;}
48
50
53 inline const Aws::Vector<ReportWithRawData>& GetRawData() const { return m_rawData; }
54 template<typename RawDataT = Aws::Vector<ReportWithRawData>>
55 void SetRawData(RawDataT&& value) { m_rawDataHasBeenSet = true; m_rawData = std::forward<RawDataT>(value); }
56 template<typename RawDataT = Aws::Vector<ReportWithRawData>>
57 GetReportGroupTrendResult& WithRawData(RawDataT&& value) { SetRawData(std::forward<RawDataT>(value)); return *this;}
58 template<typename RawDataT = ReportWithRawData>
59 GetReportGroupTrendResult& AddRawData(RawDataT&& value) { m_rawDataHasBeenSet = true; m_rawData.emplace_back(std::forward<RawDataT>(value)); return *this; }
61
63
64 inline const Aws::String& GetRequestId() const { return m_requestId; }
65 template<typename RequestIdT = Aws::String>
66 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
67 template<typename RequestIdT = Aws::String>
68 GetReportGroupTrendResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
70 private:
71
73 bool m_statsHasBeenSet = false;
74
76 bool m_rawDataHasBeenSet = false;
77
78 Aws::String m_requestId;
79 bool m_requestIdHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace CodeBuild
84} // namespace Aws
AWS_CODEBUILD_API GetReportGroupTrendResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CODEBUILD_API GetReportGroupTrendResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetReportGroupTrendResult & WithStats(StatsT &&value)
AWS_CODEBUILD_API GetReportGroupTrendResult()=default
const Aws::Vector< ReportWithRawData > & GetRawData() const
GetReportGroupTrendResult & WithRequestId(RequestIdT &&value)
GetReportGroupTrendResult & AddRawData(RawDataT &&value)
GetReportGroupTrendResult & WithRawData(RawDataT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue