/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace mgn { namespace Model { /** *

Request to query disks replicated.

See Also:

AWS * API Reference

*/ class DataReplicationInfoReplicatedDisk { public: AWS_MGN_API DataReplicationInfoReplicatedDisk(); AWS_MGN_API DataReplicationInfoReplicatedDisk(Aws::Utils::Json::JsonView jsonValue); AWS_MGN_API DataReplicationInfoReplicatedDisk& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Request to query data replication backlog size in bytes.

*/ inline long long GetBackloggedStorageBytes() const{ return m_backloggedStorageBytes; } /** *

Request to query data replication backlog size in bytes.

*/ inline bool BackloggedStorageBytesHasBeenSet() const { return m_backloggedStorageBytesHasBeenSet; } /** *

Request to query data replication backlog size in bytes.

*/ inline void SetBackloggedStorageBytes(long long value) { m_backloggedStorageBytesHasBeenSet = true; m_backloggedStorageBytes = value; } /** *

Request to query data replication backlog size in bytes.

*/ inline DataReplicationInfoReplicatedDisk& WithBackloggedStorageBytes(long long value) { SetBackloggedStorageBytes(value); return *this;} /** *

Request to query device name.

*/ inline const Aws::String& GetDeviceName() const{ return m_deviceName; } /** *

Request to query device name.

*/ inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; } /** *

Request to query device name.

*/ inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; } /** *

Request to query device name.

*/ inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); } /** *

Request to query device name.

*/ inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); } /** *

Request to query device name.

*/ inline DataReplicationInfoReplicatedDisk& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;} /** *

Request to query device name.

*/ inline DataReplicationInfoReplicatedDisk& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;} /** *

Request to query device name.

*/ inline DataReplicationInfoReplicatedDisk& WithDeviceName(const char* value) { SetDeviceName(value); return *this;} /** *

Request to query amount of data replicated in bytes.

*/ inline long long GetReplicatedStorageBytes() const{ return m_replicatedStorageBytes; } /** *

Request to query amount of data replicated in bytes.

*/ inline bool ReplicatedStorageBytesHasBeenSet() const { return m_replicatedStorageBytesHasBeenSet; } /** *

Request to query amount of data replicated in bytes.

*/ inline void SetReplicatedStorageBytes(long long value) { m_replicatedStorageBytesHasBeenSet = true; m_replicatedStorageBytes = value; } /** *

Request to query amount of data replicated in bytes.

*/ inline DataReplicationInfoReplicatedDisk& WithReplicatedStorageBytes(long long value) { SetReplicatedStorageBytes(value); return *this;} /** *

Request to query amount of data rescanned in bytes.

*/ inline long long GetRescannedStorageBytes() const{ return m_rescannedStorageBytes; } /** *

Request to query amount of data rescanned in bytes.

*/ inline bool RescannedStorageBytesHasBeenSet() const { return m_rescannedStorageBytesHasBeenSet; } /** *

Request to query amount of data rescanned in bytes.

*/ inline void SetRescannedStorageBytes(long long value) { m_rescannedStorageBytesHasBeenSet = true; m_rescannedStorageBytes = value; } /** *

Request to query amount of data rescanned in bytes.

*/ inline DataReplicationInfoReplicatedDisk& WithRescannedStorageBytes(long long value) { SetRescannedStorageBytes(value); return *this;} /** *

Request to query total amount of data replicated in bytes.

*/ inline long long GetTotalStorageBytes() const{ return m_totalStorageBytes; } /** *

Request to query total amount of data replicated in bytes.

*/ inline bool TotalStorageBytesHasBeenSet() const { return m_totalStorageBytesHasBeenSet; } /** *

Request to query total amount of data replicated in bytes.

*/ inline void SetTotalStorageBytes(long long value) { m_totalStorageBytesHasBeenSet = true; m_totalStorageBytes = value; } /** *

Request to query total amount of data replicated in bytes.

*/ inline DataReplicationInfoReplicatedDisk& WithTotalStorageBytes(long long value) { SetTotalStorageBytes(value); return *this;} private: long long m_backloggedStorageBytes; bool m_backloggedStorageBytesHasBeenSet = false; Aws::String m_deviceName; bool m_deviceNameHasBeenSet = false; long long m_replicatedStorageBytes; bool m_replicatedStorageBytesHasBeenSet = false; long long m_rescannedStorageBytes; bool m_rescannedStorageBytesHasBeenSet = false; long long m_totalStorageBytes; bool m_totalStorageBytesHasBeenSet = false; }; } // namespace Model } // namespace mgn } // namespace Aws