AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
RecommendationDetailHourlyMetrics.h
1
6#pragma once
7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CostExplorer
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_COSTEXPLORER_API RecommendationDetailHourlyMetrics() = default;
38 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
43 inline const Aws::String& GetStartTime() const { return m_startTime; }
44 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
45 template<typename StartTimeT = Aws::String>
46 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
47 template<typename StartTimeT = Aws::String>
48 RecommendationDetailHourlyMetrics& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
50
52
56 inline const Aws::String& GetEstimatedOnDemandCost() const { return m_estimatedOnDemandCost; }
57 inline bool EstimatedOnDemandCostHasBeenSet() const { return m_estimatedOnDemandCostHasBeenSet; }
58 template<typename EstimatedOnDemandCostT = Aws::String>
59 void SetEstimatedOnDemandCost(EstimatedOnDemandCostT&& value) { m_estimatedOnDemandCostHasBeenSet = true; m_estimatedOnDemandCost = std::forward<EstimatedOnDemandCostT>(value); }
60 template<typename EstimatedOnDemandCostT = Aws::String>
61 RecommendationDetailHourlyMetrics& WithEstimatedOnDemandCost(EstimatedOnDemandCostT&& value) { SetEstimatedOnDemandCost(std::forward<EstimatedOnDemandCostT>(value)); return *this;}
63
65
69 inline const Aws::String& GetCurrentCoverage() const { return m_currentCoverage; }
70 inline bool CurrentCoverageHasBeenSet() const { return m_currentCoverageHasBeenSet; }
71 template<typename CurrentCoverageT = Aws::String>
72 void SetCurrentCoverage(CurrentCoverageT&& value) { m_currentCoverageHasBeenSet = true; m_currentCoverage = std::forward<CurrentCoverageT>(value); }
73 template<typename CurrentCoverageT = Aws::String>
74 RecommendationDetailHourlyMetrics& WithCurrentCoverage(CurrentCoverageT&& value) { SetCurrentCoverage(std::forward<CurrentCoverageT>(value)); return *this;}
76
78
81 inline const Aws::String& GetEstimatedCoverage() const { return m_estimatedCoverage; }
82 inline bool EstimatedCoverageHasBeenSet() const { return m_estimatedCoverageHasBeenSet; }
83 template<typename EstimatedCoverageT = Aws::String>
84 void SetEstimatedCoverage(EstimatedCoverageT&& value) { m_estimatedCoverageHasBeenSet = true; m_estimatedCoverage = std::forward<EstimatedCoverageT>(value); }
85 template<typename EstimatedCoverageT = Aws::String>
86 RecommendationDetailHourlyMetrics& WithEstimatedCoverage(EstimatedCoverageT&& value) { SetEstimatedCoverage(std::forward<EstimatedCoverageT>(value)); return *this;}
88
90
93 inline const Aws::String& GetEstimatedNewCommitmentUtilization() const { return m_estimatedNewCommitmentUtilization; }
94 inline bool EstimatedNewCommitmentUtilizationHasBeenSet() const { return m_estimatedNewCommitmentUtilizationHasBeenSet; }
95 template<typename EstimatedNewCommitmentUtilizationT = Aws::String>
96 void SetEstimatedNewCommitmentUtilization(EstimatedNewCommitmentUtilizationT&& value) { m_estimatedNewCommitmentUtilizationHasBeenSet = true; m_estimatedNewCommitmentUtilization = std::forward<EstimatedNewCommitmentUtilizationT>(value); }
97 template<typename EstimatedNewCommitmentUtilizationT = Aws::String>
98 RecommendationDetailHourlyMetrics& WithEstimatedNewCommitmentUtilization(EstimatedNewCommitmentUtilizationT&& value) { SetEstimatedNewCommitmentUtilization(std::forward<EstimatedNewCommitmentUtilizationT>(value)); return *this;}
100 private:
101
102 Aws::String m_startTime;
103 bool m_startTimeHasBeenSet = false;
104
105 Aws::String m_estimatedOnDemandCost;
106 bool m_estimatedOnDemandCostHasBeenSet = false;
107
108 Aws::String m_currentCoverage;
109 bool m_currentCoverageHasBeenSet = false;
110
111 Aws::String m_estimatedCoverage;
112 bool m_estimatedCoverageHasBeenSet = false;
113
114 Aws::String m_estimatedNewCommitmentUtilization;
115 bool m_estimatedNewCommitmentUtilizationHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace CostExplorer
120} // namespace Aws
void SetEstimatedNewCommitmentUtilization(EstimatedNewCommitmentUtilizationT &&value)
AWS_COSTEXPLORER_API RecommendationDetailHourlyMetrics()=default
AWS_COSTEXPLORER_API RecommendationDetailHourlyMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
RecommendationDetailHourlyMetrics & WithEstimatedCoverage(EstimatedCoverageT &&value)
RecommendationDetailHourlyMetrics & WithEstimatedOnDemandCost(EstimatedOnDemandCostT &&value)
RecommendationDetailHourlyMetrics & WithCurrentCoverage(CurrentCoverageT &&value)
AWS_COSTEXPLORER_API RecommendationDetailHourlyMetrics(Aws::Utils::Json::JsonView jsonValue)
RecommendationDetailHourlyMetrics & WithEstimatedNewCommitmentUtilization(EstimatedNewCommitmentUtilizationT &&value)
RecommendationDetailHourlyMetrics & WithStartTime(StartTimeT &&value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue