AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
LambdaFunctionMemoryProjectedMetric.h
1
6#pragma once
7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/LambdaFunctionMemoryMetricName.h>
9#include <aws/compute-optimizer/model/LambdaFunctionMemoryMetricStatistic.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ComputeOptimizer
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_COMPUTEOPTIMIZER_API LambdaFunctionMemoryProjectedMetric() = default;
39 AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline LambdaFunctionMemoryMetricName GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(LambdaFunctionMemoryMetricName value) { m_nameHasBeenSet = true; m_name = value; }
51
53
56 inline LambdaFunctionMemoryMetricStatistic GetStatistic() const { return m_statistic; }
57 inline bool StatisticHasBeenSet() const { return m_statisticHasBeenSet; }
58 inline void SetStatistic(LambdaFunctionMemoryMetricStatistic value) { m_statisticHasBeenSet = true; m_statistic = value; }
61
63
66 inline double GetValue() const { return m_value; }
67 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
68 inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; }
69 inline LambdaFunctionMemoryProjectedMetric& WithValue(double value) { SetValue(value); return *this;}
71 private:
72
74 bool m_nameHasBeenSet = false;
75
77 bool m_statisticHasBeenSet = false;
78
79 double m_value{0.0};
80 bool m_valueHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace ComputeOptimizer
85} // namespace Aws
AWS_COMPUTEOPTIMIZER_API LambdaFunctionMemoryProjectedMetric(Aws::Utils::Json::JsonView jsonValue)
LambdaFunctionMemoryProjectedMetric & WithName(LambdaFunctionMemoryMetricName value)
AWS_COMPUTEOPTIMIZER_API LambdaFunctionMemoryProjectedMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPUTEOPTIMIZER_API LambdaFunctionMemoryProjectedMetric()=default
LambdaFunctionMemoryProjectedMetric & WithStatistic(LambdaFunctionMemoryMetricStatistic value)
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue