AWS SDK for C++  1.9.41
AWS SDK for C++
FrameMetricDatum.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace CodeGuruProfiler
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
42 
43  inline const FrameMetric& GetFrameMetric() const{ return m_frameMetric; }
44 
45 
46  inline bool FrameMetricHasBeenSet() const { return m_frameMetricHasBeenSet; }
47 
48 
49  inline void SetFrameMetric(const FrameMetric& value) { m_frameMetricHasBeenSet = true; m_frameMetric = value; }
50 
51 
52  inline void SetFrameMetric(FrameMetric&& value) { m_frameMetricHasBeenSet = true; m_frameMetric = std::move(value); }
53 
54 
55  inline FrameMetricDatum& WithFrameMetric(const FrameMetric& value) { SetFrameMetric(value); return *this;}
56 
57 
58  inline FrameMetricDatum& WithFrameMetric(FrameMetric&& value) { SetFrameMetric(std::move(value)); return *this;}
59 
60 
64  inline const Aws::Vector<double>& GetValues() const{ return m_values; }
65 
69  inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
70 
74  inline void SetValues(const Aws::Vector<double>& value) { m_valuesHasBeenSet = true; m_values = value; }
75 
79  inline void SetValues(Aws::Vector<double>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
80 
84  inline FrameMetricDatum& WithValues(const Aws::Vector<double>& value) { SetValues(value); return *this;}
85 
89  inline FrameMetricDatum& WithValues(Aws::Vector<double>&& value) { SetValues(std::move(value)); return *this;}
90 
94  inline FrameMetricDatum& AddValues(double value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
95 
96  private:
97 
98  FrameMetric m_frameMetric;
99  bool m_frameMetricHasBeenSet;
100 
101  Aws::Vector<double> m_values;
102  bool m_valuesHasBeenSet;
103  };
104 
105 } // namespace Model
106 } // namespace CodeGuruProfiler
107 } // namespace Aws
Aws::CodeGuruProfiler::Model::FrameMetricDatum::SetValues
void SetValues(const Aws::Vector< double > &value)
Definition: FrameMetricDatum.h:74
Aws::CodeGuruProfiler::Model::FrameMetricDatum::FrameMetricHasBeenSet
bool FrameMetricHasBeenSet() const
Definition: FrameMetricDatum.h:46
Aws::CodeGuruProfiler::Model::FrameMetricDatum::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::CodeGuruProfiler::Model::FrameMetricDatum::SetValues
void SetValues(Aws::Vector< double > &&value)
Definition: FrameMetricDatum.h:79
Aws::CodeGuruProfiler::Model::FrameMetricDatum::WithFrameMetric
FrameMetricDatum & WithFrameMetric(FrameMetric &&value)
Definition: FrameMetricDatum.h:58
AWS_CODEGURUPROFILER_API
#define AWS_CODEGURUPROFILER_API
Definition: CodeGuruProfiler_EXPORTS.h:28
Aws::CodeGuruProfiler::Model::FrameMetric
Definition: FrameMetric.h:35
Aws::CodeGuruProfiler::Model::FrameMetricDatum::ValuesHasBeenSet
bool ValuesHasBeenSet() const
Definition: FrameMetricDatum.h:69
Aws::CodeGuruProfiler::Model::FrameMetricDatum::GetFrameMetric
const FrameMetric & GetFrameMetric() const
Definition: FrameMetricDatum.h:43
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::CodeGuruProfiler::Model::FrameMetricDatum::FrameMetricDatum
FrameMetricDatum()
AWSVector.h
Aws::CodeGuruProfiler::Model::FrameMetricDatum::WithValues
FrameMetricDatum & WithValues(const Aws::Vector< double > &value)
Definition: FrameMetricDatum.h:84
CodeGuruProfiler_EXPORTS.h
Aws::CodeGuruProfiler::Model::FrameMetricDatum::SetFrameMetric
void SetFrameMetric(const FrameMetric &value)
Definition: FrameMetricDatum.h:49
Aws::CodeGuruProfiler::Model::FrameMetricDatum::operator=
FrameMetricDatum & operator=(Aws::Utils::Json::JsonView jsonValue)
FrameMetric.h
Aws::CodeGuruProfiler::Model::FrameMetricDatum::WithValues
FrameMetricDatum & WithValues(Aws::Vector< double > &&value)
Definition: FrameMetricDatum.h:89
Aws::CodeGuruProfiler::Model::FrameMetricDatum::AddValues
FrameMetricDatum & AddValues(double value)
Definition: FrameMetricDatum.h:94
Aws::CodeGuruProfiler::Model::FrameMetricDatum::SetFrameMetric
void SetFrameMetric(FrameMetric &&value)
Definition: FrameMetricDatum.h:52
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::CodeGuruProfiler::Model::FrameMetricDatum::FrameMetricDatum
FrameMetricDatum(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::CodeGuruProfiler::Model::FrameMetricDatum::GetValues
const Aws::Vector< double > & GetValues() const
Definition: FrameMetricDatum.h:64
Aws::CodeGuruProfiler::Model::FrameMetricDatum::WithFrameMetric
FrameMetricDatum & WithFrameMetric(const FrameMetric &value)
Definition: FrameMetricDatum.h:55
Aws::CodeGuruProfiler::Model::FrameMetricDatum
Definition: FrameMetricDatum.h:34