AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CountPercent.h
1
6#pragma once
7#include <aws/lookoutequipment/LookoutEquipment_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 LookoutEquipment
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_LOOKOUTEQUIPMENT_API CountPercent();
34 AWS_LOOKOUTEQUIPMENT_API CountPercent(Aws::Utils::Json::JsonView jsonValue);
35 AWS_LOOKOUTEQUIPMENT_API CountPercent& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline int GetCount() const{ return m_count; }
44 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
45 inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
46 inline CountPercent& WithCount(int value) { SetCount(value); return *this;}
48
50
53 inline double GetPercentage() const{ return m_percentage; }
54 inline bool PercentageHasBeenSet() const { return m_percentageHasBeenSet; }
55 inline void SetPercentage(double value) { m_percentageHasBeenSet = true; m_percentage = value; }
56 inline CountPercent& WithPercentage(double value) { SetPercentage(value); return *this;}
58 private:
59
60 int m_count;
61 bool m_countHasBeenSet = false;
62
63 double m_percentage;
64 bool m_percentageHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace LookoutEquipment
69} // namespace Aws
AWS_LOOKOUTEQUIPMENT_API CountPercent(Aws::Utils::Json::JsonView jsonValue)
AWS_LOOKOUTEQUIPMENT_API CountPercent()
CountPercent & WithPercentage(double value)
AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LOOKOUTEQUIPMENT_API CountPercent & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue