AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CoverageNormalizedUnits.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
42 {
43 public:
44 AWS_COSTEXPLORER_API CoverageNormalizedUnits();
45 AWS_COSTEXPLORER_API CoverageNormalizedUnits(Aws::Utils::Json::JsonView jsonValue);
47 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
55 inline const Aws::String& GetOnDemandNormalizedUnits() const{ return m_onDemandNormalizedUnits; }
56 inline bool OnDemandNormalizedUnitsHasBeenSet() const { return m_onDemandNormalizedUnitsHasBeenSet; }
57 inline void SetOnDemandNormalizedUnits(const Aws::String& value) { m_onDemandNormalizedUnitsHasBeenSet = true; m_onDemandNormalizedUnits = value; }
58 inline void SetOnDemandNormalizedUnits(Aws::String&& value) { m_onDemandNormalizedUnitsHasBeenSet = true; m_onDemandNormalizedUnits = std::move(value); }
59 inline void SetOnDemandNormalizedUnits(const char* value) { m_onDemandNormalizedUnitsHasBeenSet = true; m_onDemandNormalizedUnits.assign(value); }
62 inline CoverageNormalizedUnits& WithOnDemandNormalizedUnits(const char* value) { SetOnDemandNormalizedUnits(value); return *this;}
64
66
69 inline const Aws::String& GetReservedNormalizedUnits() const{ return m_reservedNormalizedUnits; }
70 inline bool ReservedNormalizedUnitsHasBeenSet() const { return m_reservedNormalizedUnitsHasBeenSet; }
71 inline void SetReservedNormalizedUnits(const Aws::String& value) { m_reservedNormalizedUnitsHasBeenSet = true; m_reservedNormalizedUnits = value; }
72 inline void SetReservedNormalizedUnits(Aws::String&& value) { m_reservedNormalizedUnitsHasBeenSet = true; m_reservedNormalizedUnits = std::move(value); }
73 inline void SetReservedNormalizedUnits(const char* value) { m_reservedNormalizedUnitsHasBeenSet = true; m_reservedNormalizedUnits.assign(value); }
76 inline CoverageNormalizedUnits& WithReservedNormalizedUnits(const char* value) { SetReservedNormalizedUnits(value); return *this;}
78
80
83 inline const Aws::String& GetTotalRunningNormalizedUnits() const{ return m_totalRunningNormalizedUnits; }
84 inline bool TotalRunningNormalizedUnitsHasBeenSet() const { return m_totalRunningNormalizedUnitsHasBeenSet; }
85 inline void SetTotalRunningNormalizedUnits(const Aws::String& value) { m_totalRunningNormalizedUnitsHasBeenSet = true; m_totalRunningNormalizedUnits = value; }
86 inline void SetTotalRunningNormalizedUnits(Aws::String&& value) { m_totalRunningNormalizedUnitsHasBeenSet = true; m_totalRunningNormalizedUnits = std::move(value); }
87 inline void SetTotalRunningNormalizedUnits(const char* value) { m_totalRunningNormalizedUnitsHasBeenSet = true; m_totalRunningNormalizedUnits.assign(value); }
92
94
98 inline const Aws::String& GetCoverageNormalizedUnitsPercentage() const{ return m_coverageNormalizedUnitsPercentage; }
99 inline bool CoverageNormalizedUnitsPercentageHasBeenSet() const { return m_coverageNormalizedUnitsPercentageHasBeenSet; }
100 inline void SetCoverageNormalizedUnitsPercentage(const Aws::String& value) { m_coverageNormalizedUnitsPercentageHasBeenSet = true; m_coverageNormalizedUnitsPercentage = value; }
101 inline void SetCoverageNormalizedUnitsPercentage(Aws::String&& value) { m_coverageNormalizedUnitsPercentageHasBeenSet = true; m_coverageNormalizedUnitsPercentage = std::move(value); }
102 inline void SetCoverageNormalizedUnitsPercentage(const char* value) { m_coverageNormalizedUnitsPercentageHasBeenSet = true; m_coverageNormalizedUnitsPercentage.assign(value); }
107 private:
108
109 Aws::String m_onDemandNormalizedUnits;
110 bool m_onDemandNormalizedUnitsHasBeenSet = false;
111
112 Aws::String m_reservedNormalizedUnits;
113 bool m_reservedNormalizedUnitsHasBeenSet = false;
114
115 Aws::String m_totalRunningNormalizedUnits;
116 bool m_totalRunningNormalizedUnitsHasBeenSet = false;
117
118 Aws::String m_coverageNormalizedUnitsPercentage;
119 bool m_coverageNormalizedUnitsPercentageHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace CostExplorer
124} // namespace Aws
AWS_COSTEXPLORER_API CoverageNormalizedUnits(Aws::Utils::Json::JsonView jsonValue)
CoverageNormalizedUnits & WithOnDemandNormalizedUnits(const char *value)
CoverageNormalizedUnits & WithOnDemandNormalizedUnits(Aws::String &&value)
CoverageNormalizedUnits & WithTotalRunningNormalizedUnits(const char *value)
CoverageNormalizedUnits & WithCoverageNormalizedUnitsPercentage(const Aws::String &value)
CoverageNormalizedUnits & WithCoverageNormalizedUnitsPercentage(Aws::String &&value)
AWS_COSTEXPLORER_API CoverageNormalizedUnits & operator=(Aws::Utils::Json::JsonView jsonValue)
CoverageNormalizedUnits & WithTotalRunningNormalizedUnits(Aws::String &&value)
CoverageNormalizedUnits & WithReservedNormalizedUnits(const char *value)
CoverageNormalizedUnits & WithReservedNormalizedUnits(const Aws::String &value)
CoverageNormalizedUnits & WithTotalRunningNormalizedUnits(const Aws::String &value)
void SetCoverageNormalizedUnitsPercentage(const Aws::String &value)
CoverageNormalizedUnits & WithReservedNormalizedUnits(Aws::String &&value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
CoverageNormalizedUnits & WithOnDemandNormalizedUnits(const Aws::String &value)
CoverageNormalizedUnits & WithCoverageNormalizedUnitsPercentage(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue