AWS SDK for C++  1.9.107
AWS SDK for C++
ListTagsForResourceResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <aws/athena/model/Tag.h>
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 Athena
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
41 
45  inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
46 
50  inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
51 
55  inline ListTagsForResourceResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
56 
60  inline ListTagsForResourceResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
61 
65  inline ListTagsForResourceResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
66 
70  inline ListTagsForResourceResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
71 
72 
76  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
77 
81  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
82 
86  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
87 
91  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
92 
96  inline ListTagsForResourceResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
97 
101  inline ListTagsForResourceResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
102 
106  inline ListTagsForResourceResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
107 
108  private:
109 
110  Aws::Vector<Tag> m_tags;
111 
112  Aws::String m_nextToken;
113  };
114 
115 } // namespace Model
116 } // namespace Athena
117 } // namespace Aws
Aws::Athena::Model::ListTagsForResourceResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListTagsForResourceResult.h:76
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Tag.h
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::Model::ListTagsForResourceResult
Definition: ListTagsForResourceResult.h:30
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Athena::Model::ListTagsForResourceResult::operator=
ListTagsForResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Athena::Model::ListTagsForResourceResult::AddTags
ListTagsForResourceResult & AddTags(const Tag &value)
Definition: ListTagsForResourceResult.h:65
AWSVector.h
Aws::Athena::Model::ListTagsForResourceResult::WithTags
ListTagsForResourceResult & WithTags(Aws::Vector< Tag > &&value)
Definition: ListTagsForResourceResult.h:60
Aws::Athena::Model::ListTagsForResourceResult::WithNextToken
ListTagsForResourceResult & WithNextToken(Aws::String &&value)
Definition: ListTagsForResourceResult.h:101
Aws::Athena::Model::ListTagsForResourceResult::ListTagsForResourceResult
ListTagsForResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Athena::Model::ListTagsForResourceResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListTagsForResourceResult.h:81
Aws::Athena::Model::ListTagsForResourceResult::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: ListTagsForResourceResult.h:45
Aws::Athena::Model::ListTagsForResourceResult::WithNextToken
ListTagsForResourceResult & WithNextToken(const char *value)
Definition: ListTagsForResourceResult.h:106
Aws::Athena::Model::ListTagsForResourceResult::AddTags
ListTagsForResourceResult & AddTags(Tag &&value)
Definition: ListTagsForResourceResult.h:70
AWSString.h
Athena_EXPORTS.h
Aws::Athena::Model::ListTagsForResourceResult::WithNextToken
ListTagsForResourceResult & WithNextToken(const Aws::String &value)
Definition: ListTagsForResourceResult.h:96
Aws::Athena::Model::ListTagsForResourceResult::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: ListTagsForResourceResult.h:50
Aws::Athena::Model::ListTagsForResourceResult::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: ListTagsForResourceResult.h:40
Aws::Athena::Model::ListTagsForResourceResult::ListTagsForResourceResult
ListTagsForResourceResult()
Aws::Athena::Model::Tag
Definition: Tag.h:44
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Athena::Model::ListTagsForResourceResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListTagsForResourceResult.h:86
Aws::Athena::Model::ListTagsForResourceResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListTagsForResourceResult.h:91
Aws::Athena::Model::ListTagsForResourceResult::WithTags
ListTagsForResourceResult & WithTags(const Aws::Vector< Tag > &value)
Definition: ListTagsForResourceResult.h:55