AWS SDK for C++  1.9.123
AWS SDK for C++
ListVirtualNodesResult.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 {
35  {
36  public:
40 
41 
49  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
50 
58  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
59 
67  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
68 
76  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
77 
85  inline ListVirtualNodesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
86 
94  inline ListVirtualNodesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
95 
103  inline ListVirtualNodesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
104 
105 
109  inline const Aws::Vector<VirtualNodeRef>& GetVirtualNodes() const{ return m_virtualNodes; }
110 
114  inline void SetVirtualNodes(const Aws::Vector<VirtualNodeRef>& value) { m_virtualNodes = value; }
115 
119  inline void SetVirtualNodes(Aws::Vector<VirtualNodeRef>&& value) { m_virtualNodes = std::move(value); }
120 
124  inline ListVirtualNodesResult& WithVirtualNodes(const Aws::Vector<VirtualNodeRef>& value) { SetVirtualNodes(value); return *this;}
125 
129  inline ListVirtualNodesResult& WithVirtualNodes(Aws::Vector<VirtualNodeRef>&& value) { SetVirtualNodes(std::move(value)); return *this;}
130 
134  inline ListVirtualNodesResult& AddVirtualNodes(const VirtualNodeRef& value) { m_virtualNodes.push_back(value); return *this; }
135 
139  inline ListVirtualNodesResult& AddVirtualNodes(VirtualNodeRef&& value) { m_virtualNodes.push_back(std::move(value)); return *this; }
140 
141  private:
142 
143  Aws::String m_nextToken;
144 
145  Aws::Vector<VirtualNodeRef> m_virtualNodes;
146  };
147 
148 } // namespace Model
149 } // namespace AppMesh
150 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AppMesh::Model::ListVirtualNodesResult::GetVirtualNodes
const Aws::Vector< VirtualNodeRef > & GetVirtualNodes() const
Definition: ListVirtualNodesResult.h:109
Aws::AppMesh::Model::ListVirtualNodesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListVirtualNodesResult.h:49
Aws::AppMesh::Model::ListVirtualNodesResult::WithNextToken
ListVirtualNodesResult & WithNextToken(const char *value)
Definition: ListVirtualNodesResult.h:103
Aws::AppMesh::Model::ListVirtualNodesResult::WithNextToken
ListVirtualNodesResult & WithNextToken(Aws::String &&value)
Definition: ListVirtualNodesResult.h:94
Aws::AppMesh::Model::ListVirtualNodesResult::WithNextToken
ListVirtualNodesResult & WithNextToken(const Aws::String &value)
Definition: ListVirtualNodesResult.h:85
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AppMesh::Model::ListVirtualNodesResult::SetVirtualNodes
void SetVirtualNodes(const Aws::Vector< VirtualNodeRef > &value)
Definition: ListVirtualNodesResult.h:114
AppMesh_EXPORTS.h
AWSVector.h
Aws::AppMesh::Model::VirtualNodeRef
Definition: VirtualNodeRef.h:34
Aws::AppMesh::Model::ListVirtualNodesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListVirtualNodesResult.h:67
Aws::AppMesh::Model::ListVirtualNodesResult::AddVirtualNodes
ListVirtualNodesResult & AddVirtualNodes(const VirtualNodeRef &value)
Definition: ListVirtualNodesResult.h:134
Aws::AppMesh::Model::ListVirtualNodesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListVirtualNodesResult.h:76
AWSString.h
Aws::AppMesh::Model::ListVirtualNodesResult::AddVirtualNodes
ListVirtualNodesResult & AddVirtualNodes(VirtualNodeRef &&value)
Definition: ListVirtualNodesResult.h:139
Aws::AppMesh::Model::ListVirtualNodesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListVirtualNodesResult.h:58
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::ListVirtualNodesResult::ListVirtualNodesResult
ListVirtualNodesResult(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::ListVirtualNodesResult::SetVirtualNodes
void SetVirtualNodes(Aws::Vector< VirtualNodeRef > &&value)
Definition: ListVirtualNodesResult.h:119
VirtualNodeRef.h
Aws::AppMesh::Model::ListVirtualNodesResult::operator=
ListVirtualNodesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppMesh::Model::ListVirtualNodesResult
Definition: ListVirtualNodesResult.h:35
Aws::AppMesh::Model::ListVirtualNodesResult::ListVirtualNodesResult
ListVirtualNodesResult()
Aws::AppMesh::Model::ListVirtualNodesResult::WithVirtualNodes
ListVirtualNodesResult & WithVirtualNodes(Aws::Vector< VirtualNodeRef > &&value)
Definition: ListVirtualNodesResult.h:129
Aws::AppMesh::Model::ListVirtualNodesResult::WithVirtualNodes
ListVirtualNodesResult & WithVirtualNodes(const Aws::Vector< VirtualNodeRef > &value)
Definition: ListVirtualNodesResult.h:124
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28