7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/GrpcRoute.h>
9#include <aws/appmesh/model/HttpRoute.h>
10#include <aws/appmesh/model/TcpRoute.h>
86 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
97 inline void SetTcpRoute(
TcpRoute&& value) { m_tcpRouteHasBeenSet =
true; m_tcpRoute = std::move(value); }
104 bool m_grpcRouteHasBeenSet =
false;
107 bool m_http2RouteHasBeenSet =
false;
110 bool m_httpRouteHasBeenSet =
false;
113 bool m_priorityHasBeenSet =
false;
116 bool m_tcpRouteHasBeenSet =
false;
AWS_APPMESH_API RouteSpec(Aws::Utils::Json::JsonView jsonValue)
RouteSpec & WithHttp2Route(HttpRoute &&value)
RouteSpec & WithTcpRoute(TcpRoute &&value)
RouteSpec & WithTcpRoute(const TcpRoute &value)
const GrpcRoute & GetGrpcRoute() const
void SetTcpRoute(const TcpRoute &value)
void SetHttp2Route(const HttpRoute &value)
void SetGrpcRoute(GrpcRoute &&value)
bool PriorityHasBeenSet() const
RouteSpec & WithGrpcRoute(const GrpcRoute &value)
RouteSpec & WithHttpRoute(const HttpRoute &value)
RouteSpec & WithHttp2Route(const HttpRoute &value)
AWS_APPMESH_API RouteSpec & operator=(Aws::Utils::Json::JsonView jsonValue)
const HttpRoute & GetHttpRoute() const
void SetHttp2Route(HttpRoute &&value)
void SetGrpcRoute(const GrpcRoute &value)
RouteSpec & WithGrpcRoute(GrpcRoute &&value)
RouteSpec & WithHttpRoute(HttpRoute &&value)
void SetTcpRoute(TcpRoute &&value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
const HttpRoute & GetHttp2Route() const
bool HttpRouteHasBeenSet() const
AWS_APPMESH_API RouteSpec()
void SetHttpRoute(HttpRoute &&value)
RouteSpec & WithPriority(int value)
bool Http2RouteHasBeenSet() const
bool GrpcRouteHasBeenSet() const
void SetPriority(int value)
void SetHttpRoute(const HttpRoute &value)
const TcpRoute & GetTcpRoute() const
bool TcpRouteHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue