AWS SDK for C++  1.9.17
AWS SDK for C++
ListMeshesResult.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 
45  inline const Aws::Vector<MeshRef>& GetMeshes() const{ return m_meshes; }
46 
50  inline void SetMeshes(const Aws::Vector<MeshRef>& value) { m_meshes = value; }
51 
55  inline void SetMeshes(Aws::Vector<MeshRef>&& value) { m_meshes = std::move(value); }
56 
60  inline ListMeshesResult& WithMeshes(const Aws::Vector<MeshRef>& value) { SetMeshes(value); return *this;}
61 
65  inline ListMeshesResult& WithMeshes(Aws::Vector<MeshRef>&& value) { SetMeshes(std::move(value)); return *this;}
66 
70  inline ListMeshesResult& AddMeshes(const MeshRef& value) { m_meshes.push_back(value); return *this; }
71 
75  inline ListMeshesResult& AddMeshes(MeshRef&& value) { m_meshes.push_back(std::move(value)); return *this; }
76 
77 
85  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
86 
94  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
95 
103  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
104 
112  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
113 
121  inline ListMeshesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
122 
130  inline ListMeshesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
131 
139  inline ListMeshesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
140 
141  private:
142 
143  Aws::Vector<MeshRef> m_meshes;
144 
145  Aws::String m_nextToken;
146  };
147 
148 } // namespace Model
149 } // namespace AppMesh
150 } // namespace Aws
Aws::AppMesh::Model::ListMeshesResult::AddMeshes
ListMeshesResult & AddMeshes(MeshRef &&value)
Definition: ListMeshesResult.h:75
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AppMesh::Model::ListMeshesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListMeshesResult.h:112
Aws::AppMesh::Model::ListMeshesResult::WithMeshes
ListMeshesResult & WithMeshes(Aws::Vector< MeshRef > &&value)
Definition: ListMeshesResult.h:65
Aws::AppMesh::Model::ListMeshesResult::ListMeshesResult
ListMeshesResult()
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
MeshRef.h
AppMesh_EXPORTS.h
AWSVector.h
Aws::AppMesh::Model::ListMeshesResult
Definition: ListMeshesResult.h:35
Aws::AppMesh::Model::MeshRef
Definition: MeshRef.h:34
Aws::AppMesh::Model::ListMeshesResult::WithNextToken
ListMeshesResult & WithNextToken(Aws::String &&value)
Definition: ListMeshesResult.h:130
Aws::AppMesh::Model::ListMeshesResult::SetMeshes
void SetMeshes(Aws::Vector< MeshRef > &&value)
Definition: ListMeshesResult.h:55
Aws::AppMesh::Model::ListMeshesResult::operator=
ListMeshesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppMesh::Model::ListMeshesResult::ListMeshesResult
ListMeshesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppMesh::Model::ListMeshesResult::SetMeshes
void SetMeshes(const Aws::Vector< MeshRef > &value)
Definition: ListMeshesResult.h:50
Aws::AppMesh::Model::ListMeshesResult::GetMeshes
const Aws::Vector< MeshRef > & GetMeshes() const
Definition: ListMeshesResult.h:45
AWSString.h
Aws::AppMesh::Model::ListMeshesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListMeshesResult.h:103
Aws::AppMesh::Model::ListMeshesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListMeshesResult.h:94
Aws::AppMesh::Model::ListMeshesResult::WithNextToken
ListMeshesResult & WithNextToken(const char *value)
Definition: ListMeshesResult.h:139
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::ListMeshesResult::WithNextToken
ListMeshesResult & WithNextToken(const Aws::String &value)
Definition: ListMeshesResult.h:121
Aws::AppMesh::Model::ListMeshesResult::WithMeshes
ListMeshesResult & WithMeshes(const Aws::Vector< MeshRef > &value)
Definition: ListMeshesResult.h:60
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::ListMeshesResult::AddMeshes
ListMeshesResult & AddMeshes(const MeshRef &value)
Definition: ListMeshesResult.h:70
Aws::AppMesh::Model::ListMeshesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListMeshesResult.h:85
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28