AWS SDK for C++  1.9.40
AWS SDK for C++
RemoveTagsFromResourceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Neptune
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 "RemoveTagsFromResource"; }
32 
33  Aws::String SerializePayload() const override;
34 
35  protected:
36  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37 
38  public:
39 
46  inline const Aws::String& GetResourceName() const{ return m_resourceName; }
47 
54  inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
55 
62  inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; }
63 
70  inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); }
71 
78  inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); }
79 
86  inline RemoveTagsFromResourceRequest& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;}
87 
94  inline RemoveTagsFromResourceRequest& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;}
95 
102  inline RemoveTagsFromResourceRequest& WithResourceName(const char* value) { SetResourceName(value); return *this;}
103 
104 
108  inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
109 
113  inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
114 
118  inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
119 
123  inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
124 
128  inline RemoveTagsFromResourceRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
129 
133  inline RemoveTagsFromResourceRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
134 
138  inline RemoveTagsFromResourceRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
139 
143  inline RemoveTagsFromResourceRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
144 
148  inline RemoveTagsFromResourceRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
149 
150  private:
151 
152  Aws::String m_resourceName;
153  bool m_resourceNameHasBeenSet;
154 
155  Aws::Vector<Aws::String> m_tagKeys;
156  bool m_tagKeysHasBeenSet;
157  };
158 
159 } // namespace Model
160 } // namespace Neptune
161 } // namespace Aws
Aws::Neptune::Model::RemoveTagsFromResourceRequest::WithTagKeys
RemoveTagsFromResourceRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
Definition: RemoveTagsFromResourceRequest.h:128
Aws::Http::URI
Definition: URI.h:32
Neptune_EXPORTS.h
Aws::Neptune::Model::RemoveTagsFromResourceRequest::TagKeysHasBeenSet
bool TagKeysHasBeenSet() const
Definition: RemoveTagsFromResourceRequest.h:113
Aws::Neptune::Model::RemoveTagsFromResourceRequest::WithResourceName
RemoveTagsFromResourceRequest & WithResourceName(const char *value)
Definition: RemoveTagsFromResourceRequest.h:102
AWS_NEPTUNE_API
#define AWS_NEPTUNE_API
Definition: Neptune_EXPORTS.h:28
Aws::Neptune::Model::RemoveTagsFromResourceRequest::SetResourceName
void SetResourceName(const Aws::String &value)
Definition: RemoveTagsFromResourceRequest.h:62
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Neptune::Model::RemoveTagsFromResourceRequest::SetTagKeys
void SetTagKeys(Aws::Vector< Aws::String > &&value)
Definition: RemoveTagsFromResourceRequest.h:123
Aws::Neptune::Model::RemoveTagsFromResourceRequest::ResourceNameHasBeenSet
bool ResourceNameHasBeenSet() const
Definition: RemoveTagsFromResourceRequest.h:54
Aws::Neptune::NeptuneRequest
Definition: NeptuneRequest.h:17
Aws::Neptune::Model::RemoveTagsFromResourceRequest::AddTagKeys
RemoveTagsFromResourceRequest & AddTagKeys(const char *value)
Definition: RemoveTagsFromResourceRequest.h:148
Aws::Neptune::Model::RemoveTagsFromResourceRequest::GetTagKeys
const Aws::Vector< Aws::String > & GetTagKeys() const
Definition: RemoveTagsFromResourceRequest.h:108
Aws::Neptune::Model::RemoveTagsFromResourceRequest::RemoveTagsFromResourceRequest
RemoveTagsFromResourceRequest()
Aws::Neptune::Model::RemoveTagsFromResourceRequest::GetResourceName
const Aws::String & GetResourceName() const
Definition: RemoveTagsFromResourceRequest.h:46
Aws::Neptune::Model::RemoveTagsFromResourceRequest::SetResourceName
void SetResourceName(const char *value)
Definition: RemoveTagsFromResourceRequest.h:78
Aws::Neptune::Model::RemoveTagsFromResourceRequest::WithResourceName
RemoveTagsFromResourceRequest & WithResourceName(const Aws::String &value)
Definition: RemoveTagsFromResourceRequest.h:86
Aws::Neptune::Model::RemoveTagsFromResourceRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws::Neptune::Model::RemoveTagsFromResourceRequest::AddTagKeys
RemoveTagsFromResourceRequest & AddTagKeys(const Aws::String &value)
Definition: RemoveTagsFromResourceRequest.h:138
Aws::Neptune::Model::RemoveTagsFromResourceRequest::SetTagKeys
void SetTagKeys(const Aws::Vector< Aws::String > &value)
Definition: RemoveTagsFromResourceRequest.h:118
Aws::Neptune::Model::RemoveTagsFromResourceRequest::AddTagKeys
RemoveTagsFromResourceRequest & AddTagKeys(Aws::String &&value)
Definition: RemoveTagsFromResourceRequest.h:143
NeptuneRequest.h
Aws
Definition: AccessManagementClient.h:15
Aws::Neptune::Model::RemoveTagsFromResourceRequest::WithTagKeys
RemoveTagsFromResourceRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
Definition: RemoveTagsFromResourceRequest.h:133
Aws::Neptune::Model::RemoveTagsFromResourceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RemoveTagsFromResourceRequest.h:31
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Neptune::Model::RemoveTagsFromResourceRequest::WithResourceName
RemoveTagsFromResourceRequest & WithResourceName(Aws::String &&value)
Definition: RemoveTagsFromResourceRequest.h:94
Aws::Neptune::Model::RemoveTagsFromResourceRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Neptune::Model::RemoveTagsFromResourceRequest::SetResourceName
void SetResourceName(Aws::String &&value)
Definition: RemoveTagsFromResourceRequest.h:70
Aws::Neptune::Model::RemoveTagsFromResourceRequest
Definition: RemoveTagsFromResourceRequest.h:23