AWS SDK for C++  0.14.3
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 
42  {
43  public:
46  DBClusterParameterGroup& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
47 
48  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
49  void OutputToStream(Aws::OStream& oStream, const char* location) const;
50 
54  inline const Aws::String& GetDBClusterParameterGroupName() const{ return m_dBClusterParameterGroupName; }
55 
59  inline void SetDBClusterParameterGroupName(const Aws::String& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = value; }
60 
64  inline void SetDBClusterParameterGroupName(Aws::String&& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = value; }
65 
69  inline void SetDBClusterParameterGroupName(const char* value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName.assign(value); }
70 
74  inline DBClusterParameterGroup& WithDBClusterParameterGroupName(const Aws::String& value) { SetDBClusterParameterGroupName(value); return *this;}
75 
79  inline DBClusterParameterGroup& WithDBClusterParameterGroupName(Aws::String&& value) { SetDBClusterParameterGroupName(value); return *this;}
80 
84  inline DBClusterParameterGroup& WithDBClusterParameterGroupName(const char* value) { SetDBClusterParameterGroupName(value); return *this;}
85 
90  inline const Aws::String& GetDBParameterGroupFamily() const{ return m_dBParameterGroupFamily; }
91 
96  inline void SetDBParameterGroupFamily(const Aws::String& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = value; }
97 
102  inline void SetDBParameterGroupFamily(Aws::String&& value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily = value; }
103 
108  inline void SetDBParameterGroupFamily(const char* value) { m_dBParameterGroupFamilyHasBeenSet = true; m_dBParameterGroupFamily.assign(value); }
109 
114  inline DBClusterParameterGroup& WithDBParameterGroupFamily(const Aws::String& value) { SetDBParameterGroupFamily(value); return *this;}
115 
120  inline DBClusterParameterGroup& WithDBParameterGroupFamily(Aws::String&& value) { SetDBParameterGroupFamily(value); return *this;}
121 
126  inline DBClusterParameterGroup& WithDBParameterGroupFamily(const char* value) { SetDBParameterGroupFamily(value); return *this;}
127 
132  inline const Aws::String& GetDescription() const{ return m_description; }
133 
138  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
139 
144  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = value; }
145 
150  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
151 
156  inline DBClusterParameterGroup& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
157 
162  inline DBClusterParameterGroup& WithDescription(Aws::String&& value) { SetDescription(value); return *this;}
163 
168  inline DBClusterParameterGroup& WithDescription(const char* value) { SetDescription(value); return *this;}
169 
170  private:
171  Aws::String m_dBClusterParameterGroupName;
172  bool m_dBClusterParameterGroupNameHasBeenSet;
173  Aws::String m_dBParameterGroupFamily;
174  bool m_dBParameterGroupFamilyHasBeenSet;
175  Aws::String m_description;
176  bool m_descriptionHasBeenSet;
177  };
178 
179 } // namespace Model
180 } // namespace RDS
181 } // namespace Aws
DBClusterParameterGroup & WithDBParameterGroupFamily(const char *value)
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:37
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).