/** * 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 IOPS peaks for an on-premises storage system resource. Each data point * represents the 95th percentile peak value during a 1-hour * interval.

See Also:

AWS API * Reference

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

Peak IOPS related to read operations.

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

Peak IOPS related to read operations.

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

Peak IOPS related to read operations.

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

Peak IOPS related to read operations.

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

Peak IOPS related to write operations.

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

Peak IOPS related to write operations.

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

Peak IOPS related to write operations.

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

Peak IOPS related to write operations.

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

Peak IOPS unrelated to read and write operations.

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

Peak IOPS unrelated to read and write operations.

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

Peak IOPS unrelated to read and write operations.

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

Peak IOPS unrelated to read and write operations.

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

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

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

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

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

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

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

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

*/ inline IOPS& 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