/** * 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 root volume for a WorkSpace bundle.

See Also:

* AWS * API Reference

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

The size of the root volume.

*/ inline const Aws::String& GetCapacity() const{ return m_capacity; } /** *

The size of the root volume.

*/ inline bool CapacityHasBeenSet() const { return m_capacityHasBeenSet; } /** *

The size of the root volume.

*/ inline void SetCapacity(const Aws::String& value) { m_capacityHasBeenSet = true; m_capacity = value; } /** *

The size of the root volume.

*/ inline void SetCapacity(Aws::String&& value) { m_capacityHasBeenSet = true; m_capacity = std::move(value); } /** *

The size of the root volume.

*/ inline void SetCapacity(const char* value) { m_capacityHasBeenSet = true; m_capacity.assign(value); } /** *

The size of the root volume.

*/ inline RootStorage& WithCapacity(const Aws::String& value) { SetCapacity(value); return *this;} /** *

The size of the root volume.

*/ inline RootStorage& WithCapacity(Aws::String&& value) { SetCapacity(std::move(value)); return *this;} /** *

The size of the root volume.

*/ inline RootStorage& WithCapacity(const char* value) { SetCapacity(value); return *this;} private: Aws::String m_capacity; bool m_capacityHasBeenSet = false; }; } // namespace Model } // namespace WorkSpaces } // namespace Aws