AWS SDK for C++  1.9.108
AWS SDK for C++
ListTagsForResourceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace WAFV2
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "ListTagsForResource"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
44  inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
45 
53  inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; }
54 
62  inline void SetNextMarker(const Aws::String& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = value; }
63 
71  inline void SetNextMarker(Aws::String&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::move(value); }
72 
80  inline void SetNextMarker(const char* value) { m_nextMarkerHasBeenSet = true; m_nextMarker.assign(value); }
81 
89  inline ListTagsForResourceRequest& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
90 
98  inline ListTagsForResourceRequest& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
99 
107  inline ListTagsForResourceRequest& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
108 
109 
116  inline int GetLimit() const{ return m_limit; }
117 
124  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
125 
132  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
133 
140  inline ListTagsForResourceRequest& WithLimit(int value) { SetLimit(value); return *this;}
141 
142 
146  inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
147 
151  inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
152 
156  inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
157 
161  inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
162 
166  inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
167 
171  inline ListTagsForResourceRequest& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
172 
176  inline ListTagsForResourceRequest& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
177 
181  inline ListTagsForResourceRequest& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
182 
183  private:
184 
185  Aws::String m_nextMarker;
186  bool m_nextMarkerHasBeenSet;
187 
188  int m_limit;
189  bool m_limitHasBeenSet;
190 
191  Aws::String m_resourceARN;
192  bool m_resourceARNHasBeenSet;
193  };
194 
195 } // namespace Model
196 } // namespace WAFV2
197 } // namespace Aws
Aws::WAFV2::Model::ListTagsForResourceRequest
Definition: ListTagsForResourceRequest.h:22
WAFV2Request.h
Aws::WAFV2::Model::ListTagsForResourceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListTagsForResourceRequest.h:30
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::WAFV2::Model::ListTagsForResourceRequest::ResourceARNHasBeenSet
bool ResourceARNHasBeenSet() const
Definition: ListTagsForResourceRequest.h:151
Aws::WAFV2::Model::ListTagsForResourceRequest::SetNextMarker
void SetNextMarker(Aws::String &&value)
Definition: ListTagsForResourceRequest.h:71
Aws::WAFV2::Model::ListTagsForResourceRequest::WithNextMarker
ListTagsForResourceRequest & WithNextMarker(const Aws::String &value)
Definition: ListTagsForResourceRequest.h:89
Aws::WAFV2::Model::ListTagsForResourceRequest::WithNextMarker
ListTagsForResourceRequest & WithNextMarker(const char *value)
Definition: ListTagsForResourceRequest.h:107
Aws::WAFV2::Model::ListTagsForResourceRequest::SetNextMarker
void SetNextMarker(const char *value)
Definition: ListTagsForResourceRequest.h:80
Aws::WAFV2::Model::ListTagsForResourceRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_WAFV2_API
#define AWS_WAFV2_API
Definition: WAFV2_EXPORTS.h:28
Aws::WAFV2::Model::ListTagsForResourceRequest::GetNextMarker
const Aws::String & GetNextMarker() const
Definition: ListTagsForResourceRequest.h:44
Aws::WAFV2::Model::ListTagsForResourceRequest::ListTagsForResourceRequest
ListTagsForResourceRequest()
Aws::WAFV2::Model::ListTagsForResourceRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
WAFV2_EXPORTS.h
Aws::WAFV2::Model::ListTagsForResourceRequest::SetNextMarker
void SetNextMarker(const Aws::String &value)
Definition: ListTagsForResourceRequest.h:62
Aws::WAFV2::Model::ListTagsForResourceRequest::WithNextMarker
ListTagsForResourceRequest & WithNextMarker(Aws::String &&value)
Definition: ListTagsForResourceRequest.h:98
Aws::WAFV2::Model::ListTagsForResourceRequest::NextMarkerHasBeenSet
bool NextMarkerHasBeenSet() const
Definition: ListTagsForResourceRequest.h:53
Aws::WAFV2::WAFV2Request
Definition: WAFV2Request.h:17
Aws::WAFV2::Model::ListTagsForResourceRequest::WithResourceARN
ListTagsForResourceRequest & WithResourceARN(const Aws::String &value)
Definition: ListTagsForResourceRequest.h:171
AWSString.h
Aws::WAFV2::Model::ListTagsForResourceRequest::SetResourceARN
void SetResourceARN(const Aws::String &value)
Definition: ListTagsForResourceRequest.h:156
Aws::WAFV2::Model::ListTagsForResourceRequest::GetResourceARN
const Aws::String & GetResourceARN() const
Definition: ListTagsForResourceRequest.h:146
Aws
Definition: AccessManagementClient.h:15
Aws::WAFV2::Model::ListTagsForResourceRequest::WithLimit
ListTagsForResourceRequest & WithLimit(int value)
Definition: ListTagsForResourceRequest.h:140
Aws::WAFV2::Model::ListTagsForResourceRequest::WithResourceARN
ListTagsForResourceRequest & WithResourceARN(const char *value)
Definition: ListTagsForResourceRequest.h:181
Aws::WAFV2::Model::ListTagsForResourceRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListTagsForResourceRequest.h:124
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WAFV2::Model::ListTagsForResourceRequest::SetResourceARN
void SetResourceARN(Aws::String &&value)
Definition: ListTagsForResourceRequest.h:161
Aws::WAFV2::Model::ListTagsForResourceRequest::WithResourceARN
ListTagsForResourceRequest & WithResourceARN(Aws::String &&value)
Definition: ListTagsForResourceRequest.h:176
Aws::WAFV2::Model::ListTagsForResourceRequest::SetResourceARN
void SetResourceARN(const char *value)
Definition: ListTagsForResourceRequest.h:166
Aws::WAFV2::Model::ListTagsForResourceRequest::SetLimit
void SetLimit(int value)
Definition: ListTagsForResourceRequest.h:132
Aws::WAFV2::Model::ListTagsForResourceRequest::GetLimit
int GetLimit() const
Definition: ListTagsForResourceRequest.h:116