7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/HttpGatewayRouteRewrite.h>
9#include <aws/appmesh/model/GatewayRouteTarget.h>
48 template<
typename RewriteT = HttpGatewayRouteRewrite>
49 void SetRewrite(RewriteT&& value) { m_rewriteHasBeenSet =
true; m_rewrite = std::forward<RewriteT>(value); }
50 template<
typename RewriteT = HttpGatewayRouteRewrite>
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;
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