/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The total value of the new Convertible Reserved Instances.See
* Also:
AWS
* API Reference
The total value of the Convertible Reserved Instances that make up the * exchange. This is the sum of the list value, remaining upfront price, and * additional upfront cost of the exchange.
*/ inline const ReservationValue& GetReservationValue() const{ return m_reservationValue; } /** *The total value of the Convertible Reserved Instances that make up the * exchange. This is the sum of the list value, remaining upfront price, and * additional upfront cost of the exchange.
*/ inline bool ReservationValueHasBeenSet() const { return m_reservationValueHasBeenSet; } /** *The total value of the Convertible Reserved Instances that make up the * exchange. This is the sum of the list value, remaining upfront price, and * additional upfront cost of the exchange.
*/ inline void SetReservationValue(const ReservationValue& value) { m_reservationValueHasBeenSet = true; m_reservationValue = value; } /** *The total value of the Convertible Reserved Instances that make up the * exchange. This is the sum of the list value, remaining upfront price, and * additional upfront cost of the exchange.
*/ inline void SetReservationValue(ReservationValue&& value) { m_reservationValueHasBeenSet = true; m_reservationValue = std::move(value); } /** *The total value of the Convertible Reserved Instances that make up the * exchange. This is the sum of the list value, remaining upfront price, and * additional upfront cost of the exchange.
*/ inline TargetReservationValue& WithReservationValue(const ReservationValue& value) { SetReservationValue(value); return *this;} /** *The total value of the Convertible Reserved Instances that make up the * exchange. This is the sum of the list value, remaining upfront price, and * additional upfront cost of the exchange.
*/ inline TargetReservationValue& WithReservationValue(ReservationValue&& value) { SetReservationValue(std::move(value)); return *this;} /** *The configuration of the Convertible Reserved Instances that make up the * exchange.
*/ inline const TargetConfiguration& GetTargetConfiguration() const{ return m_targetConfiguration; } /** *The configuration of the Convertible Reserved Instances that make up the * exchange.
*/ inline bool TargetConfigurationHasBeenSet() const { return m_targetConfigurationHasBeenSet; } /** *The configuration of the Convertible Reserved Instances that make up the * exchange.
*/ inline void SetTargetConfiguration(const TargetConfiguration& value) { m_targetConfigurationHasBeenSet = true; m_targetConfiguration = value; } /** *The configuration of the Convertible Reserved Instances that make up the * exchange.
*/ inline void SetTargetConfiguration(TargetConfiguration&& value) { m_targetConfigurationHasBeenSet = true; m_targetConfiguration = std::move(value); } /** *The configuration of the Convertible Reserved Instances that make up the * exchange.
*/ inline TargetReservationValue& WithTargetConfiguration(const TargetConfiguration& value) { SetTargetConfiguration(value); return *this;} /** *The configuration of the Convertible Reserved Instances that make up the * exchange.
*/ inline TargetReservationValue& WithTargetConfiguration(TargetConfiguration&& value) { SetTargetConfiguration(std::move(value)); return *this;} private: ReservationValue m_reservationValue; bool m_reservationValueHasBeenSet = false; TargetConfiguration m_targetConfiguration; bool m_targetConfigurationHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws