AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Bandwidth.h
1
6#pragma once
7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace NetworkManager
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_NETWORKMANAGER_API Bandwidth();
33 AWS_NETWORKMANAGER_API Bandwidth(Aws::Utils::Json::JsonView jsonValue);
34 AWS_NETWORKMANAGER_API Bandwidth& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline int GetUploadSpeed() const{ return m_uploadSpeed; }
43 inline bool UploadSpeedHasBeenSet() const { return m_uploadSpeedHasBeenSet; }
44 inline void SetUploadSpeed(int value) { m_uploadSpeedHasBeenSet = true; m_uploadSpeed = value; }
45 inline Bandwidth& WithUploadSpeed(int value) { SetUploadSpeed(value); return *this;}
47
49
52 inline int GetDownloadSpeed() const{ return m_downloadSpeed; }
53 inline bool DownloadSpeedHasBeenSet() const { return m_downloadSpeedHasBeenSet; }
54 inline void SetDownloadSpeed(int value) { m_downloadSpeedHasBeenSet = true; m_downloadSpeed = value; }
55 inline Bandwidth& WithDownloadSpeed(int value) { SetDownloadSpeed(value); return *this;}
57 private:
58
59 int m_uploadSpeed;
60 bool m_uploadSpeedHasBeenSet = false;
61
62 int m_downloadSpeed;
63 bool m_downloadSpeedHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace NetworkManager
68} // namespace Aws
AWS_NETWORKMANAGER_API Bandwidth & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_NETWORKMANAGER_API Bandwidth(Aws::Utils::Json::JsonView jsonValue)
Bandwidth & WithDownloadSpeed(int value)
Definition Bandwidth.h:55
Bandwidth & WithUploadSpeed(int value)
Definition Bandwidth.h:45
AWS_NETWORKMANAGER_API Bandwidth()
Aws::Utils::Json::JsonValue JsonValue