7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/GatewayRouteHostnameRewrite.h>
9#include <aws/appmesh/model/HttpGatewayRoutePathRewrite.h>
10#include <aws/appmesh/model/HttpGatewayRoutePrefixRewrite.h>
43 template <
typename HostnameT = GatewayRouteHostnameRewrite>
45 m_hostnameHasBeenSet =
true;
46 m_hostname = std::forward<HostnameT>(value);
48 template <
typename HostnameT = GatewayRouteHostnameRewrite>
61 template <
typename PathT = HttpGatewayRoutePathRewrite>
63 m_pathHasBeenSet =
true;
64 m_path = std::forward<PathT>(value);
66 template <
typename PathT = HttpGatewayRoutePathRewrite>
68 SetPath(std::forward<PathT>(value));
79 template <
typename PrefixT = HttpGatewayRoutePrefixRewrite>
81 m_prefixHasBeenSet =
true;
82 m_prefix = std::forward<PrefixT>(value);
84 template <
typename PrefixT = HttpGatewayRoutePrefixRewrite>
96 bool m_hostnameHasBeenSet =
false;
97 bool m_pathHasBeenSet =
false;
98 bool m_prefixHasBeenSet =
false;
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
bool PathHasBeenSet() const
void SetPrefix(PrefixT &&value)
void SetPath(PathT &&value)
void SetHostname(HostnameT &&value)
bool PrefixHasBeenSet() const
const HttpGatewayRoutePathRewrite & GetPath() const
HttpGatewayRouteRewrite & WithPrefix(PrefixT &&value)
HttpGatewayRouteRewrite & WithPath(PathT &&value)
bool HostnameHasBeenSet() const
const HttpGatewayRoutePrefixRewrite & GetPrefix() const
AWS_APPMESH_API HttpGatewayRouteRewrite(Aws::Utils::Json::JsonView jsonValue)
HttpGatewayRouteRewrite & WithHostname(HostnameT &&value)
const GatewayRouteHostnameRewrite & GetHostname() const
AWS_APPMESH_API HttpGatewayRouteRewrite & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMESH_API HttpGatewayRouteRewrite()=default
Aws::Utils::Json::JsonValue JsonValue