AWS SDK for C++  1.9.17
AWS SDK for C++
VirtualServiceProvider.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace AppMesh
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const VirtualNodeServiceProvider& GetVirtualNode() const{ return m_virtualNode; }
46 
50  inline bool VirtualNodeHasBeenSet() const { return m_virtualNodeHasBeenSet; }
51 
55  inline void SetVirtualNode(const VirtualNodeServiceProvider& value) { m_virtualNodeHasBeenSet = true; m_virtualNode = value; }
56 
60  inline void SetVirtualNode(VirtualNodeServiceProvider&& value) { m_virtualNodeHasBeenSet = true; m_virtualNode = std::move(value); }
61 
65  inline VirtualServiceProvider& WithVirtualNode(const VirtualNodeServiceProvider& value) { SetVirtualNode(value); return *this;}
66 
70  inline VirtualServiceProvider& WithVirtualNode(VirtualNodeServiceProvider&& value) { SetVirtualNode(std::move(value)); return *this;}
71 
72 
76  inline const VirtualRouterServiceProvider& GetVirtualRouter() const{ return m_virtualRouter; }
77 
81  inline bool VirtualRouterHasBeenSet() const { return m_virtualRouterHasBeenSet; }
82 
86  inline void SetVirtualRouter(const VirtualRouterServiceProvider& value) { m_virtualRouterHasBeenSet = true; m_virtualRouter = value; }
87 
91  inline void SetVirtualRouter(VirtualRouterServiceProvider&& value) { m_virtualRouterHasBeenSet = true; m_virtualRouter = std::move(value); }
92 
96  inline VirtualServiceProvider& WithVirtualRouter(const VirtualRouterServiceProvider& value) { SetVirtualRouter(value); return *this;}
97 
101  inline VirtualServiceProvider& WithVirtualRouter(VirtualRouterServiceProvider&& value) { SetVirtualRouter(std::move(value)); return *this;}
102 
103  private:
104 
105  VirtualNodeServiceProvider m_virtualNode;
106  bool m_virtualNodeHasBeenSet;
107 
108  VirtualRouterServiceProvider m_virtualRouter;
109  bool m_virtualRouterHasBeenSet;
110  };
111 
112 } // namespace Model
113 } // namespace AppMesh
114 } // namespace Aws
Aws::AppMesh::Model::VirtualServiceProvider::VirtualRouterHasBeenSet
bool VirtualRouterHasBeenSet() const
Definition: VirtualServiceProvider.h:81
Aws::AppMesh::Model::VirtualServiceProvider::GetVirtualNode
const VirtualNodeServiceProvider & GetVirtualNode() const
Definition: VirtualServiceProvider.h:45
Aws::AppMesh::Model::VirtualServiceProvider::WithVirtualRouter
VirtualServiceProvider & WithVirtualRouter(VirtualRouterServiceProvider &&value)
Definition: VirtualServiceProvider.h:101
Aws::AppMesh::Model::VirtualServiceProvider::VirtualNodeHasBeenSet
bool VirtualNodeHasBeenSet() const
Definition: VirtualServiceProvider.h:50
Aws::AppMesh::Model::VirtualServiceProvider::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::VirtualServiceProvider::SetVirtualNode
void SetVirtualNode(VirtualNodeServiceProvider &&value)
Definition: VirtualServiceProvider.h:60
AppMesh_EXPORTS.h
Aws::AppMesh::Model::VirtualServiceProvider::WithVirtualNode
VirtualServiceProvider & WithVirtualNode(const VirtualNodeServiceProvider &value)
Definition: VirtualServiceProvider.h:65
Aws::AppMesh::Model::VirtualServiceProvider::VirtualServiceProvider
VirtualServiceProvider(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualServiceProvider::operator=
VirtualServiceProvider & operator=(Aws::Utils::Json::JsonView jsonValue)
VirtualNodeServiceProvider.h
Aws::AppMesh::Model::VirtualServiceProvider
Definition: VirtualServiceProvider.h:34
Aws::AppMesh::Model::VirtualServiceProvider::GetVirtualRouter
const VirtualRouterServiceProvider & GetVirtualRouter() const
Definition: VirtualServiceProvider.h:76
Aws::AppMesh::Model::VirtualServiceProvider::SetVirtualNode
void SetVirtualNode(const VirtualNodeServiceProvider &value)
Definition: VirtualServiceProvider.h:55
Aws::AppMesh::Model::VirtualServiceProvider::WithVirtualNode
VirtualServiceProvider & WithVirtualNode(VirtualNodeServiceProvider &&value)
Definition: VirtualServiceProvider.h:70
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::AppMesh::Model::VirtualServiceProvider::SetVirtualRouter
void SetVirtualRouter(const VirtualRouterServiceProvider &value)
Definition: VirtualServiceProvider.h:86
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
VirtualRouterServiceProvider.h
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::VirtualNodeServiceProvider
Definition: VirtualNodeServiceProvider.h:33
Aws::AppMesh::Model::VirtualServiceProvider::SetVirtualRouter
void SetVirtualRouter(VirtualRouterServiceProvider &&value)
Definition: VirtualServiceProvider.h:91
Aws::AppMesh::Model::VirtualRouterServiceProvider
Definition: VirtualRouterServiceProvider.h:33
Aws::AppMesh::Model::VirtualServiceProvider::WithVirtualRouter
VirtualServiceProvider & WithVirtualRouter(const VirtualRouterServiceProvider &value)
Definition: VirtualServiceProvider.h:96
Aws::AppMesh::Model::VirtualServiceProvider::VirtualServiceProvider
VirtualServiceProvider()
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28