AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NetworkResourceUtilization.h
1
6#pragma once
7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CostExplorer
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_COSTEXPLORER_API NetworkResourceUtilization();
38 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetNetworkInBytesPerSecond() const{ return m_networkInBytesPerSecond; }
47 inline bool NetworkInBytesPerSecondHasBeenSet() const { return m_networkInBytesPerSecondHasBeenSet; }
48 inline void SetNetworkInBytesPerSecond(const Aws::String& value) { m_networkInBytesPerSecondHasBeenSet = true; m_networkInBytesPerSecond = value; }
49 inline void SetNetworkInBytesPerSecond(Aws::String&& value) { m_networkInBytesPerSecondHasBeenSet = true; m_networkInBytesPerSecond = std::move(value); }
50 inline void SetNetworkInBytesPerSecond(const char* value) { m_networkInBytesPerSecondHasBeenSet = true; m_networkInBytesPerSecond.assign(value); }
53 inline NetworkResourceUtilization& WithNetworkInBytesPerSecond(const char* value) { SetNetworkInBytesPerSecond(value); return *this;}
55
57
61 inline const Aws::String& GetNetworkOutBytesPerSecond() const{ return m_networkOutBytesPerSecond; }
62 inline bool NetworkOutBytesPerSecondHasBeenSet() const { return m_networkOutBytesPerSecondHasBeenSet; }
63 inline void SetNetworkOutBytesPerSecond(const Aws::String& value) { m_networkOutBytesPerSecondHasBeenSet = true; m_networkOutBytesPerSecond = value; }
64 inline void SetNetworkOutBytesPerSecond(Aws::String&& value) { m_networkOutBytesPerSecondHasBeenSet = true; m_networkOutBytesPerSecond = std::move(value); }
65 inline void SetNetworkOutBytesPerSecond(const char* value) { m_networkOutBytesPerSecondHasBeenSet = true; m_networkOutBytesPerSecond.assign(value); }
70
72
75 inline const Aws::String& GetNetworkPacketsInPerSecond() const{ return m_networkPacketsInPerSecond; }
76 inline bool NetworkPacketsInPerSecondHasBeenSet() const { return m_networkPacketsInPerSecondHasBeenSet; }
77 inline void SetNetworkPacketsInPerSecond(const Aws::String& value) { m_networkPacketsInPerSecondHasBeenSet = true; m_networkPacketsInPerSecond = value; }
78 inline void SetNetworkPacketsInPerSecond(Aws::String&& value) { m_networkPacketsInPerSecondHasBeenSet = true; m_networkPacketsInPerSecond = std::move(value); }
79 inline void SetNetworkPacketsInPerSecond(const char* value) { m_networkPacketsInPerSecondHasBeenSet = true; m_networkPacketsInPerSecond.assign(value); }
84
86
89 inline const Aws::String& GetNetworkPacketsOutPerSecond() const{ return m_networkPacketsOutPerSecond; }
90 inline bool NetworkPacketsOutPerSecondHasBeenSet() const { return m_networkPacketsOutPerSecondHasBeenSet; }
91 inline void SetNetworkPacketsOutPerSecond(const Aws::String& value) { m_networkPacketsOutPerSecondHasBeenSet = true; m_networkPacketsOutPerSecond = value; }
92 inline void SetNetworkPacketsOutPerSecond(Aws::String&& value) { m_networkPacketsOutPerSecondHasBeenSet = true; m_networkPacketsOutPerSecond = std::move(value); }
93 inline void SetNetworkPacketsOutPerSecond(const char* value) { m_networkPacketsOutPerSecondHasBeenSet = true; m_networkPacketsOutPerSecond.assign(value); }
98 private:
99
100 Aws::String m_networkInBytesPerSecond;
101 bool m_networkInBytesPerSecondHasBeenSet = false;
102
103 Aws::String m_networkOutBytesPerSecond;
104 bool m_networkOutBytesPerSecondHasBeenSet = false;
105
106 Aws::String m_networkPacketsInPerSecond;
107 bool m_networkPacketsInPerSecondHasBeenSet = false;
108
109 Aws::String m_networkPacketsOutPerSecond;
110 bool m_networkPacketsOutPerSecondHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace CostExplorer
115} // namespace Aws
NetworkResourceUtilization & WithNetworkInBytesPerSecond(const char *value)
NetworkResourceUtilization & WithNetworkInBytesPerSecond(const Aws::String &value)
AWS_COSTEXPLORER_API NetworkResourceUtilization(Aws::Utils::Json::JsonView jsonValue)
NetworkResourceUtilization & WithNetworkInBytesPerSecond(Aws::String &&value)
NetworkResourceUtilization & WithNetworkPacketsInPerSecond(const char *value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkResourceUtilization & WithNetworkPacketsOutPerSecond(const Aws::String &value)
NetworkResourceUtilization & WithNetworkPacketsInPerSecond(Aws::String &&value)
NetworkResourceUtilization & WithNetworkPacketsOutPerSecond(const char *value)
NetworkResourceUtilization & WithNetworkOutBytesPerSecond(const char *value)
NetworkResourceUtilization & WithNetworkOutBytesPerSecond(Aws::String &&value)
AWS_COSTEXPLORER_API NetworkResourceUtilization & operator=(Aws::Utils::Json::JsonView jsonValue)
NetworkResourceUtilization & WithNetworkOutBytesPerSecond(const Aws::String &value)
NetworkResourceUtilization & WithNetworkPacketsOutPerSecond(Aws::String &&value)
NetworkResourceUtilization & WithNetworkPacketsInPerSecond(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue