AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Latency.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 Latency
32 {
33 public:
34 AWS_DATASYNC_API Latency();
35 AWS_DATASYNC_API Latency(Aws::Utils::Json::JsonView jsonValue);
36 AWS_DATASYNC_API Latency& 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 Latency& 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 Latency& 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 Latency& WithOther(double value) { SetOther(value); return *this;}
69 private:
70
71 double m_read;
72 bool m_readHasBeenSet = false;
73
74 double m_write;
75 bool m_writeHasBeenSet = false;
76
77 double m_other;
78 bool m_otherHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace DataSync
83} // namespace Aws
void SetRead(double value)
Definition Latency.h:46
double GetOther() const
Definition Latency.h:64
AWS_DATASYNC_API Latency(Aws::Utils::Json::JsonView jsonValue)
double GetWrite() const
Definition Latency.h:54
void SetOther(double value)
Definition Latency.h:66
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
Latency & WithOther(double value)
Definition Latency.h:67
bool ReadHasBeenSet() const
Definition Latency.h:45
AWS_DATASYNC_API Latency & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetWrite(double value)
Definition Latency.h:56
bool WriteHasBeenSet() const
Definition Latency.h:55
Latency & WithRead(double value)
Definition Latency.h:47
bool OtherHasBeenSet() const
Definition Latency.h:65
Latency & WithWrite(double value)
Definition Latency.h:57
AWS_DATASYNC_API Latency()
Aws::Utils::Json::JsonValue JsonValue