AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAverage(const Aws::String& value) { m_averageHasBeenSet = true; m_average = value; }
49 inline void SetAverage(Aws::String&& value) { m_averageHasBeenSet = true; m_average = std::move(value); }
50 inline void SetAverage(const char* value) { m_averageHasBeenSet = true; m_average.assign(value); }
51 inline ReportGroupTrendStats& WithAverage(const Aws::String& value) { SetAverage(value); return *this;}
52 inline ReportGroupTrendStats& WithAverage(Aws::String&& value) { SetAverage(std::move(value)); return *this;}
53 inline ReportGroupTrendStats& WithAverage(const char* value) { SetAverage(value); return *this;}
55
57
60 inline const Aws::String& GetMax() const{ return m_max; }
61 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
62 inline void SetMax(const Aws::String& value) { m_maxHasBeenSet = true; m_max = value; }
63 inline void SetMax(Aws::String&& value) { m_maxHasBeenSet = true; m_max = std::move(value); }
64 inline void SetMax(const char* value) { m_maxHasBeenSet = true; m_max.assign(value); }
65 inline ReportGroupTrendStats& WithMax(const Aws::String& value) { SetMax(value); return *this;}
66 inline ReportGroupTrendStats& WithMax(Aws::String&& value) { SetMax(std::move(value)); return *this;}
67 inline ReportGroupTrendStats& WithMax(const char* value) { SetMax(value); return *this;}
69
71
74 inline const Aws::String& GetMin() const{ return m_min; }
75 inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
76 inline void SetMin(const Aws::String& value) { m_minHasBeenSet = true; m_min = value; }
77 inline void SetMin(Aws::String&& value) { m_minHasBeenSet = true; m_min = std::move(value); }
78 inline void SetMin(const char* value) { m_minHasBeenSet = true; m_min.assign(value); }
79 inline ReportGroupTrendStats& WithMin(const Aws::String& value) { SetMin(value); return *this;}
80 inline ReportGroupTrendStats& WithMin(Aws::String&& value) { SetMin(std::move(value)); return *this;}
81 inline ReportGroupTrendStats& WithMin(const char* value) { SetMin(value); return *this;}
83 private:
84
85 Aws::String m_average;
86 bool m_averageHasBeenSet = false;
87
88 Aws::String m_max;
89 bool m_maxHasBeenSet = false;
90
91 Aws::String m_min;
92 bool m_minHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace CodeBuild
97} // namespace Aws
ReportGroupTrendStats & WithMin(const Aws::String &value)
ReportGroupTrendStats & WithMax(const Aws::String &value)
ReportGroupTrendStats & WithMin(Aws::String &&value)
ReportGroupTrendStats & WithAverage(Aws::String &&value)
AWS_CODEBUILD_API ReportGroupTrendStats & operator=(Aws::Utils::Json::JsonView jsonValue)
ReportGroupTrendStats & WithAverage(const char *value)
ReportGroupTrendStats & WithMin(const char *value)
AWS_CODEBUILD_API ReportGroupTrendStats(Aws::Utils::Json::JsonView jsonValue)
ReportGroupTrendStats & WithMax(const char *value)
ReportGroupTrendStats & WithMax(Aws::String &&value)
ReportGroupTrendStats & WithAverage(const Aws::String &value)
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