7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
58 inline double GetMax()
const{
return m_max; }
60 inline void SetMax(
double value) { m_maxHasBeenSet =
true; m_max = value; }
70 inline void SetAverage(
double value) { m_averageHasBeenSet =
true; m_average = value; }
78 inline double GetSum()
const{
return m_sum; }
80 inline void SetSum(
double value) { m_sumHasBeenSet =
true; m_sum = value; }
88 inline int GetN()
const{
return m_n; }
90 inline void SetN(
int value) { m_nHasBeenSet =
true; m_n = value; }
102 inline void SetUnit(
const char* value) { m_unitHasBeenSet =
true; m_unit.assign(value); }
110 bool m_nameHasBeenSet =
false;
113 bool m_maxHasBeenSet =
false;
116 bool m_averageHasBeenSet =
false;
119 bool m_sumHasBeenSet =
false;
122 bool m_nHasBeenSet =
false;
125 bool m_unitHasBeenSet =
false;
const Aws::String & GetName() const
SummarizedCounter & WithUnit(const Aws::String &value)
void SetName(const Aws::String &value)
double GetAverage() const
void SetAverage(double value)
AWS_SHIELD_API SummarizedCounter()
void SetName(const char *value)
bool MaxHasBeenSet() const
void SetName(Aws::String &&value)
bool UnitHasBeenSet() const
const Aws::String & GetUnit() const
SummarizedCounter & WithName(Aws::String &&value)
bool SumHasBeenSet() const
SummarizedCounter & WithName(const char *value)
void SetUnit(const Aws::String &value)
void SetUnit(const char *value)
AWS_SHIELD_API SummarizedCounter & operator=(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const
SummarizedCounter & WithSum(double value)
void SetSum(double value)
AWS_SHIELD_API SummarizedCounter(Aws::Utils::Json::JsonView jsonValue)
bool AverageHasBeenSet() const
SummarizedCounter & WithName(const Aws::String &value)
SummarizedCounter & WithUnit(Aws::String &&value)
void SetMax(double value)
void SetUnit(Aws::String &&value)
SummarizedCounter & WithUnit(const char *value)
SummarizedCounter & WithN(int value)
SummarizedCounter & WithMax(double value)
SummarizedCounter & WithAverage(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue