7#include <aws/internetmonitor/InternetMonitor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace InternetMonitor
47 template<
typename ASNameT = Aws::String>
48 void SetASName(ASNameT&& value) { m_aSNameHasBeenSet =
true; m_aSName = std::forward<ASNameT>(value); }
49 template<
typename ASNameT = Aws::String>
60 inline void SetASNumber(
long long value) { m_aSNumberHasBeenSet =
true; m_aSNumber = value; }
70 template<
typename CountryT = Aws::String>
71 void SetCountry(CountryT&& value) { m_countryHasBeenSet =
true; m_country = std::forward<CountryT>(value); }
72 template<
typename CountryT = Aws::String>
85 template<
typename SubdivisionT = Aws::String>
86 void SetSubdivision(SubdivisionT&& value) { m_subdivisionHasBeenSet =
true; m_subdivision = std::forward<SubdivisionT>(value); }
87 template<
typename SubdivisionT = Aws::String>
101 template<
typename MetroT = Aws::String>
102 void SetMetro(MetroT&& value) { m_metroHasBeenSet =
true; m_metro = std::forward<MetroT>(value); }
103 template<
typename MetroT = Aws::String>
113 template<
typename CityT = Aws::String>
114 void SetCity(CityT&& value) { m_cityHasBeenSet =
true; m_city = std::forward<CityT>(value); }
115 template<
typename CityT = Aws::String>
125 inline void SetLatitude(
double value) { m_latitudeHasBeenSet =
true; m_latitude = value; }
135 inline void SetLongitude(
double value) { m_longitudeHasBeenSet =
true; m_longitude = value; }
141 bool m_aSNameHasBeenSet =
false;
143 long long m_aSNumber{0};
144 bool m_aSNumberHasBeenSet =
false;
147 bool m_countryHasBeenSet =
false;
150 bool m_subdivisionHasBeenSet =
false;
153 bool m_metroHasBeenSet =
false;
156 bool m_cityHasBeenSet =
false;
158 double m_latitude{0.0};
159 bool m_latitudeHasBeenSet =
false;
161 double m_longitude{0.0};
162 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