/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the standby WorkSpace.See Also:
AWS
* API Reference
Describes the standby WorkSpace that was created.
Because this * operation is asynchronous, the identifier returned is not immediately available * for use with other operations. For example, if you call * DescribeWorkspaces before the WorkSpace is created, the information returned * can be incomplete.
*/ inline const Aws::String& GetUserName() const{ return m_userName; } /** *Describes the standby WorkSpace that was created.
Because this * operation is asynchronous, the identifier returned is not immediately available * for use with other operations. For example, if you call * DescribeWorkspaces before the WorkSpace is created, the information returned * can be incomplete.
*/ inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; } /** *Describes the standby WorkSpace that was created.
Because this * operation is asynchronous, the identifier returned is not immediately available * for use with other operations. For example, if you call * DescribeWorkspaces before the WorkSpace is created, the information returned * can be incomplete.
*/ inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; } /** *Describes the standby WorkSpace that was created.
Because this * operation is asynchronous, the identifier returned is not immediately available * for use with other operations. For example, if you call * DescribeWorkspaces before the WorkSpace is created, the information returned * can be incomplete.
*/ inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); } /** *Describes the standby WorkSpace that was created.
Because this * operation is asynchronous, the identifier returned is not immediately available * for use with other operations. For example, if you call * DescribeWorkspaces before the WorkSpace is created, the information returned * can be incomplete.
*/ inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); } /** *Describes the standby WorkSpace that was created.
Because this * operation is asynchronous, the identifier returned is not immediately available * for use with other operations. For example, if you call * DescribeWorkspaces before the WorkSpace is created, the information returned * can be incomplete.
*/ inline PendingCreateStandbyWorkspacesRequest& WithUserName(const Aws::String& value) { SetUserName(value); return *this;} /** *Describes the standby WorkSpace that was created.
Because this * operation is asynchronous, the identifier returned is not immediately available * for use with other operations. For example, if you call * DescribeWorkspaces before the WorkSpace is created, the information returned * can be incomplete.
*/ inline PendingCreateStandbyWorkspacesRequest& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;} /** *Describes the standby WorkSpace that was created.
Because this * operation is asynchronous, the identifier returned is not immediately available * for use with other operations. For example, if you call * DescribeWorkspaces before the WorkSpace is created, the information returned * can be incomplete.
*/ inline PendingCreateStandbyWorkspacesRequest& WithUserName(const char* value) { SetUserName(value); return *this;} /** *The identifier of the directory for the standby WorkSpace.
*/ inline const Aws::String& GetDirectoryId() const{ return m_directoryId; } /** *The identifier of the directory for the standby WorkSpace.
*/ inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; } /** *The identifier of the directory for the standby WorkSpace.
*/ inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; } /** *The identifier of the directory for the standby WorkSpace.
*/ inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); } /** *The identifier of the directory for the standby WorkSpace.
*/ inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); } /** *The identifier of the directory for the standby WorkSpace.
*/ inline PendingCreateStandbyWorkspacesRequest& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;} /** *The identifier of the directory for the standby WorkSpace.
*/ inline PendingCreateStandbyWorkspacesRequest& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;} /** *The identifier of the directory for the standby WorkSpace.
*/ inline PendingCreateStandbyWorkspacesRequest& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;} /** *The operational state of the standby WorkSpace.
*/ inline const WorkspaceState& GetState() const{ return m_state; } /** *The operational state of the standby WorkSpace.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The operational state of the standby WorkSpace.
*/ inline void SetState(const WorkspaceState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The operational state of the standby WorkSpace.
*/ inline void SetState(WorkspaceState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The operational state of the standby WorkSpace.
*/ inline PendingCreateStandbyWorkspacesRequest& WithState(const WorkspaceState& value) { SetState(value); return *this;} /** *The operational state of the standby WorkSpace.
*/ inline PendingCreateStandbyWorkspacesRequest& WithState(WorkspaceState&& value) { SetState(std::move(value)); return *this;} /** *The identifier of the standby WorkSpace.
*/ inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } /** *The identifier of the standby WorkSpace.
*/ inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } /** *The identifier of the standby WorkSpace.
*/ inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } /** *The identifier of the standby WorkSpace.
*/ inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } /** *The identifier of the standby WorkSpace.
*/ inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } /** *The identifier of the standby WorkSpace.
*/ inline PendingCreateStandbyWorkspacesRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} /** *The identifier of the standby WorkSpace.
*/ inline PendingCreateStandbyWorkspacesRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} /** *The identifier of the standby WorkSpace.
*/ inline PendingCreateStandbyWorkspacesRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} private: Aws::String m_userName; bool m_userNameHasBeenSet = false; Aws::String m_directoryId; bool m_directoryIdHasBeenSet = false; WorkspaceState m_state; bool m_stateHasBeenSet = false; Aws::String m_workspaceId; bool m_workspaceIdHasBeenSet = false; }; } // namespace Model } // namespace WorkSpaces } // namespace Aws