AWS SDK for C++  1.9.107
AWS SDK for C++
UntagResourcesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace ResourceGroupsTaggingAPI
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UntagResources"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
46  inline const Aws::Vector<Aws::String>& GetResourceARNList() const{ return m_resourceARNList; }
47 
56  inline bool ResourceARNListHasBeenSet() const { return m_resourceARNListHasBeenSet; }
57 
66  inline void SetResourceARNList(const Aws::Vector<Aws::String>& value) { m_resourceARNListHasBeenSet = true; m_resourceARNList = value; }
67 
76  inline void SetResourceARNList(Aws::Vector<Aws::String>&& value) { m_resourceARNListHasBeenSet = true; m_resourceARNList = std::move(value); }
77 
86  inline UntagResourcesRequest& WithResourceARNList(const Aws::Vector<Aws::String>& value) { SetResourceARNList(value); return *this;}
87 
96  inline UntagResourcesRequest& WithResourceARNList(Aws::Vector<Aws::String>&& value) { SetResourceARNList(std::move(value)); return *this;}
97 
106  inline UntagResourcesRequest& AddResourceARNList(const Aws::String& value) { m_resourceARNListHasBeenSet = true; m_resourceARNList.push_back(value); return *this; }
107 
116  inline UntagResourcesRequest& AddResourceARNList(Aws::String&& value) { m_resourceARNListHasBeenSet = true; m_resourceARNList.push_back(std::move(value)); return *this; }
117 
126  inline UntagResourcesRequest& AddResourceARNList(const char* value) { m_resourceARNListHasBeenSet = true; m_resourceARNList.push_back(value); return *this; }
127 
128 
133  inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
134 
139  inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
140 
145  inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
146 
151  inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
152 
157  inline UntagResourcesRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
158 
163  inline UntagResourcesRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
164 
169  inline UntagResourcesRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
170 
175  inline UntagResourcesRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
176 
181  inline UntagResourcesRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
182 
183  private:
184 
185  Aws::Vector<Aws::String> m_resourceARNList;
186  bool m_resourceARNListHasBeenSet;
187 
188  Aws::Vector<Aws::String> m_tagKeys;
189  bool m_tagKeysHasBeenSet;
190  };
191 
192 } // namespace Model
193 } // namespace ResourceGroupsTaggingAPI
194 } // namespace Aws
Aws::ResourceGroupsTaggingAPI::Model::UntagResourcesRequest::AddTagKeys
UntagResourcesRequest & AddTagKeys(const Aws::String &value)
Definition: UntagResourcesRequest.h:169
Aws::ResourceGroupsTaggingAPI::Model::UntagResourcesRequest::GetTagKeys
const Aws::Vector< Aws::String > & GetTagKeys() const
Definition: UntagResourcesRequest.h:133
Aws::ResourceGroupsTaggingAPI::Model::UntagResourcesRequest::WithResourceARNList
UntagResourcesRequest & WithResourceARNList(Aws::Vector< Aws::String > &&value)
Definition: UntagResourcesRequest.h:96
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ResourceGroupsTaggingAPI::Model::UntagResourcesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ResourceGroupsTaggingAPI::Model::UntagResourcesRequest::WithResourceARNList
UntagResourcesRequest & WithResourceARNList(const Aws::Vector< Aws::String > &value)
Definition: UntagResourcesRequest.h:86
Aws::ResourceGroupsTaggingAPI::Model::UntagResourcesRequest::AddTagKeys
UntagResourcesRequest & AddTagKeys(const char *value)
Definition: UntagResourcesRequest.h:181
AWS_RESOURCEGROUPSTAGGINGAPI_API
#define AWS_RESOURCEGROUPSTAGGINGAPI_API
Definition: ResourceGroupsTaggingAPI_EXPORTS.h:28
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::ResourceGroupsTaggingAPI::Model::UntagResourcesRequest::AddResourceARNList
UntagResourcesRequest & AddResourceARNList(const char *value)
Definition: UntagResourcesRequest.h:126
Aws::ResourceGroupsTaggingAPI::Model::UntagResourcesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ResourceGroupsTaggingAPI::Model::UntagResourcesRequest
Definition: UntagResourcesRequest.h:23
Aws::ResourceGroupsTaggingAPI::Model::UntagResourcesRequest::AddTagKeys
UntagResourcesRequest & AddTagKeys(Aws::String &&value)
Definition: UntagResourcesRequest.h:175
AWSString.h
Aws::ResourceGroupsTaggingAPI::Model::UntagResourcesRequest::GetResourceARNList
const Aws::Vector< Aws::String > & GetResourceARNList() const
Definition: UntagResourcesRequest.h:46
Aws::ResourceGroupsTaggingAPI::Model::UntagResourcesRequest::SetTagKeys
void SetTagKeys(Aws::Vector< Aws::String > &&value)
Definition: UntagResourcesRequest.h:151
Aws::ResourceGroupsTaggingAPI::Model::UntagResourcesRequest::WithTagKeys
UntagResourcesRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
Definition: UntagResourcesRequest.h:163
Aws::ResourceGroupsTaggingAPI::ResourceGroupsTaggingAPIRequest
Definition: ResourceGroupsTaggingAPIRequest.h:17
Aws::ResourceGroupsTaggingAPI::Model::UntagResourcesRequest::TagKeysHasBeenSet
bool TagKeysHasBeenSet() const
Definition: UntagResourcesRequest.h:139
Aws
Definition: AccessManagementClient.h:15
Aws::ResourceGroupsTaggingAPI::Model::UntagResourcesRequest::WithTagKeys
UntagResourcesRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
Definition: UntagResourcesRequest.h:157
Aws::ResourceGroupsTaggingAPI::Model::UntagResourcesRequest::SetResourceARNList
void SetResourceARNList(const Aws::Vector< Aws::String > &value)
Definition: UntagResourcesRequest.h:66
Aws::ResourceGroupsTaggingAPI::Model::UntagResourcesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UntagResourcesRequest.h:31
ResourceGroupsTaggingAPIRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ResourceGroupsTaggingAPI::Model::UntagResourcesRequest::UntagResourcesRequest
UntagResourcesRequest()
Aws::ResourceGroupsTaggingAPI::Model::UntagResourcesRequest::AddResourceARNList
UntagResourcesRequest & AddResourceARNList(const Aws::String &value)
Definition: UntagResourcesRequest.h:106
Aws::ResourceGroupsTaggingAPI::Model::UntagResourcesRequest::SetResourceARNList
void SetResourceARNList(Aws::Vector< Aws::String > &&value)
Definition: UntagResourcesRequest.h:76
Aws::ResourceGroupsTaggingAPI::Model::UntagResourcesRequest::AddResourceARNList
UntagResourcesRequest & AddResourceARNList(Aws::String &&value)
Definition: UntagResourcesRequest.h:116
Aws::ResourceGroupsTaggingAPI::Model::UntagResourcesRequest::SetTagKeys
void SetTagKeys(const Aws::Vector< Aws::String > &value)
Definition: UntagResourcesRequest.h:145
ResourceGroupsTaggingAPI_EXPORTS.h
Aws::ResourceGroupsTaggingAPI::Model::UntagResourcesRequest::ResourceARNListHasBeenSet
bool ResourceARNListHasBeenSet() const
Definition: UntagResourcesRequest.h:56