AWS SDK for C++  1.9.109
AWS SDK for C++
CreateDBClusterParameterGroupRequest.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 "CreateDBClusterParameterGroup"; }
37 
38  Aws::String SerializePayload() const override;
39 
40  protected:
41  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42 
43  public:
44 
51  inline const Aws::String& GetDBClusterParameterGroupName() const{ return m_dBClusterParameterGroupName; }
52 
59  inline bool DBClusterParameterGroupNameHasBeenSet() const { return m_dBClusterParameterGroupNameHasBeenSet; }
60 
67  inline void SetDBClusterParameterGroupName(const Aws::String& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = value; }
68 
75  inline void SetDBClusterParameterGroupName(Aws::String&& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = std::move(value); }
76 
83  inline void SetDBClusterParameterGroupName(const char* value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName.assign(value); }
84 
91  inline CreateDBClusterParameterGroupRequest& WithDBClusterParameterGroupName(const Aws::String& value) { SetDBClusterParameterGroupName(value); return *this;}
92 
99  inline CreateDBClusterParameterGroupRequest& WithDBClusterParameterGroupName(Aws::String&& value) { SetDBClusterParameterGroupName(std::move(value)); return *this;}
100 
107  inline CreateDBClusterParameterGroupRequest& WithDBClusterParameterGroupName(const char* value) { SetDBClusterParameterGroupName(value); return *this;}
108 
109 
113  inline const Aws::String& GetDBParameterGroupFamily() const{ return m_dBParameterGroupFamily; }
114 
118  inline bool DBParameterGroupFamilyHasBeenSet() const { return m_dBParameterGroupFamilyHasBeenSet; }
119 
123  inline void SetDBParameterGroupFamily(const Aws::String& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = value; }
124 
128  inline void SetDBParameterGroupFamily(Aws::String&& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = std::move(value); }
129 
133  inline void SetDBParameterGroupFamily(const char* value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily.assign(value); }
134 
138  inline CreateDBClusterParameterGroupRequest& WithDBParameterGroupFamily(const Aws::String& value) { SetDBParameterGroupFamily(value); return *this;}
139 
143  inline CreateDBClusterParameterGroupRequest& WithDBParameterGroupFamily(Aws::String&& value) { SetDBParameterGroupFamily(std::move(value)); return *this;}
144 
148  inline CreateDBClusterParameterGroupRequest& WithDBParameterGroupFamily(const char* value) { SetDBParameterGroupFamily(value); return *this;}
149 
150 
154  inline const Aws::String& GetDescription() const{ return m_description; }
155 
159  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
160 
164  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
165 
169  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
170 
174  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
175 
179  inline CreateDBClusterParameterGroupRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
180 
184  inline CreateDBClusterParameterGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
185 
189  inline CreateDBClusterParameterGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
190 
191 
195  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
196 
200  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
201 
205  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
206 
210  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
211 
215  inline CreateDBClusterParameterGroupRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
216 
220  inline CreateDBClusterParameterGroupRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
221 
225  inline CreateDBClusterParameterGroupRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
226 
230  inline CreateDBClusterParameterGroupRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
231 
232  private:
233 
234  Aws::String m_dBClusterParameterGroupName;
235  bool m_dBClusterParameterGroupNameHasBeenSet;
236 
237  Aws::String m_dBParameterGroupFamily;
238  bool m_dBParameterGroupFamilyHasBeenSet;
239 
240  Aws::String m_description;
241  bool m_descriptionHasBeenSet;
242 
243  Aws::Vector<Tag> m_tags;
244  bool m_tagsHasBeenSet;
245  };
246 
247 } // namespace Model
248 } // namespace DocDB
249 } // namespace Aws
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::WithDescription
CreateDBClusterParameterGroupRequest & WithDescription(Aws::String &&value)
Definition: CreateDBClusterParameterGroupRequest.h:184
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::WithDBClusterParameterGroupName
CreateDBClusterParameterGroupRequest & WithDBClusterParameterGroupName(Aws::String &&value)
Definition: CreateDBClusterParameterGroupRequest.h:99
Aws::Http::URI
Definition: URI.h:32
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::WithDBParameterGroupFamily
CreateDBClusterParameterGroupRequest & WithDBParameterGroupFamily(Aws::String &&value)
Definition: CreateDBClusterParameterGroupRequest.h:143
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::WithDBClusterParameterGroupName
CreateDBClusterParameterGroupRequest & WithDBClusterParameterGroupName(const char *value)
Definition: CreateDBClusterParameterGroupRequest.h:107
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateDBClusterParameterGroupRequest.h:210
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateDBClusterParameterGroupRequest.h:200
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::DBParameterGroupFamilyHasBeenSet
bool DBParameterGroupFamilyHasBeenSet() const
Definition: CreateDBClusterParameterGroupRequest.h:118
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreateDBClusterParameterGroupRequest.h:159
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::SetDBParameterGroupFamily
void SetDBParameterGroupFamily(const Aws::String &value)
Definition: CreateDBClusterParameterGroupRequest.h:123
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::DBClusterParameterGroupNameHasBeenSet
bool DBClusterParameterGroupNameHasBeenSet() const
Definition: CreateDBClusterParameterGroupRequest.h:59
DocDBRequest.h
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::WithDBParameterGroupFamily
CreateDBClusterParameterGroupRequest & WithDBParameterGroupFamily(const Aws::String &value)
Definition: CreateDBClusterParameterGroupRequest.h:138
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::WithDescription
CreateDBClusterParameterGroupRequest & WithDescription(const Aws::String &value)
Definition: CreateDBClusterParameterGroupRequest.h:179
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateDBClusterParameterGroupRequest.h:195
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::GetDBClusterParameterGroupName
const Aws::String & GetDBClusterParameterGroupName() const
Definition: CreateDBClusterParameterGroupRequest.h:51
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::WithTags
CreateDBClusterParameterGroupRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateDBClusterParameterGroupRequest.h:215
AWSVector.h
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateDBClusterParameterGroupRequest.h:169
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::SetDBClusterParameterGroupName
void SetDBClusterParameterGroupName(Aws::String &&value)
Definition: CreateDBClusterParameterGroupRequest.h:75
AWS_DOCDB_API
#define AWS_DOCDB_API
Definition: DocDB_EXPORTS.h:28
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest
Definition: CreateDBClusterParameterGroupRequest.h:28
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::WithTags
CreateDBClusterParameterGroupRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateDBClusterParameterGroupRequest.h:220
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::AddTags
CreateDBClusterParameterGroupRequest & AddTags(const Tag &value)
Definition: CreateDBClusterParameterGroupRequest.h:225
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateDBClusterParameterGroupRequest.h:36
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::WithDBClusterParameterGroupName
CreateDBClusterParameterGroupRequest & WithDBClusterParameterGroupName(const Aws::String &value)
Definition: CreateDBClusterParameterGroupRequest.h:91
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::GetDBParameterGroupFamily
const Aws::String & GetDBParameterGroupFamily() const
Definition: CreateDBClusterParameterGroupRequest.h:113
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::SetDBClusterParameterGroupName
void SetDBClusterParameterGroupName(const Aws::String &value)
Definition: CreateDBClusterParameterGroupRequest.h:67
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::AddTags
CreateDBClusterParameterGroupRequest & AddTags(Tag &&value)
Definition: CreateDBClusterParameterGroupRequest.h:230
AWSString.h
DocDB_EXPORTS.h
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::SetDBClusterParameterGroupName
void SetDBClusterParameterGroupName(const char *value)
Definition: CreateDBClusterParameterGroupRequest.h:83
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateDBClusterParameterGroupRequest.h:154
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::WithDBParameterGroupFamily
CreateDBClusterParameterGroupRequest & WithDBParameterGroupFamily(const char *value)
Definition: CreateDBClusterParameterGroupRequest.h:148
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateDBClusterParameterGroupRequest.h:164
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::WithDescription
CreateDBClusterParameterGroupRequest & WithDescription(const char *value)
Definition: CreateDBClusterParameterGroupRequest.h:189
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::SetDBParameterGroupFamily
void SetDBParameterGroupFamily(Aws::String &&value)
Definition: CreateDBClusterParameterGroupRequest.h:128
Aws
Definition: AccessManagementClient.h:15
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::CreateDBClusterParameterGroupRequest
CreateDBClusterParameterGroupRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DocDB::DocDBRequest
Definition: DocDBRequest.h:17
Aws::DocDB::Model::Tag
Definition: Tag.h:33
Tag.h
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateDBClusterParameterGroupRequest.h:205
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateDBClusterParameterGroupRequest.h:174
Aws::DocDB::Model::CreateDBClusterParameterGroupRequest::SetDBParameterGroupFamily
void SetDBParameterGroupFamily(const char *value)
Definition: CreateDBClusterParameterGroupRequest.h:133