AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VirtualServiceProvider.h
1
6#pragma once
7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/model/VirtualNodeServiceProvider.h>
9#include <aws/appmesh/model/VirtualRouterServiceProvider.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AppMesh
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_APPMESH_API VirtualServiceProvider();
39 AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const VirtualNodeServiceProvider& GetVirtualNode() const{ return m_virtualNode; }
47 inline bool VirtualNodeHasBeenSet() const { return m_virtualNodeHasBeenSet; }
48 inline void SetVirtualNode(const VirtualNodeServiceProvider& value) { m_virtualNodeHasBeenSet = true; m_virtualNode = value; }
49 inline void SetVirtualNode(VirtualNodeServiceProvider&& value) { m_virtualNodeHasBeenSet = true; m_virtualNode = std::move(value); }
51 inline VirtualServiceProvider& WithVirtualNode(VirtualNodeServiceProvider&& value) { SetVirtualNode(std::move(value)); return *this;}
53
55
58 inline const VirtualRouterServiceProvider& GetVirtualRouter() const{ return m_virtualRouter; }
59 inline bool VirtualRouterHasBeenSet() const { return m_virtualRouterHasBeenSet; }
60 inline void SetVirtualRouter(const VirtualRouterServiceProvider& value) { m_virtualRouterHasBeenSet = true; m_virtualRouter = value; }
61 inline void SetVirtualRouter(VirtualRouterServiceProvider&& value) { m_virtualRouterHasBeenSet = true; m_virtualRouter = std::move(value); }
65 private:
66
67 VirtualNodeServiceProvider m_virtualNode;
68 bool m_virtualNodeHasBeenSet = false;
69
70 VirtualRouterServiceProvider m_virtualRouter;
71 bool m_virtualRouterHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace AppMesh
76} // namespace Aws
const VirtualRouterServiceProvider & GetVirtualRouter() const
void SetVirtualRouter(const VirtualRouterServiceProvider &value)
VirtualServiceProvider & WithVirtualNode(const VirtualNodeServiceProvider &value)
void SetVirtualRouter(VirtualRouterServiceProvider &&value)
AWS_APPMESH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVirtualNode(VirtualNodeServiceProvider &&value)
void SetVirtualNode(const VirtualNodeServiceProvider &value)
VirtualServiceProvider & WithVirtualRouter(VirtualRouterServiceProvider &&value)
VirtualServiceProvider & WithVirtualRouter(const VirtualRouterServiceProvider &value)
AWS_APPMESH_API VirtualServiceProvider(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMESH_API VirtualServiceProvider & operator=(Aws::Utils::Json::JsonView jsonValue)
VirtualServiceProvider & WithVirtualNode(VirtualNodeServiceProvider &&value)
const VirtualNodeServiceProvider & GetVirtualNode() const
Aws::Utils::Json::JsonValue JsonValue