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

Describes bandwidth information.

See Also:

AWS * API Reference

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

Upload speed in Mbps.

*/ inline int GetUploadSpeed() const{ return m_uploadSpeed; } /** *

Upload speed in Mbps.

*/ inline bool UploadSpeedHasBeenSet() const { return m_uploadSpeedHasBeenSet; } /** *

Upload speed in Mbps.

*/ inline void SetUploadSpeed(int value) { m_uploadSpeedHasBeenSet = true; m_uploadSpeed = value; } /** *

Upload speed in Mbps.

*/ inline Bandwidth& WithUploadSpeed(int value) { SetUploadSpeed(value); return *this;} /** *

Download speed in Mbps.

*/ inline int GetDownloadSpeed() const{ return m_downloadSpeed; } /** *

Download speed in Mbps.

*/ inline bool DownloadSpeedHasBeenSet() const { return m_downloadSpeedHasBeenSet; } /** *

Download speed in Mbps.

*/ inline void SetDownloadSpeed(int value) { m_downloadSpeedHasBeenSet = true; m_downloadSpeed = value; } /** *

Download speed in Mbps.

*/ inline Bandwidth& WithDownloadSpeed(int value) { SetDownloadSpeed(value); return *this;} private: int m_uploadSpeed; bool m_uploadSpeedHasBeenSet = false; int m_downloadSpeed; bool m_downloadSpeedHasBeenSet = false; }; } // namespace Model } // namespace NetworkManager } // namespace Aws