AWS SDK for C++  1.8.71
AWS SDK for C++
ResetDBParameterGroupRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Neptune
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "ResetDBParameterGroup"; }
33 
34  Aws::String SerializePayload() const override;
35 
36  protected:
37  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38 
39  public:
40 
45  inline const Aws::String& GetDBParameterGroupName() const{ return m_dBParameterGroupName; }
46 
51  inline bool DBParameterGroupNameHasBeenSet() const { return m_dBParameterGroupNameHasBeenSet; }
52 
57  inline void SetDBParameterGroupName(const Aws::String& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = value; }
58 
63  inline void SetDBParameterGroupName(Aws::String&& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = std::move(value); }
64 
69  inline void SetDBParameterGroupName(const char* value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName.assign(value); }
70 
75  inline ResetDBParameterGroupRequest& WithDBParameterGroupName(const Aws::String& value) { SetDBParameterGroupName(value); return *this;}
76 
81  inline ResetDBParameterGroupRequest& WithDBParameterGroupName(Aws::String&& value) { SetDBParameterGroupName(std::move(value)); return *this;}
82 
87  inline ResetDBParameterGroupRequest& WithDBParameterGroupName(const char* value) { SetDBParameterGroupName(value); return *this;}
88 
89 
95  inline bool GetResetAllParameters() const{ return m_resetAllParameters; }
96 
102  inline bool ResetAllParametersHasBeenSet() const { return m_resetAllParametersHasBeenSet; }
103 
109  inline void SetResetAllParameters(bool value) { m_resetAllParametersHasBeenSet = true; m_resetAllParameters = value; }
110 
116  inline ResetDBParameterGroupRequest& WithResetAllParameters(bool value) { SetResetAllParameters(value); return *this;}
117 
118 
127  inline const Aws::Vector<Parameter>& GetParameters() const{ return m_parameters; }
128 
137  inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
138 
147  inline void SetParameters(const Aws::Vector<Parameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
148 
157  inline void SetParameters(Aws::Vector<Parameter>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
158 
167  inline ResetDBParameterGroupRequest& WithParameters(const Aws::Vector<Parameter>& value) { SetParameters(value); return *this;}
168 
177  inline ResetDBParameterGroupRequest& WithParameters(Aws::Vector<Parameter>&& value) { SetParameters(std::move(value)); return *this;}
178 
187  inline ResetDBParameterGroupRequest& AddParameters(const Parameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
188 
197  inline ResetDBParameterGroupRequest& AddParameters(Parameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; }
198 
199  private:
200 
201  Aws::String m_dBParameterGroupName;
202  bool m_dBParameterGroupNameHasBeenSet;
203 
204  bool m_resetAllParameters;
205  bool m_resetAllParametersHasBeenSet;
206 
207  Aws::Vector<Parameter> m_parameters;
208  bool m_parametersHasBeenSet;
209  };
210 
211 } // namespace Model
212 } // namespace Neptune
213 } // namespace Aws
#define AWS_NEPTUNE_API
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
const Aws::Vector< Parameter > & GetParameters() const
void SetParameters(const Aws::Vector< Parameter > &value)
ResetDBParameterGroupRequest & WithDBParameterGroupName(const char *value)
ResetDBParameterGroupRequest & WithResetAllParameters(bool value)
ResetDBParameterGroupRequest & WithDBParameterGroupName(const Aws::String &value)
ResetDBParameterGroupRequest & WithParameters(const Aws::Vector< Parameter > &value)
ResetDBParameterGroupRequest & WithParameters(Aws::Vector< Parameter > &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ResetDBParameterGroupRequest & AddParameters(Parameter &&value)
ResetDBParameterGroupRequest & WithDBParameterGroupName(Aws::String &&value)
ResetDBParameterGroupRequest & AddParameters(const Parameter &value)