AWS SDK for C++  1.9.108
AWS SDK for C++
CreateDBParameterGroupRequest.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 "CreateDBParameterGroup"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  protected:
40  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41 
42  public:
43 
51  inline const Aws::String& GetDBParameterGroupName() const{ return m_dBParameterGroupName; }
52 
60  inline bool DBParameterGroupNameHasBeenSet() const { return m_dBParameterGroupNameHasBeenSet; }
61 
69  inline void SetDBParameterGroupName(const Aws::String& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = value; }
70 
78  inline void SetDBParameterGroupName(Aws::String&& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = std::move(value); }
79 
87  inline void SetDBParameterGroupName(const char* value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName.assign(value); }
88 
96  inline CreateDBParameterGroupRequest& WithDBParameterGroupName(const Aws::String& value) { SetDBParameterGroupName(value); return *this;}
97 
105  inline CreateDBParameterGroupRequest& WithDBParameterGroupName(Aws::String&& value) { SetDBParameterGroupName(std::move(value)); return *this;}
106 
114  inline CreateDBParameterGroupRequest& WithDBParameterGroupName(const char* value) { SetDBParameterGroupName(value); return *this;}
115 
116 
140  inline const Aws::String& GetDBParameterGroupFamily() const{ return m_dBParameterGroupFamily; }
141 
165  inline bool DBParameterGroupFamilyHasBeenSet() const { return m_dBParameterGroupFamilyHasBeenSet; }
166 
190  inline void SetDBParameterGroupFamily(const Aws::String& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = value; }
191 
215  inline void SetDBParameterGroupFamily(Aws::String&& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = std::move(value); }
216 
240  inline void SetDBParameterGroupFamily(const char* value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily.assign(value); }
241 
265  inline CreateDBParameterGroupRequest& WithDBParameterGroupFamily(const Aws::String& value) { SetDBParameterGroupFamily(value); return *this;}
266 
290  inline CreateDBParameterGroupRequest& WithDBParameterGroupFamily(Aws::String&& value) { SetDBParameterGroupFamily(std::move(value)); return *this;}
291 
315  inline CreateDBParameterGroupRequest& WithDBParameterGroupFamily(const char* value) { SetDBParameterGroupFamily(value); return *this;}
316 
317 
321  inline const Aws::String& GetDescription() const{ return m_description; }
322 
326  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
327 
331  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
332 
336  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
337 
341  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
342 
346  inline CreateDBParameterGroupRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
347 
351  inline CreateDBParameterGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
352 
356  inline CreateDBParameterGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
357 
358 
362  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
363 
367  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
368 
372  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
373 
377  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
378 
382  inline CreateDBParameterGroupRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
383 
387  inline CreateDBParameterGroupRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
388 
392  inline CreateDBParameterGroupRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
393 
397  inline CreateDBParameterGroupRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
398 
399  private:
400 
401  Aws::String m_dBParameterGroupName;
402  bool m_dBParameterGroupNameHasBeenSet;
403 
404  Aws::String m_dBParameterGroupFamily;
405  bool m_dBParameterGroupFamilyHasBeenSet;
406 
407  Aws::String m_description;
408  bool m_descriptionHasBeenSet;
409 
410  Aws::Vector<Tag> m_tags;
411  bool m_tagsHasBeenSet;
412  };
413 
414 } // namespace Model
415 } // namespace RDS
416 } // namespace Aws
Aws::RDS::Model::Tag
Definition: Tag.h:33
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::CreateDBParameterGroupRequest::WithDescription
CreateDBParameterGroupRequest & WithDescription(Aws::String &&value)
Definition: CreateDBParameterGroupRequest.h:351
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::CreateDBParameterGroupRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateDBParameterGroupRequest.h:341
Aws::RDS::Model::CreateDBParameterGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::CreateDBParameterGroupRequest::WithDBParameterGroupName
CreateDBParameterGroupRequest & WithDBParameterGroupName(const Aws::String &value)
Definition: CreateDBParameterGroupRequest.h:96
Aws::RDS::Model::CreateDBParameterGroupRequest::WithDBParameterGroupFamily
CreateDBParameterGroupRequest & WithDBParameterGroupFamily(const char *value)
Definition: CreateDBParameterGroupRequest.h:315
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::CreateDBParameterGroupRequest::SetDBParameterGroupName
void SetDBParameterGroupName(Aws::String &&value)
Definition: CreateDBParameterGroupRequest.h:78
Aws::RDS::Model::CreateDBParameterGroupRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateDBParameterGroupRequest.h:377
AWSVector.h
Aws::RDS::Model::CreateDBParameterGroupRequest::AddTags
CreateDBParameterGroupRequest & AddTags(const Tag &value)
Definition: CreateDBParameterGroupRequest.h:392
Aws::RDS::Model::CreateDBParameterGroupRequest::WithDescription
CreateDBParameterGroupRequest & WithDescription(const Aws::String &value)
Definition: CreateDBParameterGroupRequest.h:346
Aws::RDS::Model::CreateDBParameterGroupRequest::WithTags
CreateDBParameterGroupRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateDBParameterGroupRequest.h:387
Aws::RDS::Model::CreateDBParameterGroupRequest::SetDBParameterGroupFamily
void SetDBParameterGroupFamily(const char *value)
Definition: CreateDBParameterGroupRequest.h:240
Aws::RDS::Model::CreateDBParameterGroupRequest::CreateDBParameterGroupRequest
CreateDBParameterGroupRequest()
Aws::RDS::Model::CreateDBParameterGroupRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateDBParameterGroupRequest.h:362
Aws::RDS::Model::CreateDBParameterGroupRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateDBParameterGroupRequest.h:331
RDS_EXPORTS.h
Aws::RDS::Model::CreateDBParameterGroupRequest::SetDBParameterGroupName
void SetDBParameterGroupName(const char *value)
Definition: CreateDBParameterGroupRequest.h:87
Aws::RDS::Model::CreateDBParameterGroupRequest::SetDBParameterGroupFamily
void SetDBParameterGroupFamily(Aws::String &&value)
Definition: CreateDBParameterGroupRequest.h:215
Aws::RDS::Model::CreateDBParameterGroupRequest::WithDBParameterGroupFamily
CreateDBParameterGroupRequest & WithDBParameterGroupFamily(Aws::String &&value)
Definition: CreateDBParameterGroupRequest.h:290
Aws::RDS::Model::CreateDBParameterGroupRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateDBParameterGroupRequest.h:336
Aws::RDS::Model::CreateDBParameterGroupRequest
Definition: CreateDBParameterGroupRequest.h:27
Aws::RDS::Model::CreateDBParameterGroupRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreateDBParameterGroupRequest.h:326
Aws::RDS::Model::CreateDBParameterGroupRequest::DBParameterGroupFamilyHasBeenSet
bool DBParameterGroupFamilyHasBeenSet() const
Definition: CreateDBParameterGroupRequest.h:165
Aws::RDS::Model::CreateDBParameterGroupRequest::WithDescription
CreateDBParameterGroupRequest & WithDescription(const char *value)
Definition: CreateDBParameterGroupRequest.h:356
Aws::RDS::Model::CreateDBParameterGroupRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::CreateDBParameterGroupRequest::SetDBParameterGroupName
void SetDBParameterGroupName(const Aws::String &value)
Definition: CreateDBParameterGroupRequest.h:69
AWSString.h
Aws::RDS::Model::CreateDBParameterGroupRequest::DBParameterGroupNameHasBeenSet
bool DBParameterGroupNameHasBeenSet() const
Definition: CreateDBParameterGroupRequest.h:60
Aws::RDS::Model::CreateDBParameterGroupRequest::WithDBParameterGroupFamily
CreateDBParameterGroupRequest & WithDBParameterGroupFamily(const Aws::String &value)
Definition: CreateDBParameterGroupRequest.h:265
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::CreateDBParameterGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateDBParameterGroupRequest.h:35
Aws::RDS::Model::CreateDBParameterGroupRequest::AddTags
CreateDBParameterGroupRequest & AddTags(Tag &&value)
Definition: CreateDBParameterGroupRequest.h:397
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::CreateDBParameterGroupRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateDBParameterGroupRequest.h:372
Aws::RDS::Model::CreateDBParameterGroupRequest::WithDBParameterGroupName
CreateDBParameterGroupRequest & WithDBParameterGroupName(const char *value)
Definition: CreateDBParameterGroupRequest.h:114
Aws::RDS::Model::CreateDBParameterGroupRequest::SetDBParameterGroupFamily
void SetDBParameterGroupFamily(const Aws::String &value)
Definition: CreateDBParameterGroupRequest.h:190
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Tag.h
Aws::RDS::Model::CreateDBParameterGroupRequest::WithTags
CreateDBParameterGroupRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateDBParameterGroupRequest.h:382
Aws::RDS::Model::CreateDBParameterGroupRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateDBParameterGroupRequest.h:367
Aws::RDS::Model::CreateDBParameterGroupRequest::GetDBParameterGroupName
const Aws::String & GetDBParameterGroupName() const
Definition: CreateDBParameterGroupRequest.h:51
RDSRequest.h
Aws::RDS::Model::CreateDBParameterGroupRequest::WithDBParameterGroupName
CreateDBParameterGroupRequest & WithDBParameterGroupName(Aws::String &&value)
Definition: CreateDBParameterGroupRequest.h:105
Aws::RDS::Model::CreateDBParameterGroupRequest::GetDBParameterGroupFamily
const Aws::String & GetDBParameterGroupFamily() const
Definition: CreateDBParameterGroupRequest.h:140
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::CreateDBParameterGroupRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateDBParameterGroupRequest.h:321