AWS SDK for C++  1.9.123
AWS SDK for C++
CreateRouteResult.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 RouteData& GetRoute() const{ return m_route; }
44 
48  inline void SetRoute(const RouteData& value) { m_route = value; }
49 
53  inline void SetRoute(RouteData&& value) { m_route = std::move(value); }
54 
58  inline CreateRouteResult& WithRoute(const RouteData& value) { SetRoute(value); return *this;}
59 
63  inline CreateRouteResult& WithRoute(RouteData&& value) { SetRoute(std::move(value)); return *this;}
64 
65  private:
66 
67  RouteData m_route;
68  };
69 
70 } // namespace Model
71 } // namespace AppMesh
72 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AppMesh::Model::CreateRouteResult
Definition: CreateRouteResult.h:33
Aws::AppMesh::Model::CreateRouteResult::WithRoute
CreateRouteResult & WithRoute(RouteData &&value)
Definition: CreateRouteResult.h:63
Aws::AppMesh::Model::CreateRouteResult::operator=
CreateRouteResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppMesh::Model::RouteData
Definition: RouteData.h:36
Aws::AppMesh::Model::CreateRouteResult::SetRoute
void SetRoute(const RouteData &value)
Definition: CreateRouteResult.h:48
AppMesh_EXPORTS.h
Aws::AppMesh::Model::CreateRouteResult::GetRoute
const RouteData & GetRoute() const
Definition: CreateRouteResult.h:43
Aws::AppMesh::Model::CreateRouteResult::WithRoute
CreateRouteResult & WithRoute(const RouteData &value)
Definition: CreateRouteResult.h:58
Aws::AppMesh::Model::CreateRouteResult::CreateRouteResult
CreateRouteResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RouteData.h
Aws::AppMesh::Model::CreateRouteResult::CreateRouteResult
CreateRouteResult()
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::CreateRouteResult::SetRoute
void SetRoute(RouteData &&value)
Definition: CreateRouteResult.h:53
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28