/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The offering type of this node.See Also:
AWS
* API Reference
The offering identifier.
*/ inline const Aws::String& GetReservedNodesOfferingId() const{ return m_reservedNodesOfferingId; } /** *The offering identifier.
*/ inline bool ReservedNodesOfferingIdHasBeenSet() const { return m_reservedNodesOfferingIdHasBeenSet; } /** *The offering identifier.
*/ inline void SetReservedNodesOfferingId(const Aws::String& value) { m_reservedNodesOfferingIdHasBeenSet = true; m_reservedNodesOfferingId = value; } /** *The offering identifier.
*/ inline void SetReservedNodesOfferingId(Aws::String&& value) { m_reservedNodesOfferingIdHasBeenSet = true; m_reservedNodesOfferingId = std::move(value); } /** *The offering identifier.
*/ inline void SetReservedNodesOfferingId(const char* value) { m_reservedNodesOfferingIdHasBeenSet = true; m_reservedNodesOfferingId.assign(value); } /** *The offering identifier.
*/ inline ReservedNodesOffering& WithReservedNodesOfferingId(const Aws::String& value) { SetReservedNodesOfferingId(value); return *this;} /** *The offering identifier.
*/ inline ReservedNodesOffering& WithReservedNodesOfferingId(Aws::String&& value) { SetReservedNodesOfferingId(std::move(value)); return *this;} /** *The offering identifier.
*/ inline ReservedNodesOffering& WithReservedNodesOfferingId(const char* value) { SetReservedNodesOfferingId(value); return *this;} /** *The node type for the reserved nodes. For more information, see Supported * node types.
*/ inline const Aws::String& GetNodeType() const{ return m_nodeType; } /** *The node type for the reserved nodes. For more information, see Supported * node types.
*/ inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; } /** *The node type for the reserved nodes. For more information, see Supported * node types.
*/ inline void SetNodeType(const Aws::String& value) { m_nodeTypeHasBeenSet = true; m_nodeType = value; } /** *The node type for the reserved nodes. For more information, see Supported * node types.
*/ inline void SetNodeType(Aws::String&& value) { m_nodeTypeHasBeenSet = true; m_nodeType = std::move(value); } /** *The node type for the reserved nodes. For more information, see Supported * node types.
*/ inline void SetNodeType(const char* value) { m_nodeTypeHasBeenSet = true; m_nodeType.assign(value); } /** *The node type for the reserved nodes. For more information, see Supported * node types.
*/ inline ReservedNodesOffering& WithNodeType(const Aws::String& value) { SetNodeType(value); return *this;} /** *The node type for the reserved nodes. For more information, see Supported * node types.
*/ inline ReservedNodesOffering& WithNodeType(Aws::String&& value) { SetNodeType(std::move(value)); return *this;} /** *The node type for the reserved nodes. For more information, see Supported * node types.
*/ inline ReservedNodesOffering& WithNodeType(const char* value) { SetNodeType(value); return *this;} /** *The duration of the reservation in seconds.
*/ inline int GetDuration() const{ return m_duration; } /** *The duration of the reservation in seconds.
*/ inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; } /** *The duration of the reservation in seconds.
*/ inline void SetDuration(int value) { m_durationHasBeenSet = true; m_duration = value; } /** *The duration of the reservation in seconds.
*/ inline ReservedNodesOffering& WithDuration(int value) { SetDuration(value); return *this;} /** *The fixed price charged for this reserved node.
*/ inline double GetFixedPrice() const{ return m_fixedPrice; } /** *The fixed price charged for this reserved node.
*/ inline bool FixedPriceHasBeenSet() const { return m_fixedPriceHasBeenSet; } /** *The fixed price charged for this reserved node.
*/ inline void SetFixedPrice(double value) { m_fixedPriceHasBeenSet = true; m_fixedPrice = value; } /** *The fixed price charged for this reserved node.
*/ inline ReservedNodesOffering& WithFixedPrice(double value) { SetFixedPrice(value); return *this;} /** *The offering type of this reserved node.
*/ inline const Aws::String& GetOfferingType() const{ return m_offeringType; } /** *The offering type of this reserved node.
*/ inline bool OfferingTypeHasBeenSet() const { return m_offeringTypeHasBeenSet; } /** *The offering type of this reserved node.
*/ inline void SetOfferingType(const Aws::String& value) { m_offeringTypeHasBeenSet = true; m_offeringType = value; } /** *The offering type of this reserved node.
*/ inline void SetOfferingType(Aws::String&& value) { m_offeringTypeHasBeenSet = true; m_offeringType = std::move(value); } /** *The offering type of this reserved node.
*/ inline void SetOfferingType(const char* value) { m_offeringTypeHasBeenSet = true; m_offeringType.assign(value); } /** *The offering type of this reserved node.
*/ inline ReservedNodesOffering& WithOfferingType(const Aws::String& value) { SetOfferingType(value); return *this;} /** *The offering type of this reserved node.
*/ inline ReservedNodesOffering& WithOfferingType(Aws::String&& value) { SetOfferingType(std::move(value)); return *this;} /** *The offering type of this reserved node.
*/ inline ReservedNodesOffering& WithOfferingType(const char* value) { SetOfferingType(value); return *this;} /** *The recurring price charged to run this reserved node.
*/ inline const Aws::VectorThe recurring price charged to run this reserved node.
*/ inline bool RecurringChargesHasBeenSet() const { return m_recurringChargesHasBeenSet; } /** *The recurring price charged to run this reserved node.
*/ inline void SetRecurringCharges(const Aws::VectorThe recurring price charged to run this reserved node.
*/ inline void SetRecurringCharges(Aws::VectorThe recurring price charged to run this reserved node.
*/ inline ReservedNodesOffering& WithRecurringCharges(const Aws::VectorThe recurring price charged to run this reserved node.
*/ inline ReservedNodesOffering& WithRecurringCharges(Aws::VectorThe recurring price charged to run this reserved node.
*/ inline ReservedNodesOffering& AddRecurringCharges(const RecurringCharge& value) { m_recurringChargesHasBeenSet = true; m_recurringCharges.push_back(value); return *this; } /** *The recurring price charged to run this reserved node.
*/ inline ReservedNodesOffering& AddRecurringCharges(RecurringCharge&& value) { m_recurringChargesHasBeenSet = true; m_recurringCharges.push_back(std::move(value)); return *this; } private: Aws::String m_reservedNodesOfferingId; bool m_reservedNodesOfferingIdHasBeenSet = false; Aws::String m_nodeType; bool m_nodeTypeHasBeenSet = false; int m_duration; bool m_durationHasBeenSet = false; double m_fixedPrice; bool m_fixedPriceHasBeenSet = false; Aws::String m_offeringType; bool m_offeringTypeHasBeenSet = false; Aws::Vector