7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/networkmanager/NetworkManagerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/networkmanager/model/RouteTableIdentifier.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/networkmanager/model/RouteState.h>
14#include <aws/networkmanager/model/RouteType.h>
19namespace NetworkManager
46 template<
typename GlobalNetworkIdT = Aws::String>
47 void SetGlobalNetworkId(GlobalNetworkIdT&& value) { m_globalNetworkIdHasBeenSet =
true; m_globalNetworkId = std::forward<GlobalNetworkIdT>(value); }
48 template<
typename GlobalNetworkIdT = Aws::String>
58 template<
typename RouteTableIdentifierT = RouteTableIdentifier>
59 void SetRouteTableIdentifier(RouteTableIdentifierT&& value) { m_routeTableIdentifierHasBeenSet =
true; m_routeTableIdentifier = std::forward<RouteTableIdentifierT>(value); }
60 template<
typename RouteTableIdentifierT = RouteTableIdentifier>
70 template<
typename ExactC
idrMatchesT = Aws::Vector<Aws::String>>
71 void SetExactCidrMatches(ExactCidrMatchesT&& value) { m_exactCidrMatchesHasBeenSet =
true; m_exactCidrMatches = std::forward<ExactCidrMatchesT>(value); }
72 template<
typename ExactC
idrMatchesT = Aws::Vector<Aws::String>>
74 template<
typename ExactC
idrMatchesT = Aws::String>
84 template<
typename LongestPrefixMatchesT = Aws::Vector<Aws::String>>
85 void SetLongestPrefixMatches(LongestPrefixMatchesT&& value) { m_longestPrefixMatchesHasBeenSet =
true; m_longestPrefixMatches = std::forward<LongestPrefixMatchesT>(value); }
86 template<
typename LongestPrefixMatchesT = Aws::Vector<Aws::String>>
88 template<
typename LongestPrefixMatchesT = Aws::String>
98 template<
typename SubnetOfMatchesT = Aws::Vector<Aws::String>>
99 void SetSubnetOfMatches(SubnetOfMatchesT&& value) { m_subnetOfMatchesHasBeenSet =
true; m_subnetOfMatches = std::forward<SubnetOfMatchesT>(value); }
100 template<
typename SubnetOfMatchesT = Aws::Vector<Aws::String>>
102 template<
typename SubnetOfMatchesT = Aws::String>
113 template<
typename SupernetOfMatchesT = Aws::Vector<Aws::String>>
114 void SetSupernetOfMatches(SupernetOfMatchesT&& value) { m_supernetOfMatchesHasBeenSet =
true; m_supernetOfMatches = std::forward<SupernetOfMatchesT>(value); }
115 template<
typename SupernetOfMatchesT = Aws::Vector<Aws::String>>
117 template<
typename SupernetOfMatchesT = Aws::String>
127 template<
typename PrefixListIdsT = Aws::Vector<Aws::String>>
128 void SetPrefixListIds(PrefixListIdsT&& value) { m_prefixListIdsHasBeenSet =
true; m_prefixListIds = std::forward<PrefixListIdsT>(value); }
129 template<
typename PrefixListIdsT = Aws::Vector<Aws::String>>
131 template<
typename PrefixListIdsT = Aws::String>
141 template<
typename StatesT = Aws::Vector<RouteState>>
142 void SetStates(StatesT&& value) { m_statesHasBeenSet =
true; m_states = std::forward<StatesT>(value); }
143 template<
typename StatesT = Aws::Vector<RouteState>>
154 template<
typename TypesT = Aws::Vector<RouteType>>
155 void SetTypes(TypesT&& value) { m_typesHasBeenSet =
true; m_types = std::forward<TypesT>(value); }
156 template<
typename TypesT = Aws::Vector<RouteType>>
168 template<
typename DestinationFiltersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
169 void SetDestinationFilters(DestinationFiltersT&& value) { m_destinationFiltersHasBeenSet =
true; m_destinationFilters = std::forward<DestinationFiltersT>(value); }
170 template<
typename DestinationFiltersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
172 template<
typename DestinationFiltersKeyT = Aws::String,
typename DestinationFiltersValueT = Aws::Vector<Aws::String>>
174 m_destinationFiltersHasBeenSet =
true; m_destinationFilters.emplace(std::forward<DestinationFiltersKeyT>(key), std::forward<DestinationFiltersValueT>(value));
return *
this;
180 bool m_globalNetworkIdHasBeenSet =
false;
183 bool m_routeTableIdentifierHasBeenSet =
false;
186 bool m_exactCidrMatchesHasBeenSet =
false;
189 bool m_longestPrefixMatchesHasBeenSet =
false;
192 bool m_subnetOfMatchesHasBeenSet =
false;
195 bool m_supernetOfMatchesHasBeenSet =
false;
198 bool m_prefixListIdsHasBeenSet =
false;
201 bool m_statesHasBeenSet =
false;
204 bool m_typesHasBeenSet =
false;
207 bool m_destinationFiltersHasBeenSet =
false;
AWS_NETWORKMANAGER_API GetNetworkRoutesRequest()=default
const Aws::Vector< Aws::String > & GetSubnetOfMatches() const
bool RouteTableIdentifierHasBeenSet() const
void SetPrefixListIds(PrefixListIdsT &&value)
void SetSubnetOfMatches(SubnetOfMatchesT &&value)
bool LongestPrefixMatchesHasBeenSet() const
GetNetworkRoutesRequest & WithTypes(TypesT &&value)
bool SupernetOfMatchesHasBeenSet() const
void SetDestinationFilters(DestinationFiltersT &&value)
GetNetworkRoutesRequest & AddSubnetOfMatches(SubnetOfMatchesT &&value)
GetNetworkRoutesRequest & WithPrefixListIds(PrefixListIdsT &&value)
bool PrefixListIdsHasBeenSet() const
GetNetworkRoutesRequest & AddTypes(RouteType value)
GetNetworkRoutesRequest & WithStates(StatesT &&value)
const Aws::Vector< RouteState > & GetStates() const
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetDestinationFilters() const
const Aws::Vector< Aws::String > & GetSupernetOfMatches() const
bool DestinationFiltersHasBeenSet() const
const Aws::Vector< Aws::String > & GetLongestPrefixMatches() const
virtual const char * GetServiceRequestName() const override
GetNetworkRoutesRequest & WithRouteTableIdentifier(RouteTableIdentifierT &&value)
const Aws::Vector< Aws::String > & GetExactCidrMatches() const
GetNetworkRoutesRequest & AddDestinationFilters(DestinationFiltersKeyT &&key, DestinationFiltersValueT &&value)
bool GlobalNetworkIdHasBeenSet() const
void SetGlobalNetworkId(GlobalNetworkIdT &&value)
GetNetworkRoutesRequest & AddStates(RouteState value)
const RouteTableIdentifier & GetRouteTableIdentifier() const
GetNetworkRoutesRequest & WithLongestPrefixMatches(LongestPrefixMatchesT &&value)
const Aws::String & GetGlobalNetworkId() const
bool SubnetOfMatchesHasBeenSet() const
const Aws::Vector< RouteType > & GetTypes() const
void SetExactCidrMatches(ExactCidrMatchesT &&value)
bool ExactCidrMatchesHasBeenSet() const
GetNetworkRoutesRequest & WithSupernetOfMatches(SupernetOfMatchesT &&value)
GetNetworkRoutesRequest & AddPrefixListIds(PrefixListIdsT &&value)
void SetSupernetOfMatches(SupernetOfMatchesT &&value)
GetNetworkRoutesRequest & AddSupernetOfMatches(SupernetOfMatchesT &&value)
GetNetworkRoutesRequest & WithExactCidrMatches(ExactCidrMatchesT &&value)
GetNetworkRoutesRequest & AddLongestPrefixMatches(LongestPrefixMatchesT &&value)
const Aws::Vector< Aws::String > & GetPrefixListIds() const
GetNetworkRoutesRequest & WithDestinationFilters(DestinationFiltersT &&value)
void SetRouteTableIdentifier(RouteTableIdentifierT &&value)
bool StatesHasBeenSet() const
void SetTypes(TypesT &&value)
void SetStates(StatesT &&value)
bool TypesHasBeenSet() const
GetNetworkRoutesRequest & WithGlobalNetworkId(GlobalNetworkIdT &&value)
AWS_NETWORKMANAGER_API Aws::String SerializePayload() const override
GetNetworkRoutesRequest & WithSubnetOfMatches(SubnetOfMatchesT &&value)
void SetLongestPrefixMatches(LongestPrefixMatchesT &&value)
GetNetworkRoutesRequest & AddExactCidrMatches(ExactCidrMatchesT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector