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>
64 inline void SetDirectoryId(
const char* value) { m_directoryIdHasBeenSet =
true; m_directoryId.assign(value); }
78 inline void SetAlias(
const char* value) { m_aliasHasBeenSet =
true; m_alias.assign(value); }
92 inline void SetDirectoryName(
const char* value) { m_directoryNameHasBeenSet =
true; m_directoryName.assign(value); }
107 inline void SetRegistrationCode(
const char* value) { m_registrationCodeHasBeenSet =
true; m_registrationCode.assign(value); }
151 inline void SetCustomerUserName(
const char* value) { m_customerUserNameHasBeenSet =
true; m_customerUserName.assign(value); }
167 inline void SetIamRoleId(
const char* value) { m_iamRoleIdHasBeenSet =
true; m_iamRoleId.assign(value); }
193 inline void SetWorkspaceSecurityGroupId(
const char* value) { m_workspaceSecurityGroupIdHasBeenSet =
true; m_workspaceSecurityGroupId.assign(value); }
270 inline void SetTenancy(
Tenancy&& value) { m_tenancyHasBeenSet =
true; m_tenancy = std::move(value); }
335 inline void SetWorkspaceDirectoryName(
const char* value) { m_workspaceDirectoryNameHasBeenSet =
true; m_workspaceDirectoryName.assign(value); }
423 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
431 bool m_directoryIdHasBeenSet =
false;
434 bool m_aliasHasBeenSet =
false;
437 bool m_directoryNameHasBeenSet =
false;
440 bool m_registrationCodeHasBeenSet =
false;
443 bool m_subnetIdsHasBeenSet =
false;
446 bool m_dnsIpAddressesHasBeenSet =
false;
449 bool m_customerUserNameHasBeenSet =
false;
452 bool m_iamRoleIdHasBeenSet =
false;
455 bool m_directoryTypeHasBeenSet =
false;
458 bool m_workspaceSecurityGroupIdHasBeenSet =
false;
461 bool m_stateHasBeenSet =
false;
464 bool m_workspaceCreationPropertiesHasBeenSet =
false;
467 bool m_ipGroupIdsHasBeenSet =
false;
470 bool m_workspaceAccessPropertiesHasBeenSet =
false;
473 bool m_tenancyHasBeenSet =
false;
476 bool m_selfservicePermissionsHasBeenSet =
false;
479 bool m_samlPropertiesHasBeenSet =
false;
482 bool m_certificateBasedAuthPropertiesHasBeenSet =
false;
485 bool m_microsoftEntraConfigHasBeenSet =
false;
488 bool m_workspaceDirectoryNameHasBeenSet =
false;
491 bool m_workspaceDirectoryDescriptionHasBeenSet =
false;
494 bool m_userIdentityTypeHasBeenSet =
false;
497 bool m_workspaceTypeHasBeenSet =
false;
500 bool m_iDCConfigHasBeenSet =
false;
503 bool m_activeDirectoryConfigHasBeenSet =
false;
506 bool m_streamingPropertiesHasBeenSet =
false;
509 bool m_errorMessageHasBeenSet =
false;
void SetMicrosoftEntraConfig(const MicrosoftEntraConfig &value)
WorkspaceDirectory & WithErrorMessage(const Aws::String &value)
void SetIpGroupIds(const Aws::Vector< Aws::String > &value)
WorkspaceDirectory & WithWorkspaceSecurityGroupId(Aws::String &&value)
void SetWorkspaceSecurityGroupId(const char *value)
WorkspaceDirectory & WithRegistrationCode(Aws::String &&value)
bool WorkspaceAccessPropertiesHasBeenSet() const
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)
const Aws::String & GetAlias() const
void SetDirectoryId(const Aws::String &value)
void SetActiveDirectoryConfig(const ActiveDirectoryConfig &value)
void SetDirectoryId(const char *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)
bool ActiveDirectoryConfigHasBeenSet() const
bool DirectoryTypeHasBeenSet() const
WorkspaceDirectory & WithAlias(Aws::String &&value)
WorkspaceDirectory & AddDnsIpAddresses(Aws::String &&value)
void SetDirectoryType(const WorkspaceDirectoryType &value)
void SetIamRoleId(const char *value)
WorkspaceDirectory & WithSubnetIds(const Aws::Vector< Aws::String > &value)
WorkspaceDirectory & WithWorkspaceDirectoryName(const Aws::String &value)
void SetIDCConfig(const IDCConfig &value)
const ActiveDirectoryConfig & GetActiveDirectoryConfig() const
WorkspaceDirectory & WithUserIdentityType(UserIdentityType &&value)
bool ErrorMessageHasBeenSet() const
WorkspaceDirectory & AddDnsIpAddresses(const Aws::String &value)
WorkspaceDirectory & WithDirectoryName(const char *value)
AWS_WORKSPACES_API WorkspaceDirectory()
const IDCConfig & GetIDCConfig() const
void SetDirectoryId(Aws::String &&value)
WorkspaceDirectory & WithErrorMessage(Aws::String &&value)
void SetErrorMessage(Aws::String &&value)
bool SelfservicePermissionsHasBeenSet() const
void SetDirectoryName(const char *value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
WorkspaceDirectory & WithWorkspaceSecurityGroupId(const char *value)
WorkspaceDirectory & WithActiveDirectoryConfig(ActiveDirectoryConfig &&value)
void SetWorkspaceDirectoryDescription(Aws::String &&value)
bool CustomerUserNameHasBeenSet() const
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 SetWorkspaceType(WorkspaceType &&value)
void SetWorkspaceCreationProperties(const DefaultWorkspaceCreationProperties &value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
WorkspaceDirectory & WithStreamingProperties(const StreamingProperties &value)
void SetState(const WorkspaceDirectoryState &value)
bool TenancyHasBeenSet() const
bool MicrosoftEntraConfigHasBeenSet() const
void SetDnsIpAddresses(Aws::Vector< Aws::String > &&value)
WorkspaceDirectory & WithDirectoryType(WorkspaceDirectoryType &&value)
WorkspaceDirectory & WithDirectoryType(const WorkspaceDirectoryType &value)
void SetTenancy(Tenancy &&value)
WorkspaceDirectory & WithWorkspaceDirectoryDescription(Aws::String &&value)
WorkspaceDirectory & WithDirectoryId(Aws::String &&value)
const WorkspaceAccessProperties & GetWorkspaceAccessProperties() const
void SetAlias(const char *value)
void SetUserIdentityType(UserIdentityType &&value)
WorkspaceDirectory & WithDirectoryName(const Aws::String &value)
const Aws::String & GetIamRoleId() const
WorkspaceDirectory & WithIDCConfig(IDCConfig &&value)
void SetCustomerUserName(Aws::String &&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)
bool StreamingPropertiesHasBeenSet() const
const Aws::String & GetCustomerUserName() const
WorkspaceDirectory & WithSelfservicePermissions(SelfservicePermissions &&value)
WorkspaceDirectory & AddSubnetIds(Aws::String &&value)
void SetRegistrationCode(Aws::String &&value)
WorkspaceDirectory & AddDnsIpAddresses(const char *value)
void SetRegistrationCode(const char *value)
void SetWorkspaceDirectoryDescription(const Aws::String &value)
WorkspaceDirectory & WithWorkspaceDirectoryDescription(const Aws::String &value)
WorkspaceDirectory & WithWorkspaceCreationProperties(const DefaultWorkspaceCreationProperties &value)
const Aws::String & GetDirectoryId() const
WorkspaceDirectory & WithCustomerUserName(Aws::String &&value)
void SetWorkspaceSecurityGroupId(Aws::String &&value)
WorkspaceDirectory & WithDnsIpAddresses(const Aws::Vector< Aws::String > &value)
bool IamRoleIdHasBeenSet() const
bool RegistrationCodeHasBeenSet() const
void SetMicrosoftEntraConfig(MicrosoftEntraConfig &&value)
const DefaultWorkspaceCreationProperties & GetWorkspaceCreationProperties() const
WorkspaceDirectory & WithTenancy(Tenancy &&value)
const WorkspaceDirectoryType & GetDirectoryType() const
bool WorkspaceDirectoryNameHasBeenSet() const
AWS_WORKSPACES_API WorkspaceDirectory(Aws::Utils::Json::JsonView jsonValue)
bool DirectoryIdHasBeenSet() const
bool WorkspaceTypeHasBeenSet() const
const WorkspaceType & GetWorkspaceType() const
WorkspaceDirectory & WithState(WorkspaceDirectoryState &&value)
WorkspaceDirectory & WithSamlProperties(SamlProperties &&value)
bool IDCConfigHasBeenSet() const
bool SubnetIdsHasBeenSet() const
void SetIpGroupIds(Aws::Vector< Aws::String > &&value)
void SetIamRoleId(const Aws::String &value)
void SetSelfservicePermissions(const SelfservicePermissions &value)
bool WorkspaceDirectoryDescriptionHasBeenSet() const
void SetDirectoryName(Aws::String &&value)
void SetWorkspaceDirectoryName(Aws::String &&value)
WorkspaceDirectory & AddIpGroupIds(const Aws::String &value)
const SamlProperties & GetSamlProperties() const
void SetCustomerUserName(const char *value)
bool AliasHasBeenSet() const
void SetUserIdentityType(const UserIdentityType &value)
const Tenancy & GetTenancy() const
WorkspaceDirectory & AddIpGroupIds(Aws::String &&value)
bool WorkspaceSecurityGroupIdHasBeenSet() const
void SetIamRoleId(Aws::String &&value)
WorkspaceDirectory & WithWorkspaceDirectoryName(Aws::String &&value)
WorkspaceDirectory & WithDirectoryId(const Aws::String &value)
WorkspaceDirectory & WithIpGroupIds(const Aws::Vector< Aws::String > &value)
bool CertificateBasedAuthPropertiesHasBeenSet() const
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
bool IpGroupIdsHasBeenSet() const
const UserIdentityType & GetUserIdentityType() const
const StreamingProperties & GetStreamingProperties() const
void SetIDCConfig(IDCConfig &&value)
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)
bool DirectoryNameHasBeenSet() const
const Aws::String & GetDirectoryName() const
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)
bool WorkspaceCreationPropertiesHasBeenSet() const
void SetTenancy(const Tenancy &value)
WorkspaceDirectory & WithCertificateBasedAuthProperties(const CertificateBasedAuthProperties &value)
void SetSamlProperties(const SamlProperties &value)
bool DnsIpAddressesHasBeenSet() const
void SetAlias(Aws::String &&value)
bool StateHasBeenSet() const
void SetWorkspaceAccessProperties(WorkspaceAccessProperties &&value)
WorkspaceDirectory & WithTenancy(const Tenancy &value)
WorkspaceDirectory & WithDirectoryName(Aws::String &&value)
void SetErrorMessage(const char *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)
bool SamlPropertiesHasBeenSet() const
const Aws::Vector< Aws::String > & GetDnsIpAddresses() const
void SetSamlProperties(SamlProperties &&value)
const Aws::String & GetWorkspaceDirectoryName() const
void SetCertificateBasedAuthProperties(CertificateBasedAuthProperties &&value)
bool UserIdentityTypeHasBeenSet() const
const Aws::String & GetErrorMessage() const
void SetWorkspaceDirectoryName(const char *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