/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The amount of instance usage that a reservation covered.See
* Also:
AWS API
* Reference
The amount of instance usage that the reservation covered, in hours.
*/ inline const CoverageHours& GetCoverageHours() const{ return m_coverageHours; } /** *The amount of instance usage that the reservation covered, in hours.
*/ inline bool CoverageHoursHasBeenSet() const { return m_coverageHoursHasBeenSet; } /** *The amount of instance usage that the reservation covered, in hours.
*/ inline void SetCoverageHours(const CoverageHours& value) { m_coverageHoursHasBeenSet = true; m_coverageHours = value; } /** *The amount of instance usage that the reservation covered, in hours.
*/ inline void SetCoverageHours(CoverageHours&& value) { m_coverageHoursHasBeenSet = true; m_coverageHours = std::move(value); } /** *The amount of instance usage that the reservation covered, in hours.
*/ inline Coverage& WithCoverageHours(const CoverageHours& value) { SetCoverageHours(value); return *this;} /** *The amount of instance usage that the reservation covered, in hours.
*/ inline Coverage& WithCoverageHours(CoverageHours&& value) { SetCoverageHours(std::move(value)); return *this;} /** *The amount of instance usage that the reservation covered, in normalized * units.
*/ inline const CoverageNormalizedUnits& GetCoverageNormalizedUnits() const{ return m_coverageNormalizedUnits; } /** *The amount of instance usage that the reservation covered, in normalized * units.
*/ inline bool CoverageNormalizedUnitsHasBeenSet() const { return m_coverageNormalizedUnitsHasBeenSet; } /** *The amount of instance usage that the reservation covered, in normalized * units.
*/ inline void SetCoverageNormalizedUnits(const CoverageNormalizedUnits& value) { m_coverageNormalizedUnitsHasBeenSet = true; m_coverageNormalizedUnits = value; } /** *The amount of instance usage that the reservation covered, in normalized * units.
*/ inline void SetCoverageNormalizedUnits(CoverageNormalizedUnits&& value) { m_coverageNormalizedUnitsHasBeenSet = true; m_coverageNormalizedUnits = std::move(value); } /** *The amount of instance usage that the reservation covered, in normalized * units.
*/ inline Coverage& WithCoverageNormalizedUnits(const CoverageNormalizedUnits& value) { SetCoverageNormalizedUnits(value); return *this;} /** *The amount of instance usage that the reservation covered, in normalized * units.
*/ inline Coverage& WithCoverageNormalizedUnits(CoverageNormalizedUnits&& value) { SetCoverageNormalizedUnits(std::move(value)); return *this;} /** *The amount of cost that the reservation covered.
*/ inline const CoverageCost& GetCoverageCost() const{ return m_coverageCost; } /** *The amount of cost that the reservation covered.
*/ inline bool CoverageCostHasBeenSet() const { return m_coverageCostHasBeenSet; } /** *The amount of cost that the reservation covered.
*/ inline void SetCoverageCost(const CoverageCost& value) { m_coverageCostHasBeenSet = true; m_coverageCost = value; } /** *The amount of cost that the reservation covered.
*/ inline void SetCoverageCost(CoverageCost&& value) { m_coverageCostHasBeenSet = true; m_coverageCost = std::move(value); } /** *The amount of cost that the reservation covered.
*/ inline Coverage& WithCoverageCost(const CoverageCost& value) { SetCoverageCost(value); return *this;} /** *The amount of cost that the reservation covered.
*/ inline Coverage& WithCoverageCost(CoverageCost&& value) { SetCoverageCost(std::move(value)); return *this;} private: CoverageHours m_coverageHours; bool m_coverageHoursHasBeenSet = false; CoverageNormalizedUnits m_coverageNormalizedUnits; bool m_coverageNormalizedUnitsHasBeenSet = false; CoverageCost m_coverageCost; bool m_coverageCostHasBeenSet = false; }; } // namespace Model } // namespace CostExplorer } // namespace Aws