7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/GrpcGatewayRoute.h>
9#include <aws/appmesh/model/HttpGatewayRoute.h>
84 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
90 bool m_grpcRouteHasBeenSet =
false;
93 bool m_http2RouteHasBeenSet =
false;
96 bool m_httpRouteHasBeenSet =
false;
99 bool m_priorityHasBeenSet =
false;
bool PriorityHasBeenSet() const
void SetHttpRoute(HttpGatewayRoute &&value)
AWS_APPMESH_API GatewayRouteSpec & operator=(Aws::Utils::Json::JsonView jsonValue)
GatewayRouteSpec & WithGrpcRoute(const GrpcGatewayRoute &value)
void SetHttp2Route(const HttpGatewayRoute &value)
GatewayRouteSpec & WithGrpcRoute(GrpcGatewayRoute &&value)
AWS_APPMESH_API GatewayRouteSpec()
const HttpGatewayRoute & GetHttp2Route() const
void SetGrpcRoute(GrpcGatewayRoute &&value)
bool Http2RouteHasBeenSet() const
GatewayRouteSpec & WithHttpRoute(const HttpGatewayRoute &value)
GatewayRouteSpec & WithHttp2Route(HttpGatewayRoute &&value)
const GrpcGatewayRoute & GetGrpcRoute() const
bool HttpRouteHasBeenSet() const
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPMESH_API GatewayRouteSpec(Aws::Utils::Json::JsonView jsonValue)
void SetPriority(int value)
GatewayRouteSpec & WithHttp2Route(const HttpGatewayRoute &value)
const HttpGatewayRoute & GetHttpRoute() const
bool GrpcRouteHasBeenSet() const
void SetHttpRoute(const HttpGatewayRoute &value)
GatewayRouteSpec & WithPriority(int value)
void SetGrpcRoute(const GrpcGatewayRoute &value)
GatewayRouteSpec & WithHttpRoute(HttpGatewayRoute &&value)
void SetHttp2Route(HttpGatewayRoute &&value)
Aws::Utils::Json::JsonValue JsonValue