/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include How much it costs to run an instance.See Also:
AWS API
* Reference
How much an On-Demand Instance costs.
*/ inline const Aws::String& GetOnDemandCost() const{ return m_onDemandCost; } /** *How much an On-Demand Instance costs.
*/ inline bool OnDemandCostHasBeenSet() const { return m_onDemandCostHasBeenSet; } /** *How much an On-Demand Instance costs.
*/ inline void SetOnDemandCost(const Aws::String& value) { m_onDemandCostHasBeenSet = true; m_onDemandCost = value; } /** *How much an On-Demand Instance costs.
*/ inline void SetOnDemandCost(Aws::String&& value) { m_onDemandCostHasBeenSet = true; m_onDemandCost = std::move(value); } /** *How much an On-Demand Instance costs.
*/ inline void SetOnDemandCost(const char* value) { m_onDemandCostHasBeenSet = true; m_onDemandCost.assign(value); } /** *How much an On-Demand Instance costs.
*/ inline CoverageCost& WithOnDemandCost(const Aws::String& value) { SetOnDemandCost(value); return *this;} /** *How much an On-Demand Instance costs.
*/ inline CoverageCost& WithOnDemandCost(Aws::String&& value) { SetOnDemandCost(std::move(value)); return *this;} /** *How much an On-Demand Instance costs.
*/ inline CoverageCost& WithOnDemandCost(const char* value) { SetOnDemandCost(value); return *this;} private: Aws::String m_onDemandCost; bool m_onDemandCostHasBeenSet = false; }; } // namespace Model } // namespace CostExplorer } // namespace Aws