7#include <aws/appmonetization/AppMonetization_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace AppMonetization {
46 template <
typename ChargeIdT = Aws::String>
48 m_chargeIdHasBeenSet =
true;
49 m_chargeId = std::forward<ChargeIdT>(value);
51 template <
typename ChargeIdT = Aws::String>
64 template <
typename DescriptionT = Aws::String>
66 m_descriptionHasBeenSet =
true;
67 m_description = std::forward<DescriptionT>(value);
69 template <
typename DescriptionT = Aws::String>
83 template <
typename AmountT = Aws::String>
85 m_amountHasBeenSet =
true;
86 m_amount = std::forward<AmountT>(value);
88 template <
typename AmountT = Aws::String>
102 template <
typename CurrencyT = Aws::String>
104 m_currencyHasBeenSet =
true;
105 m_currency = std::forward<CurrencyT>(value);
107 template <
typename CurrencyT = Aws::String>
121 template <
typename MetricIdT = Aws::String>
123 m_metricIdHasBeenSet =
true;
124 m_metricId = std::forward<MetricIdT>(value);
126 template <
typename MetricIdT = Aws::String>
139 template <
typename TaxCodeT = Aws::String>
141 m_taxCodeHasBeenSet =
true;
142 m_taxCode = std::forward<TaxCodeT>(value);
144 template <
typename TaxCodeT = Aws::String>
162 bool m_chargeIdHasBeenSet =
false;
163 bool m_descriptionHasBeenSet =
false;
164 bool m_amountHasBeenSet =
false;
165 bool m_currencyHasBeenSet =
false;
166 bool m_metricIdHasBeenSet =
false;
167 bool m_taxCodeHasBeenSet =
false;
bool MetricIdHasBeenSet() const
void SetAmount(AmountT &&value)
CustomCharge & WithChargeId(ChargeIdT &&value)
bool TaxCodeHasBeenSet() const
CustomCharge & WithTaxCode(TaxCodeT &&value)
bool AmountHasBeenSet() const
const Aws::String & GetAmount() const
const Aws::String & GetMetricId() const
void SetChargeId(ChargeIdT &&value)
CustomCharge & WithMetricId(MetricIdT &&value)
const Aws::String & GetDescription() const
AWS_APPMONETIZATION_API CustomCharge()=default
void SetCurrency(CurrencyT &&value)
void SetDescription(DescriptionT &&value)
CustomCharge & WithCurrency(CurrencyT &&value)
const Aws::String & GetChargeId() const
AWS_APPMONETIZATION_API CustomCharge(Aws::Utils::Json::JsonView jsonValue)
CustomCharge & WithAmount(AmountT &&value)
const Aws::String & GetTaxCode() const
void SetMetricId(MetricIdT &&value)
CustomCharge & WithDescription(DescriptionT &&value)
void SetTaxCode(TaxCodeT &&value)
const Aws::String & GetCurrency() const
bool DescriptionHasBeenSet() const
AWS_APPMONETIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
bool CurrencyHasBeenSet() const
bool ChargeIdHasBeenSet() const
AWS_APPMONETIZATION_API CustomCharge & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue