7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/internetmonitor/InternetMonitor_EXPORTS.h>
19namespace InternetMonitor {
41 template <
typename ASNameT = Aws::String>
43 m_aSNameHasBeenSet =
true;
44 m_aSName = std::forward<ASNameT>(value);
46 template <
typename ASNameT = Aws::String>
61 m_aSNumberHasBeenSet =
true;
76 template <
typename CountryT = Aws::String>
78 m_countryHasBeenSet =
true;
79 m_country = std::forward<CountryT>(value);
81 template <
typename CountryT = Aws::String>
97 template <
typename SubdivisionT = Aws::String>
99 m_subdivisionHasBeenSet =
true;
100 m_subdivision = std::forward<SubdivisionT>(value);
102 template <
typename SubdivisionT = Aws::String>
119 template <
typename MetroT = Aws::String>
121 m_metroHasBeenSet =
true;
122 m_metro = std::forward<MetroT>(value);
124 template <
typename MetroT = Aws::String>
126 SetMetro(std::forward<MetroT>(value));
137 template <
typename CityT = Aws::String>
139 m_cityHasBeenSet =
true;
140 m_city = std::forward<CityT>(value);
142 template <
typename CityT = Aws::String>
144 SetCity(std::forward<CityT>(value));
156 m_latitudeHasBeenSet =
true;
172 m_longitudeHasBeenSet =
true;
183 long long m_aSNumber{0};
193 double m_latitude{0.0};
195 double m_longitude{0.0};
196 bool m_aSNameHasBeenSet =
false;
197 bool m_aSNumberHasBeenSet =
false;
198 bool m_countryHasBeenSet =
false;
199 bool m_subdivisionHasBeenSet =
false;
200 bool m_metroHasBeenSet =
false;
201 bool m_cityHasBeenSet =
false;
202 bool m_latitudeHasBeenSet =
false;
203 bool m_longitudeHasBeenSet =
false;
ClientLocation & WithASNumber(long long value)
const Aws::String & GetMetro() const
const Aws::String & GetCity() const
ClientLocation & WithLongitude(double value)
AWS_INTERNETMONITOR_API ClientLocation(Aws::Utils::Json::JsonView jsonValue)
AWS_INTERNETMONITOR_API ClientLocation()=default
void SetMetro(MetroT &&value)
bool ASNumberHasBeenSet() const
void SetLongitude(double value)
bool CountryHasBeenSet() const
AWS_INTERNETMONITOR_API ClientLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
bool LatitudeHasBeenSet() const
ClientLocation & WithMetro(MetroT &&value)
const Aws::String & GetSubdivision() const
bool MetroHasBeenSet() const
void SetSubdivision(SubdivisionT &&value)
void SetCity(CityT &&value)
const Aws::String & GetASName() const
bool LongitudeHasBeenSet() const
ClientLocation & WithCountry(CountryT &&value)
ClientLocation & WithASName(ASNameT &&value)
long long GetASNumber() const
void SetCountry(CountryT &&value)
ClientLocation & WithLatitude(double value)
ClientLocation & WithSubdivision(SubdivisionT &&value)
const Aws::String & GetCountry() const
double GetLongitude() const
void SetASName(ASNameT &&value)
void SetASNumber(long long value)
ClientLocation & WithCity(CityT &&value)
bool SubdivisionHasBeenSet() const
void SetLatitude(double value)
double GetLatitude() const
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