7#include <aws/appmonetization/AppMonetization_EXPORTS.h>
8#include <aws/appmonetization/model/BillingCycle.h>
9#include <aws/appmonetization/model/Price.h>
10#include <aws/appmonetization/model/RecommendedQuota.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
23namespace AppMonetization {
48 template <
typename PlanCodeT = Aws::String>
50 m_planCodeHasBeenSet =
true;
51 m_planCode = std::forward<PlanCodeT>(value);
53 template <
typename PlanCodeT = Aws::String>
67 template <
typename NameT = Aws::String>
69 m_nameHasBeenSet =
true;
70 m_name = std::forward<NameT>(value);
72 template <
typename NameT = Aws::String>
74 SetName(std::forward<NameT>(value));
87 m_billingCycleHasBeenSet =
true;
88 m_billingCycle = value;
102 template <
typename PriceT = Price>
104 m_priceHasBeenSet =
true;
105 m_price = std::forward<PriceT>(value);
107 template <
typename PriceT = Price>
109 SetPrice(std::forward<PriceT>(value));
120 template <
typename IncludedQuotasT = Aws::Vector<RecommendedQuota>>
122 m_includedQuotasHasBeenSet =
true;
123 m_includedQuotas = std::forward<IncludedQuotasT>(value);
125 template <
typename IncludedQuotasT = Aws::Vector<RecommendedQuota>>
130 template <
typename IncludedQuotasT = RecommendedQuota>
132 m_includedQuotasHasBeenSet =
true;
133 m_includedQuotas.emplace_back(std::forward<IncludedQuotasT>(value));
144 template <
typename UpgradePlanCodesT = Aws::Vector<Aws::String>>
146 m_upgradePlanCodesHasBeenSet =
true;
147 m_upgradePlanCodes = std::forward<UpgradePlanCodesT>(value);
149 template <
typename UpgradePlanCodesT = Aws::Vector<Aws::String>>
154 template <
typename UpgradePlanCodesT = Aws::String>
156 m_upgradePlanCodesHasBeenSet =
true;
157 m_upgradePlanCodes.emplace_back(std::forward<UpgradePlanCodesT>(value));
168 template <
typename DowngradePlanCodesT = Aws::Vector<Aws::String>>
170 m_downgradePlanCodesHasBeenSet =
true;
171 m_downgradePlanCodes = std::forward<DowngradePlanCodesT>(value);
173 template <
typename DowngradePlanCodesT = Aws::Vector<Aws::String>>
178 template <
typename DowngradePlanCodesT = Aws::String>
180 m_downgradePlanCodesHasBeenSet =
true;
181 m_downgradePlanCodes.emplace_back(std::forward<DowngradePlanCodesT>(value));
199 bool m_planCodeHasBeenSet =
false;
200 bool m_nameHasBeenSet =
false;
201 bool m_billingCycleHasBeenSet =
false;
202 bool m_priceHasBeenSet =
false;
203 bool m_includedQuotasHasBeenSet =
false;
204 bool m_upgradePlanCodesHasBeenSet =
false;
205 bool m_downgradePlanCodesHasBeenSet =
false;
RecommendedPlan & WithUpgradePlanCodes(UpgradePlanCodesT &&value)
bool NameHasBeenSet() const
bool UpgradePlanCodesHasBeenSet() const
BillingCycle GetBillingCycle() const
RecommendedPlan & AddIncludedQuotas(IncludedQuotasT &&value)
RecommendedPlan & WithDowngradePlanCodes(DowngradePlanCodesT &&value)
RecommendedPlan & AddDowngradePlanCodes(DowngradePlanCodesT &&value)
void SetUpgradePlanCodes(UpgradePlanCodesT &&value)
RecommendedPlan & WithBillingCycle(BillingCycle value)
AWS_APPMONETIZATION_API RecommendedPlan()=default
const Aws::Vector< Aws::String > & GetUpgradePlanCodes() const
void SetBillingCycle(BillingCycle value)
AWS_APPMONETIZATION_API RecommendedPlan & operator=(Aws::Utils::Json::JsonView jsonValue)
RecommendedPlan & WithIncludedQuotas(IncludedQuotasT &&value)
AWS_APPMONETIZATION_API RecommendedPlan(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
RecommendedPlan & WithPlanCode(PlanCodeT &&value)
void SetDowngradePlanCodes(DowngradePlanCodesT &&value)
AWS_APPMONETIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIncludedQuotas(IncludedQuotasT &&value)
RecommendedPlan & WithName(NameT &&value)
bool BillingCycleHasBeenSet() const
bool IncludedQuotasHasBeenSet() const
void SetPrice(PriceT &&value)
RecommendedPlan & WithPrice(PriceT &&value)
const Aws::Vector< RecommendedQuota > & GetIncludedQuotas() const
void SetPlanCode(PlanCodeT &&value)
RecommendedPlan & AddUpgradePlanCodes(UpgradePlanCodesT &&value)
bool PlanCodeHasBeenSet() const
const Aws::String & GetPlanCode() const
const Aws::String & GetName() const
bool PriceHasBeenSet() const
const Aws::Vector< Aws::String > & GetDowngradePlanCodes() const
const Price & GetPrice() const
bool DowngradePlanCodesHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue