7#include <aws/appmonetization/AppMonetization_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace AppMonetization {
41 template <
typename OneTimePriceIdT = Aws::String>
43 m_oneTimePriceIdHasBeenSet =
true;
44 m_oneTimePriceId = std::forward<OneTimePriceIdT>(value);
46 template <
typename OneTimePriceIdT = Aws::String>
60 m_quantityHasBeenSet =
true;
72 bool m_oneTimePriceIdHasBeenSet =
false;
73 bool m_quantityHasBeenSet =
false;
AWS_APPMONETIZATION_API CheckoutItem(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMONETIZATION_API CheckoutItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetOneTimePriceId() const
AWS_APPMONETIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
bool QuantityHasBeenSet() const
void SetQuantity(int value)
bool OneTimePriceIdHasBeenSet() const
void SetOneTimePriceId(OneTimePriceIdT &&value)
CheckoutItem & WithQuantity(int value)
CheckoutItem & WithOneTimePriceId(OneTimePriceIdT &&value)
AWS_APPMONETIZATION_API CheckoutItem()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue