/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the parameters for CancelSpotInstanceRequests.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 Spot Instance requests.
*/ inline const Aws::VectorThe IDs of the Spot Instance requests.
*/ inline bool SpotInstanceRequestIdsHasBeenSet() const { return m_spotInstanceRequestIdsHasBeenSet; } /** *The IDs of the Spot Instance requests.
*/ inline void SetSpotInstanceRequestIds(const Aws::VectorThe IDs of the Spot Instance requests.
*/ inline void SetSpotInstanceRequestIds(Aws::VectorThe IDs of the Spot Instance requests.
*/ inline CancelSpotInstanceRequestsRequest& WithSpotInstanceRequestIds(const Aws::VectorThe IDs of the Spot Instance requests.
*/ inline CancelSpotInstanceRequestsRequest& WithSpotInstanceRequestIds(Aws::VectorThe IDs of the Spot Instance requests.
*/ inline CancelSpotInstanceRequestsRequest& AddSpotInstanceRequestIds(const Aws::String& value) { m_spotInstanceRequestIdsHasBeenSet = true; m_spotInstanceRequestIds.push_back(value); return *this; } /** *The IDs of the Spot Instance requests.
*/ inline CancelSpotInstanceRequestsRequest& AddSpotInstanceRequestIds(Aws::String&& value) { m_spotInstanceRequestIdsHasBeenSet = true; m_spotInstanceRequestIds.push_back(std::move(value)); return *this; } /** *The IDs of the Spot Instance requests.
*/ inline CancelSpotInstanceRequestsRequest& AddSpotInstanceRequestIds(const char* value) { m_spotInstanceRequestIdsHasBeenSet = true; m_spotInstanceRequestIds.push_back(value); return *this; } private: bool m_dryRun; bool m_dryRunHasBeenSet = false; Aws::Vector