AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ComputeCapacityStatus.h
Go to the documentation of this file.
1
6#pragma once
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AppStream
20{
21namespace Model
22{
23
30 {
31 public:
36
37
41 inline int GetDesired() const{ return m_desired; }
42
46 inline bool DesiredHasBeenSet() const { return m_desiredHasBeenSet; }
47
51 inline void SetDesired(int value) { m_desiredHasBeenSet = true; m_desired = value; }
52
56 inline ComputeCapacityStatus& WithDesired(int value) { SetDesired(value); return *this;}
57
58
62 inline int GetRunning() const{ return m_running; }
63
67 inline bool RunningHasBeenSet() const { return m_runningHasBeenSet; }
68
72 inline void SetRunning(int value) { m_runningHasBeenSet = true; m_running = value; }
73
77 inline ComputeCapacityStatus& WithRunning(int value) { SetRunning(value); return *this;}
78
79
83 inline int GetInUse() const{ return m_inUse; }
84
88 inline bool InUseHasBeenSet() const { return m_inUseHasBeenSet; }
89
93 inline void SetInUse(int value) { m_inUseHasBeenSet = true; m_inUse = value; }
94
98 inline ComputeCapacityStatus& WithInUse(int value) { SetInUse(value); return *this;}
99
100
105 inline int GetAvailable() const{ return m_available; }
106
111 inline bool AvailableHasBeenSet() const { return m_availableHasBeenSet; }
112
117 inline void SetAvailable(int value) { m_availableHasBeenSet = true; m_available = value; }
118
123 inline ComputeCapacityStatus& WithAvailable(int value) { SetAvailable(value); return *this;}
124
125 private:
126
127 int m_desired;
128 bool m_desiredHasBeenSet = false;
129
130 int m_running;
131 bool m_runningHasBeenSet = false;
132
133 int m_inUse;
134 bool m_inUseHasBeenSet = false;
135
136 int m_available;
137 bool m_availableHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace AppStream
142} // namespace Aws
#define AWS_APPSTREAM_API
ComputeCapacityStatus & WithAvailable(int value)
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
ComputeCapacityStatus & WithRunning(int value)
ComputeCapacityStatus & WithInUse(int value)
AWS_APPSTREAM_API ComputeCapacityStatus(Aws::Utils::Json::JsonView jsonValue)
ComputeCapacityStatus & WithDesired(int value)
AWS_APPSTREAM_API ComputeCapacityStatus & operator=(Aws::Utils::Json::JsonView jsonValue)