AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DataReplicationInfoReplicatedDisk.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mgn/Mgn_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace mgn {
20namespace Model {
21
28 public:
29 AWS_MGN_API DataReplicationInfoReplicatedDisk() = default;
33
35
38 inline const Aws::String& GetDeviceName() const { return m_deviceName; }
39 inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }
40 template <typename DeviceNameT = Aws::String>
41 void SetDeviceName(DeviceNameT&& value) {
42 m_deviceNameHasBeenSet = true;
43 m_deviceName = std::forward<DeviceNameT>(value);
44 }
45 template <typename DeviceNameT = Aws::String>
47 SetDeviceName(std::forward<DeviceNameT>(value));
48 return *this;
49 }
51
53
56 inline long long GetTotalStorageBytes() const { return m_totalStorageBytes; }
57 inline bool TotalStorageBytesHasBeenSet() const { return m_totalStorageBytesHasBeenSet; }
58 inline void SetTotalStorageBytes(long long value) {
59 m_totalStorageBytesHasBeenSet = true;
60 m_totalStorageBytes = value;
61 }
64 return *this;
65 }
67
69
72 inline long long GetReplicatedStorageBytes() const { return m_replicatedStorageBytes; }
73 inline bool ReplicatedStorageBytesHasBeenSet() const { return m_replicatedStorageBytesHasBeenSet; }
74 inline void SetReplicatedStorageBytes(long long value) {
75 m_replicatedStorageBytesHasBeenSet = true;
76 m_replicatedStorageBytes = value;
77 }
80 return *this;
81 }
83
85
88 inline long long GetRescannedStorageBytes() const { return m_rescannedStorageBytes; }
89 inline bool RescannedStorageBytesHasBeenSet() const { return m_rescannedStorageBytesHasBeenSet; }
90 inline void SetRescannedStorageBytes(long long value) {
91 m_rescannedStorageBytesHasBeenSet = true;
92 m_rescannedStorageBytes = value;
93 }
96 return *this;
97 }
99
101
104 inline long long GetBackloggedStorageBytes() const { return m_backloggedStorageBytes; }
105 inline bool BackloggedStorageBytesHasBeenSet() const { return m_backloggedStorageBytesHasBeenSet; }
106 inline void SetBackloggedStorageBytes(long long value) {
107 m_backloggedStorageBytesHasBeenSet = true;
108 m_backloggedStorageBytes = value;
109 }
112 return *this;
113 }
115 private:
116 Aws::String m_deviceName;
117
118 long long m_totalStorageBytes{0};
119
120 long long m_replicatedStorageBytes{0};
121
122 long long m_rescannedStorageBytes{0};
123
124 long long m_backloggedStorageBytes{0};
125 bool m_deviceNameHasBeenSet = false;
126 bool m_totalStorageBytesHasBeenSet = false;
127 bool m_replicatedStorageBytesHasBeenSet = false;
128 bool m_rescannedStorageBytesHasBeenSet = false;
129 bool m_backloggedStorageBytesHasBeenSet = false;
130};
131
132} // namespace Model
133} // namespace mgn
134} // namespace Aws
DataReplicationInfoReplicatedDisk & WithDeviceName(DeviceNameT &&value)
AWS_MGN_API DataReplicationInfoReplicatedDisk & operator=(Aws::Utils::Json::JsonView jsonValue)
DataReplicationInfoReplicatedDisk & WithRescannedStorageBytes(long long value)
DataReplicationInfoReplicatedDisk & WithReplicatedStorageBytes(long long value)
DataReplicationInfoReplicatedDisk & WithBackloggedStorageBytes(long long value)
DataReplicationInfoReplicatedDisk & WithTotalStorageBytes(long long value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MGN_API DataReplicationInfoReplicatedDisk(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue