AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Capacity.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_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 WorkSpaces
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_WORKSPACES_API Capacity();
34 AWS_WORKSPACES_API Capacity(Aws::Utils::Json::JsonView jsonValue);
35 AWS_WORKSPACES_API Capacity& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline int GetDesiredUserSessions() const{ return m_desiredUserSessions; }
44 inline bool DesiredUserSessionsHasBeenSet() const { return m_desiredUserSessionsHasBeenSet; }
45 inline void SetDesiredUserSessions(int value) { m_desiredUserSessionsHasBeenSet = true; m_desiredUserSessions = value; }
46 inline Capacity& WithDesiredUserSessions(int value) { SetDesiredUserSessions(value); return *this;}
48 private:
49
50 int m_desiredUserSessions;
51 bool m_desiredUserSessionsHasBeenSet = false;
52 };
53
54} // namespace Model
55} // namespace WorkSpaces
56} // namespace Aws
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WORKSPACES_API Capacity(Aws::Utils::Json::JsonView jsonValue)
Capacity & WithDesiredUserSessions(int value)
Definition Capacity.h:46
bool DesiredUserSessionsHasBeenSet() const
Definition Capacity.h:44
AWS_WORKSPACES_API Capacity()
void SetDesiredUserSessions(int value)
Definition Capacity.h:45
AWS_WORKSPACES_API Capacity & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue