/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a Reserved Instance offering.See Also:
AWS
* API Reference
The number of reservations available for the price.
*/ inline int GetCount() const{ return m_count; } /** *The number of reservations available for the price.
*/ inline bool CountHasBeenSet() const { return m_countHasBeenSet; } /** *The number of reservations available for the price.
*/ inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; } /** *The number of reservations available for the price.
*/ inline PricingDetail& WithCount(int value) { SetCount(value); return *this;} /** *The price per instance.
*/ inline double GetPrice() const{ return m_price; } /** *The price per instance.
*/ inline bool PriceHasBeenSet() const { return m_priceHasBeenSet; } /** *The price per instance.
*/ inline void SetPrice(double value) { m_priceHasBeenSet = true; m_price = value; } /** *The price per instance.
*/ inline PricingDetail& WithPrice(double value) { SetPrice(value); return *this;} private: int m_count; bool m_countHasBeenSet = false; double m_price; bool m_priceHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws