AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ReportGroupTrendStats.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CodeBuild
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_CODEBUILD_API ReportGroupTrendStats() = default;
39 AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetAverage() const { return m_average; }
47 inline bool AverageHasBeenSet() const { return m_averageHasBeenSet; }
48 template<typename AverageT = Aws::String>
49 void SetAverage(AverageT&& value) { m_averageHasBeenSet = true; m_average = std::forward<AverageT>(value); }
50 template<typename AverageT = Aws::String>
51 ReportGroupTrendStats& WithAverage(AverageT&& value) { SetAverage(std::forward<AverageT>(value)); return *this;}
53
55
58 inline const Aws::String& GetMax() const { return m_max; }
59 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
60 template<typename MaxT = Aws::String>
61 void SetMax(MaxT&& value) { m_maxHasBeenSet = true; m_max = std::forward<MaxT>(value); }
62 template<typename MaxT = Aws::String>
63 ReportGroupTrendStats& WithMax(MaxT&& value) { SetMax(std::forward<MaxT>(value)); return *this;}
65
67
70 inline const Aws::String& GetMin() const { return m_min; }
71 inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
72 template<typename MinT = Aws::String>
73 void SetMin(MinT&& value) { m_minHasBeenSet = true; m_min = std::forward<MinT>(value); }
74 template<typename MinT = Aws::String>
75 ReportGroupTrendStats& WithMin(MinT&& value) { SetMin(std::forward<MinT>(value)); return *this;}
77 private:
78
79 Aws::String m_average;
80 bool m_averageHasBeenSet = false;
81
82 Aws::String m_max;
83 bool m_maxHasBeenSet = false;
84
85 Aws::String m_min;
86 bool m_minHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace CodeBuild
91} // namespace Aws
ReportGroupTrendStats & WithMax(MaxT &&value)
ReportGroupTrendStats & WithAverage(AverageT &&value)
AWS_CODEBUILD_API ReportGroupTrendStats()=default
ReportGroupTrendStats & WithMin(MinT &&value)
AWS_CODEBUILD_API ReportGroupTrendStats & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEBUILD_API ReportGroupTrendStats(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue