AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkspaceDirectory.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/workspaces/model/WorkspaceDirectoryType.h>
11#include <aws/workspaces/model/WorkspaceDirectoryState.h>
12#include <aws/workspaces/model/DefaultWorkspaceCreationProperties.h>
13#include <aws/workspaces/model/WorkspaceAccessProperties.h>
14#include <aws/workspaces/model/Tenancy.h>
15#include <aws/workspaces/model/SelfservicePermissions.h>
16#include <aws/workspaces/model/SamlProperties.h>
17#include <aws/workspaces/model/CertificateBasedAuthProperties.h>
18#include <aws/workspaces/model/MicrosoftEntraConfig.h>
19#include <aws/workspaces/model/UserIdentityType.h>
20#include <aws/workspaces/model/WorkspaceType.h>
21#include <aws/workspaces/model/IDCConfig.h>
22#include <aws/workspaces/model/ActiveDirectoryConfig.h>
23#include <aws/workspaces/model/StreamingProperties.h>
24#include <utility>
25
26namespace Aws
27{
28namespace Utils
29{
30namespace Json
31{
32 class JsonValue;
33 class JsonView;
34} // namespace Json
35} // namespace Utils
36namespace WorkSpaces
37{
38namespace Model
39{
40
48 {
49 public:
50 AWS_WORKSPACES_API WorkspaceDirectory();
51 AWS_WORKSPACES_API WorkspaceDirectory(Aws::Utils::Json::JsonView jsonValue);
53 AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
54
55
57
60 inline const Aws::String& GetDirectoryId() const{ return m_directoryId; }
61 inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
62 inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; }
63 inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); }
64 inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); }
65 inline WorkspaceDirectory& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;}
66 inline WorkspaceDirectory& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;}
67 inline WorkspaceDirectory& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;}
69
71
74 inline const Aws::String& GetAlias() const{ return m_alias; }
75 inline bool AliasHasBeenSet() const { return m_aliasHasBeenSet; }
76 inline void SetAlias(const Aws::String& value) { m_aliasHasBeenSet = true; m_alias = value; }
77 inline void SetAlias(Aws::String&& value) { m_aliasHasBeenSet = true; m_alias = std::move(value); }
78 inline void SetAlias(const char* value) { m_aliasHasBeenSet = true; m_alias.assign(value); }
79 inline WorkspaceDirectory& WithAlias(const Aws::String& value) { SetAlias(value); return *this;}
80 inline WorkspaceDirectory& WithAlias(Aws::String&& value) { SetAlias(std::move(value)); return *this;}
81 inline WorkspaceDirectory& WithAlias(const char* value) { SetAlias(value); return *this;}
83
85
88 inline const Aws::String& GetDirectoryName() const{ return m_directoryName; }
89 inline bool DirectoryNameHasBeenSet() const { return m_directoryNameHasBeenSet; }
90 inline void SetDirectoryName(const Aws::String& value) { m_directoryNameHasBeenSet = true; m_directoryName = value; }
91 inline void SetDirectoryName(Aws::String&& value) { m_directoryNameHasBeenSet = true; m_directoryName = std::move(value); }
92 inline void SetDirectoryName(const char* value) { m_directoryNameHasBeenSet = true; m_directoryName.assign(value); }
93 inline WorkspaceDirectory& WithDirectoryName(const Aws::String& value) { SetDirectoryName(value); return *this;}
94 inline WorkspaceDirectory& WithDirectoryName(Aws::String&& value) { SetDirectoryName(std::move(value)); return *this;}
95 inline WorkspaceDirectory& WithDirectoryName(const char* value) { SetDirectoryName(value); return *this;}
97
99
103 inline const Aws::String& GetRegistrationCode() const{ return m_registrationCode; }
104 inline bool RegistrationCodeHasBeenSet() const { return m_registrationCodeHasBeenSet; }
105 inline void SetRegistrationCode(const Aws::String& value) { m_registrationCodeHasBeenSet = true; m_registrationCode = value; }
106 inline void SetRegistrationCode(Aws::String&& value) { m_registrationCodeHasBeenSet = true; m_registrationCode = std::move(value); }
107 inline void SetRegistrationCode(const char* value) { m_registrationCodeHasBeenSet = true; m_registrationCode.assign(value); }
108 inline WorkspaceDirectory& WithRegistrationCode(const Aws::String& value) { SetRegistrationCode(value); return *this;}
109 inline WorkspaceDirectory& WithRegistrationCode(Aws::String&& value) { SetRegistrationCode(std::move(value)); return *this;}
110 inline WorkspaceDirectory& WithRegistrationCode(const char* value) { SetRegistrationCode(value); return *this;}
112
114
117 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
118 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
119 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
120 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
121 inline WorkspaceDirectory& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
122 inline WorkspaceDirectory& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
123 inline WorkspaceDirectory& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
124 inline WorkspaceDirectory& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
125 inline WorkspaceDirectory& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
127
129
132 inline const Aws::Vector<Aws::String>& GetDnsIpAddresses() const{ return m_dnsIpAddresses; }
133 inline bool DnsIpAddressesHasBeenSet() const { return m_dnsIpAddressesHasBeenSet; }
134 inline void SetDnsIpAddresses(const Aws::Vector<Aws::String>& value) { m_dnsIpAddressesHasBeenSet = true; m_dnsIpAddresses = value; }
135 inline void SetDnsIpAddresses(Aws::Vector<Aws::String>&& value) { m_dnsIpAddressesHasBeenSet = true; m_dnsIpAddresses = std::move(value); }
137 inline WorkspaceDirectory& WithDnsIpAddresses(Aws::Vector<Aws::String>&& value) { SetDnsIpAddresses(std::move(value)); return *this;}
138 inline WorkspaceDirectory& AddDnsIpAddresses(const Aws::String& value) { m_dnsIpAddressesHasBeenSet = true; m_dnsIpAddresses.push_back(value); return *this; }
139 inline WorkspaceDirectory& AddDnsIpAddresses(Aws::String&& value) { m_dnsIpAddressesHasBeenSet = true; m_dnsIpAddresses.push_back(std::move(value)); return *this; }
140 inline WorkspaceDirectory& AddDnsIpAddresses(const char* value) { m_dnsIpAddressesHasBeenSet = true; m_dnsIpAddresses.push_back(value); return *this; }
142
144
147 inline const Aws::String& GetCustomerUserName() const{ return m_customerUserName; }
148 inline bool CustomerUserNameHasBeenSet() const { return m_customerUserNameHasBeenSet; }
149 inline void SetCustomerUserName(const Aws::String& value) { m_customerUserNameHasBeenSet = true; m_customerUserName = value; }
150 inline void SetCustomerUserName(Aws::String&& value) { m_customerUserNameHasBeenSet = true; m_customerUserName = std::move(value); }
151 inline void SetCustomerUserName(const char* value) { m_customerUserNameHasBeenSet = true; m_customerUserName.assign(value); }
152 inline WorkspaceDirectory& WithCustomerUserName(const Aws::String& value) { SetCustomerUserName(value); return *this;}
153 inline WorkspaceDirectory& WithCustomerUserName(Aws::String&& value) { SetCustomerUserName(std::move(value)); return *this;}
154 inline WorkspaceDirectory& WithCustomerUserName(const char* value) { SetCustomerUserName(value); return *this;}
156
158
163 inline const Aws::String& GetIamRoleId() const{ return m_iamRoleId; }
164 inline bool IamRoleIdHasBeenSet() const { return m_iamRoleIdHasBeenSet; }
165 inline void SetIamRoleId(const Aws::String& value) { m_iamRoleIdHasBeenSet = true; m_iamRoleId = value; }
166 inline void SetIamRoleId(Aws::String&& value) { m_iamRoleIdHasBeenSet = true; m_iamRoleId = std::move(value); }
167 inline void SetIamRoleId(const char* value) { m_iamRoleIdHasBeenSet = true; m_iamRoleId.assign(value); }
168 inline WorkspaceDirectory& WithIamRoleId(const Aws::String& value) { SetIamRoleId(value); return *this;}
169 inline WorkspaceDirectory& WithIamRoleId(Aws::String&& value) { SetIamRoleId(std::move(value)); return *this;}
170 inline WorkspaceDirectory& WithIamRoleId(const char* value) { SetIamRoleId(value); return *this;}
172
174
177 inline const WorkspaceDirectoryType& GetDirectoryType() const{ return m_directoryType; }
178 inline bool DirectoryTypeHasBeenSet() const { return m_directoryTypeHasBeenSet; }
179 inline void SetDirectoryType(const WorkspaceDirectoryType& value) { m_directoryTypeHasBeenSet = true; m_directoryType = value; }
180 inline void SetDirectoryType(WorkspaceDirectoryType&& value) { m_directoryTypeHasBeenSet = true; m_directoryType = std::move(value); }
182 inline WorkspaceDirectory& WithDirectoryType(WorkspaceDirectoryType&& value) { SetDirectoryType(std::move(value)); return *this;}
184
186
189 inline const Aws::String& GetWorkspaceSecurityGroupId() const{ return m_workspaceSecurityGroupId; }
190 inline bool WorkspaceSecurityGroupIdHasBeenSet() const { return m_workspaceSecurityGroupIdHasBeenSet; }
191 inline void SetWorkspaceSecurityGroupId(const Aws::String& value) { m_workspaceSecurityGroupIdHasBeenSet = true; m_workspaceSecurityGroupId = value; }
192 inline void SetWorkspaceSecurityGroupId(Aws::String&& value) { m_workspaceSecurityGroupIdHasBeenSet = true; m_workspaceSecurityGroupId = std::move(value); }
193 inline void SetWorkspaceSecurityGroupId(const char* value) { m_workspaceSecurityGroupIdHasBeenSet = true; m_workspaceSecurityGroupId.assign(value); }
196 inline WorkspaceDirectory& WithWorkspaceSecurityGroupId(const char* value) { SetWorkspaceSecurityGroupId(value); return *this;}
198
200
210 inline const WorkspaceDirectoryState& GetState() const{ return m_state; }
211 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
212 inline void SetState(const WorkspaceDirectoryState& value) { m_stateHasBeenSet = true; m_state = value; }
213 inline void SetState(WorkspaceDirectoryState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
214 inline WorkspaceDirectory& WithState(const WorkspaceDirectoryState& value) { SetState(value); return *this;}
215 inline WorkspaceDirectory& WithState(WorkspaceDirectoryState&& value) { SetState(std::move(value)); return *this;}
217
219
222 inline const DefaultWorkspaceCreationProperties& GetWorkspaceCreationProperties() const{ return m_workspaceCreationProperties; }
223 inline bool WorkspaceCreationPropertiesHasBeenSet() const { return m_workspaceCreationPropertiesHasBeenSet; }
224 inline void SetWorkspaceCreationProperties(const DefaultWorkspaceCreationProperties& value) { m_workspaceCreationPropertiesHasBeenSet = true; m_workspaceCreationProperties = value; }
225 inline void SetWorkspaceCreationProperties(DefaultWorkspaceCreationProperties&& value) { m_workspaceCreationPropertiesHasBeenSet = true; m_workspaceCreationProperties = std::move(value); }
229
231
235 inline const Aws::Vector<Aws::String>& GetIpGroupIds() const{ return m_ipGroupIds; }
236 inline bool IpGroupIdsHasBeenSet() const { return m_ipGroupIdsHasBeenSet; }
237 inline void SetIpGroupIds(const Aws::Vector<Aws::String>& value) { m_ipGroupIdsHasBeenSet = true; m_ipGroupIds = value; }
238 inline void SetIpGroupIds(Aws::Vector<Aws::String>&& value) { m_ipGroupIdsHasBeenSet = true; m_ipGroupIds = std::move(value); }
239 inline WorkspaceDirectory& WithIpGroupIds(const Aws::Vector<Aws::String>& value) { SetIpGroupIds(value); return *this;}
240 inline WorkspaceDirectory& WithIpGroupIds(Aws::Vector<Aws::String>&& value) { SetIpGroupIds(std::move(value)); return *this;}
241 inline WorkspaceDirectory& AddIpGroupIds(const Aws::String& value) { m_ipGroupIdsHasBeenSet = true; m_ipGroupIds.push_back(value); return *this; }
242 inline WorkspaceDirectory& AddIpGroupIds(Aws::String&& value) { m_ipGroupIdsHasBeenSet = true; m_ipGroupIds.push_back(std::move(value)); return *this; }
243 inline WorkspaceDirectory& AddIpGroupIds(const char* value) { m_ipGroupIdsHasBeenSet = true; m_ipGroupIds.push_back(value); return *this; }
245
247
251 inline const WorkspaceAccessProperties& GetWorkspaceAccessProperties() const{ return m_workspaceAccessProperties; }
252 inline bool WorkspaceAccessPropertiesHasBeenSet() const { return m_workspaceAccessPropertiesHasBeenSet; }
253 inline void SetWorkspaceAccessProperties(const WorkspaceAccessProperties& value) { m_workspaceAccessPropertiesHasBeenSet = true; m_workspaceAccessProperties = value; }
254 inline void SetWorkspaceAccessProperties(WorkspaceAccessProperties&& value) { m_workspaceAccessPropertiesHasBeenSet = true; m_workspaceAccessProperties = std::move(value); }
258
260
267 inline const Tenancy& GetTenancy() const{ return m_tenancy; }
268 inline bool TenancyHasBeenSet() const { return m_tenancyHasBeenSet; }
269 inline void SetTenancy(const Tenancy& value) { m_tenancyHasBeenSet = true; m_tenancy = value; }
270 inline void SetTenancy(Tenancy&& value) { m_tenancyHasBeenSet = true; m_tenancy = std::move(value); }
271 inline WorkspaceDirectory& WithTenancy(const Tenancy& value) { SetTenancy(value); return *this;}
272 inline WorkspaceDirectory& WithTenancy(Tenancy&& value) { SetTenancy(std::move(value)); return *this;}
274
276
279 inline const SelfservicePermissions& GetSelfservicePermissions() const{ return m_selfservicePermissions; }
280 inline bool SelfservicePermissionsHasBeenSet() const { return m_selfservicePermissionsHasBeenSet; }
281 inline void SetSelfservicePermissions(const SelfservicePermissions& value) { m_selfservicePermissionsHasBeenSet = true; m_selfservicePermissions = value; }
282 inline void SetSelfservicePermissions(SelfservicePermissions&& value) { m_selfservicePermissionsHasBeenSet = true; m_selfservicePermissions = std::move(value); }
286
288
293 inline const SamlProperties& GetSamlProperties() const{ return m_samlProperties; }
294 inline bool SamlPropertiesHasBeenSet() const { return m_samlPropertiesHasBeenSet; }
295 inline void SetSamlProperties(const SamlProperties& value) { m_samlPropertiesHasBeenSet = true; m_samlProperties = value; }
296 inline void SetSamlProperties(SamlProperties&& value) { m_samlPropertiesHasBeenSet = true; m_samlProperties = std::move(value); }
297 inline WorkspaceDirectory& WithSamlProperties(const SamlProperties& value) { SetSamlProperties(value); return *this;}
298 inline WorkspaceDirectory& WithSamlProperties(SamlProperties&& value) { SetSamlProperties(std::move(value)); return *this;}
300
302
307 inline const CertificateBasedAuthProperties& GetCertificateBasedAuthProperties() const{ return m_certificateBasedAuthProperties; }
308 inline bool CertificateBasedAuthPropertiesHasBeenSet() const { return m_certificateBasedAuthPropertiesHasBeenSet; }
309 inline void SetCertificateBasedAuthProperties(const CertificateBasedAuthProperties& value) { m_certificateBasedAuthPropertiesHasBeenSet = true; m_certificateBasedAuthProperties = value; }
310 inline void SetCertificateBasedAuthProperties(CertificateBasedAuthProperties&& value) { m_certificateBasedAuthPropertiesHasBeenSet = true; m_certificateBasedAuthProperties = std::move(value); }
314
316
319 inline const MicrosoftEntraConfig& GetMicrosoftEntraConfig() const{ return m_microsoftEntraConfig; }
320 inline bool MicrosoftEntraConfigHasBeenSet() const { return m_microsoftEntraConfigHasBeenSet; }
321 inline void SetMicrosoftEntraConfig(const MicrosoftEntraConfig& value) { m_microsoftEntraConfigHasBeenSet = true; m_microsoftEntraConfig = value; }
322 inline void SetMicrosoftEntraConfig(MicrosoftEntraConfig&& value) { m_microsoftEntraConfigHasBeenSet = true; m_microsoftEntraConfig = std::move(value); }
326
328
331 inline const Aws::String& GetWorkspaceDirectoryName() const{ return m_workspaceDirectoryName; }
332 inline bool WorkspaceDirectoryNameHasBeenSet() const { return m_workspaceDirectoryNameHasBeenSet; }
333 inline void SetWorkspaceDirectoryName(const Aws::String& value) { m_workspaceDirectoryNameHasBeenSet = true; m_workspaceDirectoryName = value; }
334 inline void SetWorkspaceDirectoryName(Aws::String&& value) { m_workspaceDirectoryNameHasBeenSet = true; m_workspaceDirectoryName = std::move(value); }
335 inline void SetWorkspaceDirectoryName(const char* value) { m_workspaceDirectoryNameHasBeenSet = true; m_workspaceDirectoryName.assign(value); }
337 inline WorkspaceDirectory& WithWorkspaceDirectoryName(Aws::String&& value) { SetWorkspaceDirectoryName(std::move(value)); return *this;}
338 inline WorkspaceDirectory& WithWorkspaceDirectoryName(const char* value) { SetWorkspaceDirectoryName(value); return *this;}
340
342
345 inline const Aws::String& GetWorkspaceDirectoryDescription() const{ return m_workspaceDirectoryDescription; }
346 inline bool WorkspaceDirectoryDescriptionHasBeenSet() const { return m_workspaceDirectoryDescriptionHasBeenSet; }
347 inline void SetWorkspaceDirectoryDescription(const Aws::String& value) { m_workspaceDirectoryDescriptionHasBeenSet = true; m_workspaceDirectoryDescription = value; }
348 inline void SetWorkspaceDirectoryDescription(Aws::String&& value) { m_workspaceDirectoryDescriptionHasBeenSet = true; m_workspaceDirectoryDescription = std::move(value); }
349 inline void SetWorkspaceDirectoryDescription(const char* value) { m_workspaceDirectoryDescriptionHasBeenSet = true; m_workspaceDirectoryDescription.assign(value); }
354
356
359 inline const UserIdentityType& GetUserIdentityType() const{ return m_userIdentityType; }
360 inline bool UserIdentityTypeHasBeenSet() const { return m_userIdentityTypeHasBeenSet; }
361 inline void SetUserIdentityType(const UserIdentityType& value) { m_userIdentityTypeHasBeenSet = true; m_userIdentityType = value; }
362 inline void SetUserIdentityType(UserIdentityType&& value) { m_userIdentityTypeHasBeenSet = true; m_userIdentityType = std::move(value); }
364 inline WorkspaceDirectory& WithUserIdentityType(UserIdentityType&& value) { SetUserIdentityType(std::move(value)); return *this;}
366
368
371 inline const WorkspaceType& GetWorkspaceType() const{ return m_workspaceType; }
372 inline bool WorkspaceTypeHasBeenSet() const { return m_workspaceTypeHasBeenSet; }
373 inline void SetWorkspaceType(const WorkspaceType& value) { m_workspaceTypeHasBeenSet = true; m_workspaceType = value; }
374 inline void SetWorkspaceType(WorkspaceType&& value) { m_workspaceTypeHasBeenSet = true; m_workspaceType = std::move(value); }
375 inline WorkspaceDirectory& WithWorkspaceType(const WorkspaceType& value) { SetWorkspaceType(value); return *this;}
376 inline WorkspaceDirectory& WithWorkspaceType(WorkspaceType&& value) { SetWorkspaceType(std::move(value)); return *this;}
378
380
383 inline const IDCConfig& GetIDCConfig() const{ return m_iDCConfig; }
384 inline bool IDCConfigHasBeenSet() const { return m_iDCConfigHasBeenSet; }
385 inline void SetIDCConfig(const IDCConfig& value) { m_iDCConfigHasBeenSet = true; m_iDCConfig = value; }
386 inline void SetIDCConfig(IDCConfig&& value) { m_iDCConfigHasBeenSet = true; m_iDCConfig = std::move(value); }
387 inline WorkspaceDirectory& WithIDCConfig(const IDCConfig& value) { SetIDCConfig(value); return *this;}
388 inline WorkspaceDirectory& WithIDCConfig(IDCConfig&& value) { SetIDCConfig(std::move(value)); return *this;}
390
392
395 inline const ActiveDirectoryConfig& GetActiveDirectoryConfig() const{ return m_activeDirectoryConfig; }
396 inline bool ActiveDirectoryConfigHasBeenSet() const { return m_activeDirectoryConfigHasBeenSet; }
397 inline void SetActiveDirectoryConfig(const ActiveDirectoryConfig& value) { m_activeDirectoryConfigHasBeenSet = true; m_activeDirectoryConfig = value; }
398 inline void SetActiveDirectoryConfig(ActiveDirectoryConfig&& value) { m_activeDirectoryConfigHasBeenSet = true; m_activeDirectoryConfig = std::move(value); }
402
404
407 inline const StreamingProperties& GetStreamingProperties() const{ return m_streamingProperties; }
408 inline bool StreamingPropertiesHasBeenSet() const { return m_streamingPropertiesHasBeenSet; }
409 inline void SetStreamingProperties(const StreamingProperties& value) { m_streamingPropertiesHasBeenSet = true; m_streamingProperties = value; }
410 inline void SetStreamingProperties(StreamingProperties&& value) { m_streamingPropertiesHasBeenSet = true; m_streamingProperties = std::move(value); }
414
416
419 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
420 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
421 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
422 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
423 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
424 inline WorkspaceDirectory& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
425 inline WorkspaceDirectory& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
426 inline WorkspaceDirectory& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
428 private:
429
430 Aws::String m_directoryId;
431 bool m_directoryIdHasBeenSet = false;
432
433 Aws::String m_alias;
434 bool m_aliasHasBeenSet = false;
435
436 Aws::String m_directoryName;
437 bool m_directoryNameHasBeenSet = false;
438
439 Aws::String m_registrationCode;
440 bool m_registrationCodeHasBeenSet = false;
441
442 Aws::Vector<Aws::String> m_subnetIds;
443 bool m_subnetIdsHasBeenSet = false;
444
445 Aws::Vector<Aws::String> m_dnsIpAddresses;
446 bool m_dnsIpAddressesHasBeenSet = false;
447
448 Aws::String m_customerUserName;
449 bool m_customerUserNameHasBeenSet = false;
450
451 Aws::String m_iamRoleId;
452 bool m_iamRoleIdHasBeenSet = false;
453
454 WorkspaceDirectoryType m_directoryType;
455 bool m_directoryTypeHasBeenSet = false;
456
457 Aws::String m_workspaceSecurityGroupId;
458 bool m_workspaceSecurityGroupIdHasBeenSet = false;
459
461 bool m_stateHasBeenSet = false;
462
463 DefaultWorkspaceCreationProperties m_workspaceCreationProperties;
464 bool m_workspaceCreationPropertiesHasBeenSet = false;
465
466 Aws::Vector<Aws::String> m_ipGroupIds;
467 bool m_ipGroupIdsHasBeenSet = false;
468
469 WorkspaceAccessProperties m_workspaceAccessProperties;
470 bool m_workspaceAccessPropertiesHasBeenSet = false;
471
472 Tenancy m_tenancy;
473 bool m_tenancyHasBeenSet = false;
474
475 SelfservicePermissions m_selfservicePermissions;
476 bool m_selfservicePermissionsHasBeenSet = false;
477
478 SamlProperties m_samlProperties;
479 bool m_samlPropertiesHasBeenSet = false;
480
481 CertificateBasedAuthProperties m_certificateBasedAuthProperties;
482 bool m_certificateBasedAuthPropertiesHasBeenSet = false;
483
484 MicrosoftEntraConfig m_microsoftEntraConfig;
485 bool m_microsoftEntraConfigHasBeenSet = false;
486
487 Aws::String m_workspaceDirectoryName;
488 bool m_workspaceDirectoryNameHasBeenSet = false;
489
490 Aws::String m_workspaceDirectoryDescription;
491 bool m_workspaceDirectoryDescriptionHasBeenSet = false;
492
493 UserIdentityType m_userIdentityType;
494 bool m_userIdentityTypeHasBeenSet = false;
495
496 WorkspaceType m_workspaceType;
497 bool m_workspaceTypeHasBeenSet = false;
498
499 IDCConfig m_iDCConfig;
500 bool m_iDCConfigHasBeenSet = false;
501
502 ActiveDirectoryConfig m_activeDirectoryConfig;
503 bool m_activeDirectoryConfigHasBeenSet = false;
504
505 StreamingProperties m_streamingProperties;
506 bool m_streamingPropertiesHasBeenSet = false;
507
508 Aws::String m_errorMessage;
509 bool m_errorMessageHasBeenSet = false;
510 };
511
512} // namespace Model
513} // namespace WorkSpaces
514} // namespace Aws
void SetMicrosoftEntraConfig(const MicrosoftEntraConfig &value)
WorkspaceDirectory & WithErrorMessage(const Aws::String &value)
void SetIpGroupIds(const Aws::Vector< Aws::String > &value)
WorkspaceDirectory & WithWorkspaceSecurityGroupId(Aws::String &&value)
WorkspaceDirectory & WithRegistrationCode(Aws::String &&value)
void SetStreamingProperties(StreamingProperties &&value)
const Aws::String & GetRegistrationCode() const
void SetDirectoryName(const Aws::String &value)
WorkspaceDirectory & WithIDCConfig(const IDCConfig &value)
WorkspaceDirectory & WithWorkspaceAccessProperties(WorkspaceAccessProperties &&value)
void SetWorkspaceDirectoryName(const Aws::String &value)
WorkspaceDirectory & WithRegistrationCode(const char *value)
WorkspaceDirectory & AddSubnetIds(const Aws::String &value)
WorkspaceDirectory & WithState(const WorkspaceDirectoryState &value)
void SetRegistrationCode(const Aws::String &value)
WorkspaceDirectory & WithSubnetIds(Aws::Vector< Aws::String > &&value)
void SetDirectoryId(const Aws::String &value)
void SetActiveDirectoryConfig(const ActiveDirectoryConfig &value)
WorkspaceDirectory & WithWorkspaceType(const WorkspaceType &value)
const CertificateBasedAuthProperties & GetCertificateBasedAuthProperties() const
void SetWorkspaceCreationProperties(DefaultWorkspaceCreationProperties &&value)
WorkspaceDirectory & WithWorkspaceType(WorkspaceType &&value)
WorkspaceDirectory & WithUserIdentityType(const UserIdentityType &value)
WorkspaceDirectory & AddIpGroupIds(const char *value)
WorkspaceDirectory & WithDnsIpAddresses(Aws::Vector< Aws::String > &&value)
void SetStreamingProperties(const StreamingProperties &value)
WorkspaceDirectory & WithIamRoleId(const Aws::String &value)
void SetCustomerUserName(const Aws::String &value)
WorkspaceDirectory & WithSelfservicePermissions(const SelfservicePermissions &value)
WorkspaceDirectory & WithAlias(Aws::String &&value)
WorkspaceDirectory & AddDnsIpAddresses(Aws::String &&value)
void SetDirectoryType(const WorkspaceDirectoryType &value)
WorkspaceDirectory & WithSubnetIds(const Aws::Vector< Aws::String > &value)
WorkspaceDirectory & WithWorkspaceDirectoryName(const Aws::String &value)
const ActiveDirectoryConfig & GetActiveDirectoryConfig() const
WorkspaceDirectory & WithUserIdentityType(UserIdentityType &&value)
WorkspaceDirectory & AddDnsIpAddresses(const Aws::String &value)
WorkspaceDirectory & WithDirectoryName(const char *value)
WorkspaceDirectory & WithErrorMessage(Aws::String &&value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
WorkspaceDirectory & WithWorkspaceSecurityGroupId(const char *value)
WorkspaceDirectory & WithActiveDirectoryConfig(ActiveDirectoryConfig &&value)
void SetWorkspaceDirectoryDescription(Aws::String &&value)
WorkspaceDirectory & WithIpGroupIds(Aws::Vector< Aws::String > &&value)
WorkspaceDirectory & WithCustomerUserName(const Aws::String &value)
const Aws::Vector< Aws::String > & GetIpGroupIds() const
WorkspaceDirectory & WithActiveDirectoryConfig(const ActiveDirectoryConfig &value)
void SetWorkspaceCreationProperties(const DefaultWorkspaceCreationProperties &value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
WorkspaceDirectory & WithStreamingProperties(const StreamingProperties &value)
void SetState(const WorkspaceDirectoryState &value)
void SetDnsIpAddresses(Aws::Vector< Aws::String > &&value)
WorkspaceDirectory & WithDirectoryType(WorkspaceDirectoryType &&value)
WorkspaceDirectory & WithDirectoryType(const WorkspaceDirectoryType &value)
WorkspaceDirectory & WithWorkspaceDirectoryDescription(Aws::String &&value)
WorkspaceDirectory & WithDirectoryId(Aws::String &&value)
const WorkspaceAccessProperties & GetWorkspaceAccessProperties() const
void SetUserIdentityType(UserIdentityType &&value)
WorkspaceDirectory & WithDirectoryName(const Aws::String &value)
WorkspaceDirectory & WithIDCConfig(IDCConfig &&value)
void SetWorkspaceDirectoryDescription(const char *value)
void SetActiveDirectoryConfig(ActiveDirectoryConfig &&value)
const MicrosoftEntraConfig & GetMicrosoftEntraConfig() const
WorkspaceDirectory & WithAlias(const char *value)
void SetErrorMessage(const Aws::String &value)
const Aws::String & GetCustomerUserName() const
WorkspaceDirectory & WithSelfservicePermissions(SelfservicePermissions &&value)
WorkspaceDirectory & AddSubnetIds(Aws::String &&value)
WorkspaceDirectory & AddDnsIpAddresses(const char *value)
void SetWorkspaceDirectoryDescription(const Aws::String &value)
WorkspaceDirectory & WithWorkspaceDirectoryDescription(const Aws::String &value)
WorkspaceDirectory & WithWorkspaceCreationProperties(const DefaultWorkspaceCreationProperties &value)
WorkspaceDirectory & WithCustomerUserName(Aws::String &&value)
void SetWorkspaceSecurityGroupId(Aws::String &&value)
WorkspaceDirectory & WithDnsIpAddresses(const Aws::Vector< Aws::String > &value)
void SetMicrosoftEntraConfig(MicrosoftEntraConfig &&value)
const DefaultWorkspaceCreationProperties & GetWorkspaceCreationProperties() const
WorkspaceDirectory & WithTenancy(Tenancy &&value)
const WorkspaceDirectoryType & GetDirectoryType() const
AWS_WORKSPACES_API WorkspaceDirectory(Aws::Utils::Json::JsonView jsonValue)
const WorkspaceType & GetWorkspaceType() const
WorkspaceDirectory & WithState(WorkspaceDirectoryState &&value)
WorkspaceDirectory & WithSamlProperties(SamlProperties &&value)
void SetIpGroupIds(Aws::Vector< Aws::String > &&value)
void SetIamRoleId(const Aws::String &value)
void SetSelfservicePermissions(const SelfservicePermissions &value)
void SetWorkspaceDirectoryName(Aws::String &&value)
WorkspaceDirectory & AddIpGroupIds(const Aws::String &value)
const SamlProperties & GetSamlProperties() const
void SetUserIdentityType(const UserIdentityType &value)
WorkspaceDirectory & AddIpGroupIds(Aws::String &&value)
WorkspaceDirectory & WithWorkspaceDirectoryName(Aws::String &&value)
WorkspaceDirectory & WithDirectoryId(const Aws::String &value)
WorkspaceDirectory & WithIpGroupIds(const Aws::Vector< Aws::String > &value)
void SetCertificateBasedAuthProperties(const CertificateBasedAuthProperties &value)
WorkspaceDirectory & AddSubnetIds(const char *value)
void SetAlias(const Aws::String &value)
void SetWorkspaceType(const WorkspaceType &value)
void SetSelfservicePermissions(SelfservicePermissions &&value)
const Aws::String & GetWorkspaceSecurityGroupId() const
const Aws::String & GetWorkspaceDirectoryDescription() const
const UserIdentityType & GetUserIdentityType() const
const StreamingProperties & GetStreamingProperties() const
WorkspaceDirectory & WithCertificateBasedAuthProperties(CertificateBasedAuthProperties &&value)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
WorkspaceDirectory & WithWorkspaceDirectoryName(const char *value)
WorkspaceDirectory & WithStreamingProperties(StreamingProperties &&value)
WorkspaceDirectory & WithAlias(const Aws::String &value)
void SetState(WorkspaceDirectoryState &&value)
void SetWorkspaceAccessProperties(const WorkspaceAccessProperties &value)
WorkspaceDirectory & WithIamRoleId(const char *value)
WorkspaceDirectory & WithWorkspaceSecurityGroupId(const Aws::String &value)
WorkspaceDirectory & WithWorkspaceAccessProperties(const WorkspaceAccessProperties &value)
WorkspaceDirectory & WithIamRoleId(Aws::String &&value)
WorkspaceDirectory & WithRegistrationCode(const Aws::String &value)
const SelfservicePermissions & GetSelfservicePermissions() const
WorkspaceDirectory & WithSamlProperties(const SamlProperties &value)
void SetDirectoryType(WorkspaceDirectoryType &&value)
WorkspaceDirectory & WithCertificateBasedAuthProperties(const CertificateBasedAuthProperties &value)
void SetSamlProperties(const SamlProperties &value)
void SetWorkspaceAccessProperties(WorkspaceAccessProperties &&value)
WorkspaceDirectory & WithTenancy(const Tenancy &value)
WorkspaceDirectory & WithDirectoryName(Aws::String &&value)
WorkspaceDirectory & WithWorkspaceCreationProperties(DefaultWorkspaceCreationProperties &&value)
AWS_WORKSPACES_API WorkspaceDirectory & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkspaceDirectory & WithDirectoryId(const char *value)
WorkspaceDirectory & WithWorkspaceDirectoryDescription(const char *value)
const WorkspaceDirectoryState & GetState() const
WorkspaceDirectory & WithErrorMessage(const char *value)
WorkspaceDirectory & WithMicrosoftEntraConfig(MicrosoftEntraConfig &&value)
const Aws::Vector< Aws::String > & GetDnsIpAddresses() const
void SetSamlProperties(SamlProperties &&value)
const Aws::String & GetWorkspaceDirectoryName() const
void SetCertificateBasedAuthProperties(CertificateBasedAuthProperties &&value)
WorkspaceDirectory & WithMicrosoftEntraConfig(const MicrosoftEntraConfig &value)
void SetWorkspaceSecurityGroupId(const Aws::String &value)
WorkspaceDirectory & WithCustomerUserName(const char *value)
void SetDnsIpAddresses(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue