AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IOPS.h
1
6#pragma once
7#include <aws/datasync/DataSync_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 DataSync
20{
21namespace Model
22{
23
31 class IOPS
32 {
33 public:
34 AWS_DATASYNC_API IOPS();
35 AWS_DATASYNC_API IOPS(Aws::Utils::Json::JsonView jsonValue);
36 AWS_DATASYNC_API IOPS& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline double GetRead() const{ return m_read; }
45 inline bool ReadHasBeenSet() const { return m_readHasBeenSet; }
46 inline void SetRead(double value) { m_readHasBeenSet = true; m_read = value; }
47 inline IOPS& WithRead(double value) { SetRead(value); return *this;}
49
51
54 inline double GetWrite() const{ return m_write; }
55 inline bool WriteHasBeenSet() const { return m_writeHasBeenSet; }
56 inline void SetWrite(double value) { m_writeHasBeenSet = true; m_write = value; }
57 inline IOPS& WithWrite(double value) { SetWrite(value); return *this;}
59
61
64 inline double GetOther() const{ return m_other; }
65 inline bool OtherHasBeenSet() const { return m_otherHasBeenSet; }
66 inline void SetOther(double value) { m_otherHasBeenSet = true; m_other = value; }
67 inline IOPS& WithOther(double value) { SetOther(value); return *this;}
69
71
74 inline double GetTotal() const{ return m_total; }
75 inline bool TotalHasBeenSet() const { return m_totalHasBeenSet; }
76 inline void SetTotal(double value) { m_totalHasBeenSet = true; m_total = value; }
77 inline IOPS& WithTotal(double value) { SetTotal(value); return *this;}
79 private:
80
81 double m_read;
82 bool m_readHasBeenSet = false;
83
84 double m_write;
85 bool m_writeHasBeenSet = false;
86
87 double m_other;
88 bool m_otherHasBeenSet = false;
89
90 double m_total;
91 bool m_totalHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace DataSync
96} // namespace Aws
IOPS & WithOther(double value)
Definition IOPS.h:67
AWS_DATASYNC_API IOPS & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TotalHasBeenSet() const
Definition IOPS.h:75
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
bool WriteHasBeenSet() const
Definition IOPS.h:55
double GetOther() const
Definition IOPS.h:64
bool OtherHasBeenSet() const
Definition IOPS.h:65
AWS_DATASYNC_API IOPS(Aws::Utils::Json::JsonView jsonValue)
IOPS & WithWrite(double value)
Definition IOPS.h:57
void SetTotal(double value)
Definition IOPS.h:76
bool ReadHasBeenSet() const
Definition IOPS.h:45
AWS_DATASYNC_API IOPS()
double GetWrite() const
Definition IOPS.h:54
double GetTotal() const
Definition IOPS.h:74
IOPS & WithTotal(double value)
Definition IOPS.h:77
void SetOther(double value)
Definition IOPS.h:66
void SetWrite(double value)
Definition IOPS.h:56
IOPS & WithRead(double value)
Definition IOPS.h:47
void SetRead(double value)
Definition IOPS.h:46
double GetRead() const
Definition IOPS.h:44
Aws::Utils::Json::JsonValue JsonValue