7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
58 inline void SetDesiredUserSessions(
int value) { m_desiredUserSessionsHasBeenSet =
true; m_desiredUserSessions = value; }
70 inline void SetActualUserSessions(
int value) { m_actualUserSessionsHasBeenSet =
true; m_actualUserSessions = value; }
80 inline void SetActiveUserSessions(
int value) { m_activeUserSessionsHasBeenSet =
true; m_activeUserSessions = value; }
85 int m_availableUserSessions;
86 bool m_availableUserSessionsHasBeenSet =
false;
88 int m_desiredUserSessions;
89 bool m_desiredUserSessionsHasBeenSet =
false;
91 int m_actualUserSessions;
92 bool m_actualUserSessionsHasBeenSet =
false;
94 int m_activeUserSessions;
95 bool m_activeUserSessionsHasBeenSet =
false;
CapacityStatus & WithAvailableUserSessions(int value)
void SetAvailableUserSessions(int value)
CapacityStatus & WithDesiredUserSessions(int value)
AWS_WORKSPACES_API CapacityStatus()
void SetActualUserSessions(int value)
CapacityStatus & WithActualUserSessions(int value)
bool AvailableUserSessionsHasBeenSet() const
int GetActiveUserSessions() const
AWS_WORKSPACES_API CapacityStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKSPACES_API CapacityStatus(Aws::Utils::Json::JsonView jsonValue)
bool DesiredUserSessionsHasBeenSet() const
bool ActualUserSessionsHasBeenSet() const
int GetDesiredUserSessions() const
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
CapacityStatus & WithActiveUserSessions(int value)
int GetAvailableUserSessions() const
void SetDesiredUserSessions(int value)
int GetActualUserSessions() const
bool ActiveUserSessionsHasBeenSet() const
void SetActiveUserSessions(int value)
Aws::Utils::Json::JsonValue JsonValue