7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/GrpcGatewayRouteRewrite.h>
9#include <aws/appmesh/model/GatewayRouteTarget.h>
48 template<
typename RewriteT = GrpcGatewayRouteRewrite>
49 void SetRewrite(RewriteT&& value) { m_rewriteHasBeenSet =
true; m_rewrite = std::forward<RewriteT>(value); }
50 template<
typename RewriteT = GrpcGatewayRouteRewrite>
61 template<
typename TargetT = GatewayRouteTarget>
62 void SetTarget(TargetT&& value) { m_targetHasBeenSet =
true; m_target = std::forward<TargetT>(value); }
63 template<
typename TargetT = GatewayRouteTarget>
69 bool m_rewriteHasBeenSet =
false;
72 bool m_targetHasBeenSet =
false;
GrpcGatewayRouteAction & WithRewrite(RewriteT &&value)
bool TargetHasBeenSet() const
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTarget(TargetT &&value)
bool RewriteHasBeenSet() const
AWS_APPMESH_API GrpcGatewayRouteAction & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMESH_API GrpcGatewayRouteAction()=default
GrpcGatewayRouteAction & WithTarget(TargetT &&value)
void SetRewrite(RewriteT &&value)
AWS_APPMESH_API GrpcGatewayRouteAction(Aws::Utils::Json::JsonView jsonValue)
const GatewayRouteTarget & GetTarget() const
const GrpcGatewayRouteRewrite & GetRewrite() const
Aws::Utils::Json::JsonValue JsonValue