/** * 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 VirtualNodeServiceProvider { public: AWS_APPMESH_API VirtualNodeServiceProvider(); AWS_APPMESH_API VirtualNodeServiceProvider(Aws::Utils::Json::JsonView jsonValue); AWS_APPMESH_API VirtualNodeServiceProvider& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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

*/ inline const Aws::String& GetVirtualNodeName() const{ return m_virtualNodeName; } /** *

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

*/ inline bool VirtualNodeNameHasBeenSet() const { return m_virtualNodeNameHasBeenSet; } /** *

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

*/ inline void SetVirtualNodeName(const Aws::String& value) { m_virtualNodeNameHasBeenSet = true; m_virtualNodeName = value; } /** *

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

*/ inline void SetVirtualNodeName(Aws::String&& value) { m_virtualNodeNameHasBeenSet = true; m_virtualNodeName = std::move(value); } /** *

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

*/ inline void SetVirtualNodeName(const char* value) { m_virtualNodeNameHasBeenSet = true; m_virtualNodeName.assign(value); } /** *

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

*/ inline VirtualNodeServiceProvider& WithVirtualNodeName(const Aws::String& value) { SetVirtualNodeName(value); return *this;} /** *

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

*/ inline VirtualNodeServiceProvider& WithVirtualNodeName(Aws::String&& value) { SetVirtualNodeName(std::move(value)); return *this;} /** *

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

*/ inline VirtualNodeServiceProvider& WithVirtualNodeName(const char* value) { SetVirtualNodeName(value); return *this;} private: Aws::String m_virtualNodeName; bool m_virtualNodeNameHasBeenSet = false; }; } // namespace Model } // namespace AppMesh } // namespace Aws