AWS SDK for C++  1.9.104
AWS SDK for C++
CreateDBClusterParameterGroupRequest.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 "CreateDBClusterParameterGroup"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  protected:
40  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41 
42  public:
43 
49  inline const Aws::String& GetDBClusterParameterGroupName() const{ return m_dBClusterParameterGroupName; }
50 
56  inline bool DBClusterParameterGroupNameHasBeenSet() const { return m_dBClusterParameterGroupNameHasBeenSet; }
57 
63  inline void SetDBClusterParameterGroupName(const Aws::String& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = value; }
64 
70  inline void SetDBClusterParameterGroupName(Aws::String&& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = std::move(value); }
71 
77  inline void SetDBClusterParameterGroupName(const char* value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName.assign(value); }
78 
84  inline CreateDBClusterParameterGroupRequest& WithDBClusterParameterGroupName(const Aws::String& value) { SetDBClusterParameterGroupName(value); return *this;}
85 
91  inline CreateDBClusterParameterGroupRequest& WithDBClusterParameterGroupName(Aws::String&& value) { SetDBClusterParameterGroupName(std::move(value)); return *this;}
92 
98  inline CreateDBClusterParameterGroupRequest& WithDBClusterParameterGroupName(const char* value) { SetDBClusterParameterGroupName(value); return *this;}
99 
100 
121  inline const Aws::String& GetDBParameterGroupFamily() const{ return m_dBParameterGroupFamily; }
122 
143  inline bool DBParameterGroupFamilyHasBeenSet() const { return m_dBParameterGroupFamilyHasBeenSet; }
144 
165  inline void SetDBParameterGroupFamily(const Aws::String& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = value; }
166 
187  inline void SetDBParameterGroupFamily(Aws::String&& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = std::move(value); }
188 
209  inline void SetDBParameterGroupFamily(const char* value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily.assign(value); }
210 
231  inline CreateDBClusterParameterGroupRequest& WithDBParameterGroupFamily(const Aws::String& value) { SetDBParameterGroupFamily(value); return *this;}
232 
253  inline CreateDBClusterParameterGroupRequest& WithDBParameterGroupFamily(Aws::String&& value) { SetDBParameterGroupFamily(std::move(value)); return *this;}
254 
275  inline CreateDBClusterParameterGroupRequest& WithDBParameterGroupFamily(const char* value) { SetDBParameterGroupFamily(value); return *this;}
276 
277 
281  inline const Aws::String& GetDescription() const{ return m_description; }
282 
286  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
287 
291  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
292 
296  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
297 
301  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
302 
306  inline CreateDBClusterParameterGroupRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
307 
311  inline CreateDBClusterParameterGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
312 
316  inline CreateDBClusterParameterGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
317 
318 
322  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
323 
327  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
328 
332  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
333 
337  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
338 
342  inline CreateDBClusterParameterGroupRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
343 
347  inline CreateDBClusterParameterGroupRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
348 
352  inline CreateDBClusterParameterGroupRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
353 
357  inline CreateDBClusterParameterGroupRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
358 
359  private:
360 
361  Aws::String m_dBClusterParameterGroupName;
362  bool m_dBClusterParameterGroupNameHasBeenSet;
363 
364  Aws::String m_dBParameterGroupFamily;
365  bool m_dBParameterGroupFamilyHasBeenSet;
366 
367  Aws::String m_description;
368  bool m_descriptionHasBeenSet;
369 
370  Aws::Vector<Tag> m_tags;
371  bool m_tagsHasBeenSet;
372  };
373 
374 } // namespace Model
375 } // namespace RDS
376 } // namespace Aws
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::WithDBParameterGroupFamily
CreateDBClusterParameterGroupRequest & WithDBParameterGroupFamily(const char *value)
Definition: CreateDBClusterParameterGroupRequest.h:275
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::AddTags
CreateDBClusterParameterGroupRequest & AddTags(const Tag &value)
Definition: CreateDBClusterParameterGroupRequest.h:352
Aws::RDS::Model::Tag
Definition: Tag.h:33
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateDBClusterParameterGroupRequest.h:337
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::DBClusterParameterGroupNameHasBeenSet
bool DBClusterParameterGroupNameHasBeenSet() const
Definition: CreateDBClusterParameterGroupRequest.h:56
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::SetDBParameterGroupFamily
void SetDBParameterGroupFamily(const char *value)
Definition: CreateDBClusterParameterGroupRequest.h:209
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::GetDBParameterGroupFamily
const Aws::String & GetDBParameterGroupFamily() const
Definition: CreateDBClusterParameterGroupRequest.h:121
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::WithDBParameterGroupFamily
CreateDBClusterParameterGroupRequest & WithDBParameterGroupFamily(const Aws::String &value)
Definition: CreateDBClusterParameterGroupRequest.h:231
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateDBClusterParameterGroupRequest.h:35
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::WithDescription
CreateDBClusterParameterGroupRequest & WithDescription(const char *value)
Definition: CreateDBClusterParameterGroupRequest.h:316
Aws::RDS::Model::CreateDBClusterParameterGroupRequest
Definition: CreateDBClusterParameterGroupRequest.h:27
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::WithTags
CreateDBClusterParameterGroupRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateDBClusterParameterGroupRequest.h:347
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateDBClusterParameterGroupRequest.h:281
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateDBClusterParameterGroupRequest.h:296
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateDBClusterParameterGroupRequest.h:327
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::WithDBClusterParameterGroupName
CreateDBClusterParameterGroupRequest & WithDBClusterParameterGroupName(const Aws::String &value)
Definition: CreateDBClusterParameterGroupRequest.h:84
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::SerializePayload
Aws::String SerializePayload() const override
RDS_EXPORTS.h
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::SetDBParameterGroupFamily
void SetDBParameterGroupFamily(Aws::String &&value)
Definition: CreateDBClusterParameterGroupRequest.h:187
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::WithDBClusterParameterGroupName
CreateDBClusterParameterGroupRequest & WithDBClusterParameterGroupName(const char *value)
Definition: CreateDBClusterParameterGroupRequest.h:98
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::WithTags
CreateDBClusterParameterGroupRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateDBClusterParameterGroupRequest.h:342
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::SetDBClusterParameterGroupName
void SetDBClusterParameterGroupName(const Aws::String &value)
Definition: CreateDBClusterParameterGroupRequest.h:63
AWSString.h
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::WithDescription
CreateDBClusterParameterGroupRequest & WithDescription(const Aws::String &value)
Definition: CreateDBClusterParameterGroupRequest.h:306
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::AddTags
CreateDBClusterParameterGroupRequest & AddTags(Tag &&value)
Definition: CreateDBClusterParameterGroupRequest.h:357
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateDBClusterParameterGroupRequest.h:301
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::SetDBClusterParameterGroupName
void SetDBClusterParameterGroupName(Aws::String &&value)
Definition: CreateDBClusterParameterGroupRequest.h:70
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::GetDBClusterParameterGroupName
const Aws::String & GetDBClusterParameterGroupName() const
Definition: CreateDBClusterParameterGroupRequest.h:49
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::SetDBParameterGroupFamily
void SetDBParameterGroupFamily(const Aws::String &value)
Definition: CreateDBClusterParameterGroupRequest.h:165
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::WithDescription
CreateDBClusterParameterGroupRequest & WithDescription(Aws::String &&value)
Definition: CreateDBClusterParameterGroupRequest.h:311
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::SetDBClusterParameterGroupName
void SetDBClusterParameterGroupName(const char *value)
Definition: CreateDBClusterParameterGroupRequest.h:77
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreateDBClusterParameterGroupRequest.h:286
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::WithDBClusterParameterGroupName
CreateDBClusterParameterGroupRequest & WithDBClusterParameterGroupName(Aws::String &&value)
Definition: CreateDBClusterParameterGroupRequest.h:91
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateDBClusterParameterGroupRequest.h:322
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Tag.h
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateDBClusterParameterGroupRequest.h:332
RDSRequest.h
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateDBClusterParameterGroupRequest.h:291
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::WithDBParameterGroupFamily
CreateDBClusterParameterGroupRequest & WithDBParameterGroupFamily(Aws::String &&value)
Definition: CreateDBClusterParameterGroupRequest.h:253
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::CreateDBClusterParameterGroupRequest
CreateDBClusterParameterGroupRequest()
Aws::RDS::Model::CreateDBClusterParameterGroupRequest::DBParameterGroupFamilyHasBeenSet
bool DBParameterGroupFamilyHasBeenSet() const
Definition: CreateDBClusterParameterGroupRequest.h:143