AWS SDK for C++  1.9.124
AWS SDK for C++
CreateVirtualRouterResult.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 CreateVirtualRouterResult& WithVirtualRouter(const VirtualRouterData& value) { SetVirtualRouter(value); return *this;}
59 
63  inline CreateVirtualRouterResult& 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::CreateVirtualRouterResult::WithVirtualRouter
CreateVirtualRouterResult & WithVirtualRouter(const VirtualRouterData &value)
Definition: CreateVirtualRouterResult.h:58
Aws::AppMesh::Model::CreateVirtualRouterResult::CreateVirtualRouterResult
CreateVirtualRouterResult()
Aws::AppMesh::Model::CreateVirtualRouterResult
Definition: CreateVirtualRouterResult.h:33
Aws::AppMesh::Model::VirtualRouterData
Definition: VirtualRouterData.h:36
Aws::AppMesh::Model::CreateVirtualRouterResult::SetVirtualRouter
void SetVirtualRouter(VirtualRouterData &&value)
Definition: CreateVirtualRouterResult.h:53
AppMesh_EXPORTS.h
Aws::AppMesh::Model::CreateVirtualRouterResult::SetVirtualRouter
void SetVirtualRouter(const VirtualRouterData &value)
Definition: CreateVirtualRouterResult.h:48
Aws::AppMesh::Model::CreateVirtualRouterResult::operator=
CreateVirtualRouterResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppMesh::Model::CreateVirtualRouterResult::GetVirtualRouter
const VirtualRouterData & GetVirtualRouter() const
Definition: CreateVirtualRouterResult.h:43
VirtualRouterData.h
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::CreateVirtualRouterResult::WithVirtualRouter
CreateVirtualRouterResult & WithVirtualRouter(VirtualRouterData &&value)
Definition: CreateVirtualRouterResult.h:63
Aws::AppMesh::Model::CreateVirtualRouterResult::CreateVirtualRouterResult
CreateVirtualRouterResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28