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