AWS SDK for C++  0.14.3
AWS SDK for C++
CopyDBClusterParameterGroupRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 #include <aws/rds/RDS_EXPORTS.h>
17 #include <aws/rds/RDSRequest.h>
20 #include <aws/rds/model/Tag.h>
21 
22 namespace Aws
23 {
24 namespace RDS
25 {
26 namespace Model
27 {
28 
32  {
33  public:
35  Aws::String SerializePayload() const override;
36 
51  inline const Aws::String& GetSourceDBClusterParameterGroupIdentifier() const{ return m_sourceDBClusterParameterGroupIdentifier; }
52 
67  inline void SetSourceDBClusterParameterGroupIdentifier(const Aws::String& value) { m_sourceDBClusterParameterGroupIdentifierHasBeenSet = true; m_sourceDBClusterParameterGroupIdentifier = value; }
68 
83  inline void SetSourceDBClusterParameterGroupIdentifier(Aws::String&& value) { m_sourceDBClusterParameterGroupIdentifierHasBeenSet = true; m_sourceDBClusterParameterGroupIdentifier = value; }
84 
99  inline void SetSourceDBClusterParameterGroupIdentifier(const char* value) { m_sourceDBClusterParameterGroupIdentifierHasBeenSet = true; m_sourceDBClusterParameterGroupIdentifier.assign(value); }
100 
115  inline CopyDBClusterParameterGroupRequest& WithSourceDBClusterParameterGroupIdentifier(const Aws::String& value) { SetSourceDBClusterParameterGroupIdentifier(value); return *this;}
116 
131  inline CopyDBClusterParameterGroupRequest& WithSourceDBClusterParameterGroupIdentifier(Aws::String&& value) { SetSourceDBClusterParameterGroupIdentifier(value); return *this;}
132 
147  inline CopyDBClusterParameterGroupRequest& WithSourceDBClusterParameterGroupIdentifier(const char* value) { SetSourceDBClusterParameterGroupIdentifier(value); return *this;}
148 
157  inline const Aws::String& GetTargetDBClusterParameterGroupIdentifier() const{ return m_targetDBClusterParameterGroupIdentifier; }
158 
167  inline void SetTargetDBClusterParameterGroupIdentifier(const Aws::String& value) { m_targetDBClusterParameterGroupIdentifierHasBeenSet = true; m_targetDBClusterParameterGroupIdentifier = value; }
168 
177  inline void SetTargetDBClusterParameterGroupIdentifier(Aws::String&& value) { m_targetDBClusterParameterGroupIdentifierHasBeenSet = true; m_targetDBClusterParameterGroupIdentifier = value; }
178 
187  inline void SetTargetDBClusterParameterGroupIdentifier(const char* value) { m_targetDBClusterParameterGroupIdentifierHasBeenSet = true; m_targetDBClusterParameterGroupIdentifier.assign(value); }
188 
197  inline CopyDBClusterParameterGroupRequest& WithTargetDBClusterParameterGroupIdentifier(const Aws::String& value) { SetTargetDBClusterParameterGroupIdentifier(value); return *this;}
198 
207  inline CopyDBClusterParameterGroupRequest& WithTargetDBClusterParameterGroupIdentifier(Aws::String&& value) { SetTargetDBClusterParameterGroupIdentifier(value); return *this;}
208 
217  inline CopyDBClusterParameterGroupRequest& WithTargetDBClusterParameterGroupIdentifier(const char* value) { SetTargetDBClusterParameterGroupIdentifier(value); return *this;}
218 
222  inline const Aws::String& GetTargetDBClusterParameterGroupDescription() const{ return m_targetDBClusterParameterGroupDescription; }
223 
227  inline void SetTargetDBClusterParameterGroupDescription(const Aws::String& value) { m_targetDBClusterParameterGroupDescriptionHasBeenSet = true; m_targetDBClusterParameterGroupDescription = value; }
228 
232  inline void SetTargetDBClusterParameterGroupDescription(Aws::String&& value) { m_targetDBClusterParameterGroupDescriptionHasBeenSet = true; m_targetDBClusterParameterGroupDescription = value; }
233 
237  inline void SetTargetDBClusterParameterGroupDescription(const char* value) { m_targetDBClusterParameterGroupDescriptionHasBeenSet = true; m_targetDBClusterParameterGroupDescription.assign(value); }
238 
242  inline CopyDBClusterParameterGroupRequest& WithTargetDBClusterParameterGroupDescription(const Aws::String& value) { SetTargetDBClusterParameterGroupDescription(value); return *this;}
243 
247  inline CopyDBClusterParameterGroupRequest& WithTargetDBClusterParameterGroupDescription(Aws::String&& value) { SetTargetDBClusterParameterGroupDescription(value); return *this;}
248 
252  inline CopyDBClusterParameterGroupRequest& WithTargetDBClusterParameterGroupDescription(const char* value) { SetTargetDBClusterParameterGroupDescription(value); return *this;}
253 
254 
255  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
256 
257 
258  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
259 
260 
261  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = value; }
262 
263 
264  inline CopyDBClusterParameterGroupRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
265 
266 
267  inline CopyDBClusterParameterGroupRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(value); return *this;}
268 
269 
270  inline CopyDBClusterParameterGroupRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
271 
272 
273  inline CopyDBClusterParameterGroupRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
274 
275  private:
276  Aws::String m_sourceDBClusterParameterGroupIdentifier;
277  bool m_sourceDBClusterParameterGroupIdentifierHasBeenSet;
278  Aws::String m_targetDBClusterParameterGroupIdentifier;
279  bool m_targetDBClusterParameterGroupIdentifierHasBeenSet;
280  Aws::String m_targetDBClusterParameterGroupDescription;
281  bool m_targetDBClusterParameterGroupDescriptionHasBeenSet;
282  Aws::Vector<Tag> m_tags;
283  bool m_tagsHasBeenSet;
284  };
285 
286 } // namespace Model
287 } // namespace RDS
288 } // namespace Aws
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:37
CopyDBClusterParameterGroupRequest & WithTargetDBClusterParameterGroupDescription(const char *value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
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)
JSON (JavaScript Object Notation).
CopyDBClusterParameterGroupRequest & WithTargetDBClusterParameterGroupDescription(Aws::String &&value)