/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the parameters for GetReservedInstanceExchangeQuote.See
* Also:
AWS
* API Reference
Checks whether you have the required permissions for the action, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation
.
* Otherwise, it is UnauthorizedOperation
.
Checks whether you have the required permissions for the action, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation
.
* Otherwise, it is UnauthorizedOperation
.
Checks whether you have the required permissions for the action, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation
.
* Otherwise, it is UnauthorizedOperation
.
Checks whether you have the required permissions for the action, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation
.
* Otherwise, it is UnauthorizedOperation
.
The IDs of the Convertible Reserved Instances to exchange.
*/ inline const Aws::VectorThe IDs of the Convertible Reserved Instances to exchange.
*/ inline bool ReservedInstanceIdsHasBeenSet() const { return m_reservedInstanceIdsHasBeenSet; } /** *The IDs of the Convertible Reserved Instances to exchange.
*/ inline void SetReservedInstanceIds(const Aws::VectorThe IDs of the Convertible Reserved Instances to exchange.
*/ inline void SetReservedInstanceIds(Aws::VectorThe IDs of the Convertible Reserved Instances to exchange.
*/ inline GetReservedInstancesExchangeQuoteRequest& WithReservedInstanceIds(const Aws::VectorThe IDs of the Convertible Reserved Instances to exchange.
*/ inline GetReservedInstancesExchangeQuoteRequest& WithReservedInstanceIds(Aws::VectorThe IDs of the Convertible Reserved Instances to exchange.
*/ inline GetReservedInstancesExchangeQuoteRequest& AddReservedInstanceIds(const Aws::String& value) { m_reservedInstanceIdsHasBeenSet = true; m_reservedInstanceIds.push_back(value); return *this; } /** *The IDs of the Convertible Reserved Instances to exchange.
*/ inline GetReservedInstancesExchangeQuoteRequest& AddReservedInstanceIds(Aws::String&& value) { m_reservedInstanceIdsHasBeenSet = true; m_reservedInstanceIds.push_back(std::move(value)); return *this; } /** *The IDs of the Convertible Reserved Instances to exchange.
*/ inline GetReservedInstancesExchangeQuoteRequest& AddReservedInstanceIds(const char* value) { m_reservedInstanceIdsHasBeenSet = true; m_reservedInstanceIds.push_back(value); return *this; } /** *The configuration of the target Convertible Reserved Instance to exchange for * your current Convertible Reserved Instances.
*/ inline const Aws::VectorThe configuration of the target Convertible Reserved Instance to exchange for * your current Convertible Reserved Instances.
*/ inline bool TargetConfigurationsHasBeenSet() const { return m_targetConfigurationsHasBeenSet; } /** *The configuration of the target Convertible Reserved Instance to exchange for * your current Convertible Reserved Instances.
*/ inline void SetTargetConfigurations(const Aws::VectorThe configuration of the target Convertible Reserved Instance to exchange for * your current Convertible Reserved Instances.
*/ inline void SetTargetConfigurations(Aws::VectorThe configuration of the target Convertible Reserved Instance to exchange for * your current Convertible Reserved Instances.
*/ inline GetReservedInstancesExchangeQuoteRequest& WithTargetConfigurations(const Aws::VectorThe configuration of the target Convertible Reserved Instance to exchange for * your current Convertible Reserved Instances.
*/ inline GetReservedInstancesExchangeQuoteRequest& WithTargetConfigurations(Aws::VectorThe configuration of the target Convertible Reserved Instance to exchange for * your current Convertible Reserved Instances.
*/ inline GetReservedInstancesExchangeQuoteRequest& AddTargetConfigurations(const TargetConfigurationRequest& value) { m_targetConfigurationsHasBeenSet = true; m_targetConfigurations.push_back(value); return *this; } /** *The configuration of the target Convertible Reserved Instance to exchange for * your current Convertible Reserved Instances.
*/ inline GetReservedInstancesExchangeQuoteRequest& AddTargetConfigurations(TargetConfigurationRequest&& value) { m_targetConfigurationsHasBeenSet = true; m_targetConfigurations.push_back(std::move(value)); return *this; } private: bool m_dryRun; bool m_dryRunHasBeenSet = false; Aws::Vector