7#include <aws/appstream/AppStream_EXPORTS.h>
44 inline void SetDesired(
int value) { m_desiredHasBeenSet =
true; m_desired = value; }
54 inline void SetRunning(
int value) { m_runningHasBeenSet =
true; m_running = value; }
64 inline void SetInUse(
int value) { m_inUseHasBeenSet =
true; m_inUse = value; }
75 inline void SetAvailable(
int value) { m_availableHasBeenSet =
true; m_available = value; }
89 inline void SetDesiredUserSessions(
int value) { m_desiredUserSessionsHasBeenSet =
true; m_desiredUserSessions = value; }
112 inline void SetActiveUserSessions(
int value) { m_activeUserSessionsHasBeenSet =
true; m_activeUserSessions = value; }
125 inline void SetActualUserSessions(
int value) { m_actualUserSessionsHasBeenSet =
true; m_actualUserSessions = value; }
131 bool m_desiredHasBeenSet =
false;
134 bool m_runningHasBeenSet =
false;
137 bool m_inUseHasBeenSet =
false;
140 bool m_availableHasBeenSet =
false;
142 int m_desiredUserSessions;
143 bool m_desiredUserSessionsHasBeenSet =
false;
145 int m_availableUserSessions;
146 bool m_availableUserSessionsHasBeenSet =
false;
148 int m_activeUserSessions;
149 bool m_activeUserSessionsHasBeenSet =
false;
151 int m_actualUserSessions;
152 bool m_actualUserSessionsHasBeenSet =
false;
int GetActualUserSessions() const
ComputeCapacityStatus & WithAvailable(int value)
bool ActiveUserSessionsHasBeenSet() const
void SetAvailable(int value)
void SetAvailableUserSessions(int value)
bool RunningHasBeenSet() const
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
bool InUseHasBeenSet() const
ComputeCapacityStatus & WithActiveUserSessions(int value)
ComputeCapacityStatus & WithRunning(int value)
ComputeCapacityStatus & WithInUse(int value)
ComputeCapacityStatus & WithDesiredUserSessions(int value)
bool AvailableUserSessionsHasBeenSet() const
bool AvailableHasBeenSet() const
void SetActiveUserSessions(int value)
bool DesiredUserSessionsHasBeenSet() const
AWS_APPSTREAM_API ComputeCapacityStatus(Aws::Utils::Json::JsonView jsonValue)
ComputeCapacityStatus & WithDesired(int value)
void SetDesiredUserSessions(int value)
int GetAvailableUserSessions() const
void SetActualUserSessions(int value)
ComputeCapacityStatus & WithAvailableUserSessions(int value)
bool DesiredHasBeenSet() const
int GetActiveUserSessions() const
ComputeCapacityStatus & WithActualUserSessions(int value)
void SetRunning(int value)
AWS_APPSTREAM_API ComputeCapacityStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
int GetDesiredUserSessions() const
AWS_APPSTREAM_API ComputeCapacityStatus()
bool ActualUserSessionsHasBeenSet() const
void SetDesired(int value)
Aws::Utils::Json::JsonValue JsonValue