/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the parameters for PurchaseScheduledInstances.See
* Also:
AWS
* API Reference
Unique, case-sensitive identifier that ensures the idempotency of the * request. For more information, see Ensuring * Idempotency.
*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *Unique, case-sensitive identifier that ensures the idempotency of the * request. For more information, see Ensuring * Idempotency.
*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *Unique, case-sensitive identifier that ensures the idempotency of the * request. For more information, see Ensuring * Idempotency.
*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *Unique, case-sensitive identifier that ensures the idempotency of the * request. For more information, see Ensuring * Idempotency.
*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *Unique, case-sensitive identifier that ensures the idempotency of the * request. For more information, see Ensuring * Idempotency.
*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *Unique, case-sensitive identifier that ensures the idempotency of the * request. For more information, see Ensuring * Idempotency.
*/ inline PurchaseScheduledInstancesRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *Unique, case-sensitive identifier that ensures the idempotency of the * request. For more information, see Ensuring * Idempotency.
*/ inline PurchaseScheduledInstancesRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *Unique, case-sensitive identifier that ensures the idempotency of the * request. For more information, see Ensuring * Idempotency.
*/ inline PurchaseScheduledInstancesRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *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 purchase requests.
*/ inline const Aws::VectorThe purchase requests.
*/ inline bool PurchaseRequestsHasBeenSet() const { return m_purchaseRequestsHasBeenSet; } /** *The purchase requests.
*/ inline void SetPurchaseRequests(const Aws::VectorThe purchase requests.
*/ inline void SetPurchaseRequests(Aws::VectorThe purchase requests.
*/ inline PurchaseScheduledInstancesRequest& WithPurchaseRequests(const Aws::VectorThe purchase requests.
*/ inline PurchaseScheduledInstancesRequest& WithPurchaseRequests(Aws::VectorThe purchase requests.
*/ inline PurchaseScheduledInstancesRequest& AddPurchaseRequests(const PurchaseRequest& value) { m_purchaseRequestsHasBeenSet = true; m_purchaseRequests.push_back(value); return *this; } /** *The purchase requests.
*/ inline PurchaseScheduledInstancesRequest& AddPurchaseRequests(PurchaseRequest&& value) { m_purchaseRequestsHasBeenSet = true; m_purchaseRequests.push_back(std::move(value)); return *this; } private: Aws::String m_clientToken; bool m_clientTokenHasBeenSet; bool m_dryRun; bool m_dryRunHasBeenSet; Aws::Vector