7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/GatewayRouteVirtualService.h>
45 inline int GetPort()
const{
return m_port; }
47 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
65 bool m_portHasBeenSet =
false;
68 bool m_virtualServiceHasBeenSet =
false;
bool VirtualServiceHasBeenSet() const
GatewayRouteTarget & WithPort(int value)
AWS_APPMESH_API GatewayRouteTarget()
bool PortHasBeenSet() const
GatewayRouteTarget & WithVirtualService(GatewayRouteVirtualService &&value)
AWS_APPMESH_API GatewayRouteTarget(Aws::Utils::Json::JsonView jsonValue)
GatewayRouteTarget & WithVirtualService(const GatewayRouteVirtualService &value)
AWS_APPMESH_API GatewayRouteTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
const GatewayRouteVirtualService & GetVirtualService() const
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVirtualService(GatewayRouteVirtualService &&value)
void SetVirtualService(const GatewayRouteVirtualService &value)
Aws::Utils::Json::JsonValue JsonValue