7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/internetmonitor/InternetMonitor_EXPORTS.h>
10#include <aws/internetmonitor/model/HealthEventStatus.h>
11#include <aws/internetmonitor/model/InternetHealth.h>
12#include <aws/internetmonitor/model/NetworkImpairment.h>
23namespace InternetMonitor {
48 template <
typename ASNameT = Aws::String>
50 m_aSNameHasBeenSet =
true;
51 m_aSName = std::forward<ASNameT>(value);
53 template <
typename ASNameT = Aws::String>
68 m_aSNumberHasBeenSet =
true;
83 template <
typename CountryT = Aws::String>
85 m_countryHasBeenSet =
true;
86 m_country = std::forward<CountryT>(value);
88 template <
typename CountryT = Aws::String>
104 template <
typename SubdivisionT = Aws::String>
106 m_subdivisionHasBeenSet =
true;
107 m_subdivision = std::forward<SubdivisionT>(value);
109 template <
typename SubdivisionT = Aws::String>
126 template <
typename MetroT = Aws::String>
128 m_metroHasBeenSet =
true;
129 m_metro = std::forward<MetroT>(value);
131 template <
typename MetroT = Aws::String>
133 SetMetro(std::forward<MetroT>(value));
144 template <
typename CityT = Aws::String>
146 m_cityHasBeenSet =
true;
147 m_city = std::forward<CityT>(value);
149 template <
typename CityT = Aws::String>
151 SetCity(std::forward<CityT>(value));
163 m_latitudeHasBeenSet =
true;
179 m_longitudeHasBeenSet =
true;
195 template <
typename CountryCodeT = Aws::String>
197 m_countryCodeHasBeenSet =
true;
198 m_countryCode = std::forward<CountryCodeT>(value);
200 template <
typename CountryCodeT = Aws::String>
214 template <
typename SubdivisionCodeT = Aws::String>
216 m_subdivisionCodeHasBeenSet =
true;
217 m_subdivisionCode = std::forward<SubdivisionCodeT>(value);
219 template <
typename SubdivisionCodeT = Aws::String>
232 template <
typename ServiceLocationT = Aws::String>
234 m_serviceLocationHasBeenSet =
true;
235 m_serviceLocation = std::forward<ServiceLocationT>(value);
237 template <
typename ServiceLocationT = Aws::String>
251 m_statusHasBeenSet =
true;
269 template <
typename CausedByT = NetworkImpairment>
271 m_causedByHasBeenSet =
true;
272 m_causedBy = std::forward<CausedByT>(value);
274 template <
typename CausedByT = NetworkImpairment>
287 template <
typename InternetHealthT = InternetHealth>
289 m_internetHealthHasBeenSet =
true;
290 m_internetHealth = std::forward<InternetHealthT>(value);
292 template <
typename InternetHealthT = InternetHealth>
306 template <
typename Ipv4PrefixesT = Aws::Vector<Aws::String>>
308 m_ipv4PrefixesHasBeenSet =
true;
309 m_ipv4Prefixes = std::forward<Ipv4PrefixesT>(value);
311 template <
typename Ipv4PrefixesT = Aws::Vector<Aws::String>>
316 template <
typename Ipv4PrefixesT = Aws::String>
318 m_ipv4PrefixesHasBeenSet =
true;
319 m_ipv4Prefixes.emplace_back(std::forward<Ipv4PrefixesT>(value));
326 long long m_aSNumber{0};
336 double m_latitude{0.0};
338 double m_longitude{0.0};
348 NetworkImpairment m_causedBy;
350 InternetHealth m_internetHealth;
353 bool m_aSNameHasBeenSet =
false;
354 bool m_aSNumberHasBeenSet =
false;
355 bool m_countryHasBeenSet =
false;
356 bool m_subdivisionHasBeenSet =
false;
357 bool m_metroHasBeenSet =
false;
358 bool m_cityHasBeenSet =
false;
359 bool m_latitudeHasBeenSet =
false;
360 bool m_longitudeHasBeenSet =
false;
361 bool m_countryCodeHasBeenSet =
false;
362 bool m_subdivisionCodeHasBeenSet =
false;
363 bool m_serviceLocationHasBeenSet =
false;
364 bool m_statusHasBeenSet =
false;
365 bool m_causedByHasBeenSet =
false;
366 bool m_internetHealthHasBeenSet =
false;
367 bool m_ipv4PrefixesHasBeenSet =
false;
const Aws::String & GetASName() const
void SetASName(ASNameT &&value)
void SetCausedBy(CausedByT &&value)
void SetCity(CityT &&value)
ImpactedLocation & WithCity(CityT &&value)
ImpactedLocation & WithIpv4Prefixes(Ipv4PrefixesT &&value)
void SetStatus(HealthEventStatus value)
HealthEventStatus GetStatus() const
ImpactedLocation & WithASNumber(long long value)
AWS_INTERNETMONITOR_API ImpactedLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCity() const
void SetSubdivisionCode(SubdivisionCodeT &&value)
double GetLongitude() const
void SetIpv4Prefixes(Ipv4PrefixesT &&value)
bool LongitudeHasBeenSet() const
const Aws::String & GetSubdivisionCode() const
bool SubdivisionCodeHasBeenSet() const
bool InternetHealthHasBeenSet() const
ImpactedLocation & WithLatitude(double value)
ImpactedLocation & WithStatus(HealthEventStatus value)
bool StatusHasBeenSet() const
void SetServiceLocation(ServiceLocationT &&value)
bool CountryHasBeenSet() const
long long GetASNumber() const
bool CityHasBeenSet() const
const InternetHealth & GetInternetHealth() const
ImpactedLocation & WithCountry(CountryT &&value)
void SetLongitude(double value)
bool CausedByHasBeenSet() const
void SetInternetHealth(InternetHealthT &&value)
void SetMetro(MetroT &&value)
ImpactedLocation & WithLongitude(double value)
void SetSubdivision(SubdivisionT &&value)
ImpactedLocation & WithCountryCode(CountryCodeT &&value)
const NetworkImpairment & GetCausedBy() const
ImpactedLocation & WithSubdivision(SubdivisionT &&value)
bool CountryCodeHasBeenSet() const
const Aws::String & GetMetro() const
AWS_INTERNETMONITOR_API ImpactedLocation(Aws::Utils::Json::JsonView jsonValue)
void SetCountry(CountryT &&value)
void SetASNumber(long long value)
const Aws::Vector< Aws::String > & GetIpv4Prefixes() const
const Aws::String & GetSubdivision() const
ImpactedLocation & WithMetro(MetroT &&value)
bool LatitudeHasBeenSet() const
const Aws::String & GetCountryCode() const
void SetCountryCode(CountryCodeT &&value)
ImpactedLocation & WithSubdivisionCode(SubdivisionCodeT &&value)
bool ASNameHasBeenSet() const
ImpactedLocation & WithCausedBy(CausedByT &&value)
bool ASNumberHasBeenSet() const
const Aws::String & GetServiceLocation() const
ImpactedLocation & WithInternetHealth(InternetHealthT &&value)
ImpactedLocation & AddIpv4Prefixes(Ipv4PrefixesT &&value)
AWS_INTERNETMONITOR_API Aws::Utils::Json::JsonValue Jsonize() const
bool ServiceLocationHasBeenSet() const
bool Ipv4PrefixesHasBeenSet() const
AWS_INTERNETMONITOR_API ImpactedLocation()=default
ImpactedLocation & WithServiceLocation(ServiceLocationT &&value)
const Aws::String & GetCountry() const
bool SubdivisionHasBeenSet() const
double GetLatitude() const
ImpactedLocation & WithASName(ASNameT &&value)
bool MetroHasBeenSet() const
void SetLatitude(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue