7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devops-guru/model/CostEstimationServiceResourceState.h>
52 template<
typename TypeT = Aws::String>
53 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
54 template<
typename TypeT = Aws::String>
76 inline int GetCount()
const {
return m_count; }
78 inline void SetCount(
int value) { m_countHasBeenSet =
true; m_count = value; }
93 inline void SetUnitCost(
double value) { m_unitCostHasBeenSet =
true; m_unitCost = value; }
102 inline double GetCost()
const {
return m_cost; }
104 inline void SetCost(
double value) { m_costHasBeenSet =
true; m_cost = value; }
110 bool m_typeHasBeenSet =
false;
113 bool m_stateHasBeenSet =
false;
116 bool m_countHasBeenSet =
false;
118 double m_unitCost{0.0};
119 bool m_unitCostHasBeenSet =
false;
122 bool m_costHasBeenSet =
false;
bool CountHasBeenSet() const
const Aws::String & GetType() const
ServiceResourceCost & WithUnitCost(double value)
AWS_DEVOPSGURU_API ServiceResourceCost()=default
bool UnitCostHasBeenSet() const
void SetState(CostEstimationServiceResourceState value)
CostEstimationServiceResourceState GetState() const
bool StateHasBeenSet() const
void SetType(TypeT &&value)
void SetUnitCost(double value)
ServiceResourceCost & WithCost(double value)
ServiceResourceCost & WithCount(int value)
void SetCost(double value)
AWS_DEVOPSGURU_API ServiceResourceCost & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceResourceCost & WithState(CostEstimationServiceResourceState value)
bool CostHasBeenSet() const
double GetUnitCost() const
bool TypeHasBeenSet() const
ServiceResourceCost & WithType(TypeT &&value)
AWS_DEVOPSGURU_API ServiceResourceCost(Aws::Utils::Json::JsonView jsonValue)
CostEstimationServiceResourceState
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue