AWS SDK for C++  1.9.158
AWS SDK for C++
GetTagValuesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ResourceGroupsTaggingAPI
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 "GetTagValues"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
42  inline const Aws::String& GetPaginationToken() const{ return m_paginationToken; }
43 
49  inline bool PaginationTokenHasBeenSet() const { return m_paginationTokenHasBeenSet; }
50 
56  inline void SetPaginationToken(const Aws::String& value) { m_paginationTokenHasBeenSet = true; m_paginationToken = value; }
57 
63  inline void SetPaginationToken(Aws::String&& value) { m_paginationTokenHasBeenSet = true; m_paginationToken = std::move(value); }
64 
70  inline void SetPaginationToken(const char* value) { m_paginationTokenHasBeenSet = true; m_paginationToken.assign(value); }
71 
77  inline GetTagValuesRequest& WithPaginationToken(const Aws::String& value) { SetPaginationToken(value); return *this;}
78 
84  inline GetTagValuesRequest& WithPaginationToken(Aws::String&& value) { SetPaginationToken(std::move(value)); return *this;}
85 
91  inline GetTagValuesRequest& WithPaginationToken(const char* value) { SetPaginationToken(value); return *this;}
92 
93 
99  inline const Aws::String& GetKey() const{ return m_key; }
100 
106  inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
107 
113  inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
114 
120  inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
121 
127  inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
128 
134  inline GetTagValuesRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;}
135 
141  inline GetTagValuesRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
142 
148  inline GetTagValuesRequest& WithKey(const char* value) { SetKey(value); return *this;}
149 
150  private:
151 
152  Aws::String m_paginationToken;
153  bool m_paginationTokenHasBeenSet;
154 
155  Aws::String m_key;
156  bool m_keyHasBeenSet;
157  };
158 
159 } // namespace Model
160 } // namespace ResourceGroupsTaggingAPI
161 } // namespace Aws
Aws::ResourceGroupsTaggingAPI::Model::GetTagValuesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetTagValuesRequest.h:30
Aws::ResourceGroupsTaggingAPI::Model::GetTagValuesRequest::GetPaginationToken
const Aws::String & GetPaginationToken() const
Definition: GetTagValuesRequest.h:42
Aws::ResourceGroupsTaggingAPI::Model::GetTagValuesRequest::GetKey
const Aws::String & GetKey() const
Definition: GetTagValuesRequest.h:99
Aws::ResourceGroupsTaggingAPI::Model::GetTagValuesRequest::SetPaginationToken
void SetPaginationToken(const char *value)
Definition: GetTagValuesRequest.h:70
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ResourceGroupsTaggingAPI::Model::GetTagValuesRequest::SetPaginationToken
void SetPaginationToken(const Aws::String &value)
Definition: GetTagValuesRequest.h:56
Aws::ResourceGroupsTaggingAPI::Model::GetTagValuesRequest
Definition: GetTagValuesRequest.h:22
AWS_RESOURCEGROUPSTAGGINGAPI_API
#define AWS_RESOURCEGROUPSTAGGINGAPI_API
Definition: ResourceGroupsTaggingAPI_EXPORTS.h:28
Aws::ResourceGroupsTaggingAPI::Model::GetTagValuesRequest::GetTagValuesRequest
GetTagValuesRequest()
Aws::ResourceGroupsTaggingAPI::Model::GetTagValuesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ResourceGroupsTaggingAPI::Model::GetTagValuesRequest::SetKey
void SetKey(const Aws::String &value)
Definition: GetTagValuesRequest.h:113
Aws::ResourceGroupsTaggingAPI::Model::GetTagValuesRequest::SetKey
void SetKey(Aws::String &&value)
Definition: GetTagValuesRequest.h:120
Aws::ResourceGroupsTaggingAPI::Model::GetTagValuesRequest::WithPaginationToken
GetTagValuesRequest & WithPaginationToken(Aws::String &&value)
Definition: GetTagValuesRequest.h:84
Aws::ResourceGroupsTaggingAPI::Model::GetTagValuesRequest::SetPaginationToken
void SetPaginationToken(Aws::String &&value)
Definition: GetTagValuesRequest.h:63
Aws::ResourceGroupsTaggingAPI::Model::GetTagValuesRequest::PaginationTokenHasBeenSet
bool PaginationTokenHasBeenSet() const
Definition: GetTagValuesRequest.h:49
Aws::ResourceGroupsTaggingAPI::Model::GetTagValuesRequest::WithPaginationToken
GetTagValuesRequest & WithPaginationToken(const Aws::String &value)
Definition: GetTagValuesRequest.h:77
AWSString.h
Aws::ResourceGroupsTaggingAPI::Model::GetTagValuesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ResourceGroupsTaggingAPI::ResourceGroupsTaggingAPIRequest
Definition: ResourceGroupsTaggingAPIRequest.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::ResourceGroupsTaggingAPI::Model::GetTagValuesRequest::SetKey
void SetKey(const char *value)
Definition: GetTagValuesRequest.h:127
ResourceGroupsTaggingAPIRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ResourceGroupsTaggingAPI::Model::GetTagValuesRequest::WithKey
GetTagValuesRequest & WithKey(Aws::String &&value)
Definition: GetTagValuesRequest.h:141
ResourceGroupsTaggingAPI_EXPORTS.h
Aws::ResourceGroupsTaggingAPI::Model::GetTagValuesRequest::WithKey
GetTagValuesRequest & WithKey(const char *value)
Definition: GetTagValuesRequest.h:148
Aws::ResourceGroupsTaggingAPI::Model::GetTagValuesRequest::WithPaginationToken
GetTagValuesRequest & WithPaginationToken(const char *value)
Definition: GetTagValuesRequest.h:91
Aws::ResourceGroupsTaggingAPI::Model::GetTagValuesRequest::KeyHasBeenSet
bool KeyHasBeenSet() const
Definition: GetTagValuesRequest.h:106
Aws::ResourceGroupsTaggingAPI::Model::GetTagValuesRequest::WithKey
GetTagValuesRequest & WithKey(const Aws::String &value)
Definition: GetTagValuesRequest.h:134