7#include <aws/internetmonitor/InternetMonitor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace InternetMonitor
49 inline void SetASName(
const char* value) { m_aSNameHasBeenSet =
true; m_aSName.assign(value); }
62 inline void SetASNumber(
long long value) { m_aSNumberHasBeenSet =
true; m_aSNumber = value; }
74 inline void SetCountry(
const char* value) { m_countryHasBeenSet =
true; m_country.assign(value); }
91 inline void SetSubdivision(
const char* value) { m_subdivisionHasBeenSet =
true; m_subdivision.assign(value); }
109 inline void SetMetro(
const char* value) { m_metroHasBeenSet =
true; m_metro.assign(value); }
123 inline void SetCity(
const char* value) { m_cityHasBeenSet =
true; m_city.assign(value); }
135 inline void SetLatitude(
double value) { m_latitudeHasBeenSet =
true; m_latitude = value; }
145 inline void SetLongitude(
double value) { m_longitudeHasBeenSet =
true; m_longitude = value; }
151 bool m_aSNameHasBeenSet =
false;
153 long long m_aSNumber;
154 bool m_aSNumberHasBeenSet =
false;
157 bool m_countryHasBeenSet =
false;
160 bool m_subdivisionHasBeenSet =
false;
163 bool m_metroHasBeenSet =
false;
166 bool m_cityHasBeenSet =
false;
169 bool m_latitudeHasBeenSet =
false;
172 bool m_longitudeHasBeenSet =
false;
ClientLocation & WithASNumber(long long value)
void SetSubdivision(Aws::String &&value)
void SetMetro(Aws::String &&value)
ClientLocation & WithCity(Aws::String &&value)
const Aws::String & GetMetro() const
void SetMetro(const Aws::String &value)
void SetCity(const Aws::String &value)
void SetASName(Aws::String &&value)
const Aws::String & GetCity() const
ClientLocation & WithLongitude(double value)
ClientLocation & WithCountry(Aws::String &&value)
ClientLocation & WithMetro(const char *value)
AWS_INTERNETMONITOR_API ClientLocation()
ClientLocation & WithASName(const char *value)
ClientLocation & WithSubdivision(const char *value)
AWS_INTERNETMONITOR_API ClientLocation(Aws::Utils::Json::JsonView jsonValue)
ClientLocation & WithASName(const Aws::String &value)
ClientLocation & WithMetro(const Aws::String &value)
void SetCountry(const char *value)
bool ASNumberHasBeenSet() const
void SetLongitude(double value)
bool CountryHasBeenSet() const
ClientLocation & WithCity(const char *value)
void SetSubdivision(const Aws::String &value)
AWS_INTERNETMONITOR_API ClientLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
bool LatitudeHasBeenSet() const
ClientLocation & WithMetro(Aws::String &&value)
void SetCountry(Aws::String &&value)
ClientLocation & WithASName(Aws::String &&value)
ClientLocation & WithSubdivision(Aws::String &&value)
const Aws::String & GetSubdivision() const
bool MetroHasBeenSet() const
void SetCity(const char *value)
const Aws::String & GetASName() const
void SetASName(const char *value)
void SetSubdivision(const char *value)
void SetASName(const Aws::String &value)
bool LongitudeHasBeenSet() const
ClientLocation & WithCountry(const char *value)
long long GetASNumber() const
void SetMetro(const char *value)
ClientLocation & WithLatitude(double value)
const Aws::String & GetCountry() const
double GetLongitude() const
void SetASNumber(long long value)
ClientLocation & WithCity(const Aws::String &value)
void SetCity(Aws::String &&value)
ClientLocation & WithCountry(const Aws::String &value)
bool SubdivisionHasBeenSet() const
void SetLatitude(double value)
double GetLatitude() const
void SetCountry(const Aws::String &value)
ClientLocation & WithSubdivision(const Aws::String &value)
bool ASNameHasBeenSet() const
bool CityHasBeenSet() const
AWS_INTERNETMONITOR_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue