7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
47 inline long long GetCount()
const{
return m_count; }
49 inline void SetCount(
long long value) { m_countHasBeenSet =
true; m_count = value; }
66 inline MetricValue&
AddCidrs(
const char* value) { m_cidrsHasBeenSet =
true; m_cidrs.push_back(value);
return *
this; }
80 inline MetricValue&
AddPorts(
int value) { m_portsHasBeenSet =
true; m_ports.push_back(value);
return *
this; }
89 inline void SetNumber(
double value) { m_numberHasBeenSet =
true; m_number = value; }
103 inline MetricValue&
AddNumbers(
double value) { m_numbersHasBeenSet =
true; m_numbers.push_back(value);
return *
this; }
118 inline MetricValue&
AddStrings(
const char* value) { m_stringsHasBeenSet =
true; m_strings.push_back(value);
return *
this; }
123 bool m_countHasBeenSet =
false;
126 bool m_cidrsHasBeenSet =
false;
129 bool m_portsHasBeenSet =
false;
132 bool m_numberHasBeenSet =
false;
135 bool m_numbersHasBeenSet =
false;
138 bool m_stringsHasBeenSet =
false;
MetricValue & WithCidrs(Aws::Vector< Aws::String > &&value)
MetricValue & AddStrings(const Aws::String &value)
void SetStrings(Aws::Vector< Aws::String > &&value)
MetricValue & WithCount(long long value)
void SetCount(long long value)
bool CidrsHasBeenSet() const
bool CountHasBeenSet() const
MetricValue & WithNumbers(const Aws::Vector< double > &value)
MetricValue & WithNumber(double value)
MetricValue & AddCidrs(Aws::String &&value)
void SetPorts(Aws::Vector< int > &&value)
MetricValue & WithStrings(const Aws::Vector< Aws::String > &value)
void SetCidrs(Aws::Vector< Aws::String > &&value)
MetricValue & AddPorts(int value)
MetricValue & WithCidrs(const Aws::Vector< Aws::String > &value)
MetricValue & WithStrings(Aws::Vector< Aws::String > &&value)
const Aws::Vector< double > & GetNumbers() const
bool NumbersHasBeenSet() const
MetricValue & AddNumbers(double value)
void SetStrings(const Aws::Vector< Aws::String > &value)
void SetNumbers(Aws::Vector< double > &&value)
const Aws::Vector< int > & GetPorts() const
bool StringsHasBeenSet() const
MetricValue & AddStrings(const char *value)
bool NumberHasBeenSet() const
long long GetCount() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API MetricValue & operator=(Aws::Utils::Json::JsonView jsonValue)
MetricValue & AddCidrs(const char *value)
void SetPorts(const Aws::Vector< int > &value)
bool PortsHasBeenSet() const
AWS_IOT_API MetricValue()
const Aws::Vector< Aws::String > & GetStrings() const
MetricValue & AddCidrs(const Aws::String &value)
void SetNumber(double value)
void SetNumbers(const Aws::Vector< double > &value)
MetricValue & WithPorts(const Aws::Vector< int > &value)
void SetCidrs(const Aws::Vector< Aws::String > &value)
MetricValue & WithPorts(Aws::Vector< int > &&value)
AWS_IOT_API MetricValue(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetCidrs() const
MetricValue & AddStrings(Aws::String &&value)
MetricValue & WithNumbers(Aws::Vector< double > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue