7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetAmount(
const char* value) { m_amountHasBeenSet =
true; m_amount.assign(value); }
62 inline void SetUnit(
const char* value) { m_unitHasBeenSet =
true; m_unit.assign(value); }
70 bool m_amountHasBeenSet =
false;
73 bool m_unitHasBeenSet =
false;
MetricValue & WithAmount(Aws::String &&value)
MetricValue & WithAmount(const char *value)
MetricValue & WithAmount(const Aws::String &value)
void SetUnit(Aws::String &&value)
bool AmountHasBeenSet() const
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
MetricValue & WithUnit(const char *value)
void SetAmount(const Aws::String &value)
const Aws::String & GetAmount() const
void SetAmount(const char *value)
MetricValue & WithUnit(const Aws::String &value)
void SetUnit(const Aws::String &value)
AWS_COSTEXPLORER_API MetricValue & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTEXPLORER_API MetricValue()
MetricValue & WithUnit(Aws::String &&value)
void SetAmount(Aws::String &&value)
AWS_COSTEXPLORER_API MetricValue(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetUnit() const
bool UnitHasBeenSet() const
void SetUnit(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue