AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Workspace.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workspaces/model/WorkspaceState.h>
10#include <aws/workspaces/model/WorkspaceProperties.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/workspaces/model/DataReplicationSettings.h>
13#include <aws/workspaces/model/ModificationState.h>
14#include <aws/workspaces/model/RelatedWorkspaceProperties.h>
15#include <aws/workspaces/model/StandbyWorkspacesProperties.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace WorkSpaces
29{
30namespace Model
31{
32
39 {
40 public:
41 AWS_WORKSPACES_API Workspace();
42 AWS_WORKSPACES_API Workspace(Aws::Utils::Json::JsonView jsonValue);
43 AWS_WORKSPACES_API Workspace& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; }
52 inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; }
53 inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; }
54 inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); }
55 inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); }
56 inline Workspace& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;}
57 inline Workspace& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;}
58 inline Workspace& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;}
60
62
65 inline const Aws::String& GetDirectoryId() const{ return m_directoryId; }
66 inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
67 inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; }
68 inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); }
69 inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); }
70 inline Workspace& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;}
71 inline Workspace& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;}
72 inline Workspace& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;}
74
76
79 inline const Aws::String& GetUserName() const{ return m_userName; }
80 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
81 inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; }
82 inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); }
83 inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); }
84 inline Workspace& WithUserName(const Aws::String& value) { SetUserName(value); return *this;}
85 inline Workspace& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;}
86 inline Workspace& WithUserName(const char* value) { SetUserName(value); return *this;}
88
90
93 inline const Aws::String& GetIpAddress() const{ return m_ipAddress; }
94 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
95 inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; }
96 inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); }
97 inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); }
98 inline Workspace& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;}
99 inline Workspace& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;}
100 inline Workspace& WithIpAddress(const char* value) { SetIpAddress(value); return *this;}
102
104
135 inline const WorkspaceState& GetState() const{ return m_state; }
136 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
137 inline void SetState(const WorkspaceState& value) { m_stateHasBeenSet = true; m_state = value; }
138 inline void SetState(WorkspaceState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
139 inline Workspace& WithState(const WorkspaceState& value) { SetState(value); return *this;}
140 inline Workspace& WithState(WorkspaceState&& value) { SetState(std::move(value)); return *this;}
142
144
147 inline const Aws::String& GetBundleId() const{ return m_bundleId; }
148 inline bool BundleIdHasBeenSet() const { return m_bundleIdHasBeenSet; }
149 inline void SetBundleId(const Aws::String& value) { m_bundleIdHasBeenSet = true; m_bundleId = value; }
150 inline void SetBundleId(Aws::String&& value) { m_bundleIdHasBeenSet = true; m_bundleId = std::move(value); }
151 inline void SetBundleId(const char* value) { m_bundleIdHasBeenSet = true; m_bundleId.assign(value); }
152 inline Workspace& WithBundleId(const Aws::String& value) { SetBundleId(value); return *this;}
153 inline Workspace& WithBundleId(Aws::String&& value) { SetBundleId(std::move(value)); return *this;}
154 inline Workspace& WithBundleId(const char* value) { SetBundleId(value); return *this;}
156
158
161 inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
162 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
163 inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
164 inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); }
165 inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); }
166 inline Workspace& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
167 inline Workspace& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
168 inline Workspace& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
170
172
176 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
177 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
178 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
179 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
180 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
181 inline Workspace& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
182 inline Workspace& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
183 inline Workspace& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
185
187
190 inline const Aws::String& GetErrorCode() const{ return m_errorCode; }
191 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
192 inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
193 inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
194 inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
195 inline Workspace& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;}
196 inline Workspace& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
197 inline Workspace& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
199
201
207 inline const Aws::String& GetComputerName() const{ return m_computerName; }
208 inline bool ComputerNameHasBeenSet() const { return m_computerNameHasBeenSet; }
209 inline void SetComputerName(const Aws::String& value) { m_computerNameHasBeenSet = true; m_computerName = value; }
210 inline void SetComputerName(Aws::String&& value) { m_computerNameHasBeenSet = true; m_computerName = std::move(value); }
211 inline void SetComputerName(const char* value) { m_computerNameHasBeenSet = true; m_computerName.assign(value); }
212 inline Workspace& WithComputerName(const Aws::String& value) { SetComputerName(value); return *this;}
213 inline Workspace& WithComputerName(Aws::String&& value) { SetComputerName(std::move(value)); return *this;}
214 inline Workspace& WithComputerName(const char* value) { SetComputerName(value); return *this;}
216
218
222 inline const Aws::String& GetVolumeEncryptionKey() const{ return m_volumeEncryptionKey; }
223 inline bool VolumeEncryptionKeyHasBeenSet() const { return m_volumeEncryptionKeyHasBeenSet; }
224 inline void SetVolumeEncryptionKey(const Aws::String& value) { m_volumeEncryptionKeyHasBeenSet = true; m_volumeEncryptionKey = value; }
225 inline void SetVolumeEncryptionKey(Aws::String&& value) { m_volumeEncryptionKeyHasBeenSet = true; m_volumeEncryptionKey = std::move(value); }
226 inline void SetVolumeEncryptionKey(const char* value) { m_volumeEncryptionKeyHasBeenSet = true; m_volumeEncryptionKey.assign(value); }
227 inline Workspace& WithVolumeEncryptionKey(const Aws::String& value) { SetVolumeEncryptionKey(value); return *this;}
228 inline Workspace& WithVolumeEncryptionKey(Aws::String&& value) { SetVolumeEncryptionKey(std::move(value)); return *this;}
229 inline Workspace& WithVolumeEncryptionKey(const char* value) { SetVolumeEncryptionKey(value); return *this;}
231
233
236 inline bool GetUserVolumeEncryptionEnabled() const{ return m_userVolumeEncryptionEnabled; }
237 inline bool UserVolumeEncryptionEnabledHasBeenSet() const { return m_userVolumeEncryptionEnabledHasBeenSet; }
238 inline void SetUserVolumeEncryptionEnabled(bool value) { m_userVolumeEncryptionEnabledHasBeenSet = true; m_userVolumeEncryptionEnabled = value; }
241
243
246 inline bool GetRootVolumeEncryptionEnabled() const{ return m_rootVolumeEncryptionEnabled; }
247 inline bool RootVolumeEncryptionEnabledHasBeenSet() const { return m_rootVolumeEncryptionEnabledHasBeenSet; }
248 inline void SetRootVolumeEncryptionEnabled(bool value) { m_rootVolumeEncryptionEnabledHasBeenSet = true; m_rootVolumeEncryptionEnabled = value; }
251
253
256 inline const Aws::String& GetWorkspaceName() const{ return m_workspaceName; }
257 inline bool WorkspaceNameHasBeenSet() const { return m_workspaceNameHasBeenSet; }
258 inline void SetWorkspaceName(const Aws::String& value) { m_workspaceNameHasBeenSet = true; m_workspaceName = value; }
259 inline void SetWorkspaceName(Aws::String&& value) { m_workspaceNameHasBeenSet = true; m_workspaceName = std::move(value); }
260 inline void SetWorkspaceName(const char* value) { m_workspaceNameHasBeenSet = true; m_workspaceName.assign(value); }
261 inline Workspace& WithWorkspaceName(const Aws::String& value) { SetWorkspaceName(value); return *this;}
262 inline Workspace& WithWorkspaceName(Aws::String&& value) { SetWorkspaceName(std::move(value)); return *this;}
263 inline Workspace& WithWorkspaceName(const char* value) { SetWorkspaceName(value); return *this;}
265
267
270 inline const WorkspaceProperties& GetWorkspaceProperties() const{ return m_workspaceProperties; }
271 inline bool WorkspacePropertiesHasBeenSet() const { return m_workspacePropertiesHasBeenSet; }
272 inline void SetWorkspaceProperties(const WorkspaceProperties& value) { m_workspacePropertiesHasBeenSet = true; m_workspaceProperties = value; }
273 inline void SetWorkspaceProperties(WorkspaceProperties&& value) { m_workspacePropertiesHasBeenSet = true; m_workspaceProperties = std::move(value); }
275 inline Workspace& WithWorkspaceProperties(WorkspaceProperties&& value) { SetWorkspaceProperties(std::move(value)); return *this;}
277
279
282 inline const Aws::Vector<ModificationState>& GetModificationStates() const{ return m_modificationStates; }
283 inline bool ModificationStatesHasBeenSet() const { return m_modificationStatesHasBeenSet; }
284 inline void SetModificationStates(const Aws::Vector<ModificationState>& value) { m_modificationStatesHasBeenSet = true; m_modificationStates = value; }
285 inline void SetModificationStates(Aws::Vector<ModificationState>&& value) { m_modificationStatesHasBeenSet = true; m_modificationStates = std::move(value); }
288 inline Workspace& AddModificationStates(const ModificationState& value) { m_modificationStatesHasBeenSet = true; m_modificationStates.push_back(value); return *this; }
289 inline Workspace& AddModificationStates(ModificationState&& value) { m_modificationStatesHasBeenSet = true; m_modificationStates.push_back(std::move(value)); return *this; }
291
293
297 inline const Aws::Vector<RelatedWorkspaceProperties>& GetRelatedWorkspaces() const{ return m_relatedWorkspaces; }
298 inline bool RelatedWorkspacesHasBeenSet() const { return m_relatedWorkspacesHasBeenSet; }
299 inline void SetRelatedWorkspaces(const Aws::Vector<RelatedWorkspaceProperties>& value) { m_relatedWorkspacesHasBeenSet = true; m_relatedWorkspaces = value; }
300 inline void SetRelatedWorkspaces(Aws::Vector<RelatedWorkspaceProperties>&& value) { m_relatedWorkspacesHasBeenSet = true; m_relatedWorkspaces = std::move(value); }
303 inline Workspace& AddRelatedWorkspaces(const RelatedWorkspaceProperties& value) { m_relatedWorkspacesHasBeenSet = true; m_relatedWorkspaces.push_back(value); return *this; }
304 inline Workspace& AddRelatedWorkspaces(RelatedWorkspaceProperties&& value) { m_relatedWorkspacesHasBeenSet = true; m_relatedWorkspaces.push_back(std::move(value)); return *this; }
306
308
311 inline const DataReplicationSettings& GetDataReplicationSettings() const{ return m_dataReplicationSettings; }
312 inline bool DataReplicationSettingsHasBeenSet() const { return m_dataReplicationSettingsHasBeenSet; }
313 inline void SetDataReplicationSettings(const DataReplicationSettings& value) { m_dataReplicationSettingsHasBeenSet = true; m_dataReplicationSettings = value; }
314 inline void SetDataReplicationSettings(DataReplicationSettings&& value) { m_dataReplicationSettingsHasBeenSet = true; m_dataReplicationSettings = std::move(value); }
318
320
323 inline const Aws::Vector<StandbyWorkspacesProperties>& GetStandbyWorkspacesProperties() const{ return m_standbyWorkspacesProperties; }
324 inline bool StandbyWorkspacesPropertiesHasBeenSet() const { return m_standbyWorkspacesPropertiesHasBeenSet; }
325 inline void SetStandbyWorkspacesProperties(const Aws::Vector<StandbyWorkspacesProperties>& value) { m_standbyWorkspacesPropertiesHasBeenSet = true; m_standbyWorkspacesProperties = value; }
326 inline void SetStandbyWorkspacesProperties(Aws::Vector<StandbyWorkspacesProperties>&& value) { m_standbyWorkspacesPropertiesHasBeenSet = true; m_standbyWorkspacesProperties = std::move(value); }
329 inline Workspace& AddStandbyWorkspacesProperties(const StandbyWorkspacesProperties& value) { m_standbyWorkspacesPropertiesHasBeenSet = true; m_standbyWorkspacesProperties.push_back(value); return *this; }
330 inline Workspace& AddStandbyWorkspacesProperties(StandbyWorkspacesProperties&& value) { m_standbyWorkspacesPropertiesHasBeenSet = true; m_standbyWorkspacesProperties.push_back(std::move(value)); return *this; }
332 private:
333
334 Aws::String m_workspaceId;
335 bool m_workspaceIdHasBeenSet = false;
336
337 Aws::String m_directoryId;
338 bool m_directoryIdHasBeenSet = false;
339
340 Aws::String m_userName;
341 bool m_userNameHasBeenSet = false;
342
343 Aws::String m_ipAddress;
344 bool m_ipAddressHasBeenSet = false;
345
346 WorkspaceState m_state;
347 bool m_stateHasBeenSet = false;
348
349 Aws::String m_bundleId;
350 bool m_bundleIdHasBeenSet = false;
351
352 Aws::String m_subnetId;
353 bool m_subnetIdHasBeenSet = false;
354
355 Aws::String m_errorMessage;
356 bool m_errorMessageHasBeenSet = false;
357
358 Aws::String m_errorCode;
359 bool m_errorCodeHasBeenSet = false;
360
361 Aws::String m_computerName;
362 bool m_computerNameHasBeenSet = false;
363
364 Aws::String m_volumeEncryptionKey;
365 bool m_volumeEncryptionKeyHasBeenSet = false;
366
367 bool m_userVolumeEncryptionEnabled;
368 bool m_userVolumeEncryptionEnabledHasBeenSet = false;
369
370 bool m_rootVolumeEncryptionEnabled;
371 bool m_rootVolumeEncryptionEnabledHasBeenSet = false;
372
373 Aws::String m_workspaceName;
374 bool m_workspaceNameHasBeenSet = false;
375
376 WorkspaceProperties m_workspaceProperties;
377 bool m_workspacePropertiesHasBeenSet = false;
378
379 Aws::Vector<ModificationState> m_modificationStates;
380 bool m_modificationStatesHasBeenSet = false;
381
382 Aws::Vector<RelatedWorkspaceProperties> m_relatedWorkspaces;
383 bool m_relatedWorkspacesHasBeenSet = false;
384
385 DataReplicationSettings m_dataReplicationSettings;
386 bool m_dataReplicationSettingsHasBeenSet = false;
387
388 Aws::Vector<StandbyWorkspacesProperties> m_standbyWorkspacesProperties;
389 bool m_standbyWorkspacesPropertiesHasBeenSet = false;
390 };
391
392} // namespace Model
393} // namespace WorkSpaces
394} // namespace Aws
void SetSubnetId(const Aws::String &value)
Definition Workspace.h:163
void SetDirectoryId(Aws::String &&value)
Definition Workspace.h:68
Workspace & WithBundleId(Aws::String &&value)
Definition Workspace.h:153
void SetErrorCode(const Aws::String &value)
Definition Workspace.h:192
bool DataReplicationSettingsHasBeenSet() const
Definition Workspace.h:312
Workspace & WithUserVolumeEncryptionEnabled(bool value)
Definition Workspace.h:239
const WorkspaceProperties & GetWorkspaceProperties() const
Definition Workspace.h:270
Workspace & AddRelatedWorkspaces(const RelatedWorkspaceProperties &value)
Definition Workspace.h:303
void SetBundleId(Aws::String &&value)
Definition Workspace.h:150
void SetRelatedWorkspaces(Aws::Vector< RelatedWorkspaceProperties > &&value)
Definition Workspace.h:300
void SetErrorMessage(const Aws::String &value)
Definition Workspace.h:178
void SetBundleId(const char *value)
Definition Workspace.h:151
void SetState(const WorkspaceState &value)
Definition Workspace.h:137
const Aws::String & GetWorkspaceId() const
Definition Workspace.h:51
void SetWorkspaceName(const Aws::String &value)
Definition Workspace.h:258
void SetUserName(const char *value)
Definition Workspace.h:83
AWS_WORKSPACES_API Workspace & operator=(Aws::Utils::Json::JsonView jsonValue)
Workspace & WithWorkspaceName(Aws::String &&value)
Definition Workspace.h:262
Workspace & WithSubnetId(const Aws::String &value)
Definition Workspace.h:166
Workspace & WithErrorCode(Aws::String &&value)
Definition Workspace.h:196
Workspace & WithVolumeEncryptionKey(const Aws::String &value)
Definition Workspace.h:227
void SetIpAddress(const char *value)
Definition Workspace.h:97
Workspace & AddStandbyWorkspacesProperties(const StandbyWorkspacesProperties &value)
Definition Workspace.h:329
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
Workspace & WithComputerName(const Aws::String &value)
Definition Workspace.h:212
const Aws::String & GetComputerName() const
Definition Workspace.h:207
void SetDataReplicationSettings(DataReplicationSettings &&value)
Definition Workspace.h:314
void SetComputerName(Aws::String &&value)
Definition Workspace.h:210
Workspace & AddStandbyWorkspacesProperties(StandbyWorkspacesProperties &&value)
Definition Workspace.h:330
void SetState(WorkspaceState &&value)
Definition Workspace.h:138
const Aws::String & GetBundleId() const
Definition Workspace.h:147
void SetDirectoryId(const Aws::String &value)
Definition Workspace.h:67
const Aws::String & GetErrorCode() const
Definition Workspace.h:190
void SetModificationStates(const Aws::Vector< ModificationState > &value)
Definition Workspace.h:284
Workspace & WithDataReplicationSettings(const DataReplicationSettings &value)
Definition Workspace.h:315
bool RootVolumeEncryptionEnabledHasBeenSet() const
Definition Workspace.h:247
void SetErrorCode(const char *value)
Definition Workspace.h:194
void SetRelatedWorkspaces(const Aws::Vector< RelatedWorkspaceProperties > &value)
Definition Workspace.h:299
void SetWorkspaceId(const Aws::String &value)
Definition Workspace.h:53
Workspace & WithErrorMessage(const char *value)
Definition Workspace.h:183
bool ModificationStatesHasBeenSet() const
Definition Workspace.h:283
Workspace & WithWorkspaceName(const Aws::String &value)
Definition Workspace.h:261
Workspace & WithSubnetId(const char *value)
Definition Workspace.h:168
Workspace & WithBundleId(const Aws::String &value)
Definition Workspace.h:152
void SetWorkspaceProperties(WorkspaceProperties &&value)
Definition Workspace.h:273
void SetWorkspaceId(const char *value)
Definition Workspace.h:55
void SetIpAddress(Aws::String &&value)
Definition Workspace.h:96
const Aws::String & GetVolumeEncryptionKey() const
Definition Workspace.h:222
void SetComputerName(const Aws::String &value)
Definition Workspace.h:209
void SetSubnetId(Aws::String &&value)
Definition Workspace.h:164
bool GetUserVolumeEncryptionEnabled() const
Definition Workspace.h:236
Workspace & WithWorkspaceId(const char *value)
Definition Workspace.h:58
Workspace & WithState(const WorkspaceState &value)
Definition Workspace.h:139
Workspace & WithStandbyWorkspacesProperties(Aws::Vector< StandbyWorkspacesProperties > &&value)
Definition Workspace.h:328
bool UserVolumeEncryptionEnabledHasBeenSet() const
Definition Workspace.h:237
bool StandbyWorkspacesPropertiesHasBeenSet() const
Definition Workspace.h:324
void SetWorkspaceName(const char *value)
Definition Workspace.h:260
Workspace & WithWorkspaceProperties(WorkspaceProperties &&value)
Definition Workspace.h:275
void SetVolumeEncryptionKey(const Aws::String &value)
Definition Workspace.h:224
const Aws::Vector< ModificationState > & GetModificationStates() const
Definition Workspace.h:282
Workspace & AddModificationStates(ModificationState &&value)
Definition Workspace.h:289
const Aws::String & GetIpAddress() const
Definition Workspace.h:93
const WorkspaceState & GetState() const
Definition Workspace.h:135
Workspace & AddRelatedWorkspaces(RelatedWorkspaceProperties &&value)
Definition Workspace.h:304
Workspace & WithUserName(Aws::String &&value)
Definition Workspace.h:85
Workspace & WithModificationStates(const Aws::Vector< ModificationState > &value)
Definition Workspace.h:286
Workspace & WithDirectoryId(Aws::String &&value)
Definition Workspace.h:71
Workspace & AddModificationStates(const ModificationState &value)
Definition Workspace.h:288
Workspace & WithIpAddress(Aws::String &&value)
Definition Workspace.h:99
Workspace & WithWorkspaceProperties(const WorkspaceProperties &value)
Definition Workspace.h:274
void SetRootVolumeEncryptionEnabled(bool value)
Definition Workspace.h:248
Workspace & WithIpAddress(const Aws::String &value)
Definition Workspace.h:98
AWS_WORKSPACES_API Workspace(Aws::Utils::Json::JsonView jsonValue)
void SetModificationStates(Aws::Vector< ModificationState > &&value)
Definition Workspace.h:285
const Aws::String & GetWorkspaceName() const
Definition Workspace.h:256
Workspace & WithRelatedWorkspaces(const Aws::Vector< RelatedWorkspaceProperties > &value)
Definition Workspace.h:301
void SetUserName(const Aws::String &value)
Definition Workspace.h:81
Workspace & WithWorkspaceId(const Aws::String &value)
Definition Workspace.h:56
Workspace & WithState(WorkspaceState &&value)
Definition Workspace.h:140
Workspace & WithUserName(const char *value)
Definition Workspace.h:86
Workspace & WithComputerName(const char *value)
Definition Workspace.h:214
void SetBundleId(const Aws::String &value)
Definition Workspace.h:149
bool VolumeEncryptionKeyHasBeenSet() const
Definition Workspace.h:223
bool GetRootVolumeEncryptionEnabled() const
Definition Workspace.h:246
Workspace & WithModificationStates(Aws::Vector< ModificationState > &&value)
Definition Workspace.h:287
void SetComputerName(const char *value)
Definition Workspace.h:211
void SetUserName(Aws::String &&value)
Definition Workspace.h:82
Workspace & WithDataReplicationSettings(DataReplicationSettings &&value)
Definition Workspace.h:316
Workspace & WithVolumeEncryptionKey(Aws::String &&value)
Definition Workspace.h:228
Workspace & WithErrorMessage(const Aws::String &value)
Definition Workspace.h:181
Workspace & WithWorkspaceId(Aws::String &&value)
Definition Workspace.h:57
const Aws::String & GetDirectoryId() const
Definition Workspace.h:65
void SetErrorCode(Aws::String &&value)
Definition Workspace.h:193
const Aws::Vector< StandbyWorkspacesProperties > & GetStandbyWorkspacesProperties() const
Definition Workspace.h:323
void SetStandbyWorkspacesProperties(Aws::Vector< StandbyWorkspacesProperties > &&value)
Definition Workspace.h:326
void SetDirectoryId(const char *value)
Definition Workspace.h:69
Workspace & WithErrorCode(const Aws::String &value)
Definition Workspace.h:195
void SetWorkspaceName(Aws::String &&value)
Definition Workspace.h:259
const Aws::String & GetSubnetId() const
Definition Workspace.h:161
Workspace & WithBundleId(const char *value)
Definition Workspace.h:154
const DataReplicationSettings & GetDataReplicationSettings() const
Definition Workspace.h:311
void SetWorkspaceId(Aws::String &&value)
Definition Workspace.h:54
Workspace & WithDirectoryId(const char *value)
Definition Workspace.h:72
Workspace & WithDirectoryId(const Aws::String &value)
Definition Workspace.h:70
void SetErrorMessage(Aws::String &&value)
Definition Workspace.h:179
Workspace & WithErrorMessage(Aws::String &&value)
Definition Workspace.h:182
Workspace & WithVolumeEncryptionKey(const char *value)
Definition Workspace.h:229
Workspace & WithIpAddress(const char *value)
Definition Workspace.h:100
void SetVolumeEncryptionKey(const char *value)
Definition Workspace.h:226
void SetWorkspaceProperties(const WorkspaceProperties &value)
Definition Workspace.h:272
Workspace & WithStandbyWorkspacesProperties(const Aws::Vector< StandbyWorkspacesProperties > &value)
Definition Workspace.h:327
void SetIpAddress(const Aws::String &value)
Definition Workspace.h:95
void SetUserVolumeEncryptionEnabled(bool value)
Definition Workspace.h:238
void SetErrorMessage(const char *value)
Definition Workspace.h:180
Workspace & WithErrorCode(const char *value)
Definition Workspace.h:197
Workspace & WithSubnetId(Aws::String &&value)
Definition Workspace.h:167
const Aws::String & GetErrorMessage() const
Definition Workspace.h:176
const Aws::String & GetUserName() const
Definition Workspace.h:79
Workspace & WithComputerName(Aws::String &&value)
Definition Workspace.h:213
AWS_WORKSPACES_API Workspace()
void SetVolumeEncryptionKey(Aws::String &&value)
Definition Workspace.h:225
Workspace & WithUserName(const Aws::String &value)
Definition Workspace.h:84
bool WorkspacePropertiesHasBeenSet() const
Definition Workspace.h:271
Workspace & WithRelatedWorkspaces(Aws::Vector< RelatedWorkspaceProperties > &&value)
Definition Workspace.h:302
Workspace & WithWorkspaceName(const char *value)
Definition Workspace.h:263
const Aws::Vector< RelatedWorkspaceProperties > & GetRelatedWorkspaces() const
Definition Workspace.h:297
void SetStandbyWorkspacesProperties(const Aws::Vector< StandbyWorkspacesProperties > &value)
Definition Workspace.h:325
void SetDataReplicationSettings(const DataReplicationSettings &value)
Definition Workspace.h:313
Workspace & WithRootVolumeEncryptionEnabled(bool value)
Definition Workspace.h:249
void SetSubnetId(const char *value)
Definition Workspace.h:165
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue