AWS SDK for C++  1.9.106
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 StorageGateway
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "ListTagsForResource"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
44  inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
45 
50  inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
51 
56  inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
57 
62  inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
63 
68  inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
69 
74  inline ListTagsForResourceRequest& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
75 
80  inline ListTagsForResourceRequest& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
81 
86  inline ListTagsForResourceRequest& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
87 
88 
93  inline const Aws::String& GetMarker() const{ return m_marker; }
94 
99  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
100 
105  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
106 
111  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
112 
117  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
118 
123  inline ListTagsForResourceRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
124 
129  inline ListTagsForResourceRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
130 
135  inline ListTagsForResourceRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
136 
137 
142  inline int GetLimit() const{ return m_limit; }
143 
148  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
149 
154  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
155 
160  inline ListTagsForResourceRequest& WithLimit(int value) { SetLimit(value); return *this;}
161 
162  private:
163 
164  Aws::String m_resourceARN;
165  bool m_resourceARNHasBeenSet;
166 
167  Aws::String m_marker;
168  bool m_markerHasBeenSet;
169 
170  int m_limit;
171  bool m_limitHasBeenSet;
172  };
173 
174 } // namespace Model
175 } // namespace StorageGateway
176 } // namespace Aws
Aws::StorageGateway::Model::ListTagsForResourceRequest::WithResourceARN
ListTagsForResourceRequest & WithResourceARN(Aws::String &&value)
Definition: ListTagsForResourceRequest.h:80
Aws::StorageGateway::Model::ListTagsForResourceRequest::WithMarker
ListTagsForResourceRequest & WithMarker(const char *value)
Definition: ListTagsForResourceRequest.h:135
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::StorageGateway::Model::ListTagsForResourceRequest::SetMarker
void SetMarker(const char *value)
Definition: ListTagsForResourceRequest.h:117
Aws::StorageGateway::Model::ListTagsForResourceRequest::WithLimit
ListTagsForResourceRequest & WithLimit(int value)
Definition: ListTagsForResourceRequest.h:160
Aws::StorageGateway::Model::ListTagsForResourceRequest::WithMarker
ListTagsForResourceRequest & WithMarker(Aws::String &&value)
Definition: ListTagsForResourceRequest.h:129
Aws::StorageGateway::Model::ListTagsForResourceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListTagsForResourceRequest.h:33
Aws::StorageGateway::Model::ListTagsForResourceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::StorageGateway::Model::ListTagsForResourceRequest::SetResourceARN
void SetResourceARN(Aws::String &&value)
Definition: ListTagsForResourceRequest.h:62
Aws::StorageGateway::Model::ListTagsForResourceRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListTagsForResourceRequest.h:111
Aws::StorageGateway::Model::ListTagsForResourceRequest::WithResourceARN
ListTagsForResourceRequest & WithResourceARN(const char *value)
Definition: ListTagsForResourceRequest.h:86
Aws::StorageGateway::Model::ListTagsForResourceRequest::ListTagsForResourceRequest
ListTagsForResourceRequest()
Aws::StorageGateway::Model::ListTagsForResourceRequest::WithMarker
ListTagsForResourceRequest & WithMarker(const Aws::String &value)
Definition: ListTagsForResourceRequest.h:123
Aws::StorageGateway::Model::ListTagsForResourceRequest::WithResourceARN
ListTagsForResourceRequest & WithResourceARN(const Aws::String &value)
Definition: ListTagsForResourceRequest.h:74
Aws::StorageGateway::Model::ListTagsForResourceRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListTagsForResourceRequest.h:148
Aws::StorageGateway::StorageGatewayRequest
Definition: StorageGatewayRequest.h:17
Aws::StorageGateway::Model::ListTagsForResourceRequest::SetLimit
void SetLimit(int value)
Definition: ListTagsForResourceRequest.h:154
Aws::StorageGateway::Model::ListTagsForResourceRequest::SetResourceARN
void SetResourceARN(const char *value)
Definition: ListTagsForResourceRequest.h:68
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::ListTagsForResourceRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::StorageGateway::Model::ListTagsForResourceRequest::GetResourceARN
const Aws::String & GetResourceARN() const
Definition: ListTagsForResourceRequest.h:44
StorageGatewayRequest.h
Aws::StorageGateway::Model::ListTagsForResourceRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ListTagsForResourceRequest.h:99
Aws::StorageGateway::Model::ListTagsForResourceRequest::SetResourceARN
void SetResourceARN(const Aws::String &value)
Definition: ListTagsForResourceRequest.h:56
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::ListTagsForResourceRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListTagsForResourceRequest.h:105
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::ListTagsForResourceRequest::GetMarker
const Aws::String & GetMarker() const
Definition: ListTagsForResourceRequest.h:93
Aws::StorageGateway::Model::ListTagsForResourceRequest::GetLimit
int GetLimit() const
Definition: ListTagsForResourceRequest.h:142
Aws::StorageGateway::Model::ListTagsForResourceRequest::ResourceARNHasBeenSet
bool ResourceARNHasBeenSet() const
Definition: ListTagsForResourceRequest.h:50
Aws::StorageGateway::Model::ListTagsForResourceRequest
Definition: ListTagsForResourceRequest.h:25