AWS SDK for C++  0.12.9
AWS SDK for C++
DBClusterParameterGroup.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 #include <aws/rds/RDS_EXPORTS.h>
19 
20 namespace Aws
21 {
22 namespace Utils
23 {
24 namespace Xml
25 {
26  class XmlNode;
27 } // namespace Xml
28 } // namespace Utils
29 namespace RDS
30 {
31 namespace Model
32 {
33 
41  {
42  public:
45  DBClusterParameterGroup& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
46 
47  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
48  void OutputToStream(Aws::OStream& oStream, const char* location) const;
49 
53  inline const Aws::String& GetDBClusterParameterGroupName() const{ return m_dBClusterParameterGroupName; }
54 
58  inline void SetDBClusterParameterGroupName(const Aws::String& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = value; }
59 
63  inline void SetDBClusterParameterGroupName(Aws::String&& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = value; }
64 
68  inline void SetDBClusterParameterGroupName(const char* value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName.assign(value); }
69 
73  inline DBClusterParameterGroup& WithDBClusterParameterGroupName(const Aws::String& value) { SetDBClusterParameterGroupName(value); return *this;}
74 
78  inline DBClusterParameterGroup& WithDBClusterParameterGroupName(Aws::String&& value) { SetDBClusterParameterGroupName(value); return *this;}
79 
83  inline DBClusterParameterGroup& WithDBClusterParameterGroupName(const char* value) { SetDBClusterParameterGroupName(value); return *this;}
84 
89  inline const Aws::String& GetDBParameterGroupFamily() const{ return m_dBParameterGroupFamily; }
90 
95  inline void SetDBParameterGroupFamily(const Aws::String& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = value; }
96 
101  inline void SetDBParameterGroupFamily(Aws::String&& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = value; }
102 
107  inline void SetDBParameterGroupFamily(const char* value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily.assign(value); }
108 
113  inline DBClusterParameterGroup& WithDBParameterGroupFamily(const Aws::String& value) { SetDBParameterGroupFamily(value); return *this;}
114 
119  inline DBClusterParameterGroup& WithDBParameterGroupFamily(Aws::String&& value) { SetDBParameterGroupFamily(value); return *this;}
120 
125  inline DBClusterParameterGroup& WithDBParameterGroupFamily(const char* value) { SetDBParameterGroupFamily(value); return *this;}
126 
131  inline const Aws::String& GetDescription() const{ return m_description; }
132 
137  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
138 
143  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = value; }
144 
149  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
150 
155  inline DBClusterParameterGroup& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
156 
161  inline DBClusterParameterGroup& WithDescription(Aws::String&& value) { SetDescription(value); return *this;}
162 
167  inline DBClusterParameterGroup& WithDescription(const char* value) { SetDescription(value); return *this;}
168 
169  private:
170  Aws::String m_dBClusterParameterGroupName;
171  bool m_dBClusterParameterGroupNameHasBeenSet;
172  Aws::String m_dBParameterGroupFamily;
173  bool m_dBParameterGroupFamilyHasBeenSet;
174  Aws::String m_description;
175  bool m_descriptionHasBeenSet;
176  };
177 
178 } // namespace Model
179 } // namespace RDS
180 } // namespace Aws
DBClusterParameterGroup & WithDBParameterGroupFamily(const char *value)
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:34
DBClusterParameterGroup & WithDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
DBClusterParameterGroup & WithDBClusterParameterGroupName(const char *value)
DBClusterParameterGroup & WithDBClusterParameterGroupName(Aws::String &&value)
void SetDBClusterParameterGroupName(Aws::String &&value)
void SetDBParameterGroupFamily(const Aws::String &value)
DBClusterParameterGroup & WithDescription(const char *value)
DBClusterParameterGroup & WithDBParameterGroupFamily(Aws::String &&value)
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:31
DBClusterParameterGroup & WithDBClusterParameterGroupName(const Aws::String &value)
DBClusterParameterGroup & WithDescription(const Aws::String &value)
DBClusterParameterGroup & WithDBParameterGroupFamily(const Aws::String &value)
void SetDBClusterParameterGroupName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
const Aws::String & GetDBClusterParameterGroupName() const
const Aws::String & GetDBParameterGroupFamily() const
JSON (JavaScript Object Notation).