7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename OnDemandHoursT = Aws::String>
48 void SetOnDemandHours(OnDemandHoursT&& value) { m_onDemandHoursHasBeenSet =
true; m_onDemandHours = std::forward<OnDemandHoursT>(value); }
49 template<
typename OnDemandHoursT = Aws::String>
59 template<
typename ReservedHoursT = Aws::String>
60 void SetReservedHours(ReservedHoursT&& value) { m_reservedHoursHasBeenSet =
true; m_reservedHours = std::forward<ReservedHoursT>(value); }
61 template<
typename ReservedHoursT = Aws::String>
71 template<
typename TotalRunningHoursT = Aws::String>
72 void SetTotalRunningHours(TotalRunningHoursT&& value) { m_totalRunningHoursHasBeenSet =
true; m_totalRunningHours = std::forward<TotalRunningHoursT>(value); }
73 template<
typename TotalRunningHoursT = Aws::String>
83 template<
typename CoverageHoursPercentageT = Aws::String>
84 void SetCoverageHoursPercentage(CoverageHoursPercentageT&& value) { m_coverageHoursPercentageHasBeenSet =
true; m_coverageHoursPercentage = std::forward<CoverageHoursPercentageT>(value); }
85 template<
typename CoverageHoursPercentageT = Aws::String>
91 bool m_onDemandHoursHasBeenSet =
false;
94 bool m_reservedHoursHasBeenSet =
false;
97 bool m_totalRunningHoursHasBeenSet =
false;
100 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