/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The cost associated with the Reserved Instance.See Also:
AWS
* API Reference
The hourly rate of the reservation.
*/ inline const Aws::String& GetHourlyPrice() const{ return m_hourlyPrice; } /** *The hourly rate of the reservation.
*/ inline bool HourlyPriceHasBeenSet() const { return m_hourlyPriceHasBeenSet; } /** *The hourly rate of the reservation.
*/ inline void SetHourlyPrice(const Aws::String& value) { m_hourlyPriceHasBeenSet = true; m_hourlyPrice = value; } /** *The hourly rate of the reservation.
*/ inline void SetHourlyPrice(Aws::String&& value) { m_hourlyPriceHasBeenSet = true; m_hourlyPrice = std::move(value); } /** *The hourly rate of the reservation.
*/ inline void SetHourlyPrice(const char* value) { m_hourlyPriceHasBeenSet = true; m_hourlyPrice.assign(value); } /** *The hourly rate of the reservation.
*/ inline ReservationValue& WithHourlyPrice(const Aws::String& value) { SetHourlyPrice(value); return *this;} /** *The hourly rate of the reservation.
*/ inline ReservationValue& WithHourlyPrice(Aws::String&& value) { SetHourlyPrice(std::move(value)); return *this;} /** *The hourly rate of the reservation.
*/ inline ReservationValue& WithHourlyPrice(const char* value) { SetHourlyPrice(value); return *this;} /** *The balance of the total value (the sum of remainingUpfrontValue + * hourlyPrice * number of hours remaining).
*/ inline const Aws::String& GetRemainingTotalValue() const{ return m_remainingTotalValue; } /** *The balance of the total value (the sum of remainingUpfrontValue + * hourlyPrice * number of hours remaining).
*/ inline bool RemainingTotalValueHasBeenSet() const { return m_remainingTotalValueHasBeenSet; } /** *The balance of the total value (the sum of remainingUpfrontValue + * hourlyPrice * number of hours remaining).
*/ inline void SetRemainingTotalValue(const Aws::String& value) { m_remainingTotalValueHasBeenSet = true; m_remainingTotalValue = value; } /** *The balance of the total value (the sum of remainingUpfrontValue + * hourlyPrice * number of hours remaining).
*/ inline void SetRemainingTotalValue(Aws::String&& value) { m_remainingTotalValueHasBeenSet = true; m_remainingTotalValue = std::move(value); } /** *The balance of the total value (the sum of remainingUpfrontValue + * hourlyPrice * number of hours remaining).
*/ inline void SetRemainingTotalValue(const char* value) { m_remainingTotalValueHasBeenSet = true; m_remainingTotalValue.assign(value); } /** *The balance of the total value (the sum of remainingUpfrontValue + * hourlyPrice * number of hours remaining).
*/ inline ReservationValue& WithRemainingTotalValue(const Aws::String& value) { SetRemainingTotalValue(value); return *this;} /** *The balance of the total value (the sum of remainingUpfrontValue + * hourlyPrice * number of hours remaining).
*/ inline ReservationValue& WithRemainingTotalValue(Aws::String&& value) { SetRemainingTotalValue(std::move(value)); return *this;} /** *The balance of the total value (the sum of remainingUpfrontValue + * hourlyPrice * number of hours remaining).
*/ inline ReservationValue& WithRemainingTotalValue(const char* value) { SetRemainingTotalValue(value); return *this;} /** *The remaining upfront cost of the reservation.
*/ inline const Aws::String& GetRemainingUpfrontValue() const{ return m_remainingUpfrontValue; } /** *The remaining upfront cost of the reservation.
*/ inline bool RemainingUpfrontValueHasBeenSet() const { return m_remainingUpfrontValueHasBeenSet; } /** *The remaining upfront cost of the reservation.
*/ inline void SetRemainingUpfrontValue(const Aws::String& value) { m_remainingUpfrontValueHasBeenSet = true; m_remainingUpfrontValue = value; } /** *The remaining upfront cost of the reservation.
*/ inline void SetRemainingUpfrontValue(Aws::String&& value) { m_remainingUpfrontValueHasBeenSet = true; m_remainingUpfrontValue = std::move(value); } /** *The remaining upfront cost of the reservation.
*/ inline void SetRemainingUpfrontValue(const char* value) { m_remainingUpfrontValueHasBeenSet = true; m_remainingUpfrontValue.assign(value); } /** *The remaining upfront cost of the reservation.
*/ inline ReservationValue& WithRemainingUpfrontValue(const Aws::String& value) { SetRemainingUpfrontValue(value); return *this;} /** *The remaining upfront cost of the reservation.
*/ inline ReservationValue& WithRemainingUpfrontValue(Aws::String&& value) { SetRemainingUpfrontValue(std::move(value)); return *this;} /** *The remaining upfront cost of the reservation.
*/ inline ReservationValue& WithRemainingUpfrontValue(const char* value) { SetRemainingUpfrontValue(value); return *this;} private: Aws::String m_hourlyPrice; bool m_hourlyPriceHasBeenSet = false; Aws::String m_remainingTotalValue; bool m_remainingTotalValueHasBeenSet = false; Aws::String m_remainingUpfrontValue; bool m_remainingUpfrontValueHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws