7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace NetworkManager
46 template<
typename CoreNetworkAttachmentIdT = Aws::String>
47 void SetCoreNetworkAttachmentId(CoreNetworkAttachmentIdT&& value) { m_coreNetworkAttachmentIdHasBeenSet =
true; m_coreNetworkAttachmentId = std::forward<CoreNetworkAttachmentIdT>(value); }
48 template<
typename CoreNetworkAttachmentIdT = Aws::String>
58 template<
typename TransitGatewayAttachmentIdT = Aws::String>
59 void SetTransitGatewayAttachmentId(TransitGatewayAttachmentIdT&& value) { m_transitGatewayAttachmentIdHasBeenSet =
true; m_transitGatewayAttachmentId = std::forward<TransitGatewayAttachmentIdT>(value); }
60 template<
typename TransitGatewayAttachmentIdT = Aws::String>
70 template<
typename SegmentNameT = Aws::String>
71 void SetSegmentName(SegmentNameT&& value) { m_segmentNameHasBeenSet =
true; m_segmentName = std::forward<SegmentNameT>(value); }
72 template<
typename SegmentNameT = Aws::String>
82 template<
typename NetworkFunctionGroupNameT = Aws::String>
83 void SetNetworkFunctionGroupName(NetworkFunctionGroupNameT&& value) { m_networkFunctionGroupNameHasBeenSet =
true; m_networkFunctionGroupName = std::forward<NetworkFunctionGroupNameT>(value); }
84 template<
typename NetworkFunctionGroupNameT = Aws::String>
94 template<
typename EdgeLocationT = Aws::String>
95 void SetEdgeLocation(EdgeLocationT&& value) { m_edgeLocationHasBeenSet =
true; m_edgeLocation = std::forward<EdgeLocationT>(value); }
96 template<
typename EdgeLocationT = Aws::String>
106 template<
typename ResourceTypeT = Aws::String>
107 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet =
true; m_resourceType = std::forward<ResourceTypeT>(value); }
108 template<
typename ResourceTypeT = Aws::String>
118 template<
typename ResourceIdT = Aws::String>
119 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
120 template<
typename ResourceIdT = Aws::String>
126 bool m_coreNetworkAttachmentIdHasBeenSet =
false;
129 bool m_transitGatewayAttachmentIdHasBeenSet =
false;
132 bool m_segmentNameHasBeenSet =
false;
135 bool m_networkFunctionGroupNameHasBeenSet =
false;
138 bool m_edgeLocationHasBeenSet =
false;
141 bool m_resourceTypeHasBeenSet =
false;
144 bool m_resourceIdHasBeenSet =
false;
AWS_NETWORKMANAGER_API NetworkRouteDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
NetworkRouteDestination & WithSegmentName(SegmentNameT &&value)
bool ResourceIdHasBeenSet() const
const Aws::String & GetNetworkFunctionGroupName() const
NetworkRouteDestination & WithTransitGatewayAttachmentId(TransitGatewayAttachmentIdT &&value)
NetworkRouteDestination & WithEdgeLocation(EdgeLocationT &&value)
const Aws::String & GetResourceType() const
const Aws::String & GetSegmentName() const
const Aws::String & GetResourceId() const
bool EdgeLocationHasBeenSet() const
NetworkRouteDestination & WithCoreNetworkAttachmentId(CoreNetworkAttachmentIdT &&value)
void SetResourceType(ResourceTypeT &&value)
AWS_NETWORKMANAGER_API NetworkRouteDestination(Aws::Utils::Json::JsonView jsonValue)
void SetResourceId(ResourceIdT &&value)
bool SegmentNameHasBeenSet() const
bool TransitGatewayAttachmentIdHasBeenSet() const
void SetNetworkFunctionGroupName(NetworkFunctionGroupNameT &&value)
bool CoreNetworkAttachmentIdHasBeenSet() const
NetworkRouteDestination & WithResourceId(ResourceIdT &&value)
bool ResourceTypeHasBeenSet() const
void SetCoreNetworkAttachmentId(CoreNetworkAttachmentIdT &&value)
const Aws::String & GetTransitGatewayAttachmentId() const
const Aws::String & GetEdgeLocation() const
void SetEdgeLocation(EdgeLocationT &&value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
bool NetworkFunctionGroupNameHasBeenSet() const
NetworkRouteDestination & WithResourceType(ResourceTypeT &&value)
void SetTransitGatewayAttachmentId(TransitGatewayAttachmentIdT &&value)
AWS_NETWORKMANAGER_API NetworkRouteDestination()=default
const Aws::String & GetCoreNetworkAttachmentId() const
void SetSegmentName(SegmentNameT &&value)
NetworkRouteDestination & WithNetworkFunctionGroupName(NetworkFunctionGroupNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue