AWS SDK for C++  1.9.108
AWS SDK for C++
ModifyDBParameterGroupRequest.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 "ModifyDBParameterGroup"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  protected:
40  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41 
42  public:
43 
49  inline const Aws::String& GetDBParameterGroupName() const{ return m_dBParameterGroupName; }
50 
56  inline bool DBParameterGroupNameHasBeenSet() const { return m_dBParameterGroupNameHasBeenSet; }
57 
63  inline void SetDBParameterGroupName(const Aws::String& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = value; }
64 
70  inline void SetDBParameterGroupName(Aws::String&& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = std::move(value); }
71 
77  inline void SetDBParameterGroupName(const char* value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName.assign(value); }
78 
84  inline ModifyDBParameterGroupRequest& WithDBParameterGroupName(const Aws::String& value) { SetDBParameterGroupName(value); return *this;}
85 
91  inline ModifyDBParameterGroupRequest& WithDBParameterGroupName(Aws::String&& value) { SetDBParameterGroupName(std::move(value)); return *this;}
92 
98  inline ModifyDBParameterGroupRequest& WithDBParameterGroupName(const char* value) { SetDBParameterGroupName(value); return *this;}
99 
100 
116  inline const Aws::Vector<Parameter>& GetParameters() const{ return m_parameters; }
117 
133  inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
134 
150  inline void SetParameters(const Aws::Vector<Parameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
151 
167  inline void SetParameters(Aws::Vector<Parameter>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
168 
184  inline ModifyDBParameterGroupRequest& WithParameters(const Aws::Vector<Parameter>& value) { SetParameters(value); return *this;}
185 
201  inline ModifyDBParameterGroupRequest& WithParameters(Aws::Vector<Parameter>&& value) { SetParameters(std::move(value)); return *this;}
202 
218  inline ModifyDBParameterGroupRequest& AddParameters(const Parameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
219 
235  inline ModifyDBParameterGroupRequest& AddParameters(Parameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; }
236 
237  private:
238 
239  Aws::String m_dBParameterGroupName;
240  bool m_dBParameterGroupNameHasBeenSet;
241 
242  Aws::Vector<Parameter> m_parameters;
243  bool m_parametersHasBeenSet;
244  };
245 
246 } // namespace Model
247 } // namespace RDS
248 } // namespace Aws
Aws::RDS::Model::ModifyDBParameterGroupRequest::GetDBParameterGroupName
const Aws::String & GetDBParameterGroupName() const
Definition: ModifyDBParameterGroupRequest.h:49
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::ModifyDBParameterGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Parameter.h
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::ModifyDBParameterGroupRequest::SetParameters
void SetParameters(const Aws::Vector< Parameter > &value)
Definition: ModifyDBParameterGroupRequest.h:150
Aws::RDS::Model::ModifyDBParameterGroupRequest::WithDBParameterGroupName
ModifyDBParameterGroupRequest & WithDBParameterGroupName(Aws::String &&value)
Definition: ModifyDBParameterGroupRequest.h:91
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::ModifyDBParameterGroupRequest::WithParameters
ModifyDBParameterGroupRequest & WithParameters(const Aws::Vector< Parameter > &value)
Definition: ModifyDBParameterGroupRequest.h:184
Aws::RDS::Model::ModifyDBParameterGroupRequest::GetParameters
const Aws::Vector< Parameter > & GetParameters() const
Definition: ModifyDBParameterGroupRequest.h:116
Aws::RDS::Model::ModifyDBParameterGroupRequest::SetDBParameterGroupName
void SetDBParameterGroupName(const Aws::String &value)
Definition: ModifyDBParameterGroupRequest.h:63
AWSVector.h
Aws::RDS::Model::ModifyDBParameterGroupRequest::AddParameters
ModifyDBParameterGroupRequest & AddParameters(Parameter &&value)
Definition: ModifyDBParameterGroupRequest.h:235
Aws::RDS::Model::ModifyDBParameterGroupRequest::SetDBParameterGroupName
void SetDBParameterGroupName(Aws::String &&value)
Definition: ModifyDBParameterGroupRequest.h:70
RDS_EXPORTS.h
Aws::RDS::Model::ModifyDBParameterGroupRequest::DBParameterGroupNameHasBeenSet
bool DBParameterGroupNameHasBeenSet() const
Definition: ModifyDBParameterGroupRequest.h:56
Aws::RDS::Model::ModifyDBParameterGroupRequest::WithParameters
ModifyDBParameterGroupRequest & WithParameters(Aws::Vector< Parameter > &&value)
Definition: ModifyDBParameterGroupRequest.h:201
Aws::RDS::Model::ModifyDBParameterGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ModifyDBParameterGroupRequest.h:35
Aws::RDS::Model::Parameter
Definition: Parameter.h:38
AWSString.h
Aws::RDS::Model::ModifyDBParameterGroupRequest::WithDBParameterGroupName
ModifyDBParameterGroupRequest & WithDBParameterGroupName(const char *value)
Definition: ModifyDBParameterGroupRequest.h:98
Aws::RDS::Model::ModifyDBParameterGroupRequest::ParametersHasBeenSet
bool ParametersHasBeenSet() const
Definition: ModifyDBParameterGroupRequest.h:133
Aws::RDS::Model::ModifyDBParameterGroupRequest::AddParameters
ModifyDBParameterGroupRequest & AddParameters(const Parameter &value)
Definition: ModifyDBParameterGroupRequest.h:218
Aws::RDS::Model::ModifyDBParameterGroupRequest
Definition: ModifyDBParameterGroupRequest.h:27
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::ModifyDBParameterGroupRequest::WithDBParameterGroupName
ModifyDBParameterGroupRequest & WithDBParameterGroupName(const Aws::String &value)
Definition: ModifyDBParameterGroupRequest.h:84
Aws::RDS::Model::ModifyDBParameterGroupRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::ModifyDBParameterGroupRequest::SetDBParameterGroupName
void SetDBParameterGroupName(const char *value)
Definition: ModifyDBParameterGroupRequest.h:77
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::ModifyDBParameterGroupRequest::SetParameters
void SetParameters(Aws::Vector< Parameter > &&value)
Definition: ModifyDBParameterGroupRequest.h:167
Aws::RDS::Model::ModifyDBParameterGroupRequest::ModifyDBParameterGroupRequest
ModifyDBParameterGroupRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
RDSRequest.h
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17