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

The throughput peaks for an on-premises storage system volume. Each data * point represents the 95th percentile peak value during a 1-hour * interval.

See Also:

AWS * API Reference

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

Peak throughput related to read operations.

*/ inline double GetRead() const{ return m_read; } /** *

Peak throughput related to read operations.

*/ inline bool ReadHasBeenSet() const { return m_readHasBeenSet; } /** *

Peak throughput related to read operations.

*/ inline void SetRead(double value) { m_readHasBeenSet = true; m_read = value; } /** *

Peak throughput related to read operations.

*/ inline Throughput& WithRead(double value) { SetRead(value); return *this;} /** *

Peak throughput related to write operations.

*/ inline double GetWrite() const{ return m_write; } /** *

Peak throughput related to write operations.

*/ inline bool WriteHasBeenSet() const { return m_writeHasBeenSet; } /** *

Peak throughput related to write operations.

*/ inline void SetWrite(double value) { m_writeHasBeenSet = true; m_write = value; } /** *

Peak throughput related to write operations.

*/ inline Throughput& WithWrite(double value) { SetWrite(value); return *this;} /** *

Peak throughput unrelated to read and write operations.

*/ inline double GetOther() const{ return m_other; } /** *

Peak throughput unrelated to read and write operations.

*/ inline bool OtherHasBeenSet() const { return m_otherHasBeenSet; } /** *

Peak throughput unrelated to read and write operations.

*/ inline void SetOther(double value) { m_otherHasBeenSet = true; m_other = value; } /** *

Peak throughput unrelated to read and write operations.

*/ inline Throughput& WithOther(double value) { SetOther(value); return *this;} /** *

Peak total throughput on your on-premises storage system resource.

*/ inline double GetTotal() const{ return m_total; } /** *

Peak total throughput on your on-premises storage system resource.

*/ inline bool TotalHasBeenSet() const { return m_totalHasBeenSet; } /** *

Peak total throughput on your on-premises storage system resource.

*/ inline void SetTotal(double value) { m_totalHasBeenSet = true; m_total = value; } /** *

Peak total throughput on your on-premises storage system resource.

*/ inline Throughput& WithTotal(double value) { SetTotal(value); return *this;} private: double m_read; bool m_readHasBeenSet = false; double m_write; bool m_writeHasBeenSet = false; double m_other; bool m_otherHasBeenSet = false; double m_total; bool m_totalHasBeenSet = false; }; } // namespace Model } // namespace DataSync } // namespace Aws