7#include <aws/appmonetization/AppMonetization_EXPORTS.h>
8#include <aws/appmonetization/model/Price.h>
19namespace AppMonetization {
42 m_firstUnitHasBeenSet =
true;
58 m_lastUnitHasBeenSet =
true;
73 template <
typename UnitPriceT = Price>
75 m_unitPriceHasBeenSet =
true;
76 m_unitPrice = std::forward<UnitPriceT>(value);
78 template <
typename UnitPriceT = Price>
85 long long m_firstUnit{0};
87 long long m_lastUnit{0};
90 bool m_firstUnitHasBeenSet =
false;
91 bool m_lastUnitHasBeenSet =
false;
92 bool m_unitPriceHasBeenSet =
false;
TierBand & WithFirstUnit(long long value)
void SetUnitPrice(UnitPriceT &&value)
bool UnitPriceHasBeenSet() const
AWS_APPMONETIZATION_API TierBand(Aws::Utils::Json::JsonView jsonValue)
const Price & GetUnitPrice() const
bool LastUnitHasBeenSet() const
long long GetFirstUnit() const
TierBand & WithUnitPrice(UnitPriceT &&value)
long long GetLastUnit() const
bool FirstUnitHasBeenSet() const
TierBand & WithLastUnit(long long value)
void SetFirstUnit(long long value)
AWS_APPMONETIZATION_API TierBand & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMONETIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastUnit(long long value)
AWS_APPMONETIZATION_API TierBand()=default
Aws::Utils::Json::JsonValue JsonValue