AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
DataReplicationInfoReplicatedDisk.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/drs/Drs_EXPORTS.h>
9#include <aws/drs/model/VolumeStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace drs {
21namespace Model {
22
29 public:
30 AWS_DRS_API DataReplicationInfoReplicatedDisk() = default;
34
36
39 inline long long GetBackloggedStorageBytes() const { return m_backloggedStorageBytes; }
40 inline bool BackloggedStorageBytesHasBeenSet() const { return m_backloggedStorageBytesHasBeenSet; }
41 inline void SetBackloggedStorageBytes(long long value) {
42 m_backloggedStorageBytesHasBeenSet = true;
43 m_backloggedStorageBytes = value;
44 }
47 return *this;
48 }
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) {
59 m_deviceNameHasBeenSet = true;
60 m_deviceName = std::forward<DeviceNameT>(value);
61 }
62 template <typename DeviceNameT = Aws::String>
64 SetDeviceName(std::forward<DeviceNameT>(value));
65 return *this;
66 }
68
70
73 inline long long GetReplicatedStorageBytes() const { return m_replicatedStorageBytes; }
74 inline bool ReplicatedStorageBytesHasBeenSet() const { return m_replicatedStorageBytesHasBeenSet; }
75 inline void SetReplicatedStorageBytes(long long value) {
76 m_replicatedStorageBytesHasBeenSet = true;
77 m_replicatedStorageBytes = value;
78 }
81 return *this;
82 }
84
86
89 inline long long GetRescannedStorageBytes() const { return m_rescannedStorageBytes; }
90 inline bool RescannedStorageBytesHasBeenSet() const { return m_rescannedStorageBytesHasBeenSet; }
91 inline void SetRescannedStorageBytes(long long value) {
92 m_rescannedStorageBytesHasBeenSet = true;
93 m_rescannedStorageBytes = value;
94 }
97 return *this;
98 }
100
102
105 inline long long GetTotalStorageBytes() const { return m_totalStorageBytes; }
106 inline bool TotalStorageBytesHasBeenSet() const { return m_totalStorageBytesHasBeenSet; }
107 inline void SetTotalStorageBytes(long long value) {
108 m_totalStorageBytesHasBeenSet = true;
109 m_totalStorageBytes = value;
110 }
113 return *this;
114 }
116
118
121 inline VolumeStatus GetVolumeStatus() const { return m_volumeStatus; }
122 inline bool VolumeStatusHasBeenSet() const { return m_volumeStatusHasBeenSet; }
123 inline void SetVolumeStatus(VolumeStatus value) {
124 m_volumeStatusHasBeenSet = true;
125 m_volumeStatus = value;
126 }
128 SetVolumeStatus(value);
129 return *this;
130 }
132 private:
133 long long m_backloggedStorageBytes{0};
134
135 Aws::String m_deviceName;
136
137 long long m_replicatedStorageBytes{0};
138
139 long long m_rescannedStorageBytes{0};
140
141 long long m_totalStorageBytes{0};
142
143 VolumeStatus m_volumeStatus{VolumeStatus::NOT_SET};
144 bool m_backloggedStorageBytesHasBeenSet = false;
145 bool m_deviceNameHasBeenSet = false;
146 bool m_replicatedStorageBytesHasBeenSet = false;
147 bool m_rescannedStorageBytesHasBeenSet = false;
148 bool m_totalStorageBytesHasBeenSet = false;
149 bool m_volumeStatusHasBeenSet = false;
150};
151
152} // namespace Model
153} // namespace drs
154} // 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