7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/GatewayRouteTarget.h>
9#include <aws/appmesh/model/GrpcGatewayRouteRewrite.h>
42 template <
typename RewriteT = GrpcGatewayRouteRewrite>
44 m_rewriteHasBeenSet =
true;
45 m_rewrite = std::forward<RewriteT>(value);
47 template <
typename RewriteT = GrpcGatewayRouteRewrite>
61 template <
typename TargetT = GatewayRouteTarget>
63 m_targetHasBeenSet =
true;
64 m_target = std::forward<TargetT>(value);
66 template <
typename TargetT = GatewayRouteTarget>
76 bool m_rewriteHasBeenSet =
false;
77 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