/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that represents the gateway route to rewrite.See
* Also:
AWS
* API Reference
The host name of the gateway route to rewrite.
*/ inline const GatewayRouteHostnameRewrite& GetHostname() const{ return m_hostname; } /** *The host name of the gateway route to rewrite.
*/ inline bool HostnameHasBeenSet() const { return m_hostnameHasBeenSet; } /** *The host name of the gateway route to rewrite.
*/ inline void SetHostname(const GatewayRouteHostnameRewrite& value) { m_hostnameHasBeenSet = true; m_hostname = value; } /** *The host name of the gateway route to rewrite.
*/ inline void SetHostname(GatewayRouteHostnameRewrite&& value) { m_hostnameHasBeenSet = true; m_hostname = std::move(value); } /** *The host name of the gateway route to rewrite.
*/ inline GrpcGatewayRouteRewrite& WithHostname(const GatewayRouteHostnameRewrite& value) { SetHostname(value); return *this;} /** *The host name of the gateway route to rewrite.
*/ inline GrpcGatewayRouteRewrite& WithHostname(GatewayRouteHostnameRewrite&& value) { SetHostname(std::move(value)); return *this;} private: GatewayRouteHostnameRewrite m_hostname; bool m_hostnameHasBeenSet = false; }; } // namespace Model } // namespace AppMesh } // namespace Aws