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>
54 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
82 inline void SetCount(
int value) { m_countHasBeenSet =
true; m_count = value; }
97 inline void SetUnitCost(
double value) { m_unitCostHasBeenSet =
true; m_unitCost = value; }
106 inline double GetCost()
const{
return m_cost; }
108 inline void SetCost(
double value) { m_costHasBeenSet =
true; m_cost = value; }
114 bool m_typeHasBeenSet =
false;
117 bool m_stateHasBeenSet =
false;
120 bool m_countHasBeenSet =
false;
123 bool m_unitCostHasBeenSet =
false;
126 bool m_costHasBeenSet =
false;
ServiceResourceCost & WithType(const char *value)
bool CountHasBeenSet() const
void SetType(Aws::String &&value)
const Aws::String & GetType() const
ServiceResourceCost & WithUnitCost(double value)
bool UnitCostHasBeenSet() const
bool StateHasBeenSet() const
ServiceResourceCost & WithState(CostEstimationServiceResourceState &&value)
void SetState(const CostEstimationServiceResourceState &value)
void SetUnitCost(double value)
ServiceResourceCost & WithState(const CostEstimationServiceResourceState &value)
ServiceResourceCost & WithType(Aws::String &&value)
ServiceResourceCost & WithCost(double value)
ServiceResourceCost & WithCount(int value)
void SetType(const char *value)
AWS_DEVOPSGURU_API ServiceResourceCost()
void SetCost(double value)
AWS_DEVOPSGURU_API ServiceResourceCost & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
bool CostHasBeenSet() const
double GetUnitCost() const
bool TypeHasBeenSet() const
void SetType(const Aws::String &value)
AWS_DEVOPSGURU_API ServiceResourceCost(Aws::Utils::Json::JsonView jsonValue)
ServiceResourceCost & WithType(const Aws::String &value)
const CostEstimationServiceResourceState & GetState() const
void SetState(CostEstimationServiceResourceState &&value)
CostEstimationServiceResourceState
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue