AWS SDK for C++  1.9.126
AWS SDK for C++
UpdateVirtualRouterResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace AppMesh
24 {
25 namespace Model
26 {
33  {
34  public:
38 
39 
43  inline const VirtualRouterData& GetVirtualRouter() const{ return m_virtualRouter; }
44 
48  inline void SetVirtualRouter(const VirtualRouterData& value) { m_virtualRouter = value; }
49 
53  inline void SetVirtualRouter(VirtualRouterData&& value) { m_virtualRouter = std::move(value); }
54 
58  inline UpdateVirtualRouterResult& WithVirtualRouter(const VirtualRouterData& value) { SetVirtualRouter(value); return *this;}
59 
63  inline UpdateVirtualRouterResult& WithVirtualRouter(VirtualRouterData&& value) { SetVirtualRouter(std::move(value)); return *this;}
64 
65  private:
66 
67  VirtualRouterData m_virtualRouter;
68  };
69 
70 } // namespace Model
71 } // namespace AppMesh
72 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AppMesh::Model::UpdateVirtualRouterResult::WithVirtualRouter
UpdateVirtualRouterResult & WithVirtualRouter(VirtualRouterData &&value)
Definition: UpdateVirtualRouterResult.h:63
Aws::AppMesh::Model::VirtualRouterData
Definition: VirtualRouterData.h:36
Aws::AppMesh::Model::UpdateVirtualRouterResult::UpdateVirtualRouterResult
UpdateVirtualRouterResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppMesh::Model::UpdateVirtualRouterResult::GetVirtualRouter
const VirtualRouterData & GetVirtualRouter() const
Definition: UpdateVirtualRouterResult.h:43
Aws::AppMesh::Model::UpdateVirtualRouterResult::UpdateVirtualRouterResult
UpdateVirtualRouterResult()
AppMesh_EXPORTS.h
Aws::AppMesh::Model::UpdateVirtualRouterResult::SetVirtualRouter
void SetVirtualRouter(VirtualRouterData &&value)
Definition: UpdateVirtualRouterResult.h:53
Aws::AppMesh::Model::UpdateVirtualRouterResult::SetVirtualRouter
void SetVirtualRouter(const VirtualRouterData &value)
Definition: UpdateVirtualRouterResult.h:48
Aws::AppMesh::Model::UpdateVirtualRouterResult
Definition: UpdateVirtualRouterResult.h:33
VirtualRouterData.h
Aws::AppMesh::Model::UpdateVirtualRouterResult::operator=
UpdateVirtualRouterResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::UpdateVirtualRouterResult::WithVirtualRouter
UpdateVirtualRouterResult & WithVirtualRouter(const VirtualRouterData &value)
Definition: UpdateVirtualRouterResult.h:58
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28