7#include <aws/appmonetization/AppMonetization_EXPORTS.h>
8#include <aws/appmonetization/model/Price.h>
19namespace AppMonetization {
39 inline double GetMargin()
const {
return m_margin; }
42 m_marginHasBeenSet =
true;
57 template <
typename PriceT = Price>
59 m_priceHasBeenSet =
true;
60 m_price = std::forward<PriceT>(value);
62 template <
typename PriceT = Price>
64 SetPrice(std::forward<PriceT>(value));
72 bool m_marginHasBeenSet =
false;
73 bool m_priceHasBeenSet =
false;
AWS_APPMONETIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
bool PriceHasBeenSet() const
void SetPrice(PriceT &&value)
CostCover & WithPrice(PriceT &&value)
AWS_APPMONETIZATION_API CostCover(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMONETIZATION_API CostCover & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MarginHasBeenSet() const
const Price & GetPrice() const
void SetMargin(double value)
AWS_APPMONETIZATION_API CostCover()=default
CostCover & WithMargin(double value)
Aws::Utils::Json::JsonValue JsonValue