AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeviceMinutes.h
1
6#pragma once
7#include <aws/devicefarm/DeviceFarm_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 DeviceFarm
20{
21namespace Model
22{
23
32 {
33 public:
34 AWS_DEVICEFARM_API DeviceMinutes();
35 AWS_DEVICEFARM_API DeviceMinutes(Aws::Utils::Json::JsonView jsonValue);
36 AWS_DEVICEFARM_API DeviceMinutes& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline double GetTotal() const{ return m_total; }
46 inline bool TotalHasBeenSet() const { return m_totalHasBeenSet; }
47 inline void SetTotal(double value) { m_totalHasBeenSet = true; m_total = value; }
48 inline DeviceMinutes& WithTotal(double value) { SetTotal(value); return *this;}
50
52
56 inline double GetMetered() const{ return m_metered; }
57 inline bool MeteredHasBeenSet() const { return m_meteredHasBeenSet; }
58 inline void SetMetered(double value) { m_meteredHasBeenSet = true; m_metered = value; }
59 inline DeviceMinutes& WithMetered(double value) { SetMetered(value); return *this;}
61
63
67 inline double GetUnmetered() const{ return m_unmetered; }
68 inline bool UnmeteredHasBeenSet() const { return m_unmeteredHasBeenSet; }
69 inline void SetUnmetered(double value) { m_unmeteredHasBeenSet = true; m_unmetered = value; }
70 inline DeviceMinutes& WithUnmetered(double value) { SetUnmetered(value); return *this;}
72 private:
73
74 double m_total;
75 bool m_totalHasBeenSet = false;
76
77 double m_metered;
78 bool m_meteredHasBeenSet = false;
79
80 double m_unmetered;
81 bool m_unmeteredHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace DeviceFarm
86} // namespace Aws
DeviceMinutes & WithUnmetered(double value)
AWS_DEVICEFARM_API DeviceMinutes(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
DeviceMinutes & WithTotal(double value)
DeviceMinutes & WithMetered(double value)
AWS_DEVICEFARM_API DeviceMinutes & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue