/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace CodeBuild { namespace Model { /** *

Contains trend statistics for a set of reports. The actual values depend on * the type of trend being collected. For more information, see .

See * Also:

AWS * API Reference

*/ class ReportGroupTrendStats { public: AWS_CODEBUILD_API ReportGroupTrendStats(); AWS_CODEBUILD_API ReportGroupTrendStats(Aws::Utils::Json::JsonView jsonValue); AWS_CODEBUILD_API ReportGroupTrendStats& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Contains the average of all values analyzed.

*/ inline const Aws::String& GetAverage() const{ return m_average; } /** *

Contains the average of all values analyzed.

*/ inline bool AverageHasBeenSet() const { return m_averageHasBeenSet; } /** *

Contains the average of all values analyzed.

*/ inline void SetAverage(const Aws::String& value) { m_averageHasBeenSet = true; m_average = value; } /** *

Contains the average of all values analyzed.

*/ inline void SetAverage(Aws::String&& value) { m_averageHasBeenSet = true; m_average = std::move(value); } /** *

Contains the average of all values analyzed.

*/ inline void SetAverage(const char* value) { m_averageHasBeenSet = true; m_average.assign(value); } /** *

Contains the average of all values analyzed.

*/ inline ReportGroupTrendStats& WithAverage(const Aws::String& value) { SetAverage(value); return *this;} /** *

Contains the average of all values analyzed.

*/ inline ReportGroupTrendStats& WithAverage(Aws::String&& value) { SetAverage(std::move(value)); return *this;} /** *

Contains the average of all values analyzed.

*/ inline ReportGroupTrendStats& WithAverage(const char* value) { SetAverage(value); return *this;} /** *

Contains the maximum value analyzed.

*/ inline const Aws::String& GetMax() const{ return m_max; } /** *

Contains the maximum value analyzed.

*/ inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; } /** *

Contains the maximum value analyzed.

*/ inline void SetMax(const Aws::String& value) { m_maxHasBeenSet = true; m_max = value; } /** *

Contains the maximum value analyzed.

*/ inline void SetMax(Aws::String&& value) { m_maxHasBeenSet = true; m_max = std::move(value); } /** *

Contains the maximum value analyzed.

*/ inline void SetMax(const char* value) { m_maxHasBeenSet = true; m_max.assign(value); } /** *

Contains the maximum value analyzed.

*/ inline ReportGroupTrendStats& WithMax(const Aws::String& value) { SetMax(value); return *this;} /** *

Contains the maximum value analyzed.

*/ inline ReportGroupTrendStats& WithMax(Aws::String&& value) { SetMax(std::move(value)); return *this;} /** *

Contains the maximum value analyzed.

*/ inline ReportGroupTrendStats& WithMax(const char* value) { SetMax(value); return *this;} /** *

Contains the minimum value analyzed.

*/ inline const Aws::String& GetMin() const{ return m_min; } /** *

Contains the minimum value analyzed.

*/ inline bool MinHasBeenSet() const { return m_minHasBeenSet; } /** *

Contains the minimum value analyzed.

*/ inline void SetMin(const Aws::String& value) { m_minHasBeenSet = true; m_min = value; } /** *

Contains the minimum value analyzed.

*/ inline void SetMin(Aws::String&& value) { m_minHasBeenSet = true; m_min = std::move(value); } /** *

Contains the minimum value analyzed.

*/ inline void SetMin(const char* value) { m_minHasBeenSet = true; m_min.assign(value); } /** *

Contains the minimum value analyzed.

*/ inline ReportGroupTrendStats& WithMin(const Aws::String& value) { SetMin(value); return *this;} /** *

Contains the minimum value analyzed.

*/ inline ReportGroupTrendStats& WithMin(Aws::String&& value) { SetMin(std::move(value)); return *this;} /** *

Contains the minimum value analyzed.

*/ inline ReportGroupTrendStats& WithMin(const char* value) { SetMin(value); return *this;} private: Aws::String m_average; bool m_averageHasBeenSet = false; Aws::String m_max; bool m_maxHasBeenSet = false; Aws::String m_min; bool m_minHasBeenSet = false; }; } // namespace Model } // namespace CodeBuild } // namespace Aws