7#include <aws/appmonetization/AppMonetization_EXPORTS.h>
8#include <aws/appmonetization/model/BreakEvenRange.h>
9#include <aws/appmonetization/model/CostCover.h>
10#include <aws/appmonetization/model/CostCoverStatus.h>
11#include <aws/appmonetization/model/PlanRecommendationCostStatus.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
23namespace AppMonetization {
47 m_statusHasBeenSet =
true;
64 m_coverStatusHasBeenSet =
true;
65 m_coverStatus = value;
80 template <
typename CoverPricesT = Aws::Vector<CostCover>>
82 m_coverPricesHasBeenSet =
true;
83 m_coverPrices = std::forward<CoverPricesT>(value);
85 template <
typename CoverPricesT = Aws::Vector<CostCover>>
90 template <
typename CoverPricesT = CostCover>
92 m_coverPricesHasBeenSet =
true;
93 m_coverPrices.emplace_back(std::forward<CoverPricesT>(value));
105 template <
typename BreakEvenT = BreakEvenRange>
107 m_breakEvenHasBeenSet =
true;
108 m_breakEven = std::forward<BreakEvenT>(value);
110 template <
typename BreakEvenT = BreakEvenRange>
125 m_impliedMarginHasBeenSet =
true;
126 m_impliedMargin = value;
140 BreakEvenRange m_breakEven;
142 double m_impliedMargin{0.0};
143 bool m_statusHasBeenSet =
false;
144 bool m_coverStatusHasBeenSet =
false;
145 bool m_coverPricesHasBeenSet =
false;
146 bool m_breakEvenHasBeenSet =
false;
147 bool m_impliedMarginHasBeenSet =
false;
bool BreakEvenHasBeenSet() const
void SetBreakEven(BreakEvenT &&value)
const BreakEvenRange & GetBreakEven() const
void SetCoverPrices(CoverPricesT &&value)
AWS_APPMONETIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCoverStatus(CostCoverStatus value)
const Aws::Vector< CostCover > & GetCoverPrices() const
CostOutcome & WithImpliedMargin(double value)
bool StatusHasBeenSet() const
AWS_APPMONETIZATION_API CostOutcome & operator=(Aws::Utils::Json::JsonView jsonValue)
CostOutcome & WithCoverStatus(CostCoverStatus value)
AWS_APPMONETIZATION_API CostOutcome()=default
double GetImpliedMargin() const
bool CoverStatusHasBeenSet() const
AWS_APPMONETIZATION_API CostOutcome(Aws::Utils::Json::JsonView jsonValue)
bool CoverPricesHasBeenSet() const
CostOutcome & WithCoverPrices(CoverPricesT &&value)
CostOutcome & WithStatus(PlanRecommendationCostStatus value)
CostOutcome & AddCoverPrices(CoverPricesT &&value)
void SetStatus(PlanRecommendationCostStatus value)
void SetImpliedMargin(double value)
CostOutcome & WithBreakEven(BreakEvenT &&value)
CostCoverStatus GetCoverStatus() const
bool ImpliedMarginHasBeenSet() const
PlanRecommendationCostStatus GetStatus() const
PlanRecommendationCostStatus
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue