/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace AppMesh { namespace Model { /** *

An object that represents a virtual node service provider.

See * Also:

AWS * API Reference

*/ class VirtualRouterServiceProvider { public: AWS_APPMESH_API VirtualRouterServiceProvider(); AWS_APPMESH_API VirtualRouterServiceProvider(Aws::Utils::Json::JsonView jsonValue); AWS_APPMESH_API VirtualRouterServiceProvider& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the virtual router that is acting as a service provider.

*/ inline const Aws::String& GetVirtualRouterName() const{ return m_virtualRouterName; } /** *

The name of the virtual router that is acting as a service provider.

*/ inline bool VirtualRouterNameHasBeenSet() const { return m_virtualRouterNameHasBeenSet; } /** *

The name of the virtual router that is acting as a service provider.

*/ inline void SetVirtualRouterName(const Aws::String& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = value; } /** *

The name of the virtual router that is acting as a service provider.

*/ inline void SetVirtualRouterName(Aws::String&& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = std::move(value); } /** *

The name of the virtual router that is acting as a service provider.

*/ inline void SetVirtualRouterName(const char* value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName.assign(value); } /** *

The name of the virtual router that is acting as a service provider.

*/ inline VirtualRouterServiceProvider& WithVirtualRouterName(const Aws::String& value) { SetVirtualRouterName(value); return *this;} /** *

The name of the virtual router that is acting as a service provider.

*/ inline VirtualRouterServiceProvider& WithVirtualRouterName(Aws::String&& value) { SetVirtualRouterName(std::move(value)); return *this;} /** *

The name of the virtual router that is acting as a service provider.

*/ inline VirtualRouterServiceProvider& WithVirtualRouterName(const char* value) { SetVirtualRouterName(value); return *this;} private: Aws::String m_virtualRouterName; bool m_virtualRouterNameHasBeenSet = false; }; } // namespace Model } // namespace AppMesh } // namespace Aws