AWS SDK for C++  1.8.71
AWS SDK for C++
CopyDBClusterParameterGroupRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <aws/docdb/model/Tag.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace DocDB
17 {
18 namespace Model
19 {
20 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "CopyDBClusterParameterGroup"; }
37 
38  Aws::String SerializePayload() const override;
39 
40  protected:
41  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42 
43  public:
44 
56  inline const Aws::String& GetSourceDBClusterParameterGroupIdentifier() const{ return m_sourceDBClusterParameterGroupIdentifier; }
57 
69  inline bool SourceDBClusterParameterGroupIdentifierHasBeenSet() const { return m_sourceDBClusterParameterGroupIdentifierHasBeenSet; }
70 
82  inline void SetSourceDBClusterParameterGroupIdentifier(const Aws::String& value) { m_sourceDBClusterParameterGroupIdentifierHasBeenSet = true; m_sourceDBClusterParameterGroupIdentifier = value; }
83 
95  inline void SetSourceDBClusterParameterGroupIdentifier(Aws::String&& value) { m_sourceDBClusterParameterGroupIdentifierHasBeenSet = true; m_sourceDBClusterParameterGroupIdentifier = std::move(value); }
96 
108  inline void SetSourceDBClusterParameterGroupIdentifier(const char* value) { m_sourceDBClusterParameterGroupIdentifierHasBeenSet = true; m_sourceDBClusterParameterGroupIdentifier.assign(value); }
109 
121  inline CopyDBClusterParameterGroupRequest& WithSourceDBClusterParameterGroupIdentifier(const Aws::String& value) { SetSourceDBClusterParameterGroupIdentifier(value); return *this;}
122 
134  inline CopyDBClusterParameterGroupRequest& WithSourceDBClusterParameterGroupIdentifier(Aws::String&& value) { SetSourceDBClusterParameterGroupIdentifier(std::move(value)); return *this;}
135 
147  inline CopyDBClusterParameterGroupRequest& WithSourceDBClusterParameterGroupIdentifier(const char* value) { SetSourceDBClusterParameterGroupIdentifier(value); return *this;}
148 
149 
158  inline const Aws::String& GetTargetDBClusterParameterGroupIdentifier() const{ return m_targetDBClusterParameterGroupIdentifier; }
159 
168  inline bool TargetDBClusterParameterGroupIdentifierHasBeenSet() const { return m_targetDBClusterParameterGroupIdentifierHasBeenSet; }
169 
178  inline void SetTargetDBClusterParameterGroupIdentifier(const Aws::String& value) { m_targetDBClusterParameterGroupIdentifierHasBeenSet = true; m_targetDBClusterParameterGroupIdentifier = value; }
179 
188  inline void SetTargetDBClusterParameterGroupIdentifier(Aws::String&& value) { m_targetDBClusterParameterGroupIdentifierHasBeenSet = true; m_targetDBClusterParameterGroupIdentifier = std::move(value); }
189 
198  inline void SetTargetDBClusterParameterGroupIdentifier(const char* value) { m_targetDBClusterParameterGroupIdentifierHasBeenSet = true; m_targetDBClusterParameterGroupIdentifier.assign(value); }
199 
208  inline CopyDBClusterParameterGroupRequest& WithTargetDBClusterParameterGroupIdentifier(const Aws::String& value) { SetTargetDBClusterParameterGroupIdentifier(value); return *this;}
209 
218  inline CopyDBClusterParameterGroupRequest& WithTargetDBClusterParameterGroupIdentifier(Aws::String&& value) { SetTargetDBClusterParameterGroupIdentifier(std::move(value)); return *this;}
219 
228  inline CopyDBClusterParameterGroupRequest& WithTargetDBClusterParameterGroupIdentifier(const char* value) { SetTargetDBClusterParameterGroupIdentifier(value); return *this;}
229 
230 
234  inline const Aws::String& GetTargetDBClusterParameterGroupDescription() const{ return m_targetDBClusterParameterGroupDescription; }
235 
239  inline bool TargetDBClusterParameterGroupDescriptionHasBeenSet() const { return m_targetDBClusterParameterGroupDescriptionHasBeenSet; }
240 
244  inline void SetTargetDBClusterParameterGroupDescription(const Aws::String& value) { m_targetDBClusterParameterGroupDescriptionHasBeenSet = true; m_targetDBClusterParameterGroupDescription = value; }
245 
249  inline void SetTargetDBClusterParameterGroupDescription(Aws::String&& value) { m_targetDBClusterParameterGroupDescriptionHasBeenSet = true; m_targetDBClusterParameterGroupDescription = std::move(value); }
250 
254  inline void SetTargetDBClusterParameterGroupDescription(const char* value) { m_targetDBClusterParameterGroupDescriptionHasBeenSet = true; m_targetDBClusterParameterGroupDescription.assign(value); }
255 
259  inline CopyDBClusterParameterGroupRequest& WithTargetDBClusterParameterGroupDescription(const Aws::String& value) { SetTargetDBClusterParameterGroupDescription(value); return *this;}
260 
264  inline CopyDBClusterParameterGroupRequest& WithTargetDBClusterParameterGroupDescription(Aws::String&& value) { SetTargetDBClusterParameterGroupDescription(std::move(value)); return *this;}
265 
269  inline CopyDBClusterParameterGroupRequest& WithTargetDBClusterParameterGroupDescription(const char* value) { SetTargetDBClusterParameterGroupDescription(value); return *this;}
270 
271 
275  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
276 
280  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
281 
285  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
286 
290  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
291 
295  inline CopyDBClusterParameterGroupRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
296 
300  inline CopyDBClusterParameterGroupRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
301 
305  inline CopyDBClusterParameterGroupRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
306 
310  inline CopyDBClusterParameterGroupRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
311 
312  private:
313 
314  Aws::String m_sourceDBClusterParameterGroupIdentifier;
315  bool m_sourceDBClusterParameterGroupIdentifierHasBeenSet;
316 
317  Aws::String m_targetDBClusterParameterGroupIdentifier;
318  bool m_targetDBClusterParameterGroupIdentifierHasBeenSet;
319 
320  Aws::String m_targetDBClusterParameterGroupDescription;
321  bool m_targetDBClusterParameterGroupDescriptionHasBeenSet;
322 
323  Aws::Vector<Tag> m_tags;
324  bool m_tagsHasBeenSet;
325  };
326 
327 } // namespace Model
328 } // namespace DocDB
329 } // namespace Aws
CopyDBClusterParameterGroupRequest & WithTargetDBClusterParameterGroupIdentifier(Aws::String &&value)
CopyDBClusterParameterGroupRequest & WithTargetDBClusterParameterGroupDescription(Aws::String &&value)
CopyDBClusterParameterGroupRequest & WithTags(Aws::Vector< Tag > &&value)
CopyDBClusterParameterGroupRequest & WithTargetDBClusterParameterGroupDescription(const char *value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
CopyDBClusterParameterGroupRequest & WithSourceDBClusterParameterGroupIdentifier(Aws::String &&value)
CopyDBClusterParameterGroupRequest & WithTargetDBClusterParameterGroupIdentifier(const Aws::String &value)
CopyDBClusterParameterGroupRequest & WithTargetDBClusterParameterGroupDescription(const Aws::String &value)
CopyDBClusterParameterGroupRequest & AddTags(Tag &&value)
CopyDBClusterParameterGroupRequest & AddTags(const Tag &value)
CopyDBClusterParameterGroupRequest & WithTargetDBClusterParameterGroupIdentifier(const char *value)
#define AWS_DOCDB_API
Definition: DocDB_EXPORTS.h:28
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
CopyDBClusterParameterGroupRequest & WithSourceDBClusterParameterGroupIdentifier(const char *value)
CopyDBClusterParameterGroupRequest & WithSourceDBClusterParameterGroupIdentifier(const Aws::String &value)
CopyDBClusterParameterGroupRequest & WithTags(const Aws::Vector< Tag > &value)