AWS SDK for C++  0.14.3
AWS SDK for C++
ResetDBClusterParameterGroupRequest.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>
17 #include <aws/rds/RDSRequest.h>
21 
22 namespace Aws
23 {
24 namespace RDS
25 {
26 namespace Model
27 {
28 
33  {
34  public:
36  Aws::String SerializePayload() const override;
37 
41  inline const Aws::String& GetDBClusterParameterGroupName() const{ return m_dBClusterParameterGroupName; }
42 
46  inline void SetDBClusterParameterGroupName(const Aws::String& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = value; }
47 
51  inline void SetDBClusterParameterGroupName(Aws::String&& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = value; }
52 
56  inline void SetDBClusterParameterGroupName(const char* value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName.assign(value); }
57 
61  inline ResetDBClusterParameterGroupRequest& WithDBClusterParameterGroupName(const Aws::String& value) { SetDBClusterParameterGroupName(value); return *this;}
62 
66  inline ResetDBClusterParameterGroupRequest& WithDBClusterParameterGroupName(Aws::String&& value) { SetDBClusterParameterGroupName(value); return *this;}
67 
71  inline ResetDBClusterParameterGroupRequest& WithDBClusterParameterGroupName(const char* value) { SetDBClusterParameterGroupName(value); return *this;}
72 
79  inline bool GetResetAllParameters() const{ return m_resetAllParameters; }
80 
87  inline void SetResetAllParameters(bool value) { m_resetAllParametersHasBeenSet = true; m_resetAllParameters = value; }
88 
95  inline ResetDBClusterParameterGroupRequest& WithResetAllParameters(bool value) { SetResetAllParameters(value); return *this;}
96 
102  inline const Aws::Vector<Parameter>& GetParameters() const{ return m_parameters; }
103 
109  inline void SetParameters(const Aws::Vector<Parameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
110 
116  inline void SetParameters(Aws::Vector<Parameter>&& value) { m_parametersHasBeenSet = true; m_parameters = value; }
117 
123  inline ResetDBClusterParameterGroupRequest& WithParameters(const Aws::Vector<Parameter>& value) { SetParameters(value); return *this;}
124 
130  inline ResetDBClusterParameterGroupRequest& WithParameters(Aws::Vector<Parameter>&& value) { SetParameters(value); return *this;}
131 
137  inline ResetDBClusterParameterGroupRequest& AddParameters(const Parameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
138 
144  inline ResetDBClusterParameterGroupRequest& AddParameters(Parameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
145 
146  private:
147  Aws::String m_dBClusterParameterGroupName;
148  bool m_dBClusterParameterGroupNameHasBeenSet;
149  bool m_resetAllParameters;
150  bool m_resetAllParametersHasBeenSet;
151  Aws::Vector<Parameter> m_parameters;
152  bool m_parametersHasBeenSet;
153  };
154 
155 } // namespace Model
156 } // namespace RDS
157 } // namespace Aws
ResetDBClusterParameterGroupRequest & WithParameters(Aws::Vector< Parameter > &&value)
ResetDBClusterParameterGroupRequest & AddParameters(const Parameter &value)
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:37
ResetDBClusterParameterGroupRequest & WithDBClusterParameterGroupName(const Aws::String &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
ResetDBClusterParameterGroupRequest & WithResetAllParameters(bool value)
ResetDBClusterParameterGroupRequest & WithDBClusterParameterGroupName(Aws::String &&value)
ResetDBClusterParameterGroupRequest & AddParameters(Parameter &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ResetDBClusterParameterGroupRequest & WithParameters(const Aws::Vector< Parameter > &value)
ResetDBClusterParameterGroupRequest & WithDBClusterParameterGroupName(const char *value)
JSON (JavaScript Object Notation).