AWS SDK for C++  1.9.16
AWS SDK for C++
ListGatewayRoutesResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace AppMesh
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const Aws::Vector<GatewayRouteRef>& GetGatewayRoutes() const{ return m_gatewayRoutes; }
42 
47  inline void SetGatewayRoutes(const Aws::Vector<GatewayRouteRef>& value) { m_gatewayRoutes = value; }
48 
53  inline void SetGatewayRoutes(Aws::Vector<GatewayRouteRef>&& value) { m_gatewayRoutes = std::move(value); }
54 
59  inline ListGatewayRoutesResult& WithGatewayRoutes(const Aws::Vector<GatewayRouteRef>& value) { SetGatewayRoutes(value); return *this;}
60 
65  inline ListGatewayRoutesResult& WithGatewayRoutes(Aws::Vector<GatewayRouteRef>&& value) { SetGatewayRoutes(std::move(value)); return *this;}
66 
71  inline ListGatewayRoutesResult& AddGatewayRoutes(const GatewayRouteRef& value) { m_gatewayRoutes.push_back(value); return *this; }
72 
77  inline ListGatewayRoutesResult& AddGatewayRoutes(GatewayRouteRef&& value) { m_gatewayRoutes.push_back(std::move(value)); return *this; }
78 
79 
87  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
88 
96  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
97 
105  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
106 
114  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
115 
123  inline ListGatewayRoutesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
124 
132  inline ListGatewayRoutesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
133 
141  inline ListGatewayRoutesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
142 
143  private:
144 
145  Aws::Vector<GatewayRouteRef> m_gatewayRoutes;
146 
147  Aws::String m_nextToken;
148  };
149 
150 } // namespace Model
151 } // namespace AppMesh
152 } // namespace Aws
Aws::AppMesh::Model::ListGatewayRoutesResult::WithNextToken
ListGatewayRoutesResult & WithNextToken(const Aws::String &value)
Definition: ListGatewayRoutesResult.h:123
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AppMesh::Model::ListGatewayRoutesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListGatewayRoutesResult.h:114
Aws::AppMesh::Model::ListGatewayRoutesResult::SetGatewayRoutes
void SetGatewayRoutes(const Aws::Vector< GatewayRouteRef > &value)
Definition: ListGatewayRoutesResult.h:47
Aws::AppMesh::Model::ListGatewayRoutesResult::WithGatewayRoutes
ListGatewayRoutesResult & WithGatewayRoutes(const Aws::Vector< GatewayRouteRef > &value)
Definition: ListGatewayRoutesResult.h:59
Aws::AppMesh::Model::ListGatewayRoutesResult::AddGatewayRoutes
ListGatewayRoutesResult & AddGatewayRoutes(GatewayRouteRef &&value)
Definition: ListGatewayRoutesResult.h:77
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AppMesh::Model::ListGatewayRoutesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListGatewayRoutesResult.h:87
AppMesh_EXPORTS.h
Aws::AppMesh::Model::ListGatewayRoutesResult::operator=
ListGatewayRoutesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSVector.h
GatewayRouteRef.h
Aws::AppMesh::Model::ListGatewayRoutesResult::WithNextToken
ListGatewayRoutesResult & WithNextToken(Aws::String &&value)
Definition: ListGatewayRoutesResult.h:132
Aws::AppMesh::Model::ListGatewayRoutesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListGatewayRoutesResult.h:105
AWSString.h
Aws::AppMesh::Model::ListGatewayRoutesResult::WithNextToken
ListGatewayRoutesResult & WithNextToken(const char *value)
Definition: ListGatewayRoutesResult.h:141
Aws::AppMesh::Model::ListGatewayRoutesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListGatewayRoutesResult.h:96
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::ListGatewayRoutesResult
Definition: ListGatewayRoutesResult.h:30
Aws::AppMesh::Model::ListGatewayRoutesResult::GetGatewayRoutes
const Aws::Vector< GatewayRouteRef > & GetGatewayRoutes() const
Definition: ListGatewayRoutesResult.h:41
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::ListGatewayRoutesResult::ListGatewayRoutesResult
ListGatewayRoutesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppMesh::Model::GatewayRouteRef
Definition: GatewayRouteRef.h:34
Aws::AppMesh::Model::ListGatewayRoutesResult::SetGatewayRoutes
void SetGatewayRoutes(Aws::Vector< GatewayRouteRef > &&value)
Definition: ListGatewayRoutesResult.h:53
Aws::AppMesh::Model::ListGatewayRoutesResult::WithGatewayRoutes
ListGatewayRoutesResult & WithGatewayRoutes(Aws::Vector< GatewayRouteRef > &&value)
Definition: ListGatewayRoutesResult.h:65
Aws::AppMesh::Model::ListGatewayRoutesResult::ListGatewayRoutesResult
ListGatewayRoutesResult()
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::ListGatewayRoutesResult::AddGatewayRoutes
ListGatewayRoutesResult & AddGatewayRoutes(const GatewayRouteRef &value)
Definition: ListGatewayRoutesResult.h:71