AWS SDK for C++  1.9.109
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 WAFRegional
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 
40  inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
41 
45  inline bool NextMarkerHasBeenSet() const { return m_nextMarkerHasBeenSet; }
46 
50  inline void SetNextMarker(const Aws::String& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = value; }
51 
55  inline void SetNextMarker(Aws::String&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::move(value); }
56 
60  inline void SetNextMarker(const char* value) { m_nextMarkerHasBeenSet = true; m_nextMarker.assign(value); }
61 
65  inline ListTagsForResourceRequest& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
66 
70  inline ListTagsForResourceRequest& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
71 
75  inline ListTagsForResourceRequest& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
76 
77 
81  inline int GetLimit() const{ return m_limit; }
82 
86  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
87 
91  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
92 
96  inline ListTagsForResourceRequest& WithLimit(int value) { SetLimit(value); return *this;}
97 
98 
102  inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
103 
107  inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
108 
112  inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
113 
117  inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
118 
122  inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
123 
127  inline ListTagsForResourceRequest& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
128 
132  inline ListTagsForResourceRequest& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
133 
137  inline ListTagsForResourceRequest& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
138 
139  private:
140 
141  Aws::String m_nextMarker;
142  bool m_nextMarkerHasBeenSet;
143 
144  int m_limit;
145  bool m_limitHasBeenSet;
146 
147  Aws::String m_resourceARN;
148  bool m_resourceARNHasBeenSet;
149  };
150 
151 } // namespace Model
152 } // namespace WAFRegional
153 } // namespace Aws
Aws::WAFRegional::Model::ListTagsForResourceRequest::WithResourceARN
ListTagsForResourceRequest & WithResourceARN(const char *value)
Definition: ListTagsForResourceRequest.h:137
Aws::WAFRegional::Model::ListTagsForResourceRequest::SetLimit
void SetLimit(int value)
Definition: ListTagsForResourceRequest.h:91
Aws::WAFRegional::Model::ListTagsForResourceRequest::WithLimit
ListTagsForResourceRequest & WithLimit(int value)
Definition: ListTagsForResourceRequest.h:96
Aws::WAFRegional::Model::ListTagsForResourceRequest::ResourceARNHasBeenSet
bool ResourceARNHasBeenSet() const
Definition: ListTagsForResourceRequest.h:107
Aws::WAFRegional::Model::ListTagsForResourceRequest::WithNextMarker
ListTagsForResourceRequest & WithNextMarker(const Aws::String &value)
Definition: ListTagsForResourceRequest.h:65
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::WAFRegional::Model::ListTagsForResourceRequest::SetNextMarker
void SetNextMarker(Aws::String &&value)
Definition: ListTagsForResourceRequest.h:55
Aws::WAFRegional::WAFRegionalRequest
Definition: WAFRegionalRequest.h:17
Aws::WAFRegional::Model::ListTagsForResourceRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListTagsForResourceRequest.h:86
Aws::WAFRegional::Model::ListTagsForResourceRequest::SetNextMarker
void SetNextMarker(const Aws::String &value)
Definition: ListTagsForResourceRequest.h:50
AWS_WAFREGIONAL_API
#define AWS_WAFREGIONAL_API
Definition: WAFRegional_EXPORTS.h:28
WAFRegionalRequest.h
Aws::WAFRegional::Model::ListTagsForResourceRequest::SetResourceARN
void SetResourceARN(Aws::String &&value)
Definition: ListTagsForResourceRequest.h:117
Aws::WAFRegional::Model::ListTagsForResourceRequest::WithResourceARN
ListTagsForResourceRequest & WithResourceARN(Aws::String &&value)
Definition: ListTagsForResourceRequest.h:132
Aws::WAFRegional::Model::ListTagsForResourceRequest::SetNextMarker
void SetNextMarker(const char *value)
Definition: ListTagsForResourceRequest.h:60
Aws::WAFRegional::Model::ListTagsForResourceRequest::SetResourceARN
void SetResourceARN(const char *value)
Definition: ListTagsForResourceRequest.h:122
Aws::WAFRegional::Model::ListTagsForResourceRequest::WithResourceARN
ListTagsForResourceRequest & WithResourceARN(const Aws::String &value)
Definition: ListTagsForResourceRequest.h:127
Aws::WAFRegional::Model::ListTagsForResourceRequest::WithNextMarker
ListTagsForResourceRequest & WithNextMarker(const char *value)
Definition: ListTagsForResourceRequest.h:75
Aws::WAFRegional::Model::ListTagsForResourceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::WAFRegional::Model::ListTagsForResourceRequest::ListTagsForResourceRequest
ListTagsForResourceRequest()
Aws::WAFRegional::Model::ListTagsForResourceRequest::WithNextMarker
ListTagsForResourceRequest & WithNextMarker(Aws::String &&value)
Definition: ListTagsForResourceRequest.h:70
Aws::WAFRegional::Model::ListTagsForResourceRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWSString.h
Aws::WAFRegional::Model::ListTagsForResourceRequest::GetNextMarker
const Aws::String & GetNextMarker() const
Definition: ListTagsForResourceRequest.h:40
Aws::WAFRegional::Model::ListTagsForResourceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListTagsForResourceRequest.h:30
Aws::WAFRegional::Model::ListTagsForResourceRequest::NextMarkerHasBeenSet
bool NextMarkerHasBeenSet() const
Definition: ListTagsForResourceRequest.h:45
WAFRegional_EXPORTS.h
Aws::WAFRegional::Model::ListTagsForResourceRequest::GetResourceARN
const Aws::String & GetResourceARN() const
Definition: ListTagsForResourceRequest.h:102
Aws::WAFRegional::Model::ListTagsForResourceRequest
Definition: ListTagsForResourceRequest.h:22
Aws
Definition: AccessManagementClient.h:15
Aws::WAFRegional::Model::ListTagsForResourceRequest::GetLimit
int GetLimit() const
Definition: ListTagsForResourceRequest.h:81
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WAFRegional::Model::ListTagsForResourceRequest::SetResourceARN
void SetResourceARN(const Aws::String &value)
Definition: ListTagsForResourceRequest.h:112