7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetOnDemandHours(
const char* value) { m_onDemandHoursHasBeenSet =
true; m_onDemandHours.assign(value); }
63 inline void SetReservedHours(
const char* value) { m_reservedHoursHasBeenSet =
true; m_reservedHours.assign(value); }
77 inline void SetTotalRunningHours(
const char* value) { m_totalRunningHoursHasBeenSet =
true; m_totalRunningHours.assign(value); }
91 inline void SetCoverageHoursPercentage(
const char* value) { m_coverageHoursPercentageHasBeenSet =
true; m_coverageHoursPercentage.assign(value); }
99 bool m_onDemandHoursHasBeenSet =
false;
102 bool m_reservedHoursHasBeenSet =
false;
105 bool m_totalRunningHoursHasBeenSet =
false;
108 bool m_coverageHoursPercentageHasBeenSet =
false;
void SetTotalRunningHours(const char *value)
CoverageHours & WithReservedHours(const char *value)
const Aws::String & GetReservedHours() const
AWS_COSTEXPLORER_API CoverageHours(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
CoverageHours & WithOnDemandHours(const char *value)
CoverageHours & WithCoverageHoursPercentage(const Aws::String &value)
void SetOnDemandHours(Aws::String &&value)
void SetTotalRunningHours(Aws::String &&value)
void SetOnDemandHours(const char *value)
AWS_COSTEXPLORER_API CoverageHours & operator=(Aws::Utils::Json::JsonView jsonValue)
CoverageHours & WithTotalRunningHours(const char *value)
void SetOnDemandHours(const Aws::String &value)
CoverageHours & WithTotalRunningHours(Aws::String &&value)
void SetCoverageHoursPercentage(Aws::String &&value)
const Aws::String & GetOnDemandHours() const
AWS_COSTEXPLORER_API CoverageHours()
CoverageHours & WithTotalRunningHours(const Aws::String &value)
CoverageHours & WithReservedHours(const Aws::String &value)
void SetTotalRunningHours(const Aws::String &value)
void SetCoverageHoursPercentage(const Aws::String &value)
CoverageHours & WithOnDemandHours(const Aws::String &value)
void SetReservedHours(const char *value)
const Aws::String & GetCoverageHoursPercentage() const
void SetCoverageHoursPercentage(const char *value)
void SetReservedHours(const Aws::String &value)
bool ReservedHoursHasBeenSet() const
CoverageHours & WithCoverageHoursPercentage(const char *value)
void SetReservedHours(Aws::String &&value)
CoverageHours & WithCoverageHoursPercentage(Aws::String &&value)
const Aws::String & GetTotalRunningHours() const
bool TotalRunningHoursHasBeenSet() const
CoverageHours & WithReservedHours(Aws::String &&value)
CoverageHours & WithOnDemandHours(Aws::String &&value)
bool OnDemandHoursHasBeenSet() const
bool CoverageHoursPercentageHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue