7#include <aws/appmonetization/AppMonetization_EXPORTS.h>
8#include <aws/appmonetization/model/Price.h>
9#include <aws/appmonetization/model/PricingModel.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
21namespace AppMonetization {
45 m_pricingModelHasBeenSet =
true;
46 m_pricingModel = value;
60 template <
typename MonthlyProfitT = Aws::String>
62 m_monthlyProfitHasBeenSet =
true;
63 m_monthlyProfit = std::forward<MonthlyProfitT>(value);
65 template <
typename MonthlyProfitT = Aws::String>
78 template <
typename MonthlyRevenueT = Price>
80 m_monthlyRevenueHasBeenSet =
true;
81 m_monthlyRevenue = std::forward<MonthlyRevenueT>(value);
83 template <
typename MonthlyRevenueT = Price>
95 inline double GetMargin()
const {
return m_margin; }
98 m_marginHasBeenSet =
true;
114 m_paidShareHasBeenSet =
true;
127 Price m_monthlyRevenue;
129 double m_margin{0.0};
131 double m_paidShare{0.0};
132 bool m_pricingModelHasBeenSet =
false;
133 bool m_monthlyProfitHasBeenSet =
false;
134 bool m_monthlyRevenueHasBeenSet =
false;
135 bool m_marginHasBeenSet =
false;
136 bool m_paidShareHasBeenSet =
false;
void SetMonthlyRevenue(MonthlyRevenueT &&value)
void SetPaidShare(double value)
AWS_APPMONETIZATION_API ModelComparison & operator=(Aws::Utils::Json::JsonView jsonValue)
PricingModel GetPricingModel() const
bool PricingModelHasBeenSet() const
void SetMargin(double value)
void SetMonthlyProfit(MonthlyProfitT &&value)
ModelComparison & WithMargin(double value)
ModelComparison & WithPricingModel(PricingModel value)
bool MonthlyRevenueHasBeenSet() const
void SetPricingModel(PricingModel value)
const Aws::String & GetMonthlyProfit() const
ModelComparison & WithPaidShare(double value)
bool MonthlyProfitHasBeenSet() const
AWS_APPMONETIZATION_API ModelComparison()=default
bool PaidShareHasBeenSet() const
ModelComparison & WithMonthlyRevenue(MonthlyRevenueT &&value)
AWS_APPMONETIZATION_API ModelComparison(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMONETIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
double GetPaidShare() const
bool MarginHasBeenSet() const
const Price & GetMonthlyRevenue() const
ModelComparison & WithMonthlyProfit(MonthlyProfitT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue