AWS SDK for C++  1.9.130
AWS SDK for C++
ListResourceTagsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/kms/KMS_EXPORTS.h>
8 #include <aws/kms/KMSRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace KMS
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 "ListResourceTags"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
45  inline const Aws::String& GetKeyId() const{ return m_keyId; }
46 
55  inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; }
56 
65  inline void SetKeyId(const Aws::String& value) { m_keyIdHasBeenSet = true; m_keyId = value; }
66 
75  inline void SetKeyId(Aws::String&& value) { m_keyIdHasBeenSet = true; m_keyId = std::move(value); }
76 
85  inline void SetKeyId(const char* value) { m_keyIdHasBeenSet = true; m_keyId.assign(value); }
86 
95  inline ListResourceTagsRequest& WithKeyId(const Aws::String& value) { SetKeyId(value); return *this;}
96 
105  inline ListResourceTagsRequest& WithKeyId(Aws::String&& value) { SetKeyId(std::move(value)); return *this;}
106 
115  inline ListResourceTagsRequest& WithKeyId(const char* value) { SetKeyId(value); return *this;}
116 
117 
125  inline int GetLimit() const{ return m_limit; }
126 
134  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
135 
143  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
144 
152  inline ListResourceTagsRequest& WithLimit(int value) { SetLimit(value); return *this;}
153 
154 
162  inline const Aws::String& GetMarker() const{ return m_marker; }
163 
171  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
172 
180  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
181 
189  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
190 
198  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
199 
207  inline ListResourceTagsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
208 
216  inline ListResourceTagsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
217 
225  inline ListResourceTagsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
226 
227  private:
228 
229  Aws::String m_keyId;
230  bool m_keyIdHasBeenSet;
231 
232  int m_limit;
233  bool m_limitHasBeenSet;
234 
235  Aws::String m_marker;
236  bool m_markerHasBeenSet;
237  };
238 
239 } // namespace Model
240 } // namespace KMS
241 } // namespace Aws
Aws::KMS::Model::ListResourceTagsRequest::WithMarker
ListResourceTagsRequest & WithMarker(const char *value)
Definition: ListResourceTagsRequest.h:225
Aws::KMS::Model::ListResourceTagsRequest::SetLimit
void SetLimit(int value)
Definition: ListResourceTagsRequest.h:143
Aws::KMS::Model::ListResourceTagsRequest::WithLimit
ListResourceTagsRequest & WithLimit(int value)
Definition: ListResourceTagsRequest.h:152
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::KMS::Model::ListResourceTagsRequest::WithKeyId
ListResourceTagsRequest & WithKeyId(const char *value)
Definition: ListResourceTagsRequest.h:115
Aws::KMS::Model::ListResourceTagsRequest::WithMarker
ListResourceTagsRequest & WithMarker(const Aws::String &value)
Definition: ListResourceTagsRequest.h:207
Aws::KMS::Model::ListResourceTagsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListResourceTagsRequest.h:30
Aws::KMS::Model::ListResourceTagsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::KMS::Model::ListResourceTagsRequest::SetKeyId
void SetKeyId(Aws::String &&value)
Definition: ListResourceTagsRequest.h:75
Aws::KMS::Model::ListResourceTagsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: ListResourceTagsRequest.h:162
Aws::KMS::Model::ListResourceTagsRequest
Definition: ListResourceTagsRequest.h:22
KMSRequest.h
Aws::KMS::Model::ListResourceTagsRequest::SetMarker
void SetMarker(const char *value)
Definition: ListResourceTagsRequest.h:198
Aws::KMS::Model::ListResourceTagsRequest::ListResourceTagsRequest
ListResourceTagsRequest()
Aws::KMS::Model::ListResourceTagsRequest::GetKeyId
const Aws::String & GetKeyId() const
Definition: ListResourceTagsRequest.h:45
Aws::KMS::KMSRequest
Definition: KMSRequest.h:17
Aws::KMS::Model::ListResourceTagsRequest::WithKeyId
ListResourceTagsRequest & WithKeyId(Aws::String &&value)
Definition: ListResourceTagsRequest.h:105
AWS_KMS_API
#define AWS_KMS_API
Definition: KMS_EXPORTS.h:28
Aws::KMS::Model::ListResourceTagsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::KMS::Model::ListResourceTagsRequest::SetKeyId
void SetKeyId(const Aws::String &value)
Definition: ListResourceTagsRequest.h:65
AWSString.h
Aws::KMS::Model::ListResourceTagsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListResourceTagsRequest.h:180
Aws::KMS::Model::ListResourceTagsRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListResourceTagsRequest.h:134
Aws::CodePipeline::Model::EncryptionKeyType::NOT_SET
@ NOT_SET
Aws::KMS::Model::ListResourceTagsRequest::KeyIdHasBeenSet
bool KeyIdHasBeenSet() const
Definition: ListResourceTagsRequest.h:55
Aws
Definition: AccessManagementClient.h:15
KMS_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::KMS::Model::ListResourceTagsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ListResourceTagsRequest.h:171
Aws::KMS::Model::ListResourceTagsRequest::SetKeyId
void SetKeyId(const char *value)
Definition: ListResourceTagsRequest.h:85
Aws::KMS::Model::ListResourceTagsRequest::GetLimit
int GetLimit() const
Definition: ListResourceTagsRequest.h:125
Aws::KMS::Model::ListResourceTagsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListResourceTagsRequest.h:189
Aws::KMS::Model::ListResourceTagsRequest::WithMarker
ListResourceTagsRequest & WithMarker(Aws::String &&value)
Definition: ListResourceTagsRequest.h:216
Aws::KMS::Model::ListResourceTagsRequest::WithKeyId
ListResourceTagsRequest & WithKeyId(const Aws::String &value)
Definition: ListResourceTagsRequest.h:95