AWS SDK for C++  1.8.71
AWS SDK for C++
RemoveTagsFromResourceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
8 #include <aws/rds/RDSRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace RDS
16 {
17 namespace Model
18 {
19 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "RemoveTagsFromResource"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
49  inline const Aws::String& GetResourceName() const{ return m_resourceName; }
50 
57  inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
58 
65  inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; }
66 
73  inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); }
74 
81  inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); }
82 
89  inline RemoveTagsFromResourceRequest& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;}
90 
97  inline RemoveTagsFromResourceRequest& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;}
98 
105  inline RemoveTagsFromResourceRequest& WithResourceName(const char* value) { SetResourceName(value); return *this;}
106 
107 
111  inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
112 
116  inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
117 
121  inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
122 
126  inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
127 
131  inline RemoveTagsFromResourceRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
132 
136  inline RemoveTagsFromResourceRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
137 
141  inline RemoveTagsFromResourceRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
142 
146  inline RemoveTagsFromResourceRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
147 
151  inline RemoveTagsFromResourceRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
152 
153  private:
154 
155  Aws::String m_resourceName;
156  bool m_resourceNameHasBeenSet;
157 
158  Aws::Vector<Aws::String> m_tagKeys;
159  bool m_tagKeysHasBeenSet;
160  };
161 
162 } // namespace Model
163 } // namespace RDS
164 } // namespace Aws
RemoveTagsFromResourceRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
RemoveTagsFromResourceRequest & AddTagKeys(const Aws::String &value)
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
const Aws::Vector< Aws::String > & GetTagKeys() const
void SetTagKeys(Aws::Vector< Aws::String > &&value)
void SetTagKeys(const Aws::Vector< Aws::String > &value)
RemoveTagsFromResourceRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
RemoveTagsFromResourceRequest & AddTagKeys(const char *value)
RemoveTagsFromResourceRequest & WithResourceName(Aws::String &&value)
RemoveTagsFromResourceRequest & WithResourceName(const char *value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
RemoveTagsFromResourceRequest & AddTagKeys(Aws::String &&value)
RemoveTagsFromResourceRequest & WithResourceName(const Aws::String &value)