AWS SDK for C++  1.9.129
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 StorageGateway
26 {
27 namespace Model
28 {
35  {
36  public:
40 
41 
46  inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
47 
52  inline void SetResourceARN(const Aws::String& value) { m_resourceARN = value; }
53 
58  inline void SetResourceARN(Aws::String&& value) { m_resourceARN = std::move(value); }
59 
64  inline void SetResourceARN(const char* value) { m_resourceARN.assign(value); }
65 
70  inline ListTagsForResourceResult& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
71 
76  inline ListTagsForResourceResult& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
77 
82  inline ListTagsForResourceResult& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
83 
84 
89  inline const Aws::String& GetMarker() const{ return m_marker; }
90 
95  inline void SetMarker(const Aws::String& value) { m_marker = value; }
96 
101  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
102 
107  inline void SetMarker(const char* value) { m_marker.assign(value); }
108 
113  inline ListTagsForResourceResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
114 
119  inline ListTagsForResourceResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
120 
125  inline ListTagsForResourceResult& WithMarker(const char* value) { SetMarker(value); return *this;}
126 
127 
131  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
132 
136  inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
137 
141  inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
142 
146  inline ListTagsForResourceResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
147 
151  inline ListTagsForResourceResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
152 
156  inline ListTagsForResourceResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
157 
161  inline ListTagsForResourceResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
162 
163  private:
164 
165  Aws::String m_resourceARN;
166 
167  Aws::String m_marker;
168 
169  Aws::Vector<Tag> m_tags;
170  };
171 
172 } // namespace Model
173 } // namespace StorageGateway
174 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::ListTagsForResourceResult::WithTags
ListTagsForResourceResult & WithTags(Aws::Vector< Tag > &&value)
Definition: ListTagsForResourceResult.h:151
Aws::StorageGateway::Model::ListTagsForResourceResult::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: ListTagsForResourceResult.h:131
Aws::StorageGateway::Model::Tag
Definition: Tag.h:34
Aws::StorageGateway::Model::ListTagsForResourceResult::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: ListTagsForResourceResult.h:136
Aws::StorageGateway::Model::ListTagsForResourceResult::SetMarker
void SetMarker(const char *value)
Definition: ListTagsForResourceResult.h:107
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::StorageGateway::Model::ListTagsForResourceResult::WithResourceARN
ListTagsForResourceResult & WithResourceARN(const char *value)
Definition: ListTagsForResourceResult.h:82
Aws::StorageGateway::Model::ListTagsForResourceResult::ListTagsForResourceResult
ListTagsForResourceResult()
Aws::StorageGateway::Model::ListTagsForResourceResult::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: ListTagsForResourceResult.h:141
Aws::StorageGateway::Model::ListTagsForResourceResult::WithMarker
ListTagsForResourceResult & WithMarker(Aws::String &&value)
Definition: ListTagsForResourceResult.h:119
Aws::StorageGateway::Model::ListTagsForResourceResult::GetMarker
const Aws::String & GetMarker() const
Definition: ListTagsForResourceResult.h:89
Aws::StorageGateway::Model::ListTagsForResourceResult::AddTags
ListTagsForResourceResult & AddTags(const Tag &value)
Definition: ListTagsForResourceResult.h:156
Aws::StorageGateway::Model::ListTagsForResourceResult::WithResourceARN
ListTagsForResourceResult & WithResourceARN(Aws::String &&value)
Definition: ListTagsForResourceResult.h:76
Aws::StorageGateway::Model::ListTagsForResourceResult::WithTags
ListTagsForResourceResult & WithTags(const Aws::Vector< Tag > &value)
Definition: ListTagsForResourceResult.h:146
Aws::StorageGateway::Model::ListTagsForResourceResult::WithMarker
ListTagsForResourceResult & WithMarker(const Aws::String &value)
Definition: ListTagsForResourceResult.h:113
Aws::StorageGateway::Model::ListTagsForResourceResult::SetResourceARN
void SetResourceARN(const Aws::String &value)
Definition: ListTagsForResourceResult.h:52
Aws::StorageGateway::Model::ListTagsForResourceResult::AddTags
ListTagsForResourceResult & AddTags(Tag &&value)
Definition: ListTagsForResourceResult.h:161
Aws::StorageGateway::Model::ListTagsForResourceResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListTagsForResourceResult.h:95
AWSString.h
Aws::StorageGateway::Model::ListTagsForResourceResult::SetResourceARN
void SetResourceARN(Aws::String &&value)
Definition: ListTagsForResourceResult.h:58
Aws::StorageGateway::Model::ListTagsForResourceResult::GetResourceARN
const Aws::String & GetResourceARN() const
Definition: ListTagsForResourceResult.h:46
Aws::StorageGateway::Model::ListTagsForResourceResult::WithResourceARN
ListTagsForResourceResult & WithResourceARN(const Aws::String &value)
Definition: ListTagsForResourceResult.h:70
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Tag.h
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::ListTagsForResourceResult::SetResourceARN
void SetResourceARN(const char *value)
Definition: ListTagsForResourceResult.h:64
Aws::StorageGateway::Model::ListTagsForResourceResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListTagsForResourceResult.h:101
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::ListTagsForResourceResult
Definition: ListTagsForResourceResult.h:35
Aws::StorageGateway::Model::ListTagsForResourceResult::WithMarker
ListTagsForResourceResult & WithMarker(const char *value)
Definition: ListTagsForResourceResult.h:125
Aws::StorageGateway::Model::ListTagsForResourceResult::ListTagsForResourceResult
ListTagsForResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::ListTagsForResourceResult::operator=
ListTagsForResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)