AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace WorkSpaces
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_WORKSPACES_API WorkspaceAccessProperties();
40 AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const AccessPropertyValue& GetDeviceTypeWindows() const{ return m_deviceTypeWindows; }
49 inline bool DeviceTypeWindowsHasBeenSet() const { return m_deviceTypeWindowsHasBeenSet; }
50 inline void SetDeviceTypeWindows(const AccessPropertyValue& value) { m_deviceTypeWindowsHasBeenSet = true; m_deviceTypeWindows = value; }
51 inline void SetDeviceTypeWindows(AccessPropertyValue&& value) { m_deviceTypeWindowsHasBeenSet = true; m_deviceTypeWindows = std::move(value); }
55
57
60 inline const AccessPropertyValue& GetDeviceTypeOsx() const{ return m_deviceTypeOsx; }
61 inline bool DeviceTypeOsxHasBeenSet() const { return m_deviceTypeOsxHasBeenSet; }
62 inline void SetDeviceTypeOsx(const AccessPropertyValue& value) { m_deviceTypeOsxHasBeenSet = true; m_deviceTypeOsx = value; }
63 inline void SetDeviceTypeOsx(AccessPropertyValue&& value) { m_deviceTypeOsxHasBeenSet = true; m_deviceTypeOsx = std::move(value); }
65 inline WorkspaceAccessProperties& WithDeviceTypeOsx(AccessPropertyValue&& value) { SetDeviceTypeOsx(std::move(value)); return *this;}
67
69
73 inline const AccessPropertyValue& GetDeviceTypeWeb() const{ return m_deviceTypeWeb; }
74 inline bool DeviceTypeWebHasBeenSet() const { return m_deviceTypeWebHasBeenSet; }
75 inline void SetDeviceTypeWeb(const AccessPropertyValue& value) { m_deviceTypeWebHasBeenSet = true; m_deviceTypeWeb = value; }
76 inline void SetDeviceTypeWeb(AccessPropertyValue&& value) { m_deviceTypeWebHasBeenSet = true; m_deviceTypeWeb = std::move(value); }
78 inline WorkspaceAccessProperties& WithDeviceTypeWeb(AccessPropertyValue&& value) { SetDeviceTypeWeb(std::move(value)); return *this;}
80
82
85 inline const AccessPropertyValue& GetDeviceTypeIos() const{ return m_deviceTypeIos; }
86 inline bool DeviceTypeIosHasBeenSet() const { return m_deviceTypeIosHasBeenSet; }
87 inline void SetDeviceTypeIos(const AccessPropertyValue& value) { m_deviceTypeIosHasBeenSet = true; m_deviceTypeIos = value; }
88 inline void SetDeviceTypeIos(AccessPropertyValue&& value) { m_deviceTypeIosHasBeenSet = true; m_deviceTypeIos = std::move(value); }
90 inline WorkspaceAccessProperties& WithDeviceTypeIos(AccessPropertyValue&& value) { SetDeviceTypeIos(std::move(value)); return *this;}
92
94
98 inline const AccessPropertyValue& GetDeviceTypeAndroid() const{ return m_deviceTypeAndroid; }
99 inline bool DeviceTypeAndroidHasBeenSet() const { return m_deviceTypeAndroidHasBeenSet; }
100 inline void SetDeviceTypeAndroid(const AccessPropertyValue& value) { m_deviceTypeAndroidHasBeenSet = true; m_deviceTypeAndroid = value; }
101 inline void SetDeviceTypeAndroid(AccessPropertyValue&& value) { m_deviceTypeAndroidHasBeenSet = true; m_deviceTypeAndroid = std::move(value); }
105
107
110 inline const AccessPropertyValue& GetDeviceTypeChromeOs() const{ return m_deviceTypeChromeOs; }
111 inline bool DeviceTypeChromeOsHasBeenSet() const { return m_deviceTypeChromeOsHasBeenSet; }
112 inline void SetDeviceTypeChromeOs(const AccessPropertyValue& value) { m_deviceTypeChromeOsHasBeenSet = true; m_deviceTypeChromeOs = value; }
113 inline void SetDeviceTypeChromeOs(AccessPropertyValue&& value) { m_deviceTypeChromeOsHasBeenSet = true; m_deviceTypeChromeOs = std::move(value); }
117
119
123 inline const AccessPropertyValue& GetDeviceTypeZeroClient() const{ return m_deviceTypeZeroClient; }
124 inline bool DeviceTypeZeroClientHasBeenSet() const { return m_deviceTypeZeroClientHasBeenSet; }
125 inline void SetDeviceTypeZeroClient(const AccessPropertyValue& value) { m_deviceTypeZeroClientHasBeenSet = true; m_deviceTypeZeroClient = value; }
126 inline void SetDeviceTypeZeroClient(AccessPropertyValue&& value) { m_deviceTypeZeroClientHasBeenSet = true; m_deviceTypeZeroClient = std::move(value); }
130
132
135 inline const AccessPropertyValue& GetDeviceTypeLinux() const{ return m_deviceTypeLinux; }
136 inline bool DeviceTypeLinuxHasBeenSet() const { return m_deviceTypeLinuxHasBeenSet; }
137 inline void SetDeviceTypeLinux(const AccessPropertyValue& value) { m_deviceTypeLinuxHasBeenSet = true; m_deviceTypeLinux = value; }
138 inline void SetDeviceTypeLinux(AccessPropertyValue&& value) { m_deviceTypeLinuxHasBeenSet = true; m_deviceTypeLinux = std::move(value); }
140 inline WorkspaceAccessProperties& WithDeviceTypeLinux(AccessPropertyValue&& value) { SetDeviceTypeLinux(std::move(value)); return *this;}
142 private:
143
144 AccessPropertyValue m_deviceTypeWindows;
145 bool m_deviceTypeWindowsHasBeenSet = false;
146
147 AccessPropertyValue m_deviceTypeOsx;
148 bool m_deviceTypeOsxHasBeenSet = false;
149
150 AccessPropertyValue m_deviceTypeWeb;
151 bool m_deviceTypeWebHasBeenSet = false;
152
153 AccessPropertyValue m_deviceTypeIos;
154 bool m_deviceTypeIosHasBeenSet = false;
155
156 AccessPropertyValue m_deviceTypeAndroid;
157 bool m_deviceTypeAndroidHasBeenSet = false;
158
159 AccessPropertyValue m_deviceTypeChromeOs;
160 bool m_deviceTypeChromeOsHasBeenSet = false;
161
162 AccessPropertyValue m_deviceTypeZeroClient;
163 bool m_deviceTypeZeroClientHasBeenSet = false;
164
165 AccessPropertyValue m_deviceTypeLinux;
166 bool m_deviceTypeLinuxHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace WorkSpaces
171} // namespace Aws
WorkspaceAccessProperties & WithDeviceTypeChromeOs(const AccessPropertyValue &value)
void SetDeviceTypeIos(const AccessPropertyValue &value)
void SetDeviceTypeWindows(const AccessPropertyValue &value)
WorkspaceAccessProperties & WithDeviceTypeLinux(AccessPropertyValue &&value)
WorkspaceAccessProperties & WithDeviceTypeAndroid(const AccessPropertyValue &value)
WorkspaceAccessProperties & WithDeviceTypeWindows(AccessPropertyValue &&value)
WorkspaceAccessProperties & WithDeviceTypeZeroClient(const AccessPropertyValue &value)
WorkspaceAccessProperties & WithDeviceTypeWindows(const AccessPropertyValue &value)
WorkspaceAccessProperties & WithDeviceTypeOsx(const AccessPropertyValue &value)
void SetDeviceTypeWeb(const AccessPropertyValue &value)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
WorkspaceAccessProperties & WithDeviceTypeIos(AccessPropertyValue &&value)
void SetDeviceTypeAndroid(const AccessPropertyValue &value)
WorkspaceAccessProperties & WithDeviceTypeZeroClient(AccessPropertyValue &&value)
WorkspaceAccessProperties & WithDeviceTypeIos(const AccessPropertyValue &value)
void SetDeviceTypeOsx(const AccessPropertyValue &value)
void SetDeviceTypeChromeOs(const AccessPropertyValue &value)
WorkspaceAccessProperties & WithDeviceTypeWeb(const AccessPropertyValue &value)
AWS_WORKSPACES_API WorkspaceAccessProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkspaceAccessProperties & WithDeviceTypeChromeOs(AccessPropertyValue &&value)
void SetDeviceTypeZeroClient(const AccessPropertyValue &value)
WorkspaceAccessProperties & WithDeviceTypeLinux(const AccessPropertyValue &value)
AWS_WORKSPACES_API WorkspaceAccessProperties(Aws::Utils::Json::JsonView jsonValue)
WorkspaceAccessProperties & WithDeviceTypeWeb(AccessPropertyValue &&value)
const AccessPropertyValue & GetDeviceTypeZeroClient() const
WorkspaceAccessProperties & WithDeviceTypeOsx(AccessPropertyValue &&value)
void SetDeviceTypeLinux(const AccessPropertyValue &value)
WorkspaceAccessProperties & WithDeviceTypeAndroid(AccessPropertyValue &&value)
Aws::Utils::Json::JsonValue JsonValue