7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
53 template<
typename CityT = Aws::String>
54 void SetCity(CityT&& value) { m_cityHasBeenSet =
true; m_city = std::forward<CityT>(value); }
55 template<
typename CityT = Aws::String>
65 template<
typename CountryT = Aws::String>
66 void SetCountry(CountryT&& value) { m_countryHasBeenSet =
true; m_country = std::forward<CountryT>(value); }
67 template<
typename CountryT = Aws::String>
75 inline double GetLat()
const {
return m_lat; }
77 inline void SetLat(
double value) { m_latHasBeenSet =
true; m_lat = value; }
85 inline double GetLon()
const {
return m_lon; }
87 inline void SetLon(
double value) { m_lonHasBeenSet =
true; m_lon = value; }
93 bool m_cityHasBeenSet =
false;
96 bool m_countryHasBeenSet =
false;
99 bool m_latHasBeenSet =
false;
102 bool m_lonHasBeenSet =
false;
AWS_SECURITYHUB_API NetworkGeoLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLat(double value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool LatHasBeenSet() const
AWS_SECURITYHUB_API NetworkGeoLocation()=default
NetworkGeoLocation & WithLon(double value)
NetworkGeoLocation & WithCity(CityT &&value)
bool LonHasBeenSet() const
void SetLon(double value)
void SetCountry(CountryT &&value)
NetworkGeoLocation & WithCountry(CountryT &&value)
NetworkGeoLocation & WithLat(double value)
bool CityHasBeenSet() const
bool CountryHasBeenSet() const
AWS_SECURITYHUB_API NetworkGeoLocation(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCountry() const
void SetCity(CityT &&value)
const Aws::String & GetCity() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue