/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the modification request/s.See Also:
AWS
* API Reference
The ID for the Reserved Instances that were created as part of the * modification request. This field is only available when the modification is * fulfilled.
*/ inline const Aws::String& GetReservedInstancesId() const{ return m_reservedInstancesId; } /** *The ID for the Reserved Instances that were created as part of the * modification request. This field is only available when the modification is * fulfilled.
*/ inline bool ReservedInstancesIdHasBeenSet() const { return m_reservedInstancesIdHasBeenSet; } /** *The ID for the Reserved Instances that were created as part of the * modification request. This field is only available when the modification is * fulfilled.
*/ inline void SetReservedInstancesId(const Aws::String& value) { m_reservedInstancesIdHasBeenSet = true; m_reservedInstancesId = value; } /** *The ID for the Reserved Instances that were created as part of the * modification request. This field is only available when the modification is * fulfilled.
*/ inline void SetReservedInstancesId(Aws::String&& value) { m_reservedInstancesIdHasBeenSet = true; m_reservedInstancesId = std::move(value); } /** *The ID for the Reserved Instances that were created as part of the * modification request. This field is only available when the modification is * fulfilled.
*/ inline void SetReservedInstancesId(const char* value) { m_reservedInstancesIdHasBeenSet = true; m_reservedInstancesId.assign(value); } /** *The ID for the Reserved Instances that were created as part of the * modification request. This field is only available when the modification is * fulfilled.
*/ inline ReservedInstancesModificationResponse& WithReservedInstancesId(const Aws::String& value) { SetReservedInstancesId(value); return *this;} /** *The ID for the Reserved Instances that were created as part of the * modification request. This field is only available when the modification is * fulfilled.
*/ inline ReservedInstancesModificationResponse& WithReservedInstancesId(Aws::String&& value) { SetReservedInstancesId(std::move(value)); return *this;} /** *The ID for the Reserved Instances that were created as part of the * modification request. This field is only available when the modification is * fulfilled.
*/ inline ReservedInstancesModificationResponse& WithReservedInstancesId(const char* value) { SetReservedInstancesId(value); return *this;} /** *The target Reserved Instances configurations supplied as part of the * modification request.
*/ inline const ReservedInstancesConfiguration& GetTargetConfiguration() const{ return m_targetConfiguration; } /** *The target Reserved Instances configurations supplied as part of the * modification request.
*/ inline bool TargetConfigurationHasBeenSet() const { return m_targetConfigurationHasBeenSet; } /** *The target Reserved Instances configurations supplied as part of the * modification request.
*/ inline void SetTargetConfiguration(const ReservedInstancesConfiguration& value) { m_targetConfigurationHasBeenSet = true; m_targetConfiguration = value; } /** *The target Reserved Instances configurations supplied as part of the * modification request.
*/ inline void SetTargetConfiguration(ReservedInstancesConfiguration&& value) { m_targetConfigurationHasBeenSet = true; m_targetConfiguration = std::move(value); } /** *The target Reserved Instances configurations supplied as part of the * modification request.
*/ inline ReservedInstancesModificationResponse& WithTargetConfiguration(const ReservedInstancesConfiguration& value) { SetTargetConfiguration(value); return *this;} /** *The target Reserved Instances configurations supplied as part of the * modification request.
*/ inline ReservedInstancesModificationResponse& WithTargetConfiguration(ReservedInstancesConfiguration&& value) { SetTargetConfiguration(std::move(value)); return *this;} private: Aws::String m_reservedInstancesId; bool m_reservedInstancesIdHasBeenSet = false; ReservedInstancesConfiguration m_targetConfiguration; bool m_targetConfigurationHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws