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>
53 template<
typename WorkspaceIdT = Aws::String>
54 void SetWorkspaceId(WorkspaceIdT&& value) { m_workspaceIdHasBeenSet =
true; m_workspaceId = std::forward<WorkspaceIdT>(value); }
55 template<
typename WorkspaceIdT = Aws::String>
65 template<
typename DirectoryIdT = Aws::String>
66 void SetDirectoryId(DirectoryIdT&& value) { m_directoryIdHasBeenSet =
true; m_directoryId = std::forward<DirectoryIdT>(value); }
67 template<
typename DirectoryIdT = Aws::String>
77 template<
typename UserNameT = Aws::String>
78 void SetUserName(UserNameT&& value) { m_userNameHasBeenSet =
true; m_userName = std::forward<UserNameT>(value); }
79 template<
typename UserNameT = Aws::String>
89 template<
typename IpAddressT = Aws::String>
90 void SetIpAddress(IpAddressT&& value) { m_ipAddressHasBeenSet =
true; m_ipAddress = std::forward<IpAddressT>(value); }
91 template<
typename IpAddressT = Aws::String>
139 template<
typename BundleIdT = Aws::String>
140 void SetBundleId(BundleIdT&& value) { m_bundleIdHasBeenSet =
true; m_bundleId = std::forward<BundleIdT>(value); }
141 template<
typename BundleIdT = Aws::String>
151 template<
typename SubnetIdT = Aws::String>
152 void SetSubnetId(SubnetIdT&& value) { m_subnetIdHasBeenSet =
true; m_subnetId = std::forward<SubnetIdT>(value); }
153 template<
typename SubnetIdT = Aws::String>
164 template<
typename ErrorMessageT = Aws::String>
165 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet =
true; m_errorMessage = std::forward<ErrorMessageT>(value); }
166 template<
typename ErrorMessageT = Aws::String>
176 template<
typename ErrorCodeT = Aws::String>
177 void SetErrorCode(ErrorCodeT&& value) { m_errorCodeHasBeenSet =
true; m_errorCode = std::forward<ErrorCodeT>(value); }
178 template<
typename ErrorCodeT = Aws::String>
191 template<
typename ComputerNameT = Aws::String>
192 void SetComputerName(ComputerNameT&& value) { m_computerNameHasBeenSet =
true; m_computerName = std::forward<ComputerNameT>(value); }
193 template<
typename ComputerNameT = Aws::String>
204 template<
typename VolumeEncryptionKeyT = Aws::String>
205 void SetVolumeEncryptionKey(VolumeEncryptionKeyT&& value) { m_volumeEncryptionKeyHasBeenSet =
true; m_volumeEncryptionKey = std::forward<VolumeEncryptionKeyT>(value); }
206 template<
typename VolumeEncryptionKeyT = Aws::String>
236 template<
typename WorkspaceNameT = Aws::String>
237 void SetWorkspaceName(WorkspaceNameT&& value) { m_workspaceNameHasBeenSet =
true; m_workspaceName = std::forward<WorkspaceNameT>(value); }
238 template<
typename WorkspaceNameT = Aws::String>
248 template<
typename WorkspacePropertiesT = WorkspaceProperties>
249 void SetWorkspaceProperties(WorkspacePropertiesT&& value) { m_workspacePropertiesHasBeenSet =
true; m_workspaceProperties = std::forward<WorkspacePropertiesT>(value); }
250 template<
typename WorkspacePropertiesT = WorkspaceProperties>
260 template<
typename ModificationStatesT = Aws::Vector<ModificationState>>
261 void SetModificationStates(ModificationStatesT&& value) { m_modificationStatesHasBeenSet =
true; m_modificationStates = std::forward<ModificationStatesT>(value); }
262 template<
typename ModificationStatesT = Aws::Vector<ModificationState>>
264 template<
typename ModificationStatesT = ModificationState>
265 Workspace&
AddModificationStates(ModificationStatesT&& value) { m_modificationStatesHasBeenSet =
true; m_modificationStates.emplace_back(std::forward<ModificationStatesT>(value));
return *
this; }
275 template<
typename RelatedWorkspacesT = Aws::Vector<RelatedWorkspaceProperties>>
276 void SetRelatedWorkspaces(RelatedWorkspacesT&& value) { m_relatedWorkspacesHasBeenSet =
true; m_relatedWorkspaces = std::forward<RelatedWorkspacesT>(value); }
277 template<
typename RelatedWorkspacesT = Aws::Vector<RelatedWorkspaceProperties>>
279 template<
typename RelatedWorkspacesT = RelatedWorkspaceProperties>
280 Workspace&
AddRelatedWorkspaces(RelatedWorkspacesT&& value) { m_relatedWorkspacesHasBeenSet =
true; m_relatedWorkspaces.emplace_back(std::forward<RelatedWorkspacesT>(value));
return *
this; }
289 template<
typename DataReplicationSettingsT = DataReplicationSettings>
290 void SetDataReplicationSettings(DataReplicationSettingsT&& value) { m_dataReplicationSettingsHasBeenSet =
true; m_dataReplicationSettings = std::forward<DataReplicationSettingsT>(value); }
291 template<
typename DataReplicationSettingsT = DataReplicationSettings>
301 template<
typename StandbyWorkspacesPropertiesT = Aws::Vector<StandbyWorkspacesProperties>>
302 void SetStandbyWorkspacesProperties(StandbyWorkspacesPropertiesT&& value) { m_standbyWorkspacesPropertiesHasBeenSet =
true; m_standbyWorkspacesProperties = std::forward<StandbyWorkspacesPropertiesT>(value); }
303 template<
typename StandbyWorkspacesPropertiesT = Aws::Vector<StandbyWorkspacesProperties>>
305 template<
typename StandbyWorkspacesPropertiesT = StandbyWorkspacesProperties>
306 Workspace&
AddStandbyWorkspacesProperties(StandbyWorkspacesPropertiesT&& value) { m_standbyWorkspacesPropertiesHasBeenSet =
true; m_standbyWorkspacesProperties.emplace_back(std::forward<StandbyWorkspacesPropertiesT>(value));
return *
this; }
311 bool m_workspaceIdHasBeenSet =
false;
314 bool m_directoryIdHasBeenSet =
false;
317 bool m_userNameHasBeenSet =
false;
320 bool m_ipAddressHasBeenSet =
false;
323 bool m_stateHasBeenSet =
false;
326 bool m_bundleIdHasBeenSet =
false;
329 bool m_subnetIdHasBeenSet =
false;
332 bool m_errorMessageHasBeenSet =
false;
335 bool m_errorCodeHasBeenSet =
false;
338 bool m_computerNameHasBeenSet =
false;
341 bool m_volumeEncryptionKeyHasBeenSet =
false;
343 bool m_userVolumeEncryptionEnabled{
false};
344 bool m_userVolumeEncryptionEnabledHasBeenSet =
false;
346 bool m_rootVolumeEncryptionEnabled{
false};
347 bool m_rootVolumeEncryptionEnabledHasBeenSet =
false;
350 bool m_workspaceNameHasBeenSet =
false;
352 WorkspaceProperties m_workspaceProperties;
353 bool m_workspacePropertiesHasBeenSet =
false;
356 bool m_modificationStatesHasBeenSet =
false;
359 bool m_relatedWorkspacesHasBeenSet =
false;
361 DataReplicationSettings m_dataReplicationSettings;
362 bool m_dataReplicationSettingsHasBeenSet =
false;
365 bool m_standbyWorkspacesPropertiesHasBeenSet =
false;
void SetErrorMessage(ErrorMessageT &&value)
bool DataReplicationSettingsHasBeenSet() const
Workspace & WithUserVolumeEncryptionEnabled(bool value)
const WorkspaceProperties & GetWorkspaceProperties() const
bool WorkspaceNameHasBeenSet() const
void SetComputerName(ComputerNameT &&value)
const Aws::String & GetWorkspaceId() const
void SetWorkspaceName(WorkspaceNameT &&value)
Workspace & AddStandbyWorkspacesProperties(StandbyWorkspacesPropertiesT &&value)
Workspace & WithWorkspaceName(WorkspaceNameT &&value)
AWS_WORKSPACES_API Workspace & operator=(Aws::Utils::Json::JsonView jsonValue)
Workspace & WithUserName(UserNameT &&value)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetComputerName() const
void SetIpAddress(IpAddressT &&value)
Workspace & WithIpAddress(IpAddressT &&value)
void SetState(WorkspaceState value)
Workspace & WithModificationStates(ModificationStatesT &&value)
void SetWorkspaceId(WorkspaceIdT &&value)
const Aws::String & GetBundleId() const
const Aws::String & GetErrorCode() const
Workspace & WithBundleId(BundleIdT &&value)
bool RootVolumeEncryptionEnabledHasBeenSet() const
void SetDataReplicationSettings(DataReplicationSettingsT &&value)
bool SubnetIdHasBeenSet() const
bool ModificationStatesHasBeenSet() const
Workspace & WithState(WorkspaceState value)
const Aws::String & GetVolumeEncryptionKey() const
Workspace & WithVolumeEncryptionKey(VolumeEncryptionKeyT &&value)
bool GetUserVolumeEncryptionEnabled() const
Workspace & WithDirectoryId(DirectoryIdT &&value)
void SetStandbyWorkspacesProperties(StandbyWorkspacesPropertiesT &&value)
void SetWorkspaceProperties(WorkspacePropertiesT &&value)
bool UserVolumeEncryptionEnabledHasBeenSet() const
Workspace & WithComputerName(ComputerNameT &&value)
Workspace & AddRelatedWorkspaces(RelatedWorkspacesT &&value)
bool ErrorMessageHasBeenSet() const
bool StandbyWorkspacesPropertiesHasBeenSet() const
const Aws::Vector< ModificationState > & GetModificationStates() const
const Aws::String & GetIpAddress() const
void SetSubnetId(SubnetIdT &&value)
bool RelatedWorkspacesHasBeenSet() const
void SetRootVolumeEncryptionEnabled(bool value)
bool StateHasBeenSet() const
AWS_WORKSPACES_API Workspace(Aws::Utils::Json::JsonView jsonValue)
void SetModificationStates(ModificationStatesT &&value)
const Aws::String & GetWorkspaceName() const
Workspace & WithSubnetId(SubnetIdT &&value)
void SetErrorCode(ErrorCodeT &&value)
bool VolumeEncryptionKeyHasBeenSet() const
bool GetRootVolumeEncryptionEnabled() const
bool DirectoryIdHasBeenSet() const
Workspace & WithWorkspaceProperties(WorkspacePropertiesT &&value)
Workspace & WithRelatedWorkspaces(RelatedWorkspacesT &&value)
WorkspaceState GetState() const
void SetVolumeEncryptionKey(VolumeEncryptionKeyT &&value)
Workspace & WithDataReplicationSettings(DataReplicationSettingsT &&value)
const Aws::String & GetDirectoryId() const
const Aws::Vector< StandbyWorkspacesProperties > & GetStandbyWorkspacesProperties() const
void SetUserName(UserNameT &&value)
AWS_WORKSPACES_API Workspace()=default
bool ErrorCodeHasBeenSet() const
const Aws::String & GetSubnetId() const
const DataReplicationSettings & GetDataReplicationSettings() const
Workspace & WithErrorMessage(ErrorMessageT &&value)
void SetRelatedWorkspaces(RelatedWorkspacesT &&value)
bool UserNameHasBeenSet() const
void SetBundleId(BundleIdT &&value)
bool WorkspaceIdHasBeenSet() const
Workspace & AddModificationStates(ModificationStatesT &&value)
void SetUserVolumeEncryptionEnabled(bool value)
bool IpAddressHasBeenSet() const
Workspace & WithErrorCode(ErrorCodeT &&value)
bool BundleIdHasBeenSet() const
const Aws::String & GetErrorMessage() const
bool ComputerNameHasBeenSet() const
const Aws::String & GetUserName() const
Workspace & WithStandbyWorkspacesProperties(StandbyWorkspacesPropertiesT &&value)
bool WorkspacePropertiesHasBeenSet() const
const Aws::Vector< RelatedWorkspaceProperties > & GetRelatedWorkspaces() const
Workspace & WithWorkspaceId(WorkspaceIdT &&value)
Workspace & WithRootVolumeEncryptionEnabled(bool value)
void SetDirectoryId(DirectoryIdT &&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