AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DiskResourceUtilization.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 DiskResourceUtilization();
36 AWS_COSTEXPLORER_API DiskResourceUtilization(Aws::Utils::Json::JsonView jsonValue);
38 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetDiskReadOpsPerSecond() const{ return m_diskReadOpsPerSecond; }
46 inline bool DiskReadOpsPerSecondHasBeenSet() const { return m_diskReadOpsPerSecondHasBeenSet; }
47 inline void SetDiskReadOpsPerSecond(const Aws::String& value) { m_diskReadOpsPerSecondHasBeenSet = true; m_diskReadOpsPerSecond = value; }
48 inline void SetDiskReadOpsPerSecond(Aws::String&& value) { m_diskReadOpsPerSecondHasBeenSet = true; m_diskReadOpsPerSecond = std::move(value); }
49 inline void SetDiskReadOpsPerSecond(const char* value) { m_diskReadOpsPerSecondHasBeenSet = true; m_diskReadOpsPerSecond.assign(value); }
51 inline DiskResourceUtilization& WithDiskReadOpsPerSecond(Aws::String&& value) { SetDiskReadOpsPerSecond(std::move(value)); return *this;}
52 inline DiskResourceUtilization& WithDiskReadOpsPerSecond(const char* value) { SetDiskReadOpsPerSecond(value); return *this;}
54
56
59 inline const Aws::String& GetDiskWriteOpsPerSecond() const{ return m_diskWriteOpsPerSecond; }
60 inline bool DiskWriteOpsPerSecondHasBeenSet() const { return m_diskWriteOpsPerSecondHasBeenSet; }
61 inline void SetDiskWriteOpsPerSecond(const Aws::String& value) { m_diskWriteOpsPerSecondHasBeenSet = true; m_diskWriteOpsPerSecond = value; }
62 inline void SetDiskWriteOpsPerSecond(Aws::String&& value) { m_diskWriteOpsPerSecondHasBeenSet = true; m_diskWriteOpsPerSecond = std::move(value); }
63 inline void SetDiskWriteOpsPerSecond(const char* value) { m_diskWriteOpsPerSecondHasBeenSet = true; m_diskWriteOpsPerSecond.assign(value); }
66 inline DiskResourceUtilization& WithDiskWriteOpsPerSecond(const char* value) { SetDiskWriteOpsPerSecond(value); return *this;}
68
70
73 inline const Aws::String& GetDiskReadBytesPerSecond() const{ return m_diskReadBytesPerSecond; }
74 inline bool DiskReadBytesPerSecondHasBeenSet() const { return m_diskReadBytesPerSecondHasBeenSet; }
75 inline void SetDiskReadBytesPerSecond(const Aws::String& value) { m_diskReadBytesPerSecondHasBeenSet = true; m_diskReadBytesPerSecond = value; }
76 inline void SetDiskReadBytesPerSecond(Aws::String&& value) { m_diskReadBytesPerSecondHasBeenSet = true; m_diskReadBytesPerSecond = std::move(value); }
77 inline void SetDiskReadBytesPerSecond(const char* value) { m_diskReadBytesPerSecondHasBeenSet = true; m_diskReadBytesPerSecond.assign(value); }
80 inline DiskResourceUtilization& WithDiskReadBytesPerSecond(const char* value) { SetDiskReadBytesPerSecond(value); return *this;}
82
84
87 inline const Aws::String& GetDiskWriteBytesPerSecond() const{ return m_diskWriteBytesPerSecond; }
88 inline bool DiskWriteBytesPerSecondHasBeenSet() const { return m_diskWriteBytesPerSecondHasBeenSet; }
89 inline void SetDiskWriteBytesPerSecond(const Aws::String& value) { m_diskWriteBytesPerSecondHasBeenSet = true; m_diskWriteBytesPerSecond = value; }
90 inline void SetDiskWriteBytesPerSecond(Aws::String&& value) { m_diskWriteBytesPerSecondHasBeenSet = true; m_diskWriteBytesPerSecond = std::move(value); }
91 inline void SetDiskWriteBytesPerSecond(const char* value) { m_diskWriteBytesPerSecondHasBeenSet = true; m_diskWriteBytesPerSecond.assign(value); }
94 inline DiskResourceUtilization& WithDiskWriteBytesPerSecond(const char* value) { SetDiskWriteBytesPerSecond(value); return *this;}
96 private:
97
98 Aws::String m_diskReadOpsPerSecond;
99 bool m_diskReadOpsPerSecondHasBeenSet = false;
100
101 Aws::String m_diskWriteOpsPerSecond;
102 bool m_diskWriteOpsPerSecondHasBeenSet = false;
103
104 Aws::String m_diskReadBytesPerSecond;
105 bool m_diskReadBytesPerSecondHasBeenSet = false;
106
107 Aws::String m_diskWriteBytesPerSecond;
108 bool m_diskWriteBytesPerSecondHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace CostExplorer
113} // namespace Aws
DiskResourceUtilization & WithDiskReadOpsPerSecond(const char *value)
AWS_COSTEXPLORER_API DiskResourceUtilization(Aws::Utils::Json::JsonView jsonValue)
DiskResourceUtilization & WithDiskReadBytesPerSecond(const Aws::String &value)
DiskResourceUtilization & WithDiskReadOpsPerSecond(Aws::String &&value)
DiskResourceUtilization & WithDiskReadBytesPerSecond(Aws::String &&value)
DiskResourceUtilization & WithDiskWriteOpsPerSecond(const Aws::String &value)
DiskResourceUtilization & WithDiskWriteOpsPerSecond(Aws::String &&value)
DiskResourceUtilization & WithDiskWriteBytesPerSecond(const Aws::String &value)
DiskResourceUtilization & WithDiskWriteBytesPerSecond(const char *value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
DiskResourceUtilization & WithDiskWriteOpsPerSecond(const char *value)
DiskResourceUtilization & WithDiskReadBytesPerSecond(const char *value)
AWS_COSTEXPLORER_API DiskResourceUtilization & operator=(Aws::Utils::Json::JsonView jsonValue)
DiskResourceUtilization & WithDiskWriteBytesPerSecond(Aws::String &&value)
DiskResourceUtilization & WithDiskReadOpsPerSecond(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue