7#include <aws/appmonetization/AppMonetization_EXPORTS.h>
8#include <aws/appmonetization/model/PlanInclusion.h>
9#include <aws/appmonetization/model/PlanPrice.h>
10#include <aws/appmonetization/model/PricingModel.h>
11#include <aws/appmonetization/model/PublishedPrice.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
23namespace AppMonetization {
60 m_pricingModelPreferenceHasBeenSet =
true;
61 m_pricingModelPreference = value;
81 m_freeTierInclusionHasBeenSet =
true;
82 m_freeTierInclusion = value;
112 m_maxTierInclusionHasBeenSet =
true;
113 m_maxTierInclusion = value;
134 m_annualPlanInclusionHasBeenSet =
true;
135 m_annualPlanInclusion = value;
152 m_creditPackInclusionHasBeenSet =
true;
153 m_creditPackInclusion = value;
178 template <
typename PlanPricesT = Aws::Vector<PlanPrice>>
180 m_planPricesHasBeenSet =
true;
181 m_planPrices = std::forward<PlanPricesT>(value);
183 template <
typename PlanPricesT = Aws::Vector<PlanPrice>>
188 template <
typename PlanPricesT = PlanPrice>
190 m_planPricesHasBeenSet =
true;
191 m_planPrices.emplace_back(std::forward<PlanPricesT>(value));
208 template <
typename PublishedPriceT = PublishedPrice>
210 m_publishedPriceHasBeenSet =
true;
211 m_publishedPrice = std::forward<PublishedPriceT>(value);
213 template <
typename PublishedPriceT = PublishedPrice>
232 PublishedPrice m_publishedPrice;
233 bool m_pricingModelPreferenceHasBeenSet =
false;
234 bool m_freeTierInclusionHasBeenSet =
false;
235 bool m_maxTierInclusionHasBeenSet =
false;
236 bool m_annualPlanInclusionHasBeenSet =
false;
237 bool m_creditPackInclusionHasBeenSet =
false;
238 bool m_planPricesHasBeenSet =
false;
239 bool m_publishedPriceHasBeenSet =
false;
const PublishedPrice & GetPublishedPrice() const
void SetPublishedPrice(PublishedPriceT &&value)
AWS_APPMONETIZATION_API PlanOptions()=default
const Aws::Vector< PlanPrice > & GetPlanPrices() const
PlanOptions & WithPricingModelPreference(PricingModel value)
PlanOptions & AddPlanPrices(PlanPricesT &&value)
bool PublishedPriceHasBeenSet() const
void SetFreeTierInclusion(PlanInclusion value)
void SetPricingModelPreference(PricingModel value)
PlanInclusion GetMaxTierInclusion() const
AWS_APPMONETIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
PlanOptions & WithMaxTierInclusion(PlanInclusion value)
void SetPlanPrices(PlanPricesT &&value)
void SetCreditPackInclusion(PlanInclusion value)
PlanOptions & WithCreditPackInclusion(PlanInclusion value)
bool FreeTierInclusionHasBeenSet() const
void SetMaxTierInclusion(PlanInclusion value)
PlanInclusion GetCreditPackInclusion() const
PlanOptions & WithPublishedPrice(PublishedPriceT &&value)
PlanOptions & WithPlanPrices(PlanPricesT &&value)
AWS_APPMONETIZATION_API PlanOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PricingModelPreferenceHasBeenSet() const
bool AnnualPlanInclusionHasBeenSet() const
bool PlanPricesHasBeenSet() const
PlanInclusion GetAnnualPlanInclusion() const
void SetAnnualPlanInclusion(PlanInclusion value)
PricingModel GetPricingModelPreference() const
bool MaxTierInclusionHasBeenSet() const
bool CreditPackInclusionHasBeenSet() const
PlanOptions & WithFreeTierInclusion(PlanInclusion value)
PlanOptions & WithAnnualPlanInclusion(PlanInclusion value)
PlanInclusion GetFreeTierInclusion() const
AWS_APPMONETIZATION_API PlanOptions(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue