/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the hourly metrics for the given recommendation over the lookback
* period. See Also:
AWS
* API Reference
The remaining On-Demand cost estimated to not be covered by the recommended * Savings Plan, over the length of the lookback period.
*/ inline const Aws::String& GetEstimatedOnDemandCost() const{ return m_estimatedOnDemandCost; } /** *The remaining On-Demand cost estimated to not be covered by the recommended * Savings Plan, over the length of the lookback period.
*/ inline bool EstimatedOnDemandCostHasBeenSet() const { return m_estimatedOnDemandCostHasBeenSet; } /** *The remaining On-Demand cost estimated to not be covered by the recommended * Savings Plan, over the length of the lookback period.
*/ inline void SetEstimatedOnDemandCost(const Aws::String& value) { m_estimatedOnDemandCostHasBeenSet = true; m_estimatedOnDemandCost = value; } /** *The remaining On-Demand cost estimated to not be covered by the recommended * Savings Plan, over the length of the lookback period.
*/ inline void SetEstimatedOnDemandCost(Aws::String&& value) { m_estimatedOnDemandCostHasBeenSet = true; m_estimatedOnDemandCost = std::move(value); } /** *The remaining On-Demand cost estimated to not be covered by the recommended * Savings Plan, over the length of the lookback period.
*/ inline void SetEstimatedOnDemandCost(const char* value) { m_estimatedOnDemandCostHasBeenSet = true; m_estimatedOnDemandCost.assign(value); } /** *The remaining On-Demand cost estimated to not be covered by the recommended * Savings Plan, over the length of the lookback period.
*/ inline RecommendationDetailHourlyMetrics& WithEstimatedOnDemandCost(const Aws::String& value) { SetEstimatedOnDemandCost(value); return *this;} /** *The remaining On-Demand cost estimated to not be covered by the recommended * Savings Plan, over the length of the lookback period.
*/ inline RecommendationDetailHourlyMetrics& WithEstimatedOnDemandCost(Aws::String&& value) { SetEstimatedOnDemandCost(std::move(value)); return *this;} /** *The remaining On-Demand cost estimated to not be covered by the recommended * Savings Plan, over the length of the lookback period.
*/ inline RecommendationDetailHourlyMetrics& WithEstimatedOnDemandCost(const char* value) { SetEstimatedOnDemandCost(value); return *this;} /** *The current amount of Savings Plans eligible usage that the Savings Plan * covered.
*/ inline const Aws::String& GetCurrentCoverage() const{ return m_currentCoverage; } /** *The current amount of Savings Plans eligible usage that the Savings Plan * covered.
*/ inline bool CurrentCoverageHasBeenSet() const { return m_currentCoverageHasBeenSet; } /** *The current amount of Savings Plans eligible usage that the Savings Plan * covered.
*/ inline void SetCurrentCoverage(const Aws::String& value) { m_currentCoverageHasBeenSet = true; m_currentCoverage = value; } /** *The current amount of Savings Plans eligible usage that the Savings Plan * covered.
*/ inline void SetCurrentCoverage(Aws::String&& value) { m_currentCoverageHasBeenSet = true; m_currentCoverage = std::move(value); } /** *The current amount of Savings Plans eligible usage that the Savings Plan * covered.
*/ inline void SetCurrentCoverage(const char* value) { m_currentCoverageHasBeenSet = true; m_currentCoverage.assign(value); } /** *The current amount of Savings Plans eligible usage that the Savings Plan * covered.
*/ inline RecommendationDetailHourlyMetrics& WithCurrentCoverage(const Aws::String& value) { SetCurrentCoverage(value); return *this;} /** *The current amount of Savings Plans eligible usage that the Savings Plan * covered.
*/ inline RecommendationDetailHourlyMetrics& WithCurrentCoverage(Aws::String&& value) { SetCurrentCoverage(std::move(value)); return *this;} /** *The current amount of Savings Plans eligible usage that the Savings Plan * covered.
*/ inline RecommendationDetailHourlyMetrics& WithCurrentCoverage(const char* value) { SetCurrentCoverage(value); return *this;} /** *The estimated coverage amount based on the recommended Savings Plan.
*/ inline const Aws::String& GetEstimatedCoverage() const{ return m_estimatedCoverage; } /** *The estimated coverage amount based on the recommended Savings Plan.
*/ inline bool EstimatedCoverageHasBeenSet() const { return m_estimatedCoverageHasBeenSet; } /** *The estimated coverage amount based on the recommended Savings Plan.
*/ inline void SetEstimatedCoverage(const Aws::String& value) { m_estimatedCoverageHasBeenSet = true; m_estimatedCoverage = value; } /** *The estimated coverage amount based on the recommended Savings Plan.
*/ inline void SetEstimatedCoverage(Aws::String&& value) { m_estimatedCoverageHasBeenSet = true; m_estimatedCoverage = std::move(value); } /** *The estimated coverage amount based on the recommended Savings Plan.
*/ inline void SetEstimatedCoverage(const char* value) { m_estimatedCoverageHasBeenSet = true; m_estimatedCoverage.assign(value); } /** *The estimated coverage amount based on the recommended Savings Plan.
*/ inline RecommendationDetailHourlyMetrics& WithEstimatedCoverage(const Aws::String& value) { SetEstimatedCoverage(value); return *this;} /** *The estimated coverage amount based on the recommended Savings Plan.
*/ inline RecommendationDetailHourlyMetrics& WithEstimatedCoverage(Aws::String&& value) { SetEstimatedCoverage(std::move(value)); return *this;} /** *The estimated coverage amount based on the recommended Savings Plan.
*/ inline RecommendationDetailHourlyMetrics& WithEstimatedCoverage(const char* value) { SetEstimatedCoverage(value); return *this;} /** *The estimated utilization for the recommended Savings Plan.
*/ inline const Aws::String& GetEstimatedNewCommitmentUtilization() const{ return m_estimatedNewCommitmentUtilization; } /** *The estimated utilization for the recommended Savings Plan.
*/ inline bool EstimatedNewCommitmentUtilizationHasBeenSet() const { return m_estimatedNewCommitmentUtilizationHasBeenSet; } /** *The estimated utilization for the recommended Savings Plan.
*/ inline void SetEstimatedNewCommitmentUtilization(const Aws::String& value) { m_estimatedNewCommitmentUtilizationHasBeenSet = true; m_estimatedNewCommitmentUtilization = value; } /** *The estimated utilization for the recommended Savings Plan.
*/ inline void SetEstimatedNewCommitmentUtilization(Aws::String&& value) { m_estimatedNewCommitmentUtilizationHasBeenSet = true; m_estimatedNewCommitmentUtilization = std::move(value); } /** *The estimated utilization for the recommended Savings Plan.
*/ inline void SetEstimatedNewCommitmentUtilization(const char* value) { m_estimatedNewCommitmentUtilizationHasBeenSet = true; m_estimatedNewCommitmentUtilization.assign(value); } /** *The estimated utilization for the recommended Savings Plan.
*/ inline RecommendationDetailHourlyMetrics& WithEstimatedNewCommitmentUtilization(const Aws::String& value) { SetEstimatedNewCommitmentUtilization(value); return *this;} /** *The estimated utilization for the recommended Savings Plan.
*/ inline RecommendationDetailHourlyMetrics& WithEstimatedNewCommitmentUtilization(Aws::String&& value) { SetEstimatedNewCommitmentUtilization(std::move(value)); return *this;} /** *The estimated utilization for the recommended Savings Plan.
*/ inline RecommendationDetailHourlyMetrics& WithEstimatedNewCommitmentUtilization(const char* value) { SetEstimatedNewCommitmentUtilization(value); return *this;} private: Aws::String m_startTime; bool m_startTimeHasBeenSet = false; Aws::String m_estimatedOnDemandCost; bool m_estimatedOnDemandCostHasBeenSet = false; Aws::String m_currentCoverage; bool m_currentCoverageHasBeenSet = false; Aws::String m_estimatedCoverage; bool m_estimatedCoverageHasBeenSet = false; Aws::String m_estimatedNewCommitmentUtilization; bool m_estimatedNewCommitmentUtilizationHasBeenSet = false; }; } // namespace Model } // namespace CostExplorer } // namespace Aws