AWS SDK for C++  0.12.9
AWS SDK for C++
DBParameterGroupStatus.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 
43  {
44  public:
47  DBParameterGroupStatus& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
48 
49  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
50  void OutputToStream(Aws::OStream& oStream, const char* location) const;
51 
55  inline const Aws::String& GetDBParameterGroupName() const{ return m_dBParameterGroupName; }
56 
60  inline void SetDBParameterGroupName(const Aws::String& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = value; }
61 
65  inline void SetDBParameterGroupName(Aws::String&& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = value; }
66 
70  inline void SetDBParameterGroupName(const char* value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName.assign(value); }
71 
75  inline DBParameterGroupStatus& WithDBParameterGroupName(const Aws::String& value) { SetDBParameterGroupName(value); return *this;}
76 
80  inline DBParameterGroupStatus& WithDBParameterGroupName(Aws::String&& value) { SetDBParameterGroupName(value); return *this;}
81 
85  inline DBParameterGroupStatus& WithDBParameterGroupName(const char* value) { SetDBParameterGroupName(value); return *this;}
86 
90  inline const Aws::String& GetParameterApplyStatus() const{ return m_parameterApplyStatus; }
91 
95  inline void SetParameterApplyStatus(const Aws::String& value) { m_parameterApplyStatusHasBeenSet = true; m_parameterApplyStatus = value; }
96 
100  inline void SetParameterApplyStatus(Aws::String&& value) { m_parameterApplyStatusHasBeenSet = true; m_parameterApplyStatus = value; }
101 
105  inline void SetParameterApplyStatus(const char* value) { m_parameterApplyStatusHasBeenSet = true; m_parameterApplyStatus.assign(value); }
106 
110  inline DBParameterGroupStatus& WithParameterApplyStatus(const Aws::String& value) { SetParameterApplyStatus(value); return *this;}
111 
115  inline DBParameterGroupStatus& WithParameterApplyStatus(Aws::String&& value) { SetParameterApplyStatus(value); return *this;}
116 
120  inline DBParameterGroupStatus& WithParameterApplyStatus(const char* value) { SetParameterApplyStatus(value); return *this;}
121 
122  private:
123  Aws::String m_dBParameterGroupName;
124  bool m_dBParameterGroupNameHasBeenSet;
125  Aws::String m_parameterApplyStatus;
126  bool m_parameterApplyStatusHasBeenSet;
127  };
128 
129 } // namespace Model
130 } // namespace RDS
131 } // namespace Aws
DBParameterGroupStatus & WithParameterApplyStatus(const Aws::String &value)
const Aws::String & GetDBParameterGroupName() const
void SetDBParameterGroupName(Aws::String &&value)
DBParameterGroupStatus & WithDBParameterGroupName(const char *value)
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:34
DBParameterGroupStatus & WithDBParameterGroupName(const Aws::String &value)
DBParameterGroupStatus & WithParameterApplyStatus(Aws::String &&value)
const Aws::String & GetParameterApplyStatus() const
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:31
DBParameterGroupStatus & WithParameterApplyStatus(const char *value)
void SetDBParameterGroupName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DBParameterGroupStatus & WithDBParameterGroupName(Aws::String &&value)
void SetParameterApplyStatus(const Aws::String &value)
JSON (JavaScript Object Notation).