/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a Reserved Instance whose queued purchase was not
* deleted.See Also:
AWS
* API Reference
The error.
*/ inline const DeleteQueuedReservedInstancesError& GetError() const{ return m_error; } /** *The error.
*/ inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } /** *The error.
*/ inline void SetError(const DeleteQueuedReservedInstancesError& value) { m_errorHasBeenSet = true; m_error = value; } /** *The error.
*/ inline void SetError(DeleteQueuedReservedInstancesError&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } /** *The error.
*/ inline FailedQueuedPurchaseDeletion& WithError(const DeleteQueuedReservedInstancesError& value) { SetError(value); return *this;} /** *The error.
*/ inline FailedQueuedPurchaseDeletion& WithError(DeleteQueuedReservedInstancesError&& value) { SetError(std::move(value)); return *this;} /** *The ID of the Reserved Instance.
*/ inline const Aws::String& GetReservedInstancesId() const{ return m_reservedInstancesId; } /** *The ID of the Reserved Instance.
*/ inline bool ReservedInstancesIdHasBeenSet() const { return m_reservedInstancesIdHasBeenSet; } /** *The ID of the Reserved Instance.
*/ inline void SetReservedInstancesId(const Aws::String& value) { m_reservedInstancesIdHasBeenSet = true; m_reservedInstancesId = value; } /** *The ID of the Reserved Instance.
*/ inline void SetReservedInstancesId(Aws::String&& value) { m_reservedInstancesIdHasBeenSet = true; m_reservedInstancesId = std::move(value); } /** *The ID of the Reserved Instance.
*/ inline void SetReservedInstancesId(const char* value) { m_reservedInstancesIdHasBeenSet = true; m_reservedInstancesId.assign(value); } /** *The ID of the Reserved Instance.
*/ inline FailedQueuedPurchaseDeletion& WithReservedInstancesId(const Aws::String& value) { SetReservedInstancesId(value); return *this;} /** *The ID of the Reserved Instance.
*/ inline FailedQueuedPurchaseDeletion& WithReservedInstancesId(Aws::String&& value) { SetReservedInstancesId(std::move(value)); return *this;} /** *The ID of the Reserved Instance.
*/ inline FailedQueuedPurchaseDeletion& WithReservedInstancesId(const char* value) { SetReservedInstancesId(value); return *this;} private: DeleteQueuedReservedInstancesError m_error; bool m_errorHasBeenSet = false; Aws::String m_reservedInstancesId; bool m_reservedInstancesIdHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws