7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace CostExplorer {
41 template <
typename OnDemandHoursT = Aws::String>
43 m_onDemandHoursHasBeenSet =
true;
44 m_onDemandHours = std::forward<OnDemandHoursT>(value);
46 template <
typename OnDemandHoursT = Aws::String>
59 template <
typename ReservedHoursT = Aws::String>
61 m_reservedHoursHasBeenSet =
true;
62 m_reservedHours = std::forward<ReservedHoursT>(value);
64 template <
typename ReservedHoursT = Aws::String>
77 template <
typename TotalRunningHoursT = Aws::String>
79 m_totalRunningHoursHasBeenSet =
true;
80 m_totalRunningHours = std::forward<TotalRunningHoursT>(value);
82 template <
typename TotalRunningHoursT = Aws::String>
95 template <
typename CoverageHoursPercentageT = Aws::String>
97 m_coverageHoursPercentageHasBeenSet =
true;
98 m_coverageHoursPercentage = std::forward<CoverageHoursPercentageT>(value);
100 template <
typename CoverageHoursPercentageT = Aws::String>
114 bool m_onDemandHoursHasBeenSet =
false;
115 bool m_reservedHoursHasBeenSet =
false;
116 bool m_totalRunningHoursHasBeenSet =
false;
117 bool m_coverageHoursPercentageHasBeenSet =
false;
CoverageHours & WithOnDemandHours(OnDemandHoursT &&value)
void SetCoverageHoursPercentage(CoverageHoursPercentageT &&value)
const Aws::String & GetReservedHours() const
AWS_COSTEXPLORER_API CoverageHours(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COSTEXPLORER_API CoverageHours & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetReservedHours(ReservedHoursT &&value)
CoverageHours & WithReservedHours(ReservedHoursT &&value)
CoverageHours & WithCoverageHoursPercentage(CoverageHoursPercentageT &&value)
const Aws::String & GetOnDemandHours() const
CoverageHours & WithTotalRunningHours(TotalRunningHoursT &&value)
const Aws::String & GetCoverageHoursPercentage() const
bool ReservedHoursHasBeenSet() const
void SetOnDemandHours(OnDemandHoursT &&value)
const Aws::String & GetTotalRunningHours() const
AWS_COSTEXPLORER_API CoverageHours()=default
bool TotalRunningHoursHasBeenSet() const
bool OnDemandHoursHasBeenSet() const
bool CoverageHoursPercentageHasBeenSet() const
void SetTotalRunningHours(TotalRunningHoursT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue