AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HistogramEntry.h
1
6#pragma once
7#include <aws/xray/XRay_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace XRay
20{
21namespace Model
22{
23
32 {
33 public:
34 AWS_XRAY_API HistogramEntry();
38
39
41
44 inline double GetValue() const{ return m_value; }
45 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
46 inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; }
47 inline HistogramEntry& WithValue(double value) { SetValue(value); return *this;}
49
51
54 inline int GetCount() const{ return m_count; }
55 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
56 inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
57 inline HistogramEntry& WithCount(int value) { SetCount(value); return *this;}
59 private:
60
61 double m_value;
62 bool m_valueHasBeenSet = false;
63
64 int m_count;
65 bool m_countHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace XRay
70} // namespace Aws
HistogramEntry & WithValue(double value)
int GetCount() const
bool CountHasBeenSet() const
AWS_XRAY_API HistogramEntry(Aws::Utils::Json::JsonView jsonValue)
bool ValueHasBeenSet() const
double GetValue() const
HistogramEntry & WithCount(int value)
void SetCount(int value)
void SetValue(double value)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_XRAY_API HistogramEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_XRAY_API HistogramEntry()
Aws::Utils::Json::JsonValue JsonValue