7#include <aws/appmonetization/AppMonetization_EXPORTS.h>
8#include <aws/appmonetization/model/AlternativesOutcome.h>
9#include <aws/appmonetization/model/CostOutcome.h>
10#include <aws/appmonetization/model/PlanOptionsOutcome.h>
11#include <aws/appmonetization/model/Price.h>
12#include <aws/appmonetization/model/PriceRange.h>
13#include <aws/appmonetization/model/PricingAnalysis.h>
14#include <aws/appmonetization/model/PricingModel.h>
15#include <aws/appmonetization/model/RecommendationConfidence.h>
16#include <aws/appmonetization/model/RecommendationVerdict.h>
17#include <aws/appmonetization/model/RecommendedCreditPack.h>
18#include <aws/appmonetization/model/RecommendedPlan.h>
19#include <aws/appmonetization/model/UnitPrice.h>
20#include <aws/core/http/HttpResponse.h>
21#include <aws/core/utils/memory/stl/AWSString.h>
22#include <aws/core/utils/memory/stl/AWSVector.h>
27template <
typename RESULT_TYPE>
28class AmazonWebServiceResult;
35namespace AppMonetization {
59 m_pricingModelHasBeenSet =
true;
60 m_pricingModel = value;
75 template <
typename RecommendedPriceT = Price>
77 m_recommendedPriceHasBeenSet =
true;
78 m_recommendedPrice = std::forward<RecommendedPriceT>(value);
80 template <
typename RecommendedPriceT = Price>
94 template <
typename RecommendedPriceRangeT = PriceRange>
96 m_recommendedPriceRangeHasBeenSet =
true;
97 m_recommendedPriceRange = std::forward<RecommendedPriceRangeT>(value);
99 template <
typename RecommendedPriceRangeT = PriceRange>
111 template <
typename UnitPricesT = Aws::Vector<UnitPrice>>
113 m_unitPricesHasBeenSet =
true;
114 m_unitPrices = std::forward<UnitPricesT>(value);
116 template <
typename UnitPricesT = Aws::Vector<UnitPrice>>
121 template <
typename UnitPricesT = UnitPrice>
123 m_unitPricesHasBeenSet =
true;
124 m_unitPrices.emplace_back(std::forward<UnitPricesT>(value));
135 template <
typename PlansT = Aws::Vector<RecommendedPlan>>
137 m_plansHasBeenSet =
true;
138 m_plans = std::forward<PlansT>(value);
140 template <
typename PlansT = Aws::Vector<RecommendedPlan>>
142 SetPlans(std::forward<PlansT>(value));
145 template <
typename PlansT = RecommendedPlan>
147 m_plansHasBeenSet =
true;
148 m_plans.emplace_back(std::forward<PlansT>(value));
159 template <
typename CreditPacksT = Aws::Vector<RecommendedCreditPack>>
161 m_creditPacksHasBeenSet =
true;
162 m_creditPacks = std::forward<CreditPacksT>(value);
164 template <
typename CreditPacksT = Aws::Vector<RecommendedCreditPack>>
169 template <
typename CreditPacksT = RecommendedCreditPack>
171 m_creditPacksHasBeenSet =
true;
172 m_creditPacks.emplace_back(std::forward<CreditPacksT>(value));
183 m_verdictHasBeenSet =
true;
198 m_confidenceHasBeenSet =
true;
199 m_confidence = value;
212 template <
typename Conf
idenceReasonT = Aws::String>
214 m_confidenceReasonHasBeenSet =
true;
215 m_confidenceReason = std::forward<ConfidenceReasonT>(value);
217 template <
typename Conf
idenceReasonT = Aws::String>
230 template <
typename BasisT = Aws::String>
232 m_basisHasBeenSet =
true;
233 m_basis = std::forward<BasisT>(value);
235 template <
typename BasisT = Aws::String>
237 SetBasis(std::forward<BasisT>(value));
247 template <
typename CostsT = CostOutcome>
249 m_costsHasBeenSet =
true;
250 m_costs = std::forward<CostsT>(value);
252 template <
typename CostsT = CostOutcome>
254 SetCosts(std::forward<CostsT>(value));
264 template <
typename AlternativesT = AlternativesOutcome>
266 m_alternativesHasBeenSet =
true;
267 m_alternatives = std::forward<AlternativesT>(value);
269 template <
typename AlternativesT = AlternativesOutcome>
282 template <
typename PlanOptionsT = PlanOptionsOutcome>
284 m_planOptionsHasBeenSet =
true;
285 m_planOptions = std::forward<PlanOptionsT>(value);
287 template <
typename PlanOptionsT = PlanOptionsOutcome>
299 template <
typename AnalysisT = PricingAnalysis>
301 m_analysisHasBeenSet =
true;
302 m_analysis = std::forward<AnalysisT>(value);
304 template <
typename AnalysisT = PricingAnalysis>
317 template <
typename RecommendationVersionT = Aws::String>
319 m_recommendationVersionHasBeenSet =
true;
320 m_recommendationVersion = std::forward<RecommendationVersionT>(value);
322 template <
typename RecommendationVersionT = Aws::String>
335 template <
typename SummaryT = Aws::String>
337 m_summaryHasBeenSet =
true;
338 m_summary = std::forward<SummaryT>(value);
340 template <
typename SummaryT = Aws::String>
354 template <
typename DetailsT = Aws::String>
356 m_detailsHasBeenSet =
true;
357 m_details = std::forward<DetailsT>(value);
359 template <
typename DetailsT = Aws::String>
369 template <
typename RequestIdT = Aws::String>
371 m_requestIdHasBeenSet =
true;
372 m_requestId = std::forward<RequestIdT>(value);
374 template <
typename RequestIdT = Aws::String>
385 Price m_recommendedPrice;
387 PriceRange m_recommendedPriceRange;
405 AlternativesOutcome m_alternatives;
407 PlanOptionsOutcome m_planOptions;
409 PricingAnalysis m_analysis;
419 bool m_pricingModelHasBeenSet =
false;
420 bool m_recommendedPriceHasBeenSet =
false;
421 bool m_recommendedPriceRangeHasBeenSet =
false;
422 bool m_unitPricesHasBeenSet =
false;
423 bool m_plansHasBeenSet =
false;
424 bool m_creditPacksHasBeenSet =
false;
425 bool m_verdictHasBeenSet =
false;
426 bool m_confidenceHasBeenSet =
false;
427 bool m_confidenceReasonHasBeenSet =
false;
428 bool m_basisHasBeenSet =
false;
429 bool m_costsHasBeenSet =
false;
430 bool m_alternativesHasBeenSet =
false;
431 bool m_planOptionsHasBeenSet =
false;
432 bool m_analysisHasBeenSet =
false;
433 bool m_recommendationVersionHasBeenSet =
false;
434 bool m_summaryHasBeenSet =
false;
435 bool m_detailsHasBeenSet =
false;
436 bool m_requestIdHasBeenSet =
false;
void SetBasis(BasisT &&value)
GetPlanRecommendationResult & WithRecommendedPriceRange(RecommendedPriceRangeT &&value)
void SetRecommendationVersion(RecommendationVersionT &&value)
GetPlanRecommendationResult & WithDetails(DetailsT &&value)
GetPlanRecommendationResult & WithRequestId(RequestIdT &&value)
void SetConfidenceReason(ConfidenceReasonT &&value)
const CostOutcome & GetCosts() const
const PlanOptionsOutcome & GetPlanOptions() const
void SetCosts(CostsT &&value)
GetPlanRecommendationResult & WithBasis(BasisT &&value)
void SetRequestId(RequestIdT &&value)
GetPlanRecommendationResult & WithAnalysis(AnalysisT &&value)
GetPlanRecommendationResult & WithAlternatives(AlternativesT &&value)
const Aws::Vector< RecommendedPlan > & GetPlans() const
AWS_APPMONETIZATION_API GetPlanRecommendationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPlanRecommendationResult & AddCreditPacks(CreditPacksT &&value)
const Aws::String & GetBasis() const
PricingModel GetPricingModel() const
const AlternativesOutcome & GetAlternatives() const
GetPlanRecommendationResult & AddPlans(PlansT &&value)
const Aws::Vector< UnitPrice > & GetUnitPrices() const
void SetSummary(SummaryT &&value)
void SetConfidence(RecommendationConfidence value)
GetPlanRecommendationResult & WithVerdict(RecommendationVerdict value)
GetPlanRecommendationResult & WithPlanOptions(PlanOptionsT &&value)
GetPlanRecommendationResult & WithRecommendationVersion(RecommendationVersionT &&value)
void SetPlanOptions(PlanOptionsT &&value)
GetPlanRecommendationResult & WithRecommendedPrice(RecommendedPriceT &&value)
GetPlanRecommendationResult & WithConfidence(RecommendationConfidence value)
const Price & GetRecommendedPrice() const
GetPlanRecommendationResult & AddUnitPrices(UnitPricesT &&value)
void SetCreditPacks(CreditPacksT &&value)
GetPlanRecommendationResult & WithConfidenceReason(ConfidenceReasonT &&value)
GetPlanRecommendationResult & WithCosts(CostsT &&value)
const PriceRange & GetRecommendedPriceRange() const
const Aws::String & GetConfidenceReason() const
GetPlanRecommendationResult & WithPricingModel(PricingModel value)
const Aws::String & GetSummary() const
AWS_APPMONETIZATION_API GetPlanRecommendationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetPricingModel(PricingModel value)
RecommendationVerdict GetVerdict() const
AWS_APPMONETIZATION_API GetPlanRecommendationResult()=default
void SetAlternatives(AlternativesT &&value)
void SetRecommendedPriceRange(RecommendedPriceRangeT &&value)
GetPlanRecommendationResult & WithUnitPrices(UnitPricesT &&value)
void SetAnalysis(AnalysisT &&value)
const Aws::String & GetRequestId() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetPlans(PlansT &&value)
void SetVerdict(RecommendationVerdict value)
const Aws::Vector< RecommendedCreditPack > & GetCreditPacks() const
GetPlanRecommendationResult & WithPlans(PlansT &&value)
const Aws::String & GetDetails() const
GetPlanRecommendationResult & WithSummary(SummaryT &&value)
void SetDetails(DetailsT &&value)
void SetRecommendedPrice(RecommendedPriceT &&value)
void SetUnitPrices(UnitPricesT &&value)
const Aws::String & GetRecommendationVersion() const
GetPlanRecommendationResult & WithCreditPacks(CreditPacksT &&value)
RecommendationConfidence GetConfidence() const
const PricingAnalysis & GetAnalysis() 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