7#include <aws/internetmonitor/InternetMonitor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/internetmonitor/model/TriangulationEventType.h>
10#include <aws/internetmonitor/model/Network.h>
23namespace InternetMonitor
49 template<
typename NetworksT = Aws::Vector<Network>>
50 void SetNetworks(NetworksT&& value) { m_networksHasBeenSet =
true; m_networks = std::forward<NetworksT>(value); }
51 template<
typename NetworksT = Aws::Vector<Network>>
53 template<
typename NetworksT = Network>
54 NetworkImpairment&
AddNetworks(NetworksT&& value) { m_networksHasBeenSet =
true; m_networks.emplace_back(std::forward<NetworksT>(value));
return *
this; }
64 template<
typename AsPathT = Aws::Vector<Network>>
65 void SetAsPath(AsPathT&& value) { m_asPathHasBeenSet =
true; m_asPath = std::forward<AsPathT>(value); }
66 template<
typename AsPathT = Aws::Vector<Network>>
68 template<
typename AsPathT = Network>
69 NetworkImpairment&
AddAsPath(AsPathT&& value) { m_asPathHasBeenSet =
true; m_asPath.emplace_back(std::forward<AsPathT>(value));
return *
this; }
84 bool m_networksHasBeenSet =
false;
87 bool m_asPathHasBeenSet =
false;
90 bool m_networkEventTypeHasBeenSet =
false;
void SetNetworks(NetworksT &&value)
NetworkImpairment & WithNetworks(NetworksT &&value)
bool NetworkEventTypeHasBeenSet() const
void SetNetworkEventType(TriangulationEventType value)
const Aws::Vector< Network > & GetAsPath() const
AWS_INTERNETMONITOR_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkImpairment & AddNetworks(NetworksT &&value)
TriangulationEventType GetNetworkEventType() const
NetworkImpairment & WithNetworkEventType(TriangulationEventType value)
const Aws::Vector< Network > & GetNetworks() const
NetworkImpairment & AddAsPath(AsPathT &&value)
AWS_INTERNETMONITOR_API NetworkImpairment(Aws::Utils::Json::JsonView jsonValue)
AWS_INTERNETMONITOR_API NetworkImpairment & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAsPath(AsPathT &&value)
bool NetworksHasBeenSet() const
bool AsPathHasBeenSet() const
NetworkImpairment & WithAsPath(AsPathT &&value)
AWS_INTERNETMONITOR_API NetworkImpairment()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue