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 {
39 template <
typename ActionNameT = Aws::String>
41 m_actionNameHasBeenSet =
true;
42 m_actionName = std::forward<ActionNameT>(value);
44 template <
typename ActionNameT = Aws::String>
57 template <
typename PriceT = Price>
59 m_priceHasBeenSet =
true;
60 m_price = std::forward<PriceT>(value);
62 template <
typename PriceT = Price>
64 SetPrice(std::forward<PriceT>(value));
72 bool m_actionNameHasBeenSet =
false;
73 bool m_priceHasBeenSet =
false;
AWS_APPMONETIZATION_API UnitPrice(Aws::Utils::Json::JsonView jsonValue)
bool ActionNameHasBeenSet() const
UnitPrice & WithActionName(ActionNameT &&value)
bool PriceHasBeenSet() const
AWS_APPMONETIZATION_API UnitPrice()=default
void SetActionName(ActionNameT &&value)
UnitPrice & WithPrice(PriceT &&value)
const Aws::String & GetActionName() const
void SetPrice(PriceT &&value)
AWS_APPMONETIZATION_API UnitPrice & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMONETIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
const Price & GetPrice() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue