AWS SDK for C++  1.8.71
AWS SDK for C++
CopyDBClusterParameterGroupRequest.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 <aws/rds/model/Tag.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace RDS
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "CopyDBClusterParameterGroup"; }
33 
34  Aws::String SerializePayload() const override;
35 
36  protected:
37  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38 
39  public:
40 
55  inline const Aws::String& GetSourceDBClusterParameterGroupIdentifier() const{ return m_sourceDBClusterParameterGroupIdentifier; }
56 
71  inline bool SourceDBClusterParameterGroupIdentifierHasBeenSet() const { return m_sourceDBClusterParameterGroupIdentifierHasBeenSet; }
72 
87  inline void SetSourceDBClusterParameterGroupIdentifier(const Aws::String& value) { m_sourceDBClusterParameterGroupIdentifierHasBeenSet = true; m_sourceDBClusterParameterGroupIdentifier = value; }
88 
103  inline void SetSourceDBClusterParameterGroupIdentifier(Aws::String&& value) { m_sourceDBClusterParameterGroupIdentifierHasBeenSet = true; m_sourceDBClusterParameterGroupIdentifier = std::move(value); }
104 
119  inline void SetSourceDBClusterParameterGroupIdentifier(const char* value) { m_sourceDBClusterParameterGroupIdentifierHasBeenSet = true; m_sourceDBClusterParameterGroupIdentifier.assign(value); }
120 
135  inline CopyDBClusterParameterGroupRequest& WithSourceDBClusterParameterGroupIdentifier(const Aws::String& value) { SetSourceDBClusterParameterGroupIdentifier(value); return *this;}
136 
151  inline CopyDBClusterParameterGroupRequest& WithSourceDBClusterParameterGroupIdentifier(Aws::String&& value) { SetSourceDBClusterParameterGroupIdentifier(std::move(value)); return *this;}
152 
167  inline CopyDBClusterParameterGroupRequest& WithSourceDBClusterParameterGroupIdentifier(const char* value) { SetSourceDBClusterParameterGroupIdentifier(value); return *this;}
168 
169 
178  inline const Aws::String& GetTargetDBClusterParameterGroupIdentifier() const{ return m_targetDBClusterParameterGroupIdentifier; }
179 
188  inline bool TargetDBClusterParameterGroupIdentifierHasBeenSet() const { return m_targetDBClusterParameterGroupIdentifierHasBeenSet; }
189 
198  inline void SetTargetDBClusterParameterGroupIdentifier(const Aws::String& value) { m_targetDBClusterParameterGroupIdentifierHasBeenSet = true; m_targetDBClusterParameterGroupIdentifier = value; }
199 
208  inline void SetTargetDBClusterParameterGroupIdentifier(Aws::String&& value) { m_targetDBClusterParameterGroupIdentifierHasBeenSet = true; m_targetDBClusterParameterGroupIdentifier = std::move(value); }
209 
218  inline void SetTargetDBClusterParameterGroupIdentifier(const char* value) { m_targetDBClusterParameterGroupIdentifierHasBeenSet = true; m_targetDBClusterParameterGroupIdentifier.assign(value); }
219 
228  inline CopyDBClusterParameterGroupRequest& WithTargetDBClusterParameterGroupIdentifier(const Aws::String& value) { SetTargetDBClusterParameterGroupIdentifier(value); return *this;}
229 
238  inline CopyDBClusterParameterGroupRequest& WithTargetDBClusterParameterGroupIdentifier(Aws::String&& value) { SetTargetDBClusterParameterGroupIdentifier(std::move(value)); return *this;}
239 
248  inline CopyDBClusterParameterGroupRequest& WithTargetDBClusterParameterGroupIdentifier(const char* value) { SetTargetDBClusterParameterGroupIdentifier(value); return *this;}
249 
250 
254  inline const Aws::String& GetTargetDBClusterParameterGroupDescription() const{ return m_targetDBClusterParameterGroupDescription; }
255 
259  inline bool TargetDBClusterParameterGroupDescriptionHasBeenSet() const { return m_targetDBClusterParameterGroupDescriptionHasBeenSet; }
260 
264  inline void SetTargetDBClusterParameterGroupDescription(const Aws::String& value) { m_targetDBClusterParameterGroupDescriptionHasBeenSet = true; m_targetDBClusterParameterGroupDescription = value; }
265 
269  inline void SetTargetDBClusterParameterGroupDescription(Aws::String&& value) { m_targetDBClusterParameterGroupDescriptionHasBeenSet = true; m_targetDBClusterParameterGroupDescription = std::move(value); }
270 
274  inline void SetTargetDBClusterParameterGroupDescription(const char* value) { m_targetDBClusterParameterGroupDescriptionHasBeenSet = true; m_targetDBClusterParameterGroupDescription.assign(value); }
275 
279  inline CopyDBClusterParameterGroupRequest& WithTargetDBClusterParameterGroupDescription(const Aws::String& value) { SetTargetDBClusterParameterGroupDescription(value); return *this;}
280 
284  inline CopyDBClusterParameterGroupRequest& WithTargetDBClusterParameterGroupDescription(Aws::String&& value) { SetTargetDBClusterParameterGroupDescription(std::move(value)); return *this;}
285 
289  inline CopyDBClusterParameterGroupRequest& WithTargetDBClusterParameterGroupDescription(const char* value) { SetTargetDBClusterParameterGroupDescription(value); return *this;}
290 
291 
292 
293  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
294 
295 
296  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
297 
298 
299  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
300 
301 
302  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
303 
304 
305  inline CopyDBClusterParameterGroupRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
306 
307 
308  inline CopyDBClusterParameterGroupRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
309 
310 
311  inline CopyDBClusterParameterGroupRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
312 
313 
314  inline CopyDBClusterParameterGroupRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
315 
316  private:
317 
318  Aws::String m_sourceDBClusterParameterGroupIdentifier;
319  bool m_sourceDBClusterParameterGroupIdentifierHasBeenSet;
320 
321  Aws::String m_targetDBClusterParameterGroupIdentifier;
322  bool m_targetDBClusterParameterGroupIdentifierHasBeenSet;
323 
324  Aws::String m_targetDBClusterParameterGroupDescription;
325  bool m_targetDBClusterParameterGroupDescriptionHasBeenSet;
326 
327  Aws::Vector<Tag> m_tags;
328  bool m_tagsHasBeenSet;
329  };
330 
331 } // namespace Model
332 } // namespace RDS
333 } // namespace Aws
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
CopyDBClusterParameterGroupRequest & WithTargetDBClusterParameterGroupDescription(const char *value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
CopyDBClusterParameterGroupRequest & WithSourceDBClusterParameterGroupIdentifier(const char *value)
CopyDBClusterParameterGroupRequest & AddTags(const Tag &value)
CopyDBClusterParameterGroupRequest & WithTargetDBClusterParameterGroupIdentifier(const Aws::String &value)
CopyDBClusterParameterGroupRequest & WithSourceDBClusterParameterGroupIdentifier(Aws::String &&value)
CopyDBClusterParameterGroupRequest & WithTargetDBClusterParameterGroupDescription(const Aws::String &value)
CopyDBClusterParameterGroupRequest & WithTargetDBClusterParameterGroupIdentifier(const char *value)
CopyDBClusterParameterGroupRequest & WithSourceDBClusterParameterGroupIdentifier(const Aws::String &value)
CopyDBClusterParameterGroupRequest & AddTags(Tag &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
CopyDBClusterParameterGroupRequest & WithTargetDBClusterParameterGroupIdentifier(Aws::String &&value)
CopyDBClusterParameterGroupRequest & WithTags(const Aws::Vector< Tag > &value)
CopyDBClusterParameterGroupRequest & WithTags(Aws::Vector< Tag > &&value)
CopyDBClusterParameterGroupRequest & WithTargetDBClusterParameterGroupDescription(Aws::String &&value)