7#include <aws/appmonetization/AppMonetizationRequest.h>
8#include <aws/appmonetization/AppMonetization_EXPORTS.h>
9#include <aws/appmonetization/model/AlternativeInputs.h>
10#include <aws/appmonetization/model/BillableAction.h>
11#include <aws/appmonetization/model/CostInputs.h>
12#include <aws/appmonetization/model/CustomerSegment.h>
13#include <aws/appmonetization/model/FeatureScores.h>
14#include <aws/appmonetization/model/MarketInputs.h>
15#include <aws/appmonetization/model/PlanOptions.h>
16#include <aws/appmonetization/model/PlanRecommendationAppType.h>
17#include <aws/appmonetization/model/RequestContext.h>
18#include <aws/appmonetization/model/ValueKind.h>
19#include <aws/core/utils/memory/stl/AWSString.h>
20#include <aws/core/utils/memory/stl/AWSVector.h>
25namespace AppMonetization {
65 template <
typename AppNameT = Aws::String>
67 m_appNameHasBeenSet =
true;
68 m_appName = std::forward<AppNameT>(value);
70 template <
typename AppNameT = Aws::String>
84 m_segmentHasBeenSet =
true;
101 m_appTypeHasBeenSet =
true;
130 m_valueKindHasBeenSet =
true;
152 template <
typename ActionsT = Aws::Vector<BillableAction>>
154 m_actionsHasBeenSet =
true;
155 m_actions = std::forward<ActionsT>(value);
157 template <
typename ActionsT = Aws::Vector<BillableAction>>
162 template <
typename ActionsT = BillableAction>
164 m_actionsHasBeenSet =
true;
165 m_actions.emplace_back(std::forward<ActionsT>(value));
182 m_hourlyRateHasBeenSet =
true;
183 m_hourlyRate = value;
216 m_valueShareHasBeenSet =
true;
217 m_valueShare = value;
239 template <
typename FeaturesT = FeatureScores>
241 m_featuresHasBeenSet =
true;
242 m_features = std::forward<FeaturesT>(value);
244 template <
typename FeaturesT = FeatureScores>
261 template <
typename CostsT = CostInputs>
263 m_costsHasBeenSet =
true;
264 m_costs = std::forward<CostsT>(value);
266 template <
typename CostsT = CostInputs>
268 SetCosts(std::forward<CostsT>(value));
281 template <
typename AlternativesT = AlternativeInputs>
283 m_alternativesHasBeenSet =
true;
284 m_alternatives = std::forward<AlternativesT>(value);
286 template <
typename AlternativesT = AlternativeInputs>
301 template <
typename MarketT = MarketInputs>
303 m_marketHasBeenSet =
true;
304 m_market = std::forward<MarketT>(value);
306 template <
typename MarketT = MarketInputs>
322 template <
typename PlanOptionsT = PlanOptions>
324 m_planOptionsHasBeenSet =
true;
325 m_planOptions = std::forward<PlanOptionsT>(value);
327 template <
typename PlanOptionsT = PlanOptions>
343 template <
typename ContextT = RequestContext>
345 m_contextHasBeenSet =
true;
346 m_context = std::forward<ContextT>(value);
348 template <
typename ContextT = RequestContext>
365 double m_hourlyRate{0.0};
367 double m_valueShare{0.0};
369 FeatureScores m_features;
373 AlternativeInputs m_alternatives;
375 MarketInputs m_market;
377 PlanOptions m_planOptions;
379 RequestContext m_context;
380 bool m_appNameHasBeenSet =
false;
381 bool m_segmentHasBeenSet =
false;
382 bool m_appTypeHasBeenSet =
false;
383 bool m_valueKindHasBeenSet =
false;
384 bool m_actionsHasBeenSet =
false;
385 bool m_hourlyRateHasBeenSet =
false;
386 bool m_valueShareHasBeenSet =
false;
387 bool m_featuresHasBeenSet =
false;
388 bool m_costsHasBeenSet =
false;
389 bool m_alternativesHasBeenSet =
false;
390 bool m_marketHasBeenSet =
false;
391 bool m_planOptionsHasBeenSet =
false;
392 bool m_contextHasBeenSet =
false;
const RequestContext & GetContext() const
GetPlanRecommendationRequest & WithValueKind(ValueKind value)
void SetAppName(AppNameT &&value)
bool MarketHasBeenSet() const
bool ContextHasBeenSet() const
bool ValueKindHasBeenSet() const
GetPlanRecommendationRequest & WithHourlyRate(double value)
void SetActions(ActionsT &&value)
void SetAlternatives(AlternativesT &&value)
void SetValueShare(double value)
double GetHourlyRate() const
GetPlanRecommendationRequest & WithPlanOptions(PlanOptionsT &&value)
PlanRecommendationAppType GetAppType() const
GetPlanRecommendationRequest & WithMarket(MarketT &&value)
void SetFeatures(FeaturesT &&value)
double GetValueShare() const
void SetHourlyRate(double value)
GetPlanRecommendationRequest & WithActions(ActionsT &&value)
void SetAppType(PlanRecommendationAppType value)
AWS_APPMONETIZATION_API Aws::String SerializePayload() const override
void SetPlanOptions(PlanOptionsT &&value)
bool PlanOptionsHasBeenSet() const
bool HourlyRateHasBeenSet() const
const FeatureScores & GetFeatures() const
GetPlanRecommendationRequest & WithAlternatives(AlternativesT &&value)
const Aws::Vector< BillableAction > & GetActions() const
GetPlanRecommendationRequest & AddActions(ActionsT &&value)
virtual const char * GetServiceRequestName() const override
ValueKind GetValueKind() const
void SetContext(ContextT &&value)
void SetValueKind(ValueKind value)
CustomerSegment GetSegment() const
bool SegmentHasBeenSet() const
bool ActionsHasBeenSet() const
bool ValueShareHasBeenSet() const
bool AppNameHasBeenSet() const
bool AppTypeHasBeenSet() const
GetPlanRecommendationRequest & WithValueShare(double value)
GetPlanRecommendationRequest & WithAppType(PlanRecommendationAppType value)
const MarketInputs & GetMarket() const
void SetCosts(CostsT &&value)
bool AlternativesHasBeenSet() const
GetPlanRecommendationRequest & WithFeatures(FeaturesT &&value)
void SetSegment(CustomerSegment value)
GetPlanRecommendationRequest & WithSegment(CustomerSegment value)
GetPlanRecommendationRequest & WithAppName(AppNameT &&value)
GetPlanRecommendationRequest & WithCosts(CostsT &&value)
bool CostsHasBeenSet() const
GetPlanRecommendationRequest & WithContext(ContextT &&value)
const CostInputs & GetCosts() const
void SetMarket(MarketT &&value)
bool FeaturesHasBeenSet() const
const Aws::String & GetAppName() const
AWS_APPMONETIZATION_API GetPlanRecommendationRequest()=default
const AlternativeInputs & GetAlternatives() const
const PlanOptions & GetPlanOptions() const
PlanRecommendationAppType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector