AWS SDK for C++  1.9.20
AWS SDK for C++
GetTagsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace APIGateway
19 {
20 namespace Model
21 {
22 
30  {
31  public:
33 
34  // Service request name is the Operation name which will send this request out,
35  // each operation should has unique request name, so that we can get operation's name from this request.
36  // Note: this is not true for response, multiple operations may have the same response name,
37  // so we can not get operation's name from response.
38  inline virtual const char* GetServiceRequestName() const override { return "GetTags"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43 
44 
48  inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
49 
53  inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
54 
58  inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
59 
63  inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
64 
68  inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
69 
73  inline GetTagsRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
74 
78  inline GetTagsRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
79 
83  inline GetTagsRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
84 
85 
90  inline const Aws::String& GetPosition() const{ return m_position; }
91 
96  inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
97 
102  inline void SetPosition(const Aws::String& value) { m_positionHasBeenSet = true; m_position = value; }
103 
108  inline void SetPosition(Aws::String&& value) { m_positionHasBeenSet = true; m_position = std::move(value); }
109 
114  inline void SetPosition(const char* value) { m_positionHasBeenSet = true; m_position.assign(value); }
115 
120  inline GetTagsRequest& WithPosition(const Aws::String& value) { SetPosition(value); return *this;}
121 
126  inline GetTagsRequest& WithPosition(Aws::String&& value) { SetPosition(std::move(value)); return *this;}
127 
132  inline GetTagsRequest& WithPosition(const char* value) { SetPosition(value); return *this;}
133 
134 
139  inline int GetLimit() const{ return m_limit; }
140 
145  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
146 
151  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
152 
157  inline GetTagsRequest& WithLimit(int value) { SetLimit(value); return *this;}
158 
159  private:
160 
161  Aws::String m_resourceArn;
162  bool m_resourceArnHasBeenSet;
163 
164  Aws::String m_position;
165  bool m_positionHasBeenSet;
166 
167  int m_limit;
168  bool m_limitHasBeenSet;
169  };
170 
171 } // namespace Model
172 } // namespace APIGateway
173 } // namespace Aws
Aws::APIGateway::Model::GetTagsRequest::SetResourceArn
void SetResourceArn(const char *value)
Definition: GetTagsRequest.h:68
Aws::Http::URI
Definition: URI.h:32
Aws::APIGateway::Model::GetTagsRequest::SetResourceArn
void SetResourceArn(const Aws::String &value)
Definition: GetTagsRequest.h:58
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::GetTagsRequest::WithResourceArn
GetTagsRequest & WithResourceArn(const char *value)
Definition: GetTagsRequest.h:83
Aws::APIGateway::Model::GetTagsRequest::WithPosition
GetTagsRequest & WithPosition(const Aws::String &value)
Definition: GetTagsRequest.h:120
Aws::APIGateway::Model::GetTagsRequest::WithPosition
GetTagsRequest & WithPosition(const char *value)
Definition: GetTagsRequest.h:132
Aws::APIGateway::Model::GetTagsRequest::SetPosition
void SetPosition(const char *value)
Definition: GetTagsRequest.h:114
Aws::APIGateway::Model::GetTagsRequest::WithLimit
GetTagsRequest & WithLimit(int value)
Definition: GetTagsRequest.h:157
APIGateway_EXPORTS.h
Aws::APIGateway::Model::GetTagsRequest::ResourceArnHasBeenSet
bool ResourceArnHasBeenSet() const
Definition: GetTagsRequest.h:53
Aws::APIGateway::Model::GetTagsRequest::WithResourceArn
GetTagsRequest & WithResourceArn(Aws::String &&value)
Definition: GetTagsRequest.h:78
Aws::APIGateway::Model::GetTagsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
APIGatewayRequest.h
Aws::APIGateway::Model::GetTagsRequest::GetLimit
int GetLimit() const
Definition: GetTagsRequest.h:139
Aws::APIGateway::Model::GetTagsRequest::SetResourceArn
void SetResourceArn(Aws::String &&value)
Definition: GetTagsRequest.h:63
Aws::APIGateway::Model::GetTagsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::APIGateway::Model::GetTagsRequest::GetTagsRequest
GetTagsRequest()
AWSString.h
Aws::APIGateway::Model::GetTagsRequest::WithResourceArn
GetTagsRequest & WithResourceArn(const Aws::String &value)
Definition: GetTagsRequest.h:73
Aws::APIGateway::Model::GetTagsRequest::GetResourceArn
const Aws::String & GetResourceArn() const
Definition: GetTagsRequest.h:48
Aws::APIGateway::Model::GetTagsRequest::GetPosition
const Aws::String & GetPosition() const
Definition: GetTagsRequest.h:90
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::GetTagsRequest
Definition: GetTagsRequest.h:30
Aws::APIGateway::Model::GetTagsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetTagsRequest.h:38
Aws::APIGateway::Model::GetTagsRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: GetTagsRequest.h:145
Aws::APIGateway::Model::GetTagsRequest::WithPosition
GetTagsRequest & WithPosition(Aws::String &&value)
Definition: GetTagsRequest.h:126
Aws::APIGateway::Model::GetTagsRequest::PositionHasBeenSet
bool PositionHasBeenSet() const
Definition: GetTagsRequest.h:96
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::GetTagsRequest::SetPosition
void SetPosition(const Aws::String &value)
Definition: GetTagsRequest.h:102
Aws::APIGateway::Model::GetTagsRequest::SetPosition
void SetPosition(Aws::String &&value)
Definition: GetTagsRequest.h:108
Aws::APIGateway::APIGatewayRequest
Definition: APIGatewayRequest.h:18
Aws::APIGateway::Model::GetTagsRequest::SetLimit
void SetLimit(int value)
Definition: GetTagsRequest.h:151