AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetStartTime(const Aws::String& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
46 inline void SetStartTime(Aws::String&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
47 inline void SetStartTime(const char* value) { m_startTimeHasBeenSet = true; m_startTime.assign(value); }
48 inline RecommendationDetailHourlyMetrics& WithStartTime(const Aws::String& value) { SetStartTime(value); return *this;}
49 inline RecommendationDetailHourlyMetrics& WithStartTime(Aws::String&& value) { SetStartTime(std::move(value)); return *this;}
50 inline RecommendationDetailHourlyMetrics& WithStartTime(const char* value) { SetStartTime(value); return *this;}
52
54
58 inline const Aws::String& GetEstimatedOnDemandCost() const{ return m_estimatedOnDemandCost; }
59 inline bool EstimatedOnDemandCostHasBeenSet() const { return m_estimatedOnDemandCostHasBeenSet; }
60 inline void SetEstimatedOnDemandCost(const Aws::String& value) { m_estimatedOnDemandCostHasBeenSet = true; m_estimatedOnDemandCost = value; }
61 inline void SetEstimatedOnDemandCost(Aws::String&& value) { m_estimatedOnDemandCostHasBeenSet = true; m_estimatedOnDemandCost = std::move(value); }
62 inline void SetEstimatedOnDemandCost(const char* value) { m_estimatedOnDemandCostHasBeenSet = true; m_estimatedOnDemandCost.assign(value); }
67
69
73 inline const Aws::String& GetCurrentCoverage() const{ return m_currentCoverage; }
74 inline bool CurrentCoverageHasBeenSet() const { return m_currentCoverageHasBeenSet; }
75 inline void SetCurrentCoverage(const Aws::String& value) { m_currentCoverageHasBeenSet = true; m_currentCoverage = value; }
76 inline void SetCurrentCoverage(Aws::String&& value) { m_currentCoverageHasBeenSet = true; m_currentCoverage = std::move(value); }
77 inline void SetCurrentCoverage(const char* value) { m_currentCoverageHasBeenSet = true; m_currentCoverage.assign(value); }
79 inline RecommendationDetailHourlyMetrics& WithCurrentCoverage(Aws::String&& value) { SetCurrentCoverage(std::move(value)); return *this;}
80 inline RecommendationDetailHourlyMetrics& WithCurrentCoverage(const char* value) { SetCurrentCoverage(value); return *this;}
82
84
87 inline const Aws::String& GetEstimatedCoverage() const{ return m_estimatedCoverage; }
88 inline bool EstimatedCoverageHasBeenSet() const { return m_estimatedCoverageHasBeenSet; }
89 inline void SetEstimatedCoverage(const Aws::String& value) { m_estimatedCoverageHasBeenSet = true; m_estimatedCoverage = value; }
90 inline void SetEstimatedCoverage(Aws::String&& value) { m_estimatedCoverageHasBeenSet = true; m_estimatedCoverage = std::move(value); }
91 inline void SetEstimatedCoverage(const char* value) { m_estimatedCoverageHasBeenSet = true; m_estimatedCoverage.assign(value); }
94 inline RecommendationDetailHourlyMetrics& WithEstimatedCoverage(const char* value) { SetEstimatedCoverage(value); return *this;}
96
98
101 inline const Aws::String& GetEstimatedNewCommitmentUtilization() const{ return m_estimatedNewCommitmentUtilization; }
102 inline bool EstimatedNewCommitmentUtilizationHasBeenSet() const { return m_estimatedNewCommitmentUtilizationHasBeenSet; }
103 inline void SetEstimatedNewCommitmentUtilization(const Aws::String& value) { m_estimatedNewCommitmentUtilizationHasBeenSet = true; m_estimatedNewCommitmentUtilization = value; }
104 inline void SetEstimatedNewCommitmentUtilization(Aws::String&& value) { m_estimatedNewCommitmentUtilizationHasBeenSet = true; m_estimatedNewCommitmentUtilization = std::move(value); }
105 inline void SetEstimatedNewCommitmentUtilization(const char* value) { m_estimatedNewCommitmentUtilizationHasBeenSet = true; m_estimatedNewCommitmentUtilization.assign(value); }
110 private:
111
112 Aws::String m_startTime;
113 bool m_startTimeHasBeenSet = false;
114
115 Aws::String m_estimatedOnDemandCost;
116 bool m_estimatedOnDemandCostHasBeenSet = false;
117
118 Aws::String m_currentCoverage;
119 bool m_currentCoverageHasBeenSet = false;
120
121 Aws::String m_estimatedCoverage;
122 bool m_estimatedCoverageHasBeenSet = false;
123
124 Aws::String m_estimatedNewCommitmentUtilization;
125 bool m_estimatedNewCommitmentUtilizationHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace CostExplorer
130} // namespace Aws
RecommendationDetailHourlyMetrics & WithEstimatedNewCommitmentUtilization(const char *value)
RecommendationDetailHourlyMetrics & WithEstimatedCoverage(const Aws::String &value)
RecommendationDetailHourlyMetrics & WithCurrentCoverage(Aws::String &&value)
RecommendationDetailHourlyMetrics & WithStartTime(Aws::String &&value)
RecommendationDetailHourlyMetrics & WithEstimatedNewCommitmentUtilization(const Aws::String &value)
RecommendationDetailHourlyMetrics & WithStartTime(const Aws::String &value)
RecommendationDetailHourlyMetrics & WithCurrentCoverage(const Aws::String &value)
AWS_COSTEXPLORER_API RecommendationDetailHourlyMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
RecommendationDetailHourlyMetrics & WithStartTime(const char *value)
RecommendationDetailHourlyMetrics & WithEstimatedCoverage(const char *value)
RecommendationDetailHourlyMetrics & WithEstimatedOnDemandCost(Aws::String &&value)
RecommendationDetailHourlyMetrics & WithEstimatedCoverage(Aws::String &&value)
RecommendationDetailHourlyMetrics & WithEstimatedNewCommitmentUtilization(Aws::String &&value)
AWS_COSTEXPLORER_API RecommendationDetailHourlyMetrics(Aws::Utils::Json::JsonView jsonValue)
RecommendationDetailHourlyMetrics & WithCurrentCoverage(const char *value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
RecommendationDetailHourlyMetrics & WithEstimatedOnDemandCost(const Aws::String &value)
RecommendationDetailHourlyMetrics & WithEstimatedOnDemandCost(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue