AWS SDK for C++  1.9.108
AWS SDK for C++
CopyDBParameterGroupRequest.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 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "CopyDBParameterGroup"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  protected:
40  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41 
42  public:
43 
52  inline const Aws::String& GetSourceDBParameterGroupIdentifier() const{ return m_sourceDBParameterGroupIdentifier; }
53 
62  inline bool SourceDBParameterGroupIdentifierHasBeenSet() const { return m_sourceDBParameterGroupIdentifierHasBeenSet; }
63 
72  inline void SetSourceDBParameterGroupIdentifier(const Aws::String& value) { m_sourceDBParameterGroupIdentifierHasBeenSet = true; m_sourceDBParameterGroupIdentifier = value; }
73 
82  inline void SetSourceDBParameterGroupIdentifier(Aws::String&& value) { m_sourceDBParameterGroupIdentifierHasBeenSet = true; m_sourceDBParameterGroupIdentifier = std::move(value); }
83 
92  inline void SetSourceDBParameterGroupIdentifier(const char* value) { m_sourceDBParameterGroupIdentifierHasBeenSet = true; m_sourceDBParameterGroupIdentifier.assign(value); }
93 
102  inline CopyDBParameterGroupRequest& WithSourceDBParameterGroupIdentifier(const Aws::String& value) { SetSourceDBParameterGroupIdentifier(value); return *this;}
103 
112  inline CopyDBParameterGroupRequest& WithSourceDBParameterGroupIdentifier(Aws::String&& value) { SetSourceDBParameterGroupIdentifier(std::move(value)); return *this;}
113 
122  inline CopyDBParameterGroupRequest& WithSourceDBParameterGroupIdentifier(const char* value) { SetSourceDBParameterGroupIdentifier(value); return *this;}
123 
124 
132  inline const Aws::String& GetTargetDBParameterGroupIdentifier() const{ return m_targetDBParameterGroupIdentifier; }
133 
141  inline bool TargetDBParameterGroupIdentifierHasBeenSet() const { return m_targetDBParameterGroupIdentifierHasBeenSet; }
142 
150  inline void SetTargetDBParameterGroupIdentifier(const Aws::String& value) { m_targetDBParameterGroupIdentifierHasBeenSet = true; m_targetDBParameterGroupIdentifier = value; }
151 
159  inline void SetTargetDBParameterGroupIdentifier(Aws::String&& value) { m_targetDBParameterGroupIdentifierHasBeenSet = true; m_targetDBParameterGroupIdentifier = std::move(value); }
160 
168  inline void SetTargetDBParameterGroupIdentifier(const char* value) { m_targetDBParameterGroupIdentifierHasBeenSet = true; m_targetDBParameterGroupIdentifier.assign(value); }
169 
177  inline CopyDBParameterGroupRequest& WithTargetDBParameterGroupIdentifier(const Aws::String& value) { SetTargetDBParameterGroupIdentifier(value); return *this;}
178 
186  inline CopyDBParameterGroupRequest& WithTargetDBParameterGroupIdentifier(Aws::String&& value) { SetTargetDBParameterGroupIdentifier(std::move(value)); return *this;}
187 
195  inline CopyDBParameterGroupRequest& WithTargetDBParameterGroupIdentifier(const char* value) { SetTargetDBParameterGroupIdentifier(value); return *this;}
196 
197 
201  inline const Aws::String& GetTargetDBParameterGroupDescription() const{ return m_targetDBParameterGroupDescription; }
202 
206  inline bool TargetDBParameterGroupDescriptionHasBeenSet() const { return m_targetDBParameterGroupDescriptionHasBeenSet; }
207 
211  inline void SetTargetDBParameterGroupDescription(const Aws::String& value) { m_targetDBParameterGroupDescriptionHasBeenSet = true; m_targetDBParameterGroupDescription = value; }
212 
216  inline void SetTargetDBParameterGroupDescription(Aws::String&& value) { m_targetDBParameterGroupDescriptionHasBeenSet = true; m_targetDBParameterGroupDescription = std::move(value); }
217 
221  inline void SetTargetDBParameterGroupDescription(const char* value) { m_targetDBParameterGroupDescriptionHasBeenSet = true; m_targetDBParameterGroupDescription.assign(value); }
222 
226  inline CopyDBParameterGroupRequest& WithTargetDBParameterGroupDescription(const Aws::String& value) { SetTargetDBParameterGroupDescription(value); return *this;}
227 
231  inline CopyDBParameterGroupRequest& WithTargetDBParameterGroupDescription(Aws::String&& value) { SetTargetDBParameterGroupDescription(std::move(value)); return *this;}
232 
236  inline CopyDBParameterGroupRequest& WithTargetDBParameterGroupDescription(const char* value) { SetTargetDBParameterGroupDescription(value); return *this;}
237 
238 
239 
240  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
241 
242 
243  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
244 
245 
246  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
247 
248 
249  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
250 
251 
252  inline CopyDBParameterGroupRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
253 
254 
255  inline CopyDBParameterGroupRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
256 
257 
258  inline CopyDBParameterGroupRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
259 
260 
261  inline CopyDBParameterGroupRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
262 
263  private:
264 
265  Aws::String m_sourceDBParameterGroupIdentifier;
266  bool m_sourceDBParameterGroupIdentifierHasBeenSet;
267 
268  Aws::String m_targetDBParameterGroupIdentifier;
269  bool m_targetDBParameterGroupIdentifierHasBeenSet;
270 
271  Aws::String m_targetDBParameterGroupDescription;
272  bool m_targetDBParameterGroupDescriptionHasBeenSet;
273 
274  Aws::Vector<Tag> m_tags;
275  bool m_tagsHasBeenSet;
276  };
277 
278 } // namespace Model
279 } // namespace RDS
280 } // namespace Aws
Aws::RDS::Model::CopyDBParameterGroupRequest::SetTargetDBParameterGroupIdentifier
void SetTargetDBParameterGroupIdentifier(const Aws::String &value)
Definition: CopyDBParameterGroupRequest.h:150
Aws::RDS::Model::Tag
Definition: Tag.h:33
Aws::RDS::Model::CopyDBParameterGroupRequest::GetSourceDBParameterGroupIdentifier
const Aws::String & GetSourceDBParameterGroupIdentifier() const
Definition: CopyDBParameterGroupRequest.h:52
Aws::RDS::Model::CopyDBParameterGroupRequest
Definition: CopyDBParameterGroupRequest.h:27
Aws::RDS::Model::CopyDBParameterGroupRequest::SetTargetDBParameterGroupDescription
void SetTargetDBParameterGroupDescription(Aws::String &&value)
Definition: CopyDBParameterGroupRequest.h:216
Aws::RDS::Model::CopyDBParameterGroupRequest::SetTargetDBParameterGroupIdentifier
void SetTargetDBParameterGroupIdentifier(const char *value)
Definition: CopyDBParameterGroupRequest.h:168
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::CopyDBParameterGroupRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CopyDBParameterGroupRequest.h:246
Aws::RDS::Model::CopyDBParameterGroupRequest::SetSourceDBParameterGroupIdentifier
void SetSourceDBParameterGroupIdentifier(const Aws::String &value)
Definition: CopyDBParameterGroupRequest.h:72
Aws::RDS::Model::CopyDBParameterGroupRequest::WithSourceDBParameterGroupIdentifier
CopyDBParameterGroupRequest & WithSourceDBParameterGroupIdentifier(const char *value)
Definition: CopyDBParameterGroupRequest.h:122
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::CopyDBParameterGroupRequest::SourceDBParameterGroupIdentifierHasBeenSet
bool SourceDBParameterGroupIdentifierHasBeenSet() const
Definition: CopyDBParameterGroupRequest.h:62
Aws::RDS::Model::CopyDBParameterGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CopyDBParameterGroupRequest.h:35
Aws::RDS::Model::CopyDBParameterGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::CopyDBParameterGroupRequest::WithSourceDBParameterGroupIdentifier
CopyDBParameterGroupRequest & WithSourceDBParameterGroupIdentifier(const Aws::String &value)
Definition: CopyDBParameterGroupRequest.h:102
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::CopyDBParameterGroupRequest::TargetDBParameterGroupDescriptionHasBeenSet
bool TargetDBParameterGroupDescriptionHasBeenSet() const
Definition: CopyDBParameterGroupRequest.h:206
Aws::RDS::Model::CopyDBParameterGroupRequest::WithTargetDBParameterGroupIdentifier
CopyDBParameterGroupRequest & WithTargetDBParameterGroupIdentifier(const char *value)
Definition: CopyDBParameterGroupRequest.h:195
Aws::RDS::Model::CopyDBParameterGroupRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CopyDBParameterGroupRequest.h:243
AWSVector.h
Aws::RDS::Model::CopyDBParameterGroupRequest::WithTargetDBParameterGroupDescription
CopyDBParameterGroupRequest & WithTargetDBParameterGroupDescription(const char *value)
Definition: CopyDBParameterGroupRequest.h:236
Aws::RDS::Model::CopyDBParameterGroupRequest::WithSourceDBParameterGroupIdentifier
CopyDBParameterGroupRequest & WithSourceDBParameterGroupIdentifier(Aws::String &&value)
Definition: CopyDBParameterGroupRequest.h:112
Aws::RDS::Model::CopyDBParameterGroupRequest::AddTags
CopyDBParameterGroupRequest & AddTags(Tag &&value)
Definition: CopyDBParameterGroupRequest.h:261
Aws::RDS::Model::CopyDBParameterGroupRequest::WithTargetDBParameterGroupDescription
CopyDBParameterGroupRequest & WithTargetDBParameterGroupDescription(const Aws::String &value)
Definition: CopyDBParameterGroupRequest.h:226
Aws::RDS::Model::CopyDBParameterGroupRequest::SetTargetDBParameterGroupDescription
void SetTargetDBParameterGroupDescription(const char *value)
Definition: CopyDBParameterGroupRequest.h:221
RDS_EXPORTS.h
Aws::RDS::Model::CopyDBParameterGroupRequest::CopyDBParameterGroupRequest
CopyDBParameterGroupRequest()
Aws::RDS::Model::CopyDBParameterGroupRequest::WithTargetDBParameterGroupIdentifier
CopyDBParameterGroupRequest & WithTargetDBParameterGroupIdentifier(const Aws::String &value)
Definition: CopyDBParameterGroupRequest.h:177
Aws::RDS::Model::CopyDBParameterGroupRequest::GetTargetDBParameterGroupDescription
const Aws::String & GetTargetDBParameterGroupDescription() const
Definition: CopyDBParameterGroupRequest.h:201
Aws::RDS::Model::CopyDBParameterGroupRequest::AddTags
CopyDBParameterGroupRequest & AddTags(const Tag &value)
Definition: CopyDBParameterGroupRequest.h:258
Aws::RDS::Model::CopyDBParameterGroupRequest::WithTargetDBParameterGroupDescription
CopyDBParameterGroupRequest & WithTargetDBParameterGroupDescription(Aws::String &&value)
Definition: CopyDBParameterGroupRequest.h:231
Aws::RDS::Model::CopyDBParameterGroupRequest::SetSourceDBParameterGroupIdentifier
void SetSourceDBParameterGroupIdentifier(const char *value)
Definition: CopyDBParameterGroupRequest.h:92
AWSString.h
Aws::RDS::Model::CopyDBParameterGroupRequest::SetSourceDBParameterGroupIdentifier
void SetSourceDBParameterGroupIdentifier(Aws::String &&value)
Definition: CopyDBParameterGroupRequest.h:82
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::CopyDBParameterGroupRequest::SetTargetDBParameterGroupDescription
void SetTargetDBParameterGroupDescription(const Aws::String &value)
Definition: CopyDBParameterGroupRequest.h:211
Aws::RDS::Model::CopyDBParameterGroupRequest::SetTargetDBParameterGroupIdentifier
void SetTargetDBParameterGroupIdentifier(Aws::String &&value)
Definition: CopyDBParameterGroupRequest.h:159
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::CopyDBParameterGroupRequest::GetTargetDBParameterGroupIdentifier
const Aws::String & GetTargetDBParameterGroupIdentifier() const
Definition: CopyDBParameterGroupRequest.h:132
Aws::RDS::Model::CopyDBParameterGroupRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::CopyDBParameterGroupRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CopyDBParameterGroupRequest.h:240
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::CopyDBParameterGroupRequest::TargetDBParameterGroupIdentifierHasBeenSet
bool TargetDBParameterGroupIdentifierHasBeenSet() const
Definition: CopyDBParameterGroupRequest.h:141
Tag.h
RDSRequest.h
Aws::RDS::Model::CopyDBParameterGroupRequest::WithTargetDBParameterGroupIdentifier
CopyDBParameterGroupRequest & WithTargetDBParameterGroupIdentifier(Aws::String &&value)
Definition: CopyDBParameterGroupRequest.h:186
Aws::RDS::Model::CopyDBParameterGroupRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CopyDBParameterGroupRequest.h:249
Aws::RDS::Model::CopyDBParameterGroupRequest::WithTags
CopyDBParameterGroupRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CopyDBParameterGroupRequest.h:255
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::CopyDBParameterGroupRequest::WithTags
CopyDBParameterGroupRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CopyDBParameterGroupRequest.h:252