/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the parameters for CancelReservedInstancesListing.See
* Also:
AWS
* API Reference
The ID of the Reserved Instance listing.
*/ inline const Aws::String& GetReservedInstancesListingId() const{ return m_reservedInstancesListingId; } /** *The ID of the Reserved Instance listing.
*/ inline bool ReservedInstancesListingIdHasBeenSet() const { return m_reservedInstancesListingIdHasBeenSet; } /** *The ID of the Reserved Instance listing.
*/ inline void SetReservedInstancesListingId(const Aws::String& value) { m_reservedInstancesListingIdHasBeenSet = true; m_reservedInstancesListingId = value; } /** *The ID of the Reserved Instance listing.
*/ inline void SetReservedInstancesListingId(Aws::String&& value) { m_reservedInstancesListingIdHasBeenSet = true; m_reservedInstancesListingId = std::move(value); } /** *The ID of the Reserved Instance listing.
*/ inline void SetReservedInstancesListingId(const char* value) { m_reservedInstancesListingIdHasBeenSet = true; m_reservedInstancesListingId.assign(value); } /** *The ID of the Reserved Instance listing.
*/ inline CancelReservedInstancesListingRequest& WithReservedInstancesListingId(const Aws::String& value) { SetReservedInstancesListingId(value); return *this;} /** *The ID of the Reserved Instance listing.
*/ inline CancelReservedInstancesListingRequest& WithReservedInstancesListingId(Aws::String&& value) { SetReservedInstancesListingId(std::move(value)); return *this;} /** *The ID of the Reserved Instance listing.
*/ inline CancelReservedInstancesListingRequest& WithReservedInstancesListingId(const char* value) { SetReservedInstancesListingId(value); return *this;} private: Aws::String m_reservedInstancesListingId; bool m_reservedInstancesListingIdHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws