7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
9#include <aws/devops-guru/model/CostEstimationServiceResourceState.h>
46 template <
typename TypeT = Aws::String>
48 m_typeHasBeenSet =
true;
49 m_type = std::forward<TypeT>(value);
51 template <
typename TypeT = Aws::String>
53 SetType(std::forward<TypeT>(value));
68 m_stateHasBeenSet =
true;
82 inline int GetCount()
const {
return m_count; }
85 m_countHasBeenSet =
true;
106 m_unitCostHasBeenSet =
true;
120 inline double GetCost()
const {
return m_cost; }
123 m_costHasBeenSet =
true;
138 double m_unitCost{0.0};
141 bool m_typeHasBeenSet =
false;
142 bool m_stateHasBeenSet =
false;
143 bool m_countHasBeenSet =
false;
144 bool m_unitCostHasBeenSet =
false;
145 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