7#include <aws/appmonetization/AppMonetization_EXPORTS.h>
8#include <aws/appmonetization/model/Price.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace AppMonetization {
41 template <
typename NameT = Aws::String>
43 m_nameHasBeenSet =
true;
44 m_name = std::forward<NameT>(value);
46 template <
typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
57 template <
typename ActionNameT = Aws::String>
59 m_actionNameHasBeenSet =
true;
60 m_actionName = std::forward<ActionNameT>(value);
62 template <
typename ActionNameT = Aws::String>
76 m_quantityHasBeenSet =
true;
91 template <
typename PriceT = Price>
93 m_priceHasBeenSet =
true;
94 m_price = std::forward<PriceT>(value);
96 template <
typename PriceT = Price>
98 SetPrice(std::forward<PriceT>(value));
107 long long m_quantity{0};
110 bool m_nameHasBeenSet =
false;
111 bool m_actionNameHasBeenSet =
false;
112 bool m_quantityHasBeenSet =
false;
113 bool m_priceHasBeenSet =
false;
const Aws::String & GetName() const
const Price & GetPrice() const
AWS_APPMONETIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
bool QuantityHasBeenSet() const
bool PriceHasBeenSet() const
RecommendedCreditPack & WithQuantity(long long value)
void SetActionName(ActionNameT &&value)
const Aws::String & GetActionName() const
RecommendedCreditPack & WithName(NameT &&value)
AWS_APPMONETIZATION_API RecommendedCreditPack()=default
AWS_APPMONETIZATION_API RecommendedCreditPack(Aws::Utils::Json::JsonView jsonValue)
RecommendedCreditPack & WithActionName(ActionNameT &&value)
long long GetQuantity() const
void SetQuantity(long long value)
RecommendedCreditPack & WithPrice(PriceT &&value)
bool NameHasBeenSet() const
AWS_APPMONETIZATION_API RecommendedCreditPack & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ActionNameHasBeenSet() const
void SetPrice(PriceT &&value)
void SetName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue