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>
55 inline void SetWorkspaceId(
const char* value) { m_workspaceIdHasBeenSet =
true; m_workspaceId.assign(value); }
69 inline void SetDirectoryId(
const char* value) { m_directoryIdHasBeenSet =
true; m_directoryId.assign(value); }
83 inline void SetUserName(
const char* value) { m_userNameHasBeenSet =
true; m_userName.assign(value); }
97 inline void SetIpAddress(
const char* value) { m_ipAddressHasBeenSet =
true; m_ipAddress.assign(value); }
151 inline void SetBundleId(
const char* value) { m_bundleIdHasBeenSet =
true; m_bundleId.assign(value); }
165 inline void SetSubnetId(
const char* value) { m_subnetIdHasBeenSet =
true; m_subnetId.assign(value); }
180 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
194 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
211 inline void SetComputerName(
const char* value) { m_computerNameHasBeenSet =
true; m_computerName.assign(value); }
226 inline void SetVolumeEncryptionKey(
const char* value) { m_volumeEncryptionKeyHasBeenSet =
true; m_volumeEncryptionKey.assign(value); }
260 inline void SetWorkspaceName(
const char* value) { m_workspaceNameHasBeenSet =
true; m_workspaceName.assign(value); }
335 bool m_workspaceIdHasBeenSet =
false;
338 bool m_directoryIdHasBeenSet =
false;
341 bool m_userNameHasBeenSet =
false;
344 bool m_ipAddressHasBeenSet =
false;
347 bool m_stateHasBeenSet =
false;
350 bool m_bundleIdHasBeenSet =
false;
353 bool m_subnetIdHasBeenSet =
false;
356 bool m_errorMessageHasBeenSet =
false;
359 bool m_errorCodeHasBeenSet =
false;
362 bool m_computerNameHasBeenSet =
false;
365 bool m_volumeEncryptionKeyHasBeenSet =
false;
367 bool m_userVolumeEncryptionEnabled;
368 bool m_userVolumeEncryptionEnabledHasBeenSet =
false;
370 bool m_rootVolumeEncryptionEnabled;
371 bool m_rootVolumeEncryptionEnabledHasBeenSet =
false;
374 bool m_workspaceNameHasBeenSet =
false;
377 bool m_workspacePropertiesHasBeenSet =
false;
380 bool m_modificationStatesHasBeenSet =
false;
383 bool m_relatedWorkspacesHasBeenSet =
false;
386 bool m_dataReplicationSettingsHasBeenSet =
false;
389 bool m_standbyWorkspacesPropertiesHasBeenSet =
false;
void SetSubnetId(const Aws::String &value)
void SetDirectoryId(Aws::String &&value)
Workspace & WithBundleId(Aws::String &&value)
void SetErrorCode(const Aws::String &value)
bool DataReplicationSettingsHasBeenSet() const
Workspace & WithUserVolumeEncryptionEnabled(bool value)
const WorkspaceProperties & GetWorkspaceProperties() const
Workspace & AddRelatedWorkspaces(const RelatedWorkspaceProperties &value)
void SetBundleId(Aws::String &&value)
bool WorkspaceNameHasBeenSet() const
void SetRelatedWorkspaces(Aws::Vector< RelatedWorkspaceProperties > &&value)
void SetErrorMessage(const Aws::String &value)
void SetBundleId(const char *value)
void SetState(const WorkspaceState &value)
const Aws::String & GetWorkspaceId() const
void SetWorkspaceName(const Aws::String &value)
void SetUserName(const char *value)
AWS_WORKSPACES_API Workspace & operator=(Aws::Utils::Json::JsonView jsonValue)
Workspace & WithWorkspaceName(Aws::String &&value)
Workspace & WithSubnetId(const Aws::String &value)
Workspace & WithErrorCode(Aws::String &&value)
Workspace & WithVolumeEncryptionKey(const Aws::String &value)
void SetIpAddress(const char *value)
Workspace & AddStandbyWorkspacesProperties(const StandbyWorkspacesProperties &value)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
Workspace & WithComputerName(const Aws::String &value)
const Aws::String & GetComputerName() const
void SetDataReplicationSettings(DataReplicationSettings &&value)
void SetComputerName(Aws::String &&value)
Workspace & AddStandbyWorkspacesProperties(StandbyWorkspacesProperties &&value)
void SetState(WorkspaceState &&value)
const Aws::String & GetBundleId() const
void SetDirectoryId(const Aws::String &value)
const Aws::String & GetErrorCode() const
void SetModificationStates(const Aws::Vector< ModificationState > &value)
Workspace & WithDataReplicationSettings(const DataReplicationSettings &value)
bool RootVolumeEncryptionEnabledHasBeenSet() const
void SetErrorCode(const char *value)
void SetRelatedWorkspaces(const Aws::Vector< RelatedWorkspaceProperties > &value)
void SetWorkspaceId(const Aws::String &value)
Workspace & WithErrorMessage(const char *value)
bool SubnetIdHasBeenSet() const
bool ModificationStatesHasBeenSet() const
Workspace & WithWorkspaceName(const Aws::String &value)
Workspace & WithSubnetId(const char *value)
Workspace & WithBundleId(const Aws::String &value)
void SetWorkspaceProperties(WorkspaceProperties &&value)
void SetWorkspaceId(const char *value)
void SetIpAddress(Aws::String &&value)
const Aws::String & GetVolumeEncryptionKey() const
void SetComputerName(const Aws::String &value)
void SetSubnetId(Aws::String &&value)
bool GetUserVolumeEncryptionEnabled() const
Workspace & WithWorkspaceId(const char *value)
Workspace & WithState(const WorkspaceState &value)
Workspace & WithStandbyWorkspacesProperties(Aws::Vector< StandbyWorkspacesProperties > &&value)
bool UserVolumeEncryptionEnabledHasBeenSet() const
bool ErrorMessageHasBeenSet() const
bool StandbyWorkspacesPropertiesHasBeenSet() const
void SetWorkspaceName(const char *value)
Workspace & WithWorkspaceProperties(WorkspaceProperties &&value)
void SetVolumeEncryptionKey(const Aws::String &value)
const Aws::Vector< ModificationState > & GetModificationStates() const
Workspace & AddModificationStates(ModificationState &&value)
const Aws::String & GetIpAddress() const
const WorkspaceState & GetState() const
Workspace & AddRelatedWorkspaces(RelatedWorkspaceProperties &&value)
bool RelatedWorkspacesHasBeenSet() const
Workspace & WithUserName(Aws::String &&value)
Workspace & WithModificationStates(const Aws::Vector< ModificationState > &value)
Workspace & WithDirectoryId(Aws::String &&value)
Workspace & AddModificationStates(const ModificationState &value)
Workspace & WithIpAddress(Aws::String &&value)
Workspace & WithWorkspaceProperties(const WorkspaceProperties &value)
void SetRootVolumeEncryptionEnabled(bool value)
bool StateHasBeenSet() const
Workspace & WithIpAddress(const Aws::String &value)
AWS_WORKSPACES_API Workspace(Aws::Utils::Json::JsonView jsonValue)
void SetModificationStates(Aws::Vector< ModificationState > &&value)
const Aws::String & GetWorkspaceName() const
Workspace & WithRelatedWorkspaces(const Aws::Vector< RelatedWorkspaceProperties > &value)
void SetUserName(const Aws::String &value)
Workspace & WithWorkspaceId(const Aws::String &value)
Workspace & WithState(WorkspaceState &&value)
Workspace & WithUserName(const char *value)
Workspace & WithComputerName(const char *value)
void SetBundleId(const Aws::String &value)
bool VolumeEncryptionKeyHasBeenSet() const
bool GetRootVolumeEncryptionEnabled() const
Workspace & WithModificationStates(Aws::Vector< ModificationState > &&value)
void SetComputerName(const char *value)
void SetUserName(Aws::String &&value)
Workspace & WithDataReplicationSettings(DataReplicationSettings &&value)
Workspace & WithVolumeEncryptionKey(Aws::String &&value)
bool DirectoryIdHasBeenSet() const
Workspace & WithErrorMessage(const Aws::String &value)
Workspace & WithWorkspaceId(Aws::String &&value)
const Aws::String & GetDirectoryId() const
void SetErrorCode(Aws::String &&value)
const Aws::Vector< StandbyWorkspacesProperties > & GetStandbyWorkspacesProperties() const
void SetStandbyWorkspacesProperties(Aws::Vector< StandbyWorkspacesProperties > &&value)
void SetDirectoryId(const char *value)
Workspace & WithErrorCode(const Aws::String &value)
void SetWorkspaceName(Aws::String &&value)
bool ErrorCodeHasBeenSet() const
const Aws::String & GetSubnetId() const
Workspace & WithBundleId(const char *value)
const DataReplicationSettings & GetDataReplicationSettings() const
void SetWorkspaceId(Aws::String &&value)
bool UserNameHasBeenSet() const
Workspace & WithDirectoryId(const char *value)
Workspace & WithDirectoryId(const Aws::String &value)
void SetErrorMessage(Aws::String &&value)
Workspace & WithErrorMessage(Aws::String &&value)
Workspace & WithVolumeEncryptionKey(const char *value)
Workspace & WithIpAddress(const char *value)
bool WorkspaceIdHasBeenSet() const
void SetVolumeEncryptionKey(const char *value)
void SetWorkspaceProperties(const WorkspaceProperties &value)
Workspace & WithStandbyWorkspacesProperties(const Aws::Vector< StandbyWorkspacesProperties > &value)
void SetIpAddress(const Aws::String &value)
void SetUserVolumeEncryptionEnabled(bool value)
void SetErrorMessage(const char *value)
bool IpAddressHasBeenSet() const
Workspace & WithErrorCode(const char *value)
bool BundleIdHasBeenSet() const
Workspace & WithSubnetId(Aws::String &&value)
const Aws::String & GetErrorMessage() const
bool ComputerNameHasBeenSet() const
const Aws::String & GetUserName() const
Workspace & WithComputerName(Aws::String &&value)
AWS_WORKSPACES_API Workspace()
void SetVolumeEncryptionKey(Aws::String &&value)
Workspace & WithUserName(const Aws::String &value)
bool WorkspacePropertiesHasBeenSet() const
Workspace & WithRelatedWorkspaces(Aws::Vector< RelatedWorkspaceProperties > &&value)
Workspace & WithWorkspaceName(const char *value)
const Aws::Vector< RelatedWorkspaceProperties > & GetRelatedWorkspaces() const
void SetStandbyWorkspacesProperties(const Aws::Vector< StandbyWorkspacesProperties > &value)
void SetDataReplicationSettings(const DataReplicationSettings &value)
Workspace & WithRootVolumeEncryptionEnabled(bool value)
void SetSubnetId(const char *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