AWS SDK for C++  1.9.20
AWS SDK for C++
Coverage.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace CostExplorer
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const CoverageHours& GetCoverageHours() const{ return m_coverageHours; }
47 
51  inline bool CoverageHoursHasBeenSet() const { return m_coverageHoursHasBeenSet; }
52 
56  inline void SetCoverageHours(const CoverageHours& value) { m_coverageHoursHasBeenSet = true; m_coverageHours = value; }
57 
61  inline void SetCoverageHours(CoverageHours&& value) { m_coverageHoursHasBeenSet = true; m_coverageHours = std::move(value); }
62 
66  inline Coverage& WithCoverageHours(const CoverageHours& value) { SetCoverageHours(value); return *this;}
67 
71  inline Coverage& WithCoverageHours(CoverageHours&& value) { SetCoverageHours(std::move(value)); return *this;}
72 
73 
78  inline const CoverageNormalizedUnits& GetCoverageNormalizedUnits() const{ return m_coverageNormalizedUnits; }
79 
84  inline bool CoverageNormalizedUnitsHasBeenSet() const { return m_coverageNormalizedUnitsHasBeenSet; }
85 
90  inline void SetCoverageNormalizedUnits(const CoverageNormalizedUnits& value) { m_coverageNormalizedUnitsHasBeenSet = true; m_coverageNormalizedUnits = value; }
91 
96  inline void SetCoverageNormalizedUnits(CoverageNormalizedUnits&& value) { m_coverageNormalizedUnitsHasBeenSet = true; m_coverageNormalizedUnits = std::move(value); }
97 
102  inline Coverage& WithCoverageNormalizedUnits(const CoverageNormalizedUnits& value) { SetCoverageNormalizedUnits(value); return *this;}
103 
108  inline Coverage& WithCoverageNormalizedUnits(CoverageNormalizedUnits&& value) { SetCoverageNormalizedUnits(std::move(value)); return *this;}
109 
110 
114  inline const CoverageCost& GetCoverageCost() const{ return m_coverageCost; }
115 
119  inline bool CoverageCostHasBeenSet() const { return m_coverageCostHasBeenSet; }
120 
124  inline void SetCoverageCost(const CoverageCost& value) { m_coverageCostHasBeenSet = true; m_coverageCost = value; }
125 
129  inline void SetCoverageCost(CoverageCost&& value) { m_coverageCostHasBeenSet = true; m_coverageCost = std::move(value); }
130 
134  inline Coverage& WithCoverageCost(const CoverageCost& value) { SetCoverageCost(value); return *this;}
135 
139  inline Coverage& WithCoverageCost(CoverageCost&& value) { SetCoverageCost(std::move(value)); return *this;}
140 
141  private:
142 
143  CoverageHours m_coverageHours;
144  bool m_coverageHoursHasBeenSet;
145 
146  CoverageNormalizedUnits m_coverageNormalizedUnits;
147  bool m_coverageNormalizedUnitsHasBeenSet;
148 
149  CoverageCost m_coverageCost;
150  bool m_coverageCostHasBeenSet;
151  };
152 
153 } // namespace Model
154 } // namespace CostExplorer
155 } // namespace Aws
Aws::CostExplorer::Model::Coverage::Coverage
Coverage(Aws::Utils::Json::JsonView jsonValue)
Aws::CostExplorer::Model::Coverage::SetCoverageHours
void SetCoverageHours(const CoverageHours &value)
Definition: Coverage.h:56
Aws::CostExplorer::Model::Coverage::GetCoverageNormalizedUnits
const CoverageNormalizedUnits & GetCoverageNormalizedUnits() const
Definition: Coverage.h:78
Aws::CostExplorer::Model::Coverage::CoverageCostHasBeenSet
bool CoverageCostHasBeenSet() const
Definition: Coverage.h:119
Aws::CostExplorer::Model::Coverage::WithCoverageCost
Coverage & WithCoverageCost(CoverageCost &&value)
Definition: Coverage.h:139
Aws::CostExplorer::Model::Coverage::WithCoverageNormalizedUnits
Coverage & WithCoverageNormalizedUnits(const CoverageNormalizedUnits &value)
Definition: Coverage.h:102
Aws::CostExplorer::Model::Coverage::WithCoverageHours
Coverage & WithCoverageHours(CoverageHours &&value)
Definition: Coverage.h:71
Aws::CostExplorer::Model::CoverageHours
Definition: CoverageHours.h:33
Aws::CostExplorer::Model::Coverage::CoverageNormalizedUnitsHasBeenSet
bool CoverageNormalizedUnitsHasBeenSet() const
Definition: Coverage.h:84
CoverageNormalizedUnits.h
CoverageCost.h
Aws::CostExplorer::Model::Coverage::CoverageHoursHasBeenSet
bool CoverageHoursHasBeenSet() const
Definition: Coverage.h:51
Aws::CostExplorer::Model::Coverage::WithCoverageNormalizedUnits
Coverage & WithCoverageNormalizedUnits(CoverageNormalizedUnits &&value)
Definition: Coverage.h:108
CostExplorer_EXPORTS.h
Aws::CostExplorer::Model::Coverage::SetCoverageNormalizedUnits
void SetCoverageNormalizedUnits(CoverageNormalizedUnits &&value)
Definition: Coverage.h:96
Aws::CostExplorer::Model::Coverage::WithCoverageHours
Coverage & WithCoverageHours(const CoverageHours &value)
Definition: Coverage.h:66
Aws::CostExplorer::Model::Coverage::SetCoverageCost
void SetCoverageCost(const CoverageCost &value)
Definition: Coverage.h:124
Aws::CostExplorer::Model::Coverage::SetCoverageHours
void SetCoverageHours(CoverageHours &&value)
Definition: Coverage.h:61
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::CostExplorer::Model::Coverage::GetCoverageHours
const CoverageHours & GetCoverageHours() const
Definition: Coverage.h:46
Aws::CostExplorer::Model::Coverage
Definition: Coverage.h:35
Aws::CostExplorer::Model::CoverageCost
Definition: CoverageCost.h:32
AWS_COSTEXPLORER_API
#define AWS_COSTEXPLORER_API
Definition: CostExplorer_EXPORTS.h:28
Aws::CostExplorer::Model::Coverage::SetCoverageCost
void SetCoverageCost(CoverageCost &&value)
Definition: Coverage.h:129
CoverageHours.h
Aws::CostExplorer::Model::CoverageNormalizedUnits
Definition: CoverageNormalizedUnits.h:42
Aws
Definition: AccessManagementClient.h:15
Aws::CostExplorer::Model::Coverage::SetCoverageNormalizedUnits
void SetCoverageNormalizedUnits(const CoverageNormalizedUnits &value)
Definition: Coverage.h:90
Aws::CostExplorer::Model::Coverage::operator=
Coverage & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::CostExplorer::Model::Coverage::WithCoverageCost
Coverage & WithCoverageCost(const CoverageCost &value)
Definition: Coverage.h:134
Aws::CostExplorer::Model::Coverage::GetCoverageCost
const CoverageCost & GetCoverageCost() const
Definition: Coverage.h:114
Aws::CostExplorer::Model::Coverage::Coverage
Coverage()
Aws::CostExplorer::Model::Coverage::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const