7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
41 template <
typename CityT = Aws::String>
43 m_cityHasBeenSet =
true;
44 m_city = std::forward<CityT>(value);
46 template <
typename CityT = Aws::String>
48 SetCity(std::forward<CityT>(value));
59 template <
typename CountryT = Aws::String>
61 m_countryHasBeenSet =
true;
62 m_country = std::forward<CountryT>(value);
64 template <
typename CountryT = Aws::String>
78 m_latitudeHasBeenSet =
true;
94 m_longitudeHasBeenSet =
true;
107 double m_latitude{0.0};
109 double m_longitude{0.0};
110 bool m_cityHasBeenSet =
false;
111 bool m_countryHasBeenSet =
false;
112 bool m_latitudeHasBeenSet =
false;
113 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