AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DataReplicationInfoReplicatedDisk.h
1
6#pragma once
7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/drs/model/VolumeStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace drs
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_DRS_API DataReplicationInfoReplicatedDisk() = default;
39
40
42
45 inline long long GetBackloggedStorageBytes() const { return m_backloggedStorageBytes; }
46 inline bool BackloggedStorageBytesHasBeenSet() const { return m_backloggedStorageBytesHasBeenSet; }
47 inline void SetBackloggedStorageBytes(long long value) { m_backloggedStorageBytesHasBeenSet = true; m_backloggedStorageBytes = value; }
50
52
55 inline const Aws::String& GetDeviceName() const { return m_deviceName; }
56 inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }
57 template<typename DeviceNameT = Aws::String>
58 void SetDeviceName(DeviceNameT&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::forward<DeviceNameT>(value); }
59 template<typename DeviceNameT = Aws::String>
60 DataReplicationInfoReplicatedDisk& WithDeviceName(DeviceNameT&& value) { SetDeviceName(std::forward<DeviceNameT>(value)); return *this;}
62
64
67 inline long long GetReplicatedStorageBytes() const { return m_replicatedStorageBytes; }
68 inline bool ReplicatedStorageBytesHasBeenSet() const { return m_replicatedStorageBytesHasBeenSet; }
69 inline void SetReplicatedStorageBytes(long long value) { m_replicatedStorageBytesHasBeenSet = true; m_replicatedStorageBytes = value; }
72
74
77 inline long long GetRescannedStorageBytes() const { return m_rescannedStorageBytes; }
78 inline bool RescannedStorageBytesHasBeenSet() const { return m_rescannedStorageBytesHasBeenSet; }
79 inline void SetRescannedStorageBytes(long long value) { m_rescannedStorageBytesHasBeenSet = true; m_rescannedStorageBytes = value; }
82
84
87 inline long long GetTotalStorageBytes() const { return m_totalStorageBytes; }
88 inline bool TotalStorageBytesHasBeenSet() const { return m_totalStorageBytesHasBeenSet; }
89 inline void SetTotalStorageBytes(long long value) { m_totalStorageBytesHasBeenSet = true; m_totalStorageBytes = value; }
90 inline DataReplicationInfoReplicatedDisk& WithTotalStorageBytes(long long value) { SetTotalStorageBytes(value); return *this;}
92
94
97 inline VolumeStatus GetVolumeStatus() const { return m_volumeStatus; }
98 inline bool VolumeStatusHasBeenSet() const { return m_volumeStatusHasBeenSet; }
99 inline void SetVolumeStatus(VolumeStatus value) { m_volumeStatusHasBeenSet = true; m_volumeStatus = value; }
102 private:
103
104 long long m_backloggedStorageBytes{0};
105 bool m_backloggedStorageBytesHasBeenSet = false;
106
107 Aws::String m_deviceName;
108 bool m_deviceNameHasBeenSet = false;
109
110 long long m_replicatedStorageBytes{0};
111 bool m_replicatedStorageBytesHasBeenSet = false;
112
113 long long m_rescannedStorageBytes{0};
114 bool m_rescannedStorageBytesHasBeenSet = false;
115
116 long long m_totalStorageBytes{0};
117 bool m_totalStorageBytesHasBeenSet = false;
118
119 VolumeStatus m_volumeStatus{VolumeStatus::NOT_SET};
120 bool m_volumeStatusHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace drs
125} // namespace Aws
DataReplicationInfoReplicatedDisk & WithDeviceName(DeviceNameT &&value)
DataReplicationInfoReplicatedDisk & WithVolumeStatus(VolumeStatus value)
AWS_DRS_API DataReplicationInfoReplicatedDisk(Aws::Utils::Json::JsonView jsonValue)
AWS_DRS_API DataReplicationInfoReplicatedDisk & operator=(Aws::Utils::Json::JsonView jsonValue)
DataReplicationInfoReplicatedDisk & WithRescannedStorageBytes(long long value)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
DataReplicationInfoReplicatedDisk & WithReplicatedStorageBytes(long long value)
DataReplicationInfoReplicatedDisk & WithBackloggedStorageBytes(long long value)
DataReplicationInfoReplicatedDisk & WithTotalStorageBytes(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue