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

The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more * information, see Amazon * EBS–optimized instances in the Amazon EC2 User Guide.

See * Also:

AWS * API Reference

*/ class BaselineEbsBandwidthMbpsRequest { public: AWS_EC2_API BaselineEbsBandwidthMbpsRequest(); AWS_EC2_API BaselineEbsBandwidthMbpsRequest(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_EC2_API BaselineEbsBandwidthMbpsRequest& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

The minimum baseline bandwidth, in Mbps. To specify no minimum limit, omit * this parameter.

*/ inline int GetMin() const{ return m_min; } /** *

The minimum baseline bandwidth, in Mbps. To specify no minimum limit, omit * this parameter.

*/ inline bool MinHasBeenSet() const { return m_minHasBeenSet; } /** *

The minimum baseline bandwidth, in Mbps. To specify no minimum limit, omit * this parameter.

*/ inline void SetMin(int value) { m_minHasBeenSet = true; m_min = value; } /** *

The minimum baseline bandwidth, in Mbps. To specify no minimum limit, omit * this parameter.

*/ inline BaselineEbsBandwidthMbpsRequest& WithMin(int value) { SetMin(value); return *this;} /** *

The maximum baseline bandwidth, in Mbps. To specify no maximum limit, omit * this parameter.

*/ inline int GetMax() const{ return m_max; } /** *

The maximum baseline bandwidth, in Mbps. To specify no maximum limit, omit * this parameter.

*/ inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; } /** *

The maximum baseline bandwidth, in Mbps. To specify no maximum limit, omit * this parameter.

*/ inline void SetMax(int value) { m_maxHasBeenSet = true; m_max = value; } /** *

The maximum baseline bandwidth, in Mbps. To specify no maximum limit, omit * this parameter.

*/ inline BaselineEbsBandwidthMbpsRequest& WithMax(int value) { SetMax(value); return *this;} private: int m_min; bool m_minHasBeenSet = false; int m_max; bool m_maxHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws