/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace WorkSpaces { namespace Model { /** *

Describes the information used to reboot a WorkSpace.

See * Also:

AWS * API Reference

*/ class RebootRequest { public: AWS_WORKSPACES_API RebootRequest(); AWS_WORKSPACES_API RebootRequest(Aws::Utils::Json::JsonView jsonValue); AWS_WORKSPACES_API RebootRequest& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The identifier of the WorkSpace.

*/ inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } /** *

The identifier of the WorkSpace.

*/ inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } /** *

The identifier of the WorkSpace.

*/ inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } /** *

The identifier of the WorkSpace.

*/ inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } /** *

The identifier of the WorkSpace.

*/ inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } /** *

The identifier of the WorkSpace.

*/ inline RebootRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} /** *

The identifier of the WorkSpace.

*/ inline RebootRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} /** *

The identifier of the WorkSpace.

*/ inline RebootRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} private: Aws::String m_workspaceId; bool m_workspaceIdHasBeenSet = false; }; } // namespace Model } // namespace WorkSpaces } // namespace Aws