7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/networkmanager/model/RouteState.h>
11#include <aws/networkmanager/model/RouteType.h>
12#include <aws/networkmanager/model/NetworkRouteDestination.h>
25namespace NetworkManager
52 inline void SetDestinationCidrBlock(
const char* value) { m_destinationCidrBlockHasBeenSet =
true; m_destinationCidrBlock.assign(value); }
80 inline void SetPrefixListId(
const char* value) { m_prefixListIdHasBeenSet =
true; m_prefixListId.assign(value); }
94 inline void SetState(
RouteState&& value) { m_stateHasBeenSet =
true; m_state = std::move(value); }
107 inline void SetType(
RouteType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
114 bool m_destinationCidrBlockHasBeenSet =
false;
117 bool m_destinationsHasBeenSet =
false;
120 bool m_prefixListIdHasBeenSet =
false;
123 bool m_stateHasBeenSet =
false;
126 bool m_typeHasBeenSet =
false;
AWS_NETWORKMANAGER_API NetworkRoute(Aws::Utils::Json::JsonView jsonValue)
NetworkRoute & WithType(RouteType &&value)
NetworkRoute & WithType(const RouteType &value)
void SetState(RouteState &&value)
void SetType(RouteType &&value)
const Aws::String & GetPrefixListId() const
NetworkRoute & WithPrefixListId(Aws::String &&value)
void SetPrefixListId(const char *value)
void SetType(const RouteType &value)
NetworkRoute & WithDestinationCidrBlock(const char *value)
NetworkRoute & WithPrefixListId(const Aws::String &value)
const RouteType & GetType() const
AWS_NETWORKMANAGER_API NetworkRoute & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDestinationCidrBlock() const
const Aws::Vector< NetworkRouteDestination > & GetDestinations() const
void SetState(const RouteState &value)
NetworkRoute & WithDestinations(Aws::Vector< NetworkRouteDestination > &&value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
bool DestinationsHasBeenSet() const
NetworkRoute & AddDestinations(const NetworkRouteDestination &value)
void SetDestinations(const Aws::Vector< NetworkRouteDestination > &value)
void SetDestinationCidrBlock(const char *value)
void SetDestinationCidrBlock(Aws::String &&value)
NetworkRoute & WithState(RouteState &&value)
bool TypeHasBeenSet() const
bool DestinationCidrBlockHasBeenSet() const
AWS_NETWORKMANAGER_API NetworkRoute()
bool StateHasBeenSet() const
const RouteState & GetState() const
void SetPrefixListId(const Aws::String &value)
bool PrefixListIdHasBeenSet() const
void SetDestinations(Aws::Vector< NetworkRouteDestination > &&value)
void SetDestinationCidrBlock(const Aws::String &value)
void SetPrefixListId(Aws::String &&value)
NetworkRoute & AddDestinations(NetworkRouteDestination &&value)
NetworkRoute & WithState(const RouteState &value)
NetworkRoute & WithPrefixListId(const char *value)
NetworkRoute & WithDestinationCidrBlock(const Aws::String &value)
NetworkRoute & WithDestinations(const Aws::Vector< NetworkRouteDestination > &value)
NetworkRoute & WithDestinationCidrBlock(Aws::String &&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