7#include <aws/appmonetization/AppMonetization_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace AppMonetization {
44 template <
typename NameT = Aws::String>
46 m_nameHasBeenSet =
true;
47 m_name = std::forward<NameT>(value);
49 template <
typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
63 template <
typename UnitT = Aws::String>
65 m_unitHasBeenSet =
true;
66 m_unit = std::forward<UnitT>(value);
68 template <
typename UnitT = Aws::String>
70 SetUnit(std::forward<UnitT>(value));
86 m_unitCostHasBeenSet =
true;
102 m_typicalMonthlyUsageHasBeenSet =
true;
103 m_typicalMonthlyUsage = value;
127 m_minutesSavedHasBeenSet =
true;
128 m_minutesSaved = value;
152 m_moneySavedHasBeenSet =
true;
153 m_moneySaved = value;
179 m_valuePerUseHasBeenSet =
true;
180 m_valuePerUse = value;
192 double m_unitCost{0.0};
194 double m_typicalMonthlyUsage{0.0};
196 double m_minutesSaved{0.0};
198 double m_moneySaved{0.0};
200 double m_valuePerUse{0.0};
201 bool m_nameHasBeenSet =
false;
202 bool m_unitHasBeenSet =
false;
203 bool m_unitCostHasBeenSet =
false;
204 bool m_typicalMonthlyUsageHasBeenSet =
false;
205 bool m_minutesSavedHasBeenSet =
false;
206 bool m_moneySavedHasBeenSet =
false;
207 bool m_valuePerUseHasBeenSet =
false;
BillableAction & WithUnitCost(double value)
void SetTypicalMonthlyUsage(double value)
bool UnitCostHasBeenSet() const
AWS_APPMONETIZATION_API BillableAction(Aws::Utils::Json::JsonView jsonValue)
void SetMinutesSaved(double value)
BillableAction & WithMinutesSaved(double value)
double GetTypicalMonthlyUsage() const
AWS_APPMONETIZATION_API BillableAction & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TypicalMonthlyUsageHasBeenSet() const
AWS_APPMONETIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
bool ValuePerUseHasBeenSet() const
const Aws::String & GetName() const
double GetMinutesSaved() const
void SetUnit(UnitT &&value)
void SetName(NameT &&value)
double GetValuePerUse() const
BillableAction & WithMoneySaved(double value)
bool UnitHasBeenSet() const
bool MoneySavedHasBeenSet() const
BillableAction & WithTypicalMonthlyUsage(double value)
void SetValuePerUse(double value)
double GetMoneySaved() const
void SetMoneySaved(double value)
void SetUnitCost(double value)
AWS_APPMONETIZATION_API BillableAction()=default
double GetUnitCost() const
BillableAction & WithUnit(UnitT &&value)
BillableAction & WithValuePerUse(double value)
BillableAction & WithName(NameT &&value)
bool MinutesSavedHasBeenSet() const
const Aws::String & GetUnit() const
bool NameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue