/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object representing the gateway route to rewrite.See Also:
* AWS
* API Reference
The host name to rewrite.
*/ inline const GatewayRouteHostnameRewrite& GetHostname() const{ return m_hostname; } /** *The host name to rewrite.
*/ inline bool HostnameHasBeenSet() const { return m_hostnameHasBeenSet; } /** *The host name to rewrite.
*/ inline void SetHostname(const GatewayRouteHostnameRewrite& value) { m_hostnameHasBeenSet = true; m_hostname = value; } /** *The host name to rewrite.
*/ inline void SetHostname(GatewayRouteHostnameRewrite&& value) { m_hostnameHasBeenSet = true; m_hostname = std::move(value); } /** *The host name to rewrite.
*/ inline HttpGatewayRouteRewrite& WithHostname(const GatewayRouteHostnameRewrite& value) { SetHostname(value); return *this;} /** *The host name to rewrite.
*/ inline HttpGatewayRouteRewrite& WithHostname(GatewayRouteHostnameRewrite&& value) { SetHostname(std::move(value)); return *this;} /** *The path to rewrite.
*/ inline const HttpGatewayRoutePathRewrite& GetPath() const{ return m_path; } /** *The path to rewrite.
*/ inline bool PathHasBeenSet() const { return m_pathHasBeenSet; } /** *The path to rewrite.
*/ inline void SetPath(const HttpGatewayRoutePathRewrite& value) { m_pathHasBeenSet = true; m_path = value; } /** *The path to rewrite.
*/ inline void SetPath(HttpGatewayRoutePathRewrite&& value) { m_pathHasBeenSet = true; m_path = std::move(value); } /** *The path to rewrite.
*/ inline HttpGatewayRouteRewrite& WithPath(const HttpGatewayRoutePathRewrite& value) { SetPath(value); return *this;} /** *The path to rewrite.
*/ inline HttpGatewayRouteRewrite& WithPath(HttpGatewayRoutePathRewrite&& value) { SetPath(std::move(value)); return *this;} /** *The specified beginning characters to rewrite.
*/ inline const HttpGatewayRoutePrefixRewrite& GetPrefix() const{ return m_prefix; } /** *The specified beginning characters to rewrite.
*/ inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } /** *The specified beginning characters to rewrite.
*/ inline void SetPrefix(const HttpGatewayRoutePrefixRewrite& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** *The specified beginning characters to rewrite.
*/ inline void SetPrefix(HttpGatewayRoutePrefixRewrite&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); } /** *The specified beginning characters to rewrite.
*/ inline HttpGatewayRouteRewrite& WithPrefix(const HttpGatewayRoutePrefixRewrite& value) { SetPrefix(value); return *this;} /** *The specified beginning characters to rewrite.
*/ inline HttpGatewayRouteRewrite& WithPrefix(HttpGatewayRoutePrefixRewrite&& value) { SetPrefix(std::move(value)); return *this;} private: GatewayRouteHostnameRewrite m_hostname; bool m_hostnameHasBeenSet = false; HttpGatewayRoutePathRewrite m_path; bool m_pathHasBeenSet = false; HttpGatewayRoutePrefixRewrite m_prefix; bool m_prefixHasBeenSet = false; }; } // namespace Model } // namespace AppMesh } // namespace Aws