AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CodeBuild {
20namespace Model {
21
30 public:
31 AWS_CODEBUILD_API ReportGroupTrendStats() = default;
34 AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetAverage() const { return m_average; }
41 inline bool AverageHasBeenSet() const { return m_averageHasBeenSet; }
42 template <typename AverageT = Aws::String>
43 void SetAverage(AverageT&& value) {
44 m_averageHasBeenSet = true;
45 m_average = std::forward<AverageT>(value);
46 }
47 template <typename AverageT = Aws::String>
49 SetAverage(std::forward<AverageT>(value));
50 return *this;
51 }
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) {
62 m_maxHasBeenSet = true;
63 m_max = std::forward<MaxT>(value);
64 }
65 template <typename MaxT = Aws::String>
67 SetMax(std::forward<MaxT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetMin() const { return m_min; }
77 inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
78 template <typename MinT = Aws::String>
79 void SetMin(MinT&& value) {
80 m_minHasBeenSet = true;
81 m_min = std::forward<MinT>(value);
82 }
83 template <typename MinT = Aws::String>
85 SetMin(std::forward<MinT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_average;
91
92 Aws::String m_max;
93
94 Aws::String m_min;
95 bool m_averageHasBeenSet = false;
96 bool m_maxHasBeenSet = false;
97 bool m_minHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace CodeBuild
102} // 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