7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
9#include <aws/cost-optimization-hub/model/ResourcePricing.h>
10#include <aws/cost-optimization-hub/model/Usage.h>
21namespace CostOptimizationHub {
42 template <
typename UsagesT = Aws::Vector<Usage>>
44 m_usagesHasBeenSet =
true;
45 m_usages = std::forward<UsagesT>(value);
47 template <
typename UsagesT = Aws::Vector<Usage>>
52 template <
typename UsagesT = Usage>
54 m_usagesHasBeenSet =
true;
55 m_usages.emplace_back(std::forward<UsagesT>(value));
66 template <
typename PricingT = ResourcePricing>
68 m_pricingHasBeenSet =
true;
69 m_pricing = std::forward<PricingT>(value);
71 template <
typename PricingT = ResourcePricing>
81 bool m_usagesHasBeenSet =
false;
82 bool m_pricingHasBeenSet =
false;
AWS_COSTOPTIMIZATIONHUB_API ResourceCostCalculation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUsages(UsagesT &&value)
AWS_COSTOPTIMIZATIONHUB_API ResourceCostCalculation(Aws::Utils::Json::JsonView jsonValue)
ResourceCostCalculation & WithPricing(PricingT &&value)
ResourceCostCalculation & WithUsages(UsagesT &&value)
const ResourcePricing & GetPricing() const
bool PricingHasBeenSet() const
AWS_COSTOPTIMIZATIONHUB_API ResourceCostCalculation()=default
const Aws::Vector< Usage > & GetUsages() const
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceCostCalculation & AddUsages(UsagesT &&value)
bool UsagesHasBeenSet() const
void SetPricing(PricingT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue