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/mgn/Mgn_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace mgn
22{
23namespace Model
24{
25
32 {
33 public:
38
39
41
44 inline long long GetBackloggedStorageBytes() const{ return m_backloggedStorageBytes; }
45 inline bool BackloggedStorageBytesHasBeenSet() const { return m_backloggedStorageBytesHasBeenSet; }
46 inline void SetBackloggedStorageBytes(long long value) { m_backloggedStorageBytesHasBeenSet = true; m_backloggedStorageBytes = value; }
49
51
54 inline const Aws::String& GetDeviceName() const{ return m_deviceName; }
55 inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; }
56 inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; }
57 inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); }
58 inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); }
59 inline DataReplicationInfoReplicatedDisk& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;}
60 inline DataReplicationInfoReplicatedDisk& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;}
61 inline DataReplicationInfoReplicatedDisk& WithDeviceName(const char* value) { SetDeviceName(value); return *this;}
63
65
68 inline long long GetReplicatedStorageBytes() const{ return m_replicatedStorageBytes; }
69 inline bool ReplicatedStorageBytesHasBeenSet() const { return m_replicatedStorageBytesHasBeenSet; }
70 inline void SetReplicatedStorageBytes(long long value) { m_replicatedStorageBytesHasBeenSet = true; m_replicatedStorageBytes = value; }
73
75
78 inline long long GetRescannedStorageBytes() const{ return m_rescannedStorageBytes; }
79 inline bool RescannedStorageBytesHasBeenSet() const { return m_rescannedStorageBytesHasBeenSet; }
80 inline void SetRescannedStorageBytes(long long value) { m_rescannedStorageBytesHasBeenSet = true; m_rescannedStorageBytes = value; }
83
85
88 inline long long GetTotalStorageBytes() const{ return m_totalStorageBytes; }
89 inline bool TotalStorageBytesHasBeenSet() const { return m_totalStorageBytesHasBeenSet; }
90 inline void SetTotalStorageBytes(long long value) { m_totalStorageBytesHasBeenSet = true; m_totalStorageBytes = value; }
91 inline DataReplicationInfoReplicatedDisk& WithTotalStorageBytes(long long value) { SetTotalStorageBytes(value); return *this;}
93 private:
94
95 long long m_backloggedStorageBytes;
96 bool m_backloggedStorageBytesHasBeenSet = false;
97
98 Aws::String m_deviceName;
99 bool m_deviceNameHasBeenSet = false;
100
101 long long m_replicatedStorageBytes;
102 bool m_replicatedStorageBytesHasBeenSet = false;
103
104 long long m_rescannedStorageBytes;
105 bool m_rescannedStorageBytesHasBeenSet = false;
106
107 long long m_totalStorageBytes;
108 bool m_totalStorageBytesHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace mgn
113} // namespace Aws
AWS_MGN_API DataReplicationInfoReplicatedDisk & operator=(Aws::Utils::Json::JsonView jsonValue)
DataReplicationInfoReplicatedDisk & WithDeviceName(const char *value)
DataReplicationInfoReplicatedDisk & WithDeviceName(const Aws::String &value)
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
DataReplicationInfoReplicatedDisk & WithDeviceName(Aws::String &&value)
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