AWS SDK for C++  1.8.71
AWS SDK for C++
ModifyDBClusterParameterGroupRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace DocDB
17 {
18 namespace Model
19 {
20 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "ModifyDBClusterParameterGroup"; }
37 
38  Aws::String SerializePayload() const override;
39 
40  protected:
41  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42 
43  public:
44 
48  inline const Aws::String& GetDBClusterParameterGroupName() const{ return m_dBClusterParameterGroupName; }
49 
53  inline bool DBClusterParameterGroupNameHasBeenSet() const { return m_dBClusterParameterGroupNameHasBeenSet; }
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 = std::move(value); }
64 
68  inline void SetDBClusterParameterGroupName(const char* value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName.assign(value); }
69 
73  inline ModifyDBClusterParameterGroupRequest& WithDBClusterParameterGroupName(const Aws::String& value) { SetDBClusterParameterGroupName(value); return *this;}
74 
78  inline ModifyDBClusterParameterGroupRequest& WithDBClusterParameterGroupName(Aws::String&& value) { SetDBClusterParameterGroupName(std::move(value)); return *this;}
79 
83  inline ModifyDBClusterParameterGroupRequest& WithDBClusterParameterGroupName(const char* value) { SetDBClusterParameterGroupName(value); return *this;}
84 
85 
89  inline const Aws::Vector<Parameter>& GetParameters() const{ return m_parameters; }
90 
94  inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
95 
99  inline void SetParameters(const Aws::Vector<Parameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
100 
104  inline void SetParameters(Aws::Vector<Parameter>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
105 
109  inline ModifyDBClusterParameterGroupRequest& WithParameters(const Aws::Vector<Parameter>& value) { SetParameters(value); return *this;}
110 
114  inline ModifyDBClusterParameterGroupRequest& WithParameters(Aws::Vector<Parameter>&& value) { SetParameters(std::move(value)); return *this;}
115 
119  inline ModifyDBClusterParameterGroupRequest& AddParameters(const Parameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
120 
124  inline ModifyDBClusterParameterGroupRequest& AddParameters(Parameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; }
125 
126  private:
127 
128  Aws::String m_dBClusterParameterGroupName;
129  bool m_dBClusterParameterGroupNameHasBeenSet;
130 
131  Aws::Vector<Parameter> m_parameters;
132  bool m_parametersHasBeenSet;
133  };
134 
135 } // namespace Model
136 } // namespace DocDB
137 } // namespace Aws
ModifyDBClusterParameterGroupRequest & AddParameters(const Parameter &value)
ModifyDBClusterParameterGroupRequest & WithParameters(const Aws::Vector< Parameter > &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
ModifyDBClusterParameterGroupRequest & WithDBClusterParameterGroupName(const Aws::String &value)
ModifyDBClusterParameterGroupRequest & WithDBClusterParameterGroupName(Aws::String &&value)
ModifyDBClusterParameterGroupRequest & AddParameters(Parameter &&value)
#define AWS_DOCDB_API
Definition: DocDB_EXPORTS.h:28
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ModifyDBClusterParameterGroupRequest & WithDBClusterParameterGroupName(const char *value)
ModifyDBClusterParameterGroupRequest & WithParameters(Aws::Vector< Parameter > &&value)