AWS SDK for C++  1.9.131
AWS SDK for C++
ListVirtualGatewaysResult.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 
44  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
45 
53  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
54 
62  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
63 
71  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
72 
80  inline ListVirtualGatewaysResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
81 
89  inline ListVirtualGatewaysResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
90 
98  inline ListVirtualGatewaysResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
99 
100 
104  inline const Aws::Vector<VirtualGatewayRef>& GetVirtualGateways() const{ return m_virtualGateways; }
105 
109  inline void SetVirtualGateways(const Aws::Vector<VirtualGatewayRef>& value) { m_virtualGateways = value; }
110 
114  inline void SetVirtualGateways(Aws::Vector<VirtualGatewayRef>&& value) { m_virtualGateways = std::move(value); }
115 
119  inline ListVirtualGatewaysResult& WithVirtualGateways(const Aws::Vector<VirtualGatewayRef>& value) { SetVirtualGateways(value); return *this;}
120 
124  inline ListVirtualGatewaysResult& WithVirtualGateways(Aws::Vector<VirtualGatewayRef>&& value) { SetVirtualGateways(std::move(value)); return *this;}
125 
129  inline ListVirtualGatewaysResult& AddVirtualGateways(const VirtualGatewayRef& value) { m_virtualGateways.push_back(value); return *this; }
130 
134  inline ListVirtualGatewaysResult& AddVirtualGateways(VirtualGatewayRef&& value) { m_virtualGateways.push_back(std::move(value)); return *this; }
135 
136  private:
137 
138  Aws::String m_nextToken;
139 
140  Aws::Vector<VirtualGatewayRef> m_virtualGateways;
141  };
142 
143 } // namespace Model
144 } // namespace AppMesh
145 } // namespace Aws
Aws::AppMesh::Model::ListVirtualGatewaysResult::SetVirtualGateways
void SetVirtualGateways(const Aws::Vector< VirtualGatewayRef > &value)
Definition: ListVirtualGatewaysResult.h:109
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AppMesh::Model::ListVirtualGatewaysResult::AddVirtualGateways
ListVirtualGatewaysResult & AddVirtualGateways(const VirtualGatewayRef &value)
Definition: ListVirtualGatewaysResult.h:129
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AppMesh_EXPORTS.h
Aws::AppMesh::Model::ListVirtualGatewaysResult::operator=
ListVirtualGatewaysResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSVector.h
Aws::AppMesh::Model::ListVirtualGatewaysResult::WithVirtualGateways
ListVirtualGatewaysResult & WithVirtualGateways(const Aws::Vector< VirtualGatewayRef > &value)
Definition: ListVirtualGatewaysResult.h:119
Aws::AppMesh::Model::ListVirtualGatewaysResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListVirtualGatewaysResult.h:44
Aws::AppMesh::Model::ListVirtualGatewaysResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListVirtualGatewaysResult.h:53
Aws::AppMesh::Model::ListVirtualGatewaysResult::WithNextToken
ListVirtualGatewaysResult & WithNextToken(const Aws::String &value)
Definition: ListVirtualGatewaysResult.h:80
Aws::AppMesh::Model::ListVirtualGatewaysResult
Definition: ListVirtualGatewaysResult.h:30
Aws::AppMesh::Model::ListVirtualGatewaysResult::ListVirtualGatewaysResult
ListVirtualGatewaysResult()
Aws::AppMesh::Model::ListVirtualGatewaysResult::WithVirtualGateways
ListVirtualGatewaysResult & WithVirtualGateways(Aws::Vector< VirtualGatewayRef > &&value)
Definition: ListVirtualGatewaysResult.h:124
Aws::AppMesh::Model::ListVirtualGatewaysResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListVirtualGatewaysResult.h:62
AWSString.h
Aws::AppMesh::Model::ListVirtualGatewaysResult::WithNextToken
ListVirtualGatewaysResult & WithNextToken(Aws::String &&value)
Definition: ListVirtualGatewaysResult.h:89
Aws::AppMesh::Model::VirtualGatewayRef
Definition: VirtualGatewayRef.h:34
Aws::AppMesh::Model::ListVirtualGatewaysResult::AddVirtualGateways
ListVirtualGatewaysResult & AddVirtualGateways(VirtualGatewayRef &&value)
Definition: ListVirtualGatewaysResult.h:134
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::ListVirtualGatewaysResult::ListVirtualGatewaysResult
ListVirtualGatewaysResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::ListVirtualGatewaysResult::SetVirtualGateways
void SetVirtualGateways(Aws::Vector< VirtualGatewayRef > &&value)
Definition: ListVirtualGatewaysResult.h:114
VirtualGatewayRef.h
Aws::AppMesh::Model::ListVirtualGatewaysResult::GetVirtualGateways
const Aws::Vector< VirtualGatewayRef > & GetVirtualGateways() const
Definition: ListVirtualGatewaysResult.h:104
Aws::AppMesh::Model::ListVirtualGatewaysResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListVirtualGatewaysResult.h:71
Aws::AppMesh::Model::ListVirtualGatewaysResult::WithNextToken
ListVirtualGatewaysResult & WithNextToken(const char *value)
Definition: ListVirtualGatewaysResult.h:98
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28