7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/GatewayRouteTarget.h>
9#include <aws/appmesh/model/HttpGatewayRouteRewrite.h>
42 template <
typename RewriteT = HttpGatewayRouteRewrite>
44 m_rewriteHasBeenSet =
true;
45 m_rewrite = std::forward<RewriteT>(value);
47 template <
typename RewriteT = HttpGatewayRouteRewrite>
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;
AWS_APPMESH_API HttpGatewayRouteAction(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMESH_API HttpGatewayRouteAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRewrite(RewriteT &&value)
bool RewriteHasBeenSet() const
AWS_APPMESH_API HttpGatewayRouteAction()=default
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTarget(TargetT &&value)
HttpGatewayRouteAction & WithRewrite(RewriteT &&value)
bool TargetHasBeenSet() const
const HttpGatewayRouteRewrite & GetRewrite() const
HttpGatewayRouteAction & WithTarget(TargetT &&value)
const GatewayRouteTarget & GetTarget() const
Aws::Utils::Json::JsonValue JsonValue