AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; }
58 inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); }
59 inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); }
60 inline DataReplicationInfoReplicatedDisk& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;}
61 inline DataReplicationInfoReplicatedDisk& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;}
62 inline DataReplicationInfoReplicatedDisk& WithDeviceName(const char* value) { SetDeviceName(value); return *this;}
64
66
69 inline long long GetReplicatedStorageBytes() const{ return m_replicatedStorageBytes; }
70 inline bool ReplicatedStorageBytesHasBeenSet() const { return m_replicatedStorageBytesHasBeenSet; }
71 inline void SetReplicatedStorageBytes(long long value) { m_replicatedStorageBytesHasBeenSet = true; m_replicatedStorageBytes = value; }
74
76
79 inline long long GetRescannedStorageBytes() const{ return m_rescannedStorageBytes; }
80 inline bool RescannedStorageBytesHasBeenSet() const { return m_rescannedStorageBytesHasBeenSet; }
81 inline void SetRescannedStorageBytes(long long value) { m_rescannedStorageBytesHasBeenSet = true; m_rescannedStorageBytes = value; }
84
86
89 inline long long GetTotalStorageBytes() const{ return m_totalStorageBytes; }
90 inline bool TotalStorageBytesHasBeenSet() const { return m_totalStorageBytesHasBeenSet; }
91 inline void SetTotalStorageBytes(long long value) { m_totalStorageBytesHasBeenSet = true; m_totalStorageBytes = value; }
92 inline DataReplicationInfoReplicatedDisk& WithTotalStorageBytes(long long value) { SetTotalStorageBytes(value); return *this;}
94
96
99 inline const VolumeStatus& GetVolumeStatus() const{ return m_volumeStatus; }
100 inline bool VolumeStatusHasBeenSet() const { return m_volumeStatusHasBeenSet; }
101 inline void SetVolumeStatus(const VolumeStatus& value) { m_volumeStatusHasBeenSet = true; m_volumeStatus = value; }
102 inline void SetVolumeStatus(VolumeStatus&& value) { m_volumeStatusHasBeenSet = true; m_volumeStatus = std::move(value); }
104 inline DataReplicationInfoReplicatedDisk& WithVolumeStatus(VolumeStatus&& value) { SetVolumeStatus(std::move(value)); return *this;}
106 private:
107
108 long long m_backloggedStorageBytes;
109 bool m_backloggedStorageBytesHasBeenSet = false;
110
111 Aws::String m_deviceName;
112 bool m_deviceNameHasBeenSet = false;
113
114 long long m_replicatedStorageBytes;
115 bool m_replicatedStorageBytesHasBeenSet = false;
116
117 long long m_rescannedStorageBytes;
118 bool m_rescannedStorageBytesHasBeenSet = false;
119
120 long long m_totalStorageBytes;
121 bool m_totalStorageBytesHasBeenSet = false;
122
123 VolumeStatus m_volumeStatus;
124 bool m_volumeStatusHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace drs
129} // namespace Aws
DataReplicationInfoReplicatedDisk & WithDeviceName(Aws::String &&value)
DataReplicationInfoReplicatedDisk & WithDeviceName(const char *value)
AWS_DRS_API DataReplicationInfoReplicatedDisk(Aws::Utils::Json::JsonView jsonValue)
AWS_DRS_API DataReplicationInfoReplicatedDisk & operator=(Aws::Utils::Json::JsonView jsonValue)
DataReplicationInfoReplicatedDisk & WithVolumeStatus(const VolumeStatus &value)
DataReplicationInfoReplicatedDisk & WithRescannedStorageBytes(long long value)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
DataReplicationInfoReplicatedDisk & WithReplicatedStorageBytes(long long value)
DataReplicationInfoReplicatedDisk & WithVolumeStatus(VolumeStatus &&value)
DataReplicationInfoReplicatedDisk & WithBackloggedStorageBytes(long long value)
DataReplicationInfoReplicatedDisk & WithDeviceName(const Aws::String &value)
DataReplicationInfoReplicatedDisk & WithTotalStorageBytes(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue