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