7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/GrpcGatewayRouteAction.h>
9#include <aws/appmesh/model/GrpcGatewayRouteMatch.h>
47 template<
typename ActionT = GrpcGatewayRouteAction>
48 void SetAction(ActionT&& value) { m_actionHasBeenSet =
true; m_action = std::forward<ActionT>(value); }
49 template<
typename ActionT = GrpcGatewayRouteAction>
59 template<
typename MatchT = GrpcGatewayRouteMatch>
60 void SetMatch(MatchT&& value) { m_matchHasBeenSet =
true; m_match = std::forward<MatchT>(value); }
61 template<
typename MatchT = GrpcGatewayRouteMatch>
67 bool m_actionHasBeenSet =
false;
70 bool m_matchHasBeenSet =
false;
bool MatchHasBeenSet() const
AWS_APPMESH_API GrpcGatewayRoute & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
GrpcGatewayRoute & WithMatch(MatchT &&value)
void SetMatch(MatchT &&value)
AWS_APPMESH_API GrpcGatewayRoute()=default
const GrpcGatewayRouteMatch & GetMatch() const
void SetAction(ActionT &&value)
const GrpcGatewayRouteAction & GetAction() const
GrpcGatewayRoute & WithAction(ActionT &&value)
bool ActionHasBeenSet() const
AWS_APPMESH_API GrpcGatewayRoute(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue