AWS SDK for C++  1.9.108
AWS SDK for C++
ResetDBClusterParameterGroupRequest.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 "ResetDBClusterParameterGroup"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  protected:
40  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41 
42  public:
43 
47  inline const Aws::String& GetDBClusterParameterGroupName() const{ return m_dBClusterParameterGroupName; }
48 
52  inline bool DBClusterParameterGroupNameHasBeenSet() const { return m_dBClusterParameterGroupNameHasBeenSet; }
53 
57  inline void SetDBClusterParameterGroupName(const Aws::String& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = value; }
58 
62  inline void SetDBClusterParameterGroupName(Aws::String&& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = std::move(value); }
63 
67  inline void SetDBClusterParameterGroupName(const char* value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName.assign(value); }
68 
72  inline ResetDBClusterParameterGroupRequest& WithDBClusterParameterGroupName(const Aws::String& value) { SetDBClusterParameterGroupName(value); return *this;}
73 
77  inline ResetDBClusterParameterGroupRequest& WithDBClusterParameterGroupName(Aws::String&& value) { SetDBClusterParameterGroupName(std::move(value)); return *this;}
78 
82  inline ResetDBClusterParameterGroupRequest& WithDBClusterParameterGroupName(const char* value) { SetDBClusterParameterGroupName(value); return *this;}
83 
84 
91  inline bool GetResetAllParameters() const{ return m_resetAllParameters; }
92 
99  inline bool ResetAllParametersHasBeenSet() const { return m_resetAllParametersHasBeenSet; }
100 
107  inline void SetResetAllParameters(bool value) { m_resetAllParametersHasBeenSet = true; m_resetAllParameters = value; }
108 
115  inline ResetDBClusterParameterGroupRequest& WithResetAllParameters(bool value) { SetResetAllParameters(value); return *this;}
116 
117 
123  inline const Aws::Vector<Parameter>& GetParameters() const{ return m_parameters; }
124 
130  inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
131 
137  inline void SetParameters(const Aws::Vector<Parameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
138 
144  inline void SetParameters(Aws::Vector<Parameter>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
145 
151  inline ResetDBClusterParameterGroupRequest& WithParameters(const Aws::Vector<Parameter>& value) { SetParameters(value); return *this;}
152 
158  inline ResetDBClusterParameterGroupRequest& WithParameters(Aws::Vector<Parameter>&& value) { SetParameters(std::move(value)); return *this;}
159 
165  inline ResetDBClusterParameterGroupRequest& AddParameters(const Parameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
166 
172  inline ResetDBClusterParameterGroupRequest& AddParameters(Parameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; }
173 
174  private:
175 
176  Aws::String m_dBClusterParameterGroupName;
177  bool m_dBClusterParameterGroupNameHasBeenSet;
178 
179  bool m_resetAllParameters;
180  bool m_resetAllParametersHasBeenSet;
181 
182  Aws::Vector<Parameter> m_parameters;
183  bool m_parametersHasBeenSet;
184  };
185 
186 } // namespace Model
187 } // namespace RDS
188 } // namespace Aws
Aws::RDS::Model::ResetDBClusterParameterGroupRequest::SetDBClusterParameterGroupName
void SetDBClusterParameterGroupName(Aws::String &&value)
Definition: ResetDBClusterParameterGroupRequest.h:62
Aws::Http::URI
Definition: URI.h:32
Parameter.h
Aws::RDS::Model::ResetDBClusterParameterGroupRequest::SetDBClusterParameterGroupName
void SetDBClusterParameterGroupName(const char *value)
Definition: ResetDBClusterParameterGroupRequest.h:67
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::ResetDBClusterParameterGroupRequest
Definition: ResetDBClusterParameterGroupRequest.h:27
Aws::RDS::Model::ResetDBClusterParameterGroupRequest::ResetAllParametersHasBeenSet
bool ResetAllParametersHasBeenSet() const
Definition: ResetDBClusterParameterGroupRequest.h:99
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::ResetDBClusterParameterGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::ResetDBClusterParameterGroupRequest::AddParameters
ResetDBClusterParameterGroupRequest & AddParameters(Parameter &&value)
Definition: ResetDBClusterParameterGroupRequest.h:172
AWSVector.h
Aws::RDS::Model::ResetDBClusterParameterGroupRequest::ParametersHasBeenSet
bool ParametersHasBeenSet() const
Definition: ResetDBClusterParameterGroupRequest.h:130
RDS_EXPORTS.h
Aws::RDS::Model::ResetDBClusterParameterGroupRequest::SetDBClusterParameterGroupName
void SetDBClusterParameterGroupName(const Aws::String &value)
Definition: ResetDBClusterParameterGroupRequest.h:57
Aws::RDS::Model::ResetDBClusterParameterGroupRequest::WithParameters
ResetDBClusterParameterGroupRequest & WithParameters(Aws::Vector< Parameter > &&value)
Definition: ResetDBClusterParameterGroupRequest.h:158
Aws::RDS::Model::ResetDBClusterParameterGroupRequest::AddParameters
ResetDBClusterParameterGroupRequest & AddParameters(const Parameter &value)
Definition: ResetDBClusterParameterGroupRequest.h:165
Aws::RDS::Model::Parameter
Definition: Parameter.h:38
AWSString.h
Aws::RDS::Model::ResetDBClusterParameterGroupRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::ResetDBClusterParameterGroupRequest::WithDBClusterParameterGroupName
ResetDBClusterParameterGroupRequest & WithDBClusterParameterGroupName(const char *value)
Definition: ResetDBClusterParameterGroupRequest.h:82
Aws::RDS::Model::ResetDBClusterParameterGroupRequest::WithDBClusterParameterGroupName
ResetDBClusterParameterGroupRequest & WithDBClusterParameterGroupName(const Aws::String &value)
Definition: ResetDBClusterParameterGroupRequest.h:72
Aws::RDS::Model::ResetDBClusterParameterGroupRequest::WithParameters
ResetDBClusterParameterGroupRequest & WithParameters(const Aws::Vector< Parameter > &value)
Definition: ResetDBClusterParameterGroupRequest.h:151
Aws::RDS::Model::ResetDBClusterParameterGroupRequest::SetParameters
void SetParameters(const Aws::Vector< Parameter > &value)
Definition: ResetDBClusterParameterGroupRequest.h:137
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::ResetDBClusterParameterGroupRequest::GetParameters
const Aws::Vector< Parameter > & GetParameters() const
Definition: ResetDBClusterParameterGroupRequest.h:123
Aws::RDS::Model::ResetDBClusterParameterGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ResetDBClusterParameterGroupRequest.h:35
Aws::RDS::Model::ResetDBClusterParameterGroupRequest::SetResetAllParameters
void SetResetAllParameters(bool value)
Definition: ResetDBClusterParameterGroupRequest.h:107
Aws::RDS::Model::ResetDBClusterParameterGroupRequest::DBClusterParameterGroupNameHasBeenSet
bool DBClusterParameterGroupNameHasBeenSet() const
Definition: ResetDBClusterParameterGroupRequest.h:52
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::ResetDBClusterParameterGroupRequest::GetResetAllParameters
bool GetResetAllParameters() const
Definition: ResetDBClusterParameterGroupRequest.h:91
Aws::RDS::Model::ResetDBClusterParameterGroupRequest::WithDBClusterParameterGroupName
ResetDBClusterParameterGroupRequest & WithDBClusterParameterGroupName(Aws::String &&value)
Definition: ResetDBClusterParameterGroupRequest.h:77
Aws::RDS::Model::ResetDBClusterParameterGroupRequest::ResetDBClusterParameterGroupRequest
ResetDBClusterParameterGroupRequest()
Aws::RDS::Model::ResetDBClusterParameterGroupRequest::GetDBClusterParameterGroupName
const Aws::String & GetDBClusterParameterGroupName() const
Definition: ResetDBClusterParameterGroupRequest.h:47
RDSRequest.h
Aws::RDS::Model::ResetDBClusterParameterGroupRequest::SetParameters
void SetParameters(Aws::Vector< Parameter > &&value)
Definition: ResetDBClusterParameterGroupRequest.h:144
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::ResetDBClusterParameterGroupRequest::WithResetAllParameters
ResetDBClusterParameterGroupRequest & WithResetAllParameters(bool value)
Definition: ResetDBClusterParameterGroupRequest.h:115