AWS SDK for C++  1.9.17
AWS SDK for C++
DeleteGatewayRouteResult.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 {
28  {
29  public:
33 
34 
38  inline const GatewayRouteData& GetGatewayRoute() const{ return m_gatewayRoute; }
39 
43  inline void SetGatewayRoute(const GatewayRouteData& value) { m_gatewayRoute = value; }
44 
48  inline void SetGatewayRoute(GatewayRouteData&& value) { m_gatewayRoute = std::move(value); }
49 
53  inline DeleteGatewayRouteResult& WithGatewayRoute(const GatewayRouteData& value) { SetGatewayRoute(value); return *this;}
54 
58  inline DeleteGatewayRouteResult& WithGatewayRoute(GatewayRouteData&& value) { SetGatewayRoute(std::move(value)); return *this;}
59 
60  private:
61 
62  GatewayRouteData m_gatewayRoute;
63  };
64 
65 } // namespace Model
66 } // namespace AppMesh
67 } // namespace Aws
Aws::AppMesh::Model::DeleteGatewayRouteResult::WithGatewayRoute
DeleteGatewayRouteResult & WithGatewayRoute(const GatewayRouteData &value)
Definition: DeleteGatewayRouteResult.h:53
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AppMesh::Model::DeleteGatewayRouteResult::operator=
DeleteGatewayRouteResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppMesh::Model::DeleteGatewayRouteResult::SetGatewayRoute
void SetGatewayRoute(GatewayRouteData &&value)
Definition: DeleteGatewayRouteResult.h:48
Aws::AppMesh::Model::DeleteGatewayRouteResult::SetGatewayRoute
void SetGatewayRoute(const GatewayRouteData &value)
Definition: DeleteGatewayRouteResult.h:43
AppMesh_EXPORTS.h
Aws::AppMesh::Model::DeleteGatewayRouteResult::DeleteGatewayRouteResult
DeleteGatewayRouteResult()
Aws::AppMesh::Model::DeleteGatewayRouteResult::DeleteGatewayRouteResult
DeleteGatewayRouteResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppMesh::Model::DeleteGatewayRouteResult::GetGatewayRoute
const GatewayRouteData & GetGatewayRoute() const
Definition: DeleteGatewayRouteResult.h:38
GatewayRouteData.h
Aws::AppMesh::Model::GatewayRouteData
Definition: GatewayRouteData.h:36
Aws::AppMesh::Model::DeleteGatewayRouteResult::WithGatewayRoute
DeleteGatewayRouteResult & WithGatewayRoute(GatewayRouteData &&value)
Definition: DeleteGatewayRouteResult.h:58
Aws::AppMesh::Model::DeleteGatewayRouteResult
Definition: DeleteGatewayRouteResult.h:28
Aws
Definition: AccessManagementClient.h:15
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28