AWS SDK for C++  1.9.104
AWS SDK for C++
ResetDBParameterGroupRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
8 #include <aws/rds/RDSRequest.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace RDS
17 {
18 namespace Model
19 {
20 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "ResetDBParameterGroup"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  protected:
40  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41 
42  public:
43 
48  inline const Aws::String& GetDBParameterGroupName() const{ return m_dBParameterGroupName; }
49 
54  inline bool DBParameterGroupNameHasBeenSet() const { return m_dBParameterGroupNameHasBeenSet; }
55 
60  inline void SetDBParameterGroupName(const Aws::String& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = value; }
61 
66  inline void SetDBParameterGroupName(Aws::String&& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = std::move(value); }
67 
72  inline void SetDBParameterGroupName(const char* value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName.assign(value); }
73 
78  inline ResetDBParameterGroupRequest& WithDBParameterGroupName(const Aws::String& value) { SetDBParameterGroupName(value); return *this;}
79 
84  inline ResetDBParameterGroupRequest& WithDBParameterGroupName(Aws::String&& value) { SetDBParameterGroupName(std::move(value)); return *this;}
85 
90  inline ResetDBParameterGroupRequest& WithDBParameterGroupName(const char* value) { SetDBParameterGroupName(value); return *this;}
91 
92 
98  inline bool GetResetAllParameters() const{ return m_resetAllParameters; }
99 
105  inline bool ResetAllParametersHasBeenSet() const { return m_resetAllParametersHasBeenSet; }
106 
112  inline void SetResetAllParameters(bool value) { m_resetAllParametersHasBeenSet = true; m_resetAllParameters = value; }
113 
119  inline ResetDBParameterGroupRequest& WithResetAllParameters(bool value) { SetResetAllParameters(value); return *this;}
120 
121 
139  inline const Aws::Vector<Parameter>& GetParameters() const{ return m_parameters; }
140 
158  inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
159 
177  inline void SetParameters(const Aws::Vector<Parameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
178 
196  inline void SetParameters(Aws::Vector<Parameter>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
197 
215  inline ResetDBParameterGroupRequest& WithParameters(const Aws::Vector<Parameter>& value) { SetParameters(value); return *this;}
216 
234  inline ResetDBParameterGroupRequest& WithParameters(Aws::Vector<Parameter>&& value) { SetParameters(std::move(value)); return *this;}
235 
253  inline ResetDBParameterGroupRequest& AddParameters(const Parameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
254 
272  inline ResetDBParameterGroupRequest& AddParameters(Parameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; }
273 
274  private:
275 
276  Aws::String m_dBParameterGroupName;
277  bool m_dBParameterGroupNameHasBeenSet;
278 
279  bool m_resetAllParameters;
280  bool m_resetAllParametersHasBeenSet;
281 
282  Aws::Vector<Parameter> m_parameters;
283  bool m_parametersHasBeenSet;
284  };
285 
286 } // namespace Model
287 } // namespace RDS
288 } // namespace Aws
Aws::RDS::Model::ResetDBParameterGroupRequest::ParametersHasBeenSet
bool ParametersHasBeenSet() const
Definition: ResetDBParameterGroupRequest.h:158
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::ResetDBParameterGroupRequest::GetDBParameterGroupName
const Aws::String & GetDBParameterGroupName() const
Definition: ResetDBParameterGroupRequest.h:48
Aws::RDS::Model::ResetDBParameterGroupRequest::SetDBParameterGroupName
void SetDBParameterGroupName(const char *value)
Definition: ResetDBParameterGroupRequest.h:72
Parameter.h
Aws::RDS::Model::ResetDBParameterGroupRequest::SetResetAllParameters
void SetResetAllParameters(bool value)
Definition: ResetDBParameterGroupRequest.h:112
Aws::RDS::Model::ResetDBParameterGroupRequest::WithParameters
ResetDBParameterGroupRequest & WithParameters(Aws::Vector< Parameter > &&value)
Definition: ResetDBParameterGroupRequest.h:234
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::ResetDBParameterGroupRequest::WithParameters
ResetDBParameterGroupRequest & WithParameters(const Aws::Vector< Parameter > &value)
Definition: ResetDBParameterGroupRequest.h:215
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::ResetDBParameterGroupRequest::ResetDBParameterGroupRequest
ResetDBParameterGroupRequest()
AWSVector.h
Aws::RDS::Model::ResetDBParameterGroupRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::ResetDBParameterGroupRequest::SetDBParameterGroupName
void SetDBParameterGroupName(const Aws::String &value)
Definition: ResetDBParameterGroupRequest.h:60
Aws::RDS::Model::ResetDBParameterGroupRequest::AddParameters
ResetDBParameterGroupRequest & AddParameters(Parameter &&value)
Definition: ResetDBParameterGroupRequest.h:272
Aws::RDS::Model::ResetDBParameterGroupRequest::SerializePayload
Aws::String SerializePayload() const override
RDS_EXPORTS.h
Aws::RDS::Model::ResetDBParameterGroupRequest
Definition: ResetDBParameterGroupRequest.h:27
Aws::RDS::Model::ResetDBParameterGroupRequest::DBParameterGroupNameHasBeenSet
bool DBParameterGroupNameHasBeenSet() const
Definition: ResetDBParameterGroupRequest.h:54
Aws::RDS::Model::ResetDBParameterGroupRequest::SetDBParameterGroupName
void SetDBParameterGroupName(Aws::String &&value)
Definition: ResetDBParameterGroupRequest.h:66
Aws::RDS::Model::ResetDBParameterGroupRequest::AddParameters
ResetDBParameterGroupRequest & AddParameters(const Parameter &value)
Definition: ResetDBParameterGroupRequest.h:253
Aws::RDS::Model::ResetDBParameterGroupRequest::ResetAllParametersHasBeenSet
bool ResetAllParametersHasBeenSet() const
Definition: ResetDBParameterGroupRequest.h:105
Aws::RDS::Model::Parameter
Definition: Parameter.h:38
Aws::RDS::Model::ResetDBParameterGroupRequest::WithDBParameterGroupName
ResetDBParameterGroupRequest & WithDBParameterGroupName(Aws::String &&value)
Definition: ResetDBParameterGroupRequest.h:84
AWSString.h
Aws::RDS::Model::ResetDBParameterGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ResetDBParameterGroupRequest.h:35
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::ResetDBParameterGroupRequest::SetParameters
void SetParameters(const Aws::Vector< Parameter > &value)
Definition: ResetDBParameterGroupRequest.h:177
Aws::RDS::Model::ResetDBParameterGroupRequest::WithDBParameterGroupName
ResetDBParameterGroupRequest & WithDBParameterGroupName(const Aws::String &value)
Definition: ResetDBParameterGroupRequest.h:78
Aws::RDS::Model::ResetDBParameterGroupRequest::GetParameters
const Aws::Vector< Parameter > & GetParameters() const
Definition: ResetDBParameterGroupRequest.h:139
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::ResetDBParameterGroupRequest::GetResetAllParameters
bool GetResetAllParameters() const
Definition: ResetDBParameterGroupRequest.h:98
RDSRequest.h
Aws::RDS::Model::ResetDBParameterGroupRequest::WithDBParameterGroupName
ResetDBParameterGroupRequest & WithDBParameterGroupName(const char *value)
Definition: ResetDBParameterGroupRequest.h:90
Aws::RDS::Model::ResetDBParameterGroupRequest::WithResetAllParameters
ResetDBParameterGroupRequest & WithResetAllParameters(bool value)
Definition: ResetDBParameterGroupRequest.h:119
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::ResetDBParameterGroupRequest::SetParameters
void SetParameters(Aws::Vector< Parameter > &&value)
Definition: ResetDBParameterGroupRequest.h:196