/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that represents the virtual service that traffic is routed
* to.See Also:
AWS
* API Reference
The name of the virtual service that traffic is routed to.
*/ inline const Aws::String& GetVirtualServiceName() const{ return m_virtualServiceName; } /** *The name of the virtual service that traffic is routed to.
*/ inline bool VirtualServiceNameHasBeenSet() const { return m_virtualServiceNameHasBeenSet; } /** *The name of the virtual service that traffic is routed to.
*/ inline void SetVirtualServiceName(const Aws::String& value) { m_virtualServiceNameHasBeenSet = true; m_virtualServiceName = value; } /** *The name of the virtual service that traffic is routed to.
*/ inline void SetVirtualServiceName(Aws::String&& value) { m_virtualServiceNameHasBeenSet = true; m_virtualServiceName = std::move(value); } /** *The name of the virtual service that traffic is routed to.
*/ inline void SetVirtualServiceName(const char* value) { m_virtualServiceNameHasBeenSet = true; m_virtualServiceName.assign(value); } /** *The name of the virtual service that traffic is routed to.
*/ inline GatewayRouteVirtualService& WithVirtualServiceName(const Aws::String& value) { SetVirtualServiceName(value); return *this;} /** *The name of the virtual service that traffic is routed to.
*/ inline GatewayRouteVirtualService& WithVirtualServiceName(Aws::String&& value) { SetVirtualServiceName(std::move(value)); return *this;} /** *The name of the virtual service that traffic is routed to.
*/ inline GatewayRouteVirtualService& WithVirtualServiceName(const char* value) { SetVirtualServiceName(value); return *this;} private: Aws::String m_virtualServiceName; bool m_virtualServiceNameHasBeenSet = false; }; } // namespace Model } // namespace AppMesh } // namespace Aws