AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CostExplorer {
20namespace Model {
21
29 public:
30 AWS_COSTEXPLORER_API RecommendationDetailHourlyMetrics() = default;
33 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
37 inline const Aws::String& GetStartTime() const { return m_startTime; }
38 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
39 template <typename StartTimeT = Aws::String>
40 void SetStartTime(StartTimeT&& value) {
41 m_startTimeHasBeenSet = true;
42 m_startTime = std::forward<StartTimeT>(value);
43 }
44 template <typename StartTimeT = Aws::String>
46 SetStartTime(std::forward<StartTimeT>(value));
47 return *this;
48 }
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) {
60 m_estimatedOnDemandCostHasBeenSet = true;
61 m_estimatedOnDemandCost = std::forward<EstimatedOnDemandCostT>(value);
62 }
63 template <typename EstimatedOnDemandCostT = Aws::String>
65 SetEstimatedOnDemandCost(std::forward<EstimatedOnDemandCostT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::String& GetCurrentCoverage() const { return m_currentCoverage; }
76 inline bool CurrentCoverageHasBeenSet() const { return m_currentCoverageHasBeenSet; }
77 template <typename CurrentCoverageT = Aws::String>
78 void SetCurrentCoverage(CurrentCoverageT&& value) {
79 m_currentCoverageHasBeenSet = true;
80 m_currentCoverage = std::forward<CurrentCoverageT>(value);
81 }
82 template <typename CurrentCoverageT = Aws::String>
84 SetCurrentCoverage(std::forward<CurrentCoverageT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetEstimatedCoverage() const { return m_estimatedCoverage; }
94 inline bool EstimatedCoverageHasBeenSet() const { return m_estimatedCoverageHasBeenSet; }
95 template <typename EstimatedCoverageT = Aws::String>
96 void SetEstimatedCoverage(EstimatedCoverageT&& value) {
97 m_estimatedCoverageHasBeenSet = true;
98 m_estimatedCoverage = std::forward<EstimatedCoverageT>(value);
99 }
100 template <typename EstimatedCoverageT = Aws::String>
102 SetEstimatedCoverage(std::forward<EstimatedCoverageT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetEstimatedNewCommitmentUtilization() const { return m_estimatedNewCommitmentUtilization; }
112 inline bool EstimatedNewCommitmentUtilizationHasBeenSet() const { return m_estimatedNewCommitmentUtilizationHasBeenSet; }
113 template <typename EstimatedNewCommitmentUtilizationT = Aws::String>
114 void SetEstimatedNewCommitmentUtilization(EstimatedNewCommitmentUtilizationT&& value) {
115 m_estimatedNewCommitmentUtilizationHasBeenSet = true;
116 m_estimatedNewCommitmentUtilization = std::forward<EstimatedNewCommitmentUtilizationT>(value);
117 }
118 template <typename EstimatedNewCommitmentUtilizationT = Aws::String>
120 SetEstimatedNewCommitmentUtilization(std::forward<EstimatedNewCommitmentUtilizationT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_startTime;
126
127 Aws::String m_estimatedOnDemandCost;
128
129 Aws::String m_currentCoverage;
130
131 Aws::String m_estimatedCoverage;
132
133 Aws::String m_estimatedNewCommitmentUtilization;
134 bool m_startTimeHasBeenSet = false;
135 bool m_estimatedOnDemandCostHasBeenSet = false;
136 bool m_currentCoverageHasBeenSet = false;
137 bool m_estimatedCoverageHasBeenSet = false;
138 bool m_estimatedNewCommitmentUtilizationHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace CostExplorer
143} // 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