AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Coverage.h
1
6#pragma once
7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/model/CoverageHours.h>
9#include <aws/ce/model/CoverageNormalizedUnits.h>
10#include <aws/ce/model/CoverageCost.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace CostExplorer
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_COSTEXPLORER_API Coverage();
38 AWS_COSTEXPLORER_API Coverage(Aws::Utils::Json::JsonView jsonValue);
39 AWS_COSTEXPLORER_API Coverage& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const CoverageHours& GetCoverageHours() const{ return m_coverageHours; }
48 inline bool CoverageHoursHasBeenSet() const { return m_coverageHoursHasBeenSet; }
49 inline void SetCoverageHours(const CoverageHours& value) { m_coverageHoursHasBeenSet = true; m_coverageHours = value; }
50 inline void SetCoverageHours(CoverageHours&& value) { m_coverageHoursHasBeenSet = true; m_coverageHours = std::move(value); }
51 inline Coverage& WithCoverageHours(const CoverageHours& value) { SetCoverageHours(value); return *this;}
52 inline Coverage& WithCoverageHours(CoverageHours&& value) { SetCoverageHours(std::move(value)); return *this;}
54
56
60 inline const CoverageNormalizedUnits& GetCoverageNormalizedUnits() const{ return m_coverageNormalizedUnits; }
61 inline bool CoverageNormalizedUnitsHasBeenSet() const { return m_coverageNormalizedUnitsHasBeenSet; }
62 inline void SetCoverageNormalizedUnits(const CoverageNormalizedUnits& value) { m_coverageNormalizedUnitsHasBeenSet = true; m_coverageNormalizedUnits = value; }
63 inline void SetCoverageNormalizedUnits(CoverageNormalizedUnits&& value) { m_coverageNormalizedUnitsHasBeenSet = true; m_coverageNormalizedUnits = std::move(value); }
67
69
72 inline const CoverageCost& GetCoverageCost() const{ return m_coverageCost; }
73 inline bool CoverageCostHasBeenSet() const { return m_coverageCostHasBeenSet; }
74 inline void SetCoverageCost(const CoverageCost& value) { m_coverageCostHasBeenSet = true; m_coverageCost = value; }
75 inline void SetCoverageCost(CoverageCost&& value) { m_coverageCostHasBeenSet = true; m_coverageCost = std::move(value); }
76 inline Coverage& WithCoverageCost(const CoverageCost& value) { SetCoverageCost(value); return *this;}
77 inline Coverage& WithCoverageCost(CoverageCost&& value) { SetCoverageCost(std::move(value)); return *this;}
79 private:
80
81 CoverageHours m_coverageHours;
82 bool m_coverageHoursHasBeenSet = false;
83
84 CoverageNormalizedUnits m_coverageNormalizedUnits;
85 bool m_coverageNormalizedUnitsHasBeenSet = false;
86
87 CoverageCost m_coverageCost;
88 bool m_coverageCostHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace CostExplorer
93} // namespace Aws
void SetCoverageHours(CoverageHours &&value)
Definition Coverage.h:50
const CoverageHours & GetCoverageHours() const
Definition Coverage.h:47
void SetCoverageCost(CoverageCost &&value)
Definition Coverage.h:75
Coverage & WithCoverageHours(CoverageHours &&value)
Definition Coverage.h:52
Coverage & WithCoverageCost(const CoverageCost &value)
Definition Coverage.h:76
void SetCoverageCost(const CoverageCost &value)
Definition Coverage.h:74
const CoverageCost & GetCoverageCost() const
Definition Coverage.h:72
void SetCoverageHours(const CoverageHours &value)
Definition Coverage.h:49
Coverage & WithCoverageCost(CoverageCost &&value)
Definition Coverage.h:77
Coverage & WithCoverageHours(const CoverageHours &value)
Definition Coverage.h:51
bool CoverageNormalizedUnitsHasBeenSet() const
Definition Coverage.h:61
const CoverageNormalizedUnits & GetCoverageNormalizedUnits() const
Definition Coverage.h:60
void SetCoverageNormalizedUnits(CoverageNormalizedUnits &&value)
Definition Coverage.h:63
AWS_COSTEXPLORER_API Coverage(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTEXPLORER_API Coverage()
Coverage & WithCoverageNormalizedUnits(CoverageNormalizedUnits &&value)
Definition Coverage.h:65
void SetCoverageNormalizedUnits(const CoverageNormalizedUnits &value)
Definition Coverage.h:62
Coverage & WithCoverageNormalizedUnits(const CoverageNormalizedUnits &value)
Definition Coverage.h:64
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COSTEXPLORER_API Coverage & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue