AWS SDK for C++  1.9.175
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 Route53Resolver
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
42 
47  inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
48 
53  inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
54 
59  inline ListTagsForResourceResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
60 
65  inline ListTagsForResourceResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
66 
71  inline ListTagsForResourceResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
72 
77  inline ListTagsForResourceResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
78 
79 
86  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
87 
94  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
95 
102  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
103 
110  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
111 
118  inline ListTagsForResourceResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
119 
126  inline ListTagsForResourceResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
127 
134  inline ListTagsForResourceResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
135 
136  private:
137 
138  Aws::Vector<Tag> m_tags;
139 
140  Aws::String m_nextToken;
141  };
142 
143 } // namespace Model
144 } // namespace Route53Resolver
145 } // namespace Aws
Aws::Route53Resolver::Model::ListTagsForResourceResult::operator=
ListTagsForResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Route53Resolver::Model::ListTagsForResourceResult::WithTags
ListTagsForResourceResult & WithTags(const Aws::Vector< Tag > &value)
Definition: ListTagsForResourceResult.h:59
Route53Resolver_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Route53Resolver::Model::ListTagsForResourceResult::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: ListTagsForResourceResult.h:53
Aws::Route53Resolver::Model::ListTagsForResourceResult::WithNextToken
ListTagsForResourceResult & WithNextToken(const Aws::String &value)
Definition: ListTagsForResourceResult.h:118
Aws::Route53Resolver::Model::ListTagsForResourceResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListTagsForResourceResult.h:110
Aws::Route53Resolver::Model::Tag
Definition: Tag.h:34
AWS_ROUTE53RESOLVER_API
#define AWS_ROUTE53RESOLVER_API
Definition: Route53Resolver_EXPORTS.h:28
Aws::Route53Resolver::Model::ListTagsForResourceResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListTagsForResourceResult.h:102
Aws::Route53Resolver::Model::ListTagsForResourceResult::ListTagsForResourceResult
ListTagsForResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::Route53Resolver::Model::ListTagsForResourceResult::WithNextToken
ListTagsForResourceResult & WithNextToken(Aws::String &&value)
Definition: ListTagsForResourceResult.h:126
Aws::Route53Resolver::Model::ListTagsForResourceResult::AddTags
ListTagsForResourceResult & AddTags(const Tag &value)
Definition: ListTagsForResourceResult.h:71
Aws::Route53Resolver::Model::ListTagsForResourceResult::WithNextToken
ListTagsForResourceResult & WithNextToken(const char *value)
Definition: ListTagsForResourceResult.h:134
Aws::Route53Resolver::Model::ListTagsForResourceResult::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: ListTagsForResourceResult.h:41
Aws::Route53Resolver::Model::ListTagsForResourceResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListTagsForResourceResult.h:86
Aws::Route53Resolver::Model::ListTagsForResourceResult::WithTags
ListTagsForResourceResult & WithTags(Aws::Vector< Tag > &&value)
Definition: ListTagsForResourceResult.h:65
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Route53Resolver::Model::ListTagsForResourceResult::AddTags
ListTagsForResourceResult & AddTags(Tag &&value)
Definition: ListTagsForResourceResult.h:77
Aws::Route53Resolver::Model::ListTagsForResourceResult::ListTagsForResourceResult
ListTagsForResourceResult()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Route53Resolver::Model::ListTagsForResourceResult::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: ListTagsForResourceResult.h:47
Aws::Route53Resolver::Model::ListTagsForResourceResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListTagsForResourceResult.h:94
Aws::Route53Resolver::Model::ListTagsForResourceResult
Definition: ListTagsForResourceResult.h:30
Tag.h