AWS SDK for C++  1.9.17
AWS SDK for C++
ListTagsForResourceResult.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 ListTagsForResourceResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
86 
94  inline ListTagsForResourceResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
95 
103  inline ListTagsForResourceResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
104 
105 
109  inline const Aws::Vector<TagRef>& GetTags() const{ return m_tags; }
110 
114  inline void SetTags(const Aws::Vector<TagRef>& value) { m_tags = value; }
115 
119  inline void SetTags(Aws::Vector<TagRef>&& value) { m_tags = std::move(value); }
120 
124  inline ListTagsForResourceResult& WithTags(const Aws::Vector<TagRef>& value) { SetTags(value); return *this;}
125 
129  inline ListTagsForResourceResult& WithTags(Aws::Vector<TagRef>&& value) { SetTags(std::move(value)); return *this;}
130 
134  inline ListTagsForResourceResult& AddTags(const TagRef& value) { m_tags.push_back(value); return *this; }
135 
139  inline ListTagsForResourceResult& AddTags(TagRef&& value) { m_tags.push_back(std::move(value)); return *this; }
140 
141  private:
142 
143  Aws::String m_nextToken;
144 
145  Aws::Vector<TagRef> m_tags;
146  };
147 
148 } // namespace Model
149 } // namespace AppMesh
150 } // namespace Aws
Aws::AppMesh::Model::ListTagsForResourceResult::WithTags
ListTagsForResourceResult & WithTags(const Aws::Vector< TagRef > &value)
Definition: ListTagsForResourceResult.h:124
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AppMesh::Model::ListTagsForResourceResult
Definition: ListTagsForResourceResult.h:35
Aws::AppMesh::Model::ListTagsForResourceResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListTagsForResourceResult.h:67
Aws::AppMesh::Model::ListTagsForResourceResult::operator=
ListTagsForResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
TagRef.h
Aws::AppMesh::Model::TagRef
Definition: TagRef.h:36
Aws::AppMesh::Model::ListTagsForResourceResult::SetTags
void SetTags(const Aws::Vector< TagRef > &value)
Definition: ListTagsForResourceResult.h:114
Aws::AppMesh::Model::ListTagsForResourceResult::GetTags
const Aws::Vector< TagRef > & GetTags() const
Definition: ListTagsForResourceResult.h:109
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AppMesh::Model::ListTagsForResourceResult::ListTagsForResourceResult
ListTagsForResourceResult()
AppMesh_EXPORTS.h
AWSVector.h
Aws::AppMesh::Model::ListTagsForResourceResult::WithTags
ListTagsForResourceResult & WithTags(Aws::Vector< TagRef > &&value)
Definition: ListTagsForResourceResult.h:129
Aws::AppMesh::Model::ListTagsForResourceResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListTagsForResourceResult.h:58
AWSString.h
Aws::AppMesh::Model::ListTagsForResourceResult::AddTags
ListTagsForResourceResult & AddTags(TagRef &&value)
Definition: ListTagsForResourceResult.h:139
Aws::AppMesh::Model::ListTagsForResourceResult::SetTags
void SetTags(Aws::Vector< TagRef > &&value)
Definition: ListTagsForResourceResult.h:119
Aws::AppMesh::Model::ListTagsForResourceResult::WithNextToken
ListTagsForResourceResult & WithNextToken(Aws::String &&value)
Definition: ListTagsForResourceResult.h:94
Aws::AppMesh::Model::ListTagsForResourceResult::AddTags
ListTagsForResourceResult & AddTags(const TagRef &value)
Definition: ListTagsForResourceResult.h:134
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::ListTagsForResourceResult::ListTagsForResourceResult
ListTagsForResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppMesh::Model::ListTagsForResourceResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListTagsForResourceResult.h:49
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::ListTagsForResourceResult::WithNextToken
ListTagsForResourceResult & WithNextToken(const char *value)
Definition: ListTagsForResourceResult.h:103
Aws::AppMesh::Model::ListTagsForResourceResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListTagsForResourceResult.h:76
Aws::AppMesh::Model::ListTagsForResourceResult::WithNextToken
ListTagsForResourceResult & WithNextToken(const Aws::String &value)
Definition: ListTagsForResourceResult.h:85
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28