AWS SDK for C++  1.9.104
AWS SDK for C++
DBParameterGroup.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace RDS
22 {
23 namespace Model
24 {
25 
34  {
35  public:
39 
40  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41  void OutputToStream(Aws::OStream& oStream, const char* location) const;
42 
43 
47  inline const Aws::String& GetDBParameterGroupName() const{ return m_dBParameterGroupName; }
48 
52  inline bool DBParameterGroupNameHasBeenSet() const { return m_dBParameterGroupNameHasBeenSet; }
53 
57  inline void SetDBParameterGroupName(const Aws::String& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = value; }
58 
62  inline void SetDBParameterGroupName(Aws::String&& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = std::move(value); }
63 
67  inline void SetDBParameterGroupName(const char* value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName.assign(value); }
68 
72  inline DBParameterGroup& WithDBParameterGroupName(const Aws::String& value) { SetDBParameterGroupName(value); return *this;}
73 
77  inline DBParameterGroup& WithDBParameterGroupName(Aws::String&& value) { SetDBParameterGroupName(std::move(value)); return *this;}
78 
82  inline DBParameterGroup& WithDBParameterGroupName(const char* value) { SetDBParameterGroupName(value); return *this;}
83 
84 
89  inline const Aws::String& GetDBParameterGroupFamily() const{ return m_dBParameterGroupFamily; }
90 
95  inline bool DBParameterGroupFamilyHasBeenSet() const { return m_dBParameterGroupFamilyHasBeenSet; }
96 
101  inline void SetDBParameterGroupFamily(const Aws::String& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = value; }
102 
107  inline void SetDBParameterGroupFamily(Aws::String&& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = std::move(value); }
108 
113  inline void SetDBParameterGroupFamily(const char* value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily.assign(value); }
114 
119  inline DBParameterGroup& WithDBParameterGroupFamily(const Aws::String& value) { SetDBParameterGroupFamily(value); return *this;}
120 
125  inline DBParameterGroup& WithDBParameterGroupFamily(Aws::String&& value) { SetDBParameterGroupFamily(std::move(value)); return *this;}
126 
131  inline DBParameterGroup& WithDBParameterGroupFamily(const char* value) { SetDBParameterGroupFamily(value); return *this;}
132 
133 
137  inline const Aws::String& GetDescription() const{ return m_description; }
138 
142  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
143 
147  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
148 
152  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
153 
157  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
158 
162  inline DBParameterGroup& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
163 
167  inline DBParameterGroup& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
168 
172  inline DBParameterGroup& WithDescription(const char* value) { SetDescription(value); return *this;}
173 
174 
178  inline const Aws::String& GetDBParameterGroupArn() const{ return m_dBParameterGroupArn; }
179 
183  inline bool DBParameterGroupArnHasBeenSet() const { return m_dBParameterGroupArnHasBeenSet; }
184 
188  inline void SetDBParameterGroupArn(const Aws::String& value) { m_dBParameterGroupArnHasBeenSet = true; m_dBParameterGroupArn = value; }
189 
193  inline void SetDBParameterGroupArn(Aws::String&& value) { m_dBParameterGroupArnHasBeenSet = true; m_dBParameterGroupArn = std::move(value); }
194 
198  inline void SetDBParameterGroupArn(const char* value) { m_dBParameterGroupArnHasBeenSet = true; m_dBParameterGroupArn.assign(value); }
199 
203  inline DBParameterGroup& WithDBParameterGroupArn(const Aws::String& value) { SetDBParameterGroupArn(value); return *this;}
204 
208  inline DBParameterGroup& WithDBParameterGroupArn(Aws::String&& value) { SetDBParameterGroupArn(std::move(value)); return *this;}
209 
213  inline DBParameterGroup& WithDBParameterGroupArn(const char* value) { SetDBParameterGroupArn(value); return *this;}
214 
215  private:
216 
217  Aws::String m_dBParameterGroupName;
218  bool m_dBParameterGroupNameHasBeenSet;
219 
220  Aws::String m_dBParameterGroupFamily;
221  bool m_dBParameterGroupFamilyHasBeenSet;
222 
223  Aws::String m_description;
224  bool m_descriptionHasBeenSet;
225 
226  Aws::String m_dBParameterGroupArn;
227  bool m_dBParameterGroupArnHasBeenSet;
228  };
229 
230 } // namespace Model
231 } // namespace RDS
232 } // namespace Aws
Aws::RDS::Model::DBParameterGroup::WithDBParameterGroupName
DBParameterGroup & WithDBParameterGroupName(const char *value)
Definition: DBParameterGroup.h:82
Aws::RDS::Model::DBParameterGroup::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::RDS::Model::DBParameterGroup::SetDBParameterGroupFamily
void SetDBParameterGroupFamily(Aws::String &&value)
Definition: DBParameterGroup.h:107
Aws::RDS::Model::DBParameterGroup::SetDescription
void SetDescription(Aws::String &&value)
Definition: DBParameterGroup.h:152
Aws::RDS::Model::DBParameterGroup::WithDBParameterGroupArn
DBParameterGroup & WithDBParameterGroupArn(const char *value)
Definition: DBParameterGroup.h:213
Aws::RDS::Model::DBParameterGroup::SetDBParameterGroupName
void SetDBParameterGroupName(const Aws::String &value)
Definition: DBParameterGroup.h:57
Aws::RDS::Model::DBParameterGroup::WithDBParameterGroupArn
DBParameterGroup & WithDBParameterGroupArn(Aws::String &&value)
Definition: DBParameterGroup.h:208
Aws::RDS::Model::DBParameterGroup::GetDBParameterGroupFamily
const Aws::String & GetDBParameterGroupFamily() const
Definition: DBParameterGroup.h:89
Aws::RDS::Model::DBParameterGroup::SetDBParameterGroupArn
void SetDBParameterGroupArn(const char *value)
Definition: DBParameterGroup.h:198
Aws::RDS::Model::DBParameterGroup::WithDescription
DBParameterGroup & WithDescription(const Aws::String &value)
Definition: DBParameterGroup.h:162
Aws::RDS::Model::DBParameterGroup::operator=
DBParameterGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DBParameterGroup::WithDBParameterGroupFamily
DBParameterGroup & WithDBParameterGroupFamily(const Aws::String &value)
Definition: DBParameterGroup.h:119
Aws::RDS::Model::DBParameterGroup::SetDBParameterGroupFamily
void SetDBParameterGroupFamily(const char *value)
Definition: DBParameterGroup.h:113
Aws::RDS::Model::DBParameterGroup::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: DBParameterGroup.h:142
Aws::RDS::Model::DBParameterGroup::SetDBParameterGroupFamily
void SetDBParameterGroupFamily(const Aws::String &value)
Definition: DBParameterGroup.h:101
Aws::RDS::Model::DBParameterGroup::WithDBParameterGroupArn
DBParameterGroup & WithDBParameterGroupArn(const Aws::String &value)
Definition: DBParameterGroup.h:203
Aws::RDS::Model::DBParameterGroup::SetDBParameterGroupArn
void SetDBParameterGroupArn(const Aws::String &value)
Definition: DBParameterGroup.h:188
AWSStreamFwd.h
Aws::RDS::Model::DBParameterGroup
Definition: DBParameterGroup.h:34
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::RDS::Model::DBParameterGroup::GetDBParameterGroupArn
const Aws::String & GetDBParameterGroupArn() const
Definition: DBParameterGroup.h:178
RDS_EXPORTS.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::RDS::Model::DBParameterGroup::DBParameterGroup
DBParameterGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::DBParameterGroup::SetDBParameterGroupArn
void SetDBParameterGroupArn(Aws::String &&value)
Definition: DBParameterGroup.h:193
Aws::RDS::Model::DBParameterGroup::WithDBParameterGroupFamily
DBParameterGroup & WithDBParameterGroupFamily(const char *value)
Definition: DBParameterGroup.h:131
Aws::RDS::Model::DBParameterGroup::SetDescription
void SetDescription(const char *value)
Definition: DBParameterGroup.h:157
Aws::RDS::Model::DBParameterGroup::DBParameterGroupArnHasBeenSet
bool DBParameterGroupArnHasBeenSet() const
Definition: DBParameterGroup.h:183
AWSString.h
Aws::RDS::Model::DBParameterGroup::WithDescription
DBParameterGroup & WithDescription(const char *value)
Definition: DBParameterGroup.h:172
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DBParameterGroup::DBParameterGroup
DBParameterGroup()
Aws::RDS::Model::DBParameterGroup::DBParameterGroupNameHasBeenSet
bool DBParameterGroupNameHasBeenSet() const
Definition: DBParameterGroup.h:52
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DBParameterGroup::DBParameterGroupFamilyHasBeenSet
bool DBParameterGroupFamilyHasBeenSet() const
Definition: DBParameterGroup.h:95
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::DBParameterGroup::SetDescription
void SetDescription(const Aws::String &value)
Definition: DBParameterGroup.h:147
Aws::RDS::Model::DBParameterGroup::SetDBParameterGroupName
void SetDBParameterGroupName(Aws::String &&value)
Definition: DBParameterGroup.h:62
index
int index
Definition: cJSON.h:181
Aws::RDS::Model::DBParameterGroup::WithDBParameterGroupFamily
DBParameterGroup & WithDBParameterGroupFamily(Aws::String &&value)
Definition: DBParameterGroup.h:125
Aws::RDS::Model::DBParameterGroup::WithDBParameterGroupName
DBParameterGroup & WithDBParameterGroupName(Aws::String &&value)
Definition: DBParameterGroup.h:77
Aws::RDS::Model::DBParameterGroup::WithDBParameterGroupName
DBParameterGroup & WithDBParameterGroupName(const Aws::String &value)
Definition: DBParameterGroup.h:72
Aws::RDS::Model::DBParameterGroup::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::RDS::Model::DBParameterGroup::GetDescription
const Aws::String & GetDescription() const
Definition: DBParameterGroup.h:137
Aws::RDS::Model::DBParameterGroup::GetDBParameterGroupName
const Aws::String & GetDBParameterGroupName() const
Definition: DBParameterGroup.h:47
Aws::RDS::Model::DBParameterGroup::WithDescription
DBParameterGroup & WithDescription(Aws::String &&value)
Definition: DBParameterGroup.h:167
Aws::RDS::Model::DBParameterGroup::SetDBParameterGroupName
void SetDBParameterGroupName(const char *value)
Definition: DBParameterGroup.h:67