/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The amount of Savings Plans eligible usage that is covered by Savings Plans.
* All calculations consider the On-Demand equivalent of your Savings Plans
* usage.See Also:
AWS
* API Reference
The attribute that applies to a specific Dimension.
The attribute that applies to a specific Dimension.
The attribute that applies to a specific Dimension.
The attribute that applies to a specific Dimension.
The attribute that applies to a specific Dimension.
The attribute that applies to a specific Dimension.
The attribute that applies to a specific Dimension.
The attribute that applies to a specific Dimension.
The attribute that applies to a specific Dimension.
The attribute that applies to a specific Dimension.
The attribute that applies to a specific Dimension.
The attribute that applies to a specific Dimension.
The attribute that applies to a specific Dimension.
The amount of Savings Plans eligible usage that the Savings Plans * covered.
*/ inline const SavingsPlansCoverageData& GetCoverage() const{ return m_coverage; } /** *The amount of Savings Plans eligible usage that the Savings Plans * covered.
*/ inline bool CoverageHasBeenSet() const { return m_coverageHasBeenSet; } /** *The amount of Savings Plans eligible usage that the Savings Plans * covered.
*/ inline void SetCoverage(const SavingsPlansCoverageData& value) { m_coverageHasBeenSet = true; m_coverage = value; } /** *The amount of Savings Plans eligible usage that the Savings Plans * covered.
*/ inline void SetCoverage(SavingsPlansCoverageData&& value) { m_coverageHasBeenSet = true; m_coverage = std::move(value); } /** *The amount of Savings Plans eligible usage that the Savings Plans * covered.
*/ inline SavingsPlansCoverage& WithCoverage(const SavingsPlansCoverageData& value) { SetCoverage(value); return *this;} /** *The amount of Savings Plans eligible usage that the Savings Plans * covered.
*/ inline SavingsPlansCoverage& WithCoverage(SavingsPlansCoverageData&& value) { SetCoverage(std::move(value)); return *this;} inline const DateInterval& GetTimePeriod() const{ return m_timePeriod; } inline bool TimePeriodHasBeenSet() const { return m_timePeriodHasBeenSet; } inline void SetTimePeriod(const DateInterval& value) { m_timePeriodHasBeenSet = true; m_timePeriod = value; } inline void SetTimePeriod(DateInterval&& value) { m_timePeriodHasBeenSet = true; m_timePeriod = std::move(value); } inline SavingsPlansCoverage& WithTimePeriod(const DateInterval& value) { SetTimePeriod(value); return *this;} inline SavingsPlansCoverage& WithTimePeriod(DateInterval&& value) { SetTimePeriod(std::move(value)); return *this;} private: Aws::Map