AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
WorkspaceAccessProperties.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/workspaces/model/AccessPropertyValue.h>
9#include <aws/workspaces/model/AccessEndpointConfig.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace WorkSpaces
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_WORKSPACES_API WorkspaceAccessProperties() = default;
41 AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline AccessPropertyValue GetDeviceTypeWindows() const { return m_deviceTypeWindows; }
50 inline bool DeviceTypeWindowsHasBeenSet() const { return m_deviceTypeWindowsHasBeenSet; }
51 inline void SetDeviceTypeWindows(AccessPropertyValue value) { m_deviceTypeWindowsHasBeenSet = true; m_deviceTypeWindows = value; }
54
56
59 inline AccessPropertyValue GetDeviceTypeOsx() const { return m_deviceTypeOsx; }
60 inline bool DeviceTypeOsxHasBeenSet() const { return m_deviceTypeOsxHasBeenSet; }
61 inline void SetDeviceTypeOsx(AccessPropertyValue value) { m_deviceTypeOsxHasBeenSet = true; m_deviceTypeOsx = value; }
64
66
70 inline AccessPropertyValue GetDeviceTypeWeb() const { return m_deviceTypeWeb; }
71 inline bool DeviceTypeWebHasBeenSet() const { return m_deviceTypeWebHasBeenSet; }
72 inline void SetDeviceTypeWeb(AccessPropertyValue value) { m_deviceTypeWebHasBeenSet = true; m_deviceTypeWeb = value; }
75
77
80 inline AccessPropertyValue GetDeviceTypeIos() const { return m_deviceTypeIos; }
81 inline bool DeviceTypeIosHasBeenSet() const { return m_deviceTypeIosHasBeenSet; }
82 inline void SetDeviceTypeIos(AccessPropertyValue value) { m_deviceTypeIosHasBeenSet = true; m_deviceTypeIos = value; }
85
87
91 inline AccessPropertyValue GetDeviceTypeAndroid() const { return m_deviceTypeAndroid; }
92 inline bool DeviceTypeAndroidHasBeenSet() const { return m_deviceTypeAndroidHasBeenSet; }
93 inline void SetDeviceTypeAndroid(AccessPropertyValue value) { m_deviceTypeAndroidHasBeenSet = true; m_deviceTypeAndroid = value; }
96
98
101 inline AccessPropertyValue GetDeviceTypeChromeOs() const { return m_deviceTypeChromeOs; }
102 inline bool DeviceTypeChromeOsHasBeenSet() const { return m_deviceTypeChromeOsHasBeenSet; }
103 inline void SetDeviceTypeChromeOs(AccessPropertyValue value) { m_deviceTypeChromeOsHasBeenSet = true; m_deviceTypeChromeOs = value; }
106
108
112 inline AccessPropertyValue GetDeviceTypeZeroClient() const { return m_deviceTypeZeroClient; }
113 inline bool DeviceTypeZeroClientHasBeenSet() const { return m_deviceTypeZeroClientHasBeenSet; }
114 inline void SetDeviceTypeZeroClient(AccessPropertyValue value) { m_deviceTypeZeroClientHasBeenSet = true; m_deviceTypeZeroClient = value; }
117
119
122 inline AccessPropertyValue GetDeviceTypeLinux() const { return m_deviceTypeLinux; }
123 inline bool DeviceTypeLinuxHasBeenSet() const { return m_deviceTypeLinuxHasBeenSet; }
124 inline void SetDeviceTypeLinux(AccessPropertyValue value) { m_deviceTypeLinuxHasBeenSet = true; m_deviceTypeLinux = value; }
127
129
133 inline AccessPropertyValue GetDeviceTypeWorkSpacesThinClient() const { return m_deviceTypeWorkSpacesThinClient; }
134 inline bool DeviceTypeWorkSpacesThinClientHasBeenSet() const { return m_deviceTypeWorkSpacesThinClientHasBeenSet; }
135 inline void SetDeviceTypeWorkSpacesThinClient(AccessPropertyValue value) { m_deviceTypeWorkSpacesThinClientHasBeenSet = true; m_deviceTypeWorkSpacesThinClient = value; }
138
140
143 inline const AccessEndpointConfig& GetAccessEndpointConfig() const { return m_accessEndpointConfig; }
144 inline bool AccessEndpointConfigHasBeenSet() const { return m_accessEndpointConfigHasBeenSet; }
145 template<typename AccessEndpointConfigT = AccessEndpointConfig>
146 void SetAccessEndpointConfig(AccessEndpointConfigT&& value) { m_accessEndpointConfigHasBeenSet = true; m_accessEndpointConfig = std::forward<AccessEndpointConfigT>(value); }
147 template<typename AccessEndpointConfigT = AccessEndpointConfig>
148 WorkspaceAccessProperties& WithAccessEndpointConfig(AccessEndpointConfigT&& value) { SetAccessEndpointConfig(std::forward<AccessEndpointConfigT>(value)); return *this;}
150 private:
151
153 bool m_deviceTypeWindowsHasBeenSet = false;
154
156 bool m_deviceTypeOsxHasBeenSet = false;
157
159 bool m_deviceTypeWebHasBeenSet = false;
160
162 bool m_deviceTypeIosHasBeenSet = false;
163
165 bool m_deviceTypeAndroidHasBeenSet = false;
166
168 bool m_deviceTypeChromeOsHasBeenSet = false;
169
171 bool m_deviceTypeZeroClientHasBeenSet = false;
172
174 bool m_deviceTypeLinuxHasBeenSet = false;
175
176 AccessPropertyValue m_deviceTypeWorkSpacesThinClient{AccessPropertyValue::NOT_SET};
177 bool m_deviceTypeWorkSpacesThinClientHasBeenSet = false;
178
179 AccessEndpointConfig m_accessEndpointConfig;
180 bool m_accessEndpointConfigHasBeenSet = false;
181 };
182
183} // namespace Model
184} // namespace WorkSpaces
185} // namespace Aws
WorkspaceAccessProperties & WithDeviceTypeLinux(AccessPropertyValue value)
void SetAccessEndpointConfig(AccessEndpointConfigT &&value)
WorkspaceAccessProperties & WithAccessEndpointConfig(AccessEndpointConfigT &&value)
WorkspaceAccessProperties & WithDeviceTypeOsx(AccessPropertyValue value)
WorkspaceAccessProperties & WithDeviceTypeZeroClient(AccessPropertyValue value)
WorkspaceAccessProperties & WithDeviceTypeWeb(AccessPropertyValue value)
const AccessEndpointConfig & GetAccessEndpointConfig() const
WorkspaceAccessProperties & WithDeviceTypeChromeOs(AccessPropertyValue value)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
WorkspaceAccessProperties & WithDeviceTypeIos(AccessPropertyValue value)
AWS_WORKSPACES_API WorkspaceAccessProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKSPACES_API WorkspaceAccessProperties(Aws::Utils::Json::JsonView jsonValue)
WorkspaceAccessProperties & WithDeviceTypeAndroid(AccessPropertyValue value)
AWS_WORKSPACES_API WorkspaceAccessProperties()=default
WorkspaceAccessProperties & WithDeviceTypeWorkSpacesThinClient(AccessPropertyValue value)
WorkspaceAccessProperties & WithDeviceTypeWindows(AccessPropertyValue value)
Aws::Utils::Json::JsonValue JsonValue