90 lines
2.9 KiB
C++
90 lines
2.9 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/appmesh/AppMesh_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace AppMesh
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>An object that represents a virtual node service provider.</p><p><h3>See
|
|
* Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/VirtualRouterServiceProvider">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_APPMESH_API VirtualRouterServiceProvider
|
|
{
|
|
public:
|
|
VirtualRouterServiceProvider();
|
|
VirtualRouterServiceProvider(Aws::Utils::Json::JsonView jsonValue);
|
|
VirtualRouterServiceProvider& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The name of the virtual router that is acting as a service provider.</p>
|
|
*/
|
|
inline const Aws::String& GetVirtualRouterName() const{ return m_virtualRouterName; }
|
|
|
|
/**
|
|
* <p>The name of the virtual router that is acting as a service provider.</p>
|
|
*/
|
|
inline bool VirtualRouterNameHasBeenSet() const { return m_virtualRouterNameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The name of the virtual router that is acting as a service provider.</p>
|
|
*/
|
|
inline void SetVirtualRouterName(const Aws::String& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = value; }
|
|
|
|
/**
|
|
* <p>The name of the virtual router that is acting as a service provider.</p>
|
|
*/
|
|
inline void SetVirtualRouterName(Aws::String&& value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name of the virtual router that is acting as a service provider.</p>
|
|
*/
|
|
inline void SetVirtualRouterName(const char* value) { m_virtualRouterNameHasBeenSet = true; m_virtualRouterName.assign(value); }
|
|
|
|
/**
|
|
* <p>The name of the virtual router that is acting as a service provider.</p>
|
|
*/
|
|
inline VirtualRouterServiceProvider& WithVirtualRouterName(const Aws::String& value) { SetVirtualRouterName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the virtual router that is acting as a service provider.</p>
|
|
*/
|
|
inline VirtualRouterServiceProvider& WithVirtualRouterName(Aws::String&& value) { SetVirtualRouterName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the virtual router that is acting as a service provider.</p>
|
|
*/
|
|
inline VirtualRouterServiceProvider& WithVirtualRouterName(const char* value) { SetVirtualRouterName(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_virtualRouterName;
|
|
bool m_virtualRouterNameHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace AppMesh
|
|
} // namespace Aws
|