7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename CityT = Aws::String>
48 void SetCity(CityT&& value) { m_cityHasBeenSet =
true; m_city = std::forward<CityT>(value); }
49 template<
typename CityT = Aws::String>
59 template<
typename CountryT = Aws::String>
60 void SetCountry(CountryT&& value) { m_countryHasBeenSet =
true; m_country = std::forward<CountryT>(value); }
61 template<
typename CountryT = Aws::String>
71 inline void SetLatitude(
double value) { m_latitudeHasBeenSet =
true; m_latitude = value; }
81 inline void SetLongitude(
double value) { m_longitudeHasBeenSet =
true; m_longitude = value; }
87 bool m_cityHasBeenSet =
false;
90 bool m_countryHasBeenSet =
false;
92 double m_latitude{0.0};
93 bool m_latitudeHasBeenSet =
false;
95 double m_longitude{0.0};
96 bool m_longitudeHasBeenSet =
false;
bool CountryHasBeenSet() const
void SetLongitude(double value)
AWS_GUARDDUTY_API NetworkGeoLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API NetworkGeoLocation(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCountry() const
AWS_GUARDDUTY_API NetworkGeoLocation()=default
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkGeoLocation & WithCity(CityT &&value)
bool LatitudeHasBeenSet() const
const Aws::String & GetCity() const
void SetCity(CityT &&value)
bool CityHasBeenSet() const
NetworkGeoLocation & WithLatitude(double value)
NetworkGeoLocation & WithCountry(CountryT &&value)
bool LongitudeHasBeenSet() const
NetworkGeoLocation & WithLongitude(double value)
double GetLongitude() const
void SetLatitude(double value)
double GetLatitude() const
void SetCountry(CountryT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue