AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TrialMinutes.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
31 {
32 public:
33 AWS_DEVICEFARM_API TrialMinutes();
34 AWS_DEVICEFARM_API TrialMinutes(Aws::Utils::Json::JsonView jsonValue);
35 AWS_DEVICEFARM_API TrialMinutes& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline double GetTotal() const{ return m_total; }
44 inline bool TotalHasBeenSet() const { return m_totalHasBeenSet; }
45 inline void SetTotal(double value) { m_totalHasBeenSet = true; m_total = value; }
46 inline TrialMinutes& WithTotal(double value) { SetTotal(value); return *this;}
48
50
53 inline double GetRemaining() const{ return m_remaining; }
54 inline bool RemainingHasBeenSet() const { return m_remainingHasBeenSet; }
55 inline void SetRemaining(double value) { m_remainingHasBeenSet = true; m_remaining = value; }
56 inline TrialMinutes& WithRemaining(double value) { SetRemaining(value); return *this;}
58 private:
59
60 double m_total;
61 bool m_totalHasBeenSet = false;
62
63 double m_remaining;
64 bool m_remainingHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace DeviceFarm
69} // namespace Aws
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEVICEFARM_API TrialMinutes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVICEFARM_API TrialMinutes(Aws::Utils::Json::JsonView jsonValue)
TrialMinutes & WithTotal(double value)
TrialMinutes & WithRemaining(double value)
Aws::Utils::Json::JsonValue JsonValue