AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourcePricing.h
1
6#pragma once
7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
8#include <aws/cost-optimization-hub/model/EstimatedDiscounts.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CostOptimizationHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_COSTOPTIMIZATIONHUB_API ResourcePricing();
36 AWS_COSTOPTIMIZATIONHUB_API ResourcePricing(Aws::Utils::Json::JsonView jsonValue);
37 AWS_COSTOPTIMIZATIONHUB_API ResourcePricing& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline double GetEstimatedCostBeforeDiscounts() const{ return m_estimatedCostBeforeDiscounts; }
47 inline bool EstimatedCostBeforeDiscountsHasBeenSet() const { return m_estimatedCostBeforeDiscountsHasBeenSet; }
48 inline void SetEstimatedCostBeforeDiscounts(double value) { m_estimatedCostBeforeDiscountsHasBeenSet = true; m_estimatedCostBeforeDiscounts = value; }
51
53
56 inline double GetEstimatedNetUnusedAmortizedCommitments() const{ return m_estimatedNetUnusedAmortizedCommitments; }
57 inline bool EstimatedNetUnusedAmortizedCommitmentsHasBeenSet() const { return m_estimatedNetUnusedAmortizedCommitmentsHasBeenSet; }
58 inline void SetEstimatedNetUnusedAmortizedCommitments(double value) { m_estimatedNetUnusedAmortizedCommitmentsHasBeenSet = true; m_estimatedNetUnusedAmortizedCommitments = value; }
61
63
66 inline const EstimatedDiscounts& GetEstimatedDiscounts() const{ return m_estimatedDiscounts; }
67 inline bool EstimatedDiscountsHasBeenSet() const { return m_estimatedDiscountsHasBeenSet; }
68 inline void SetEstimatedDiscounts(const EstimatedDiscounts& value) { m_estimatedDiscountsHasBeenSet = true; m_estimatedDiscounts = value; }
69 inline void SetEstimatedDiscounts(EstimatedDiscounts&& value) { m_estimatedDiscountsHasBeenSet = true; m_estimatedDiscounts = std::move(value); }
71 inline ResourcePricing& WithEstimatedDiscounts(EstimatedDiscounts&& value) { SetEstimatedDiscounts(std::move(value)); return *this;}
73
75
79 inline double GetEstimatedCostAfterDiscounts() const{ return m_estimatedCostAfterDiscounts; }
80 inline bool EstimatedCostAfterDiscountsHasBeenSet() const { return m_estimatedCostAfterDiscountsHasBeenSet; }
81 inline void SetEstimatedCostAfterDiscounts(double value) { m_estimatedCostAfterDiscountsHasBeenSet = true; m_estimatedCostAfterDiscounts = value; }
84 private:
85
86 double m_estimatedCostBeforeDiscounts;
87 bool m_estimatedCostBeforeDiscountsHasBeenSet = false;
88
89 double m_estimatedNetUnusedAmortizedCommitments;
90 bool m_estimatedNetUnusedAmortizedCommitmentsHasBeenSet = false;
91
92 EstimatedDiscounts m_estimatedDiscounts;
93 bool m_estimatedDiscountsHasBeenSet = false;
94
95 double m_estimatedCostAfterDiscounts;
96 bool m_estimatedCostAfterDiscountsHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace CostOptimizationHub
101} // namespace Aws
void SetEstimatedDiscounts(const EstimatedDiscounts &value)
ResourcePricing & WithEstimatedDiscounts(EstimatedDiscounts &&value)
AWS_COSTOPTIMIZATIONHUB_API ResourcePricing()
ResourcePricing & WithEstimatedNetUnusedAmortizedCommitments(double value)
AWS_COSTOPTIMIZATIONHUB_API ResourcePricing & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COSTOPTIMIZATIONHUB_API ResourcePricing(Aws::Utils::Json::JsonView jsonValue)
ResourcePricing & WithEstimatedCostBeforeDiscounts(double value)
ResourcePricing & WithEstimatedDiscounts(const EstimatedDiscounts &value)
void SetEstimatedDiscounts(EstimatedDiscounts &&value)
const EstimatedDiscounts & GetEstimatedDiscounts() const
ResourcePricing & WithEstimatedCostAfterDiscounts(double value)
Aws::Utils::Json::JsonValue JsonValue