/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the parameters for CreateReservedInstancesListing.See
* Also:
AWS
* API Reference
Unique, case-sensitive identifier you provide to ensure idempotency of your * listings. This helps avoid duplicate listings. For more information, see Ensuring * Idempotency.
*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *Unique, case-sensitive identifier you provide to ensure idempotency of your * listings. This helps avoid duplicate listings. For more information, see Ensuring * Idempotency.
*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *Unique, case-sensitive identifier you provide to ensure idempotency of your * listings. This helps avoid duplicate listings. For more information, see Ensuring * Idempotency.
*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *Unique, case-sensitive identifier you provide to ensure idempotency of your * listings. This helps avoid duplicate listings. For more information, see Ensuring * Idempotency.
*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *Unique, case-sensitive identifier you provide to ensure idempotency of your * listings. This helps avoid duplicate listings. For more information, see Ensuring * Idempotency.
*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *Unique, case-sensitive identifier you provide to ensure idempotency of your * listings. This helps avoid duplicate listings. For more information, see Ensuring * Idempotency.
*/ inline CreateReservedInstancesListingRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *Unique, case-sensitive identifier you provide to ensure idempotency of your * listings. This helps avoid duplicate listings. For more information, see Ensuring * Idempotency.
*/ inline CreateReservedInstancesListingRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *Unique, case-sensitive identifier you provide to ensure idempotency of your * listings. This helps avoid duplicate listings. For more information, see Ensuring * Idempotency.
*/ inline CreateReservedInstancesListingRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *The number of instances that are a part of a Reserved Instance account to be * listed in the Reserved Instance Marketplace. This number should be less than or * equal to the instance count associated with the Reserved Instance ID specified * in this call.
*/ inline int GetInstanceCount() const{ return m_instanceCount; } /** *The number of instances that are a part of a Reserved Instance account to be * listed in the Reserved Instance Marketplace. This number should be less than or * equal to the instance count associated with the Reserved Instance ID specified * in this call.
*/ inline bool InstanceCountHasBeenSet() const { return m_instanceCountHasBeenSet; } /** *The number of instances that are a part of a Reserved Instance account to be * listed in the Reserved Instance Marketplace. This number should be less than or * equal to the instance count associated with the Reserved Instance ID specified * in this call.
*/ inline void SetInstanceCount(int value) { m_instanceCountHasBeenSet = true; m_instanceCount = value; } /** *The number of instances that are a part of a Reserved Instance account to be * listed in the Reserved Instance Marketplace. This number should be less than or * equal to the instance count associated with the Reserved Instance ID specified * in this call.
*/ inline CreateReservedInstancesListingRequest& WithInstanceCount(int value) { SetInstanceCount(value); return *this;} /** *A list specifying the price of the Standard Reserved Instance for each month * remaining in the Reserved Instance term.
*/ inline const Aws::VectorA list specifying the price of the Standard Reserved Instance for each month * remaining in the Reserved Instance term.
*/ inline bool PriceSchedulesHasBeenSet() const { return m_priceSchedulesHasBeenSet; } /** *A list specifying the price of the Standard Reserved Instance for each month * remaining in the Reserved Instance term.
*/ inline void SetPriceSchedules(const Aws::VectorA list specifying the price of the Standard Reserved Instance for each month * remaining in the Reserved Instance term.
*/ inline void SetPriceSchedules(Aws::VectorA list specifying the price of the Standard Reserved Instance for each month * remaining in the Reserved Instance term.
*/ inline CreateReservedInstancesListingRequest& WithPriceSchedules(const Aws::VectorA list specifying the price of the Standard Reserved Instance for each month * remaining in the Reserved Instance term.
*/ inline CreateReservedInstancesListingRequest& WithPriceSchedules(Aws::VectorA list specifying the price of the Standard Reserved Instance for each month * remaining in the Reserved Instance term.
*/ inline CreateReservedInstancesListingRequest& AddPriceSchedules(const PriceScheduleSpecification& value) { m_priceSchedulesHasBeenSet = true; m_priceSchedules.push_back(value); return *this; } /** *A list specifying the price of the Standard Reserved Instance for each month * remaining in the Reserved Instance term.
*/ inline CreateReservedInstancesListingRequest& AddPriceSchedules(PriceScheduleSpecification&& value) { m_priceSchedulesHasBeenSet = true; m_priceSchedules.push_back(std::move(value)); return *this; } /** *The ID of the active Standard Reserved Instance.
*/ inline const Aws::String& GetReservedInstancesId() const{ return m_reservedInstancesId; } /** *The ID of the active Standard Reserved Instance.
*/ inline bool ReservedInstancesIdHasBeenSet() const { return m_reservedInstancesIdHasBeenSet; } /** *The ID of the active Standard Reserved Instance.
*/ inline void SetReservedInstancesId(const Aws::String& value) { m_reservedInstancesIdHasBeenSet = true; m_reservedInstancesId = value; } /** *The ID of the active Standard Reserved Instance.
*/ inline void SetReservedInstancesId(Aws::String&& value) { m_reservedInstancesIdHasBeenSet = true; m_reservedInstancesId = std::move(value); } /** *The ID of the active Standard Reserved Instance.
*/ inline void SetReservedInstancesId(const char* value) { m_reservedInstancesIdHasBeenSet = true; m_reservedInstancesId.assign(value); } /** *The ID of the active Standard Reserved Instance.
*/ inline CreateReservedInstancesListingRequest& WithReservedInstancesId(const Aws::String& value) { SetReservedInstancesId(value); return *this;} /** *The ID of the active Standard Reserved Instance.
*/ inline CreateReservedInstancesListingRequest& WithReservedInstancesId(Aws::String&& value) { SetReservedInstancesId(std::move(value)); return *this;} /** *The ID of the active Standard Reserved Instance.
*/ inline CreateReservedInstancesListingRequest& WithReservedInstancesId(const char* value) { SetReservedInstancesId(value); return *this;} private: Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; int m_instanceCount; bool m_instanceCountHasBeenSet = false; Aws::Vector