7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/networkmanager/NetworkManager_EXPORTS.h>
10#include <aws/networkmanager/model/NetworkRouteDestination.h>
11#include <aws/networkmanager/model/RouteState.h>
12#include <aws/networkmanager/model/RouteType.h>
23namespace NetworkManager {
44 template <
typename DestinationC
idrBlockT = Aws::String>
46 m_destinationCidrBlockHasBeenSet =
true;
47 m_destinationCidrBlock = std::forward<DestinationCidrBlockT>(value);
49 template <
typename DestinationC
idrBlockT = Aws::String>
62 template <
typename DestinationsT = Aws::Vector<NetworkRouteDestination>>
64 m_destinationsHasBeenSet =
true;
65 m_destinations = std::forward<DestinationsT>(value);
67 template <
typename DestinationsT = Aws::Vector<NetworkRouteDestination>>
72 template <
typename DestinationsT = NetworkRouteDestination>
74 m_destinationsHasBeenSet =
true;
75 m_destinations.emplace_back(std::forward<DestinationsT>(value));
86 template <
typename PrefixListIdT = Aws::String>
88 m_prefixListIdHasBeenSet =
true;
89 m_prefixListId = std::forward<PrefixListIdT>(value);
91 template <
typename PrefixListIdT = Aws::String>
106 m_stateHasBeenSet =
true;
125 m_typeHasBeenSet =
true;
143 bool m_destinationCidrBlockHasBeenSet =
false;
144 bool m_destinationsHasBeenSet =
false;
145 bool m_prefixListIdHasBeenSet =
false;
146 bool m_stateHasBeenSet =
false;
147 bool m_typeHasBeenSet =
false;
AWS_NETWORKMANAGER_API NetworkRoute(Aws::Utils::Json::JsonView jsonValue)
NetworkRoute & AddDestinations(DestinationsT &&value)
void SetState(RouteState value)
const Aws::String & GetPrefixListId() const
void SetPrefixListId(PrefixListIdT &&value)
NetworkRoute & WithDestinationCidrBlock(DestinationCidrBlockT &&value)
void SetDestinations(DestinationsT &&value)
NetworkRoute & WithPrefixListId(PrefixListIdT &&value)
AWS_NETWORKMANAGER_API NetworkRoute & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteState GetState() const
const Aws::String & GetDestinationCidrBlock() const
void SetDestinationCidrBlock(DestinationCidrBlockT &&value)
const Aws::Vector< NetworkRouteDestination > & GetDestinations() const
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
bool DestinationsHasBeenSet() const
void SetType(RouteType value)
NetworkRoute & WithType(RouteType value)
NetworkRoute & WithDestinations(DestinationsT &&value)
bool TypeHasBeenSet() const
bool DestinationCidrBlockHasBeenSet() const
bool StateHasBeenSet() const
NetworkRoute & WithState(RouteState value)
bool PrefixListIdHasBeenSet() const
AWS_NETWORKMANAGER_API NetworkRoute()=default
RouteType GetType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue