AWS SDK for C++  1.9.108
AWS SDK for C++
ModifyDBClusterParameterGroupRequest.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 "ModifyDBClusterParameterGroup"; }
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 ModifyDBClusterParameterGroupRequest& WithDBClusterParameterGroupName(const Aws::String& value) { SetDBClusterParameterGroupName(value); return *this;}
73 
77  inline ModifyDBClusterParameterGroupRequest& WithDBClusterParameterGroupName(Aws::String&& value) { SetDBClusterParameterGroupName(std::move(value)); return *this;}
78 
82  inline ModifyDBClusterParameterGroupRequest& WithDBClusterParameterGroupName(const char* value) { SetDBClusterParameterGroupName(value); return *this;}
83 
84 
97  inline const Aws::Vector<Parameter>& GetParameters() const{ return m_parameters; }
98 
111  inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
112 
125  inline void SetParameters(const Aws::Vector<Parameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
126 
139  inline void SetParameters(Aws::Vector<Parameter>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
140 
153  inline ModifyDBClusterParameterGroupRequest& WithParameters(const Aws::Vector<Parameter>& value) { SetParameters(value); return *this;}
154 
167  inline ModifyDBClusterParameterGroupRequest& WithParameters(Aws::Vector<Parameter>&& value) { SetParameters(std::move(value)); return *this;}
168 
181  inline ModifyDBClusterParameterGroupRequest& AddParameters(const Parameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
182 
195  inline ModifyDBClusterParameterGroupRequest& AddParameters(Parameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; }
196 
197  private:
198 
199  Aws::String m_dBClusterParameterGroupName;
200  bool m_dBClusterParameterGroupNameHasBeenSet;
201 
202  Aws::Vector<Parameter> m_parameters;
203  bool m_parametersHasBeenSet;
204  };
205 
206 } // namespace Model
207 } // namespace RDS
208 } // namespace Aws
Aws::RDS::Model::ModifyDBClusterParameterGroupRequest::WithDBClusterParameterGroupName
ModifyDBClusterParameterGroupRequest & WithDBClusterParameterGroupName(Aws::String &&value)
Definition: ModifyDBClusterParameterGroupRequest.h:77
Aws::RDS::Model::ModifyDBClusterParameterGroupRequest::DBClusterParameterGroupNameHasBeenSet
bool DBClusterParameterGroupNameHasBeenSet() const
Definition: ModifyDBClusterParameterGroupRequest.h:52
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::ModifyDBClusterParameterGroupRequest::AddParameters
ModifyDBClusterParameterGroupRequest & AddParameters(Parameter &&value)
Definition: ModifyDBClusterParameterGroupRequest.h:195
Aws::RDS::Model::ModifyDBClusterParameterGroupRequest::SetParameters
void SetParameters(Aws::Vector< Parameter > &&value)
Definition: ModifyDBClusterParameterGroupRequest.h:139
Parameter.h
Aws::RDS::Model::ModifyDBClusterParameterGroupRequest::GetParameters
const Aws::Vector< Parameter > & GetParameters() const
Definition: ModifyDBClusterParameterGroupRequest.h:97
Aws::RDS::Model::ModifyDBClusterParameterGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ModifyDBClusterParameterGroupRequest.h:35
Aws::RDS::Model::ModifyDBClusterParameterGroupRequest::ModifyDBClusterParameterGroupRequest
ModifyDBClusterParameterGroupRequest()
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::ModifyDBClusterParameterGroupRequest::WithDBClusterParameterGroupName
ModifyDBClusterParameterGroupRequest & WithDBClusterParameterGroupName(const char *value)
Definition: ModifyDBClusterParameterGroupRequest.h:82
Aws::RDS::Model::ModifyDBClusterParameterGroupRequest::SetDBClusterParameterGroupName
void SetDBClusterParameterGroupName(const char *value)
Definition: ModifyDBClusterParameterGroupRequest.h:67
Aws::RDS::Model::ModifyDBClusterParameterGroupRequest::SetParameters
void SetParameters(const Aws::Vector< Parameter > &value)
Definition: ModifyDBClusterParameterGroupRequest.h:125
Aws::RDS::Model::ModifyDBClusterParameterGroupRequest::ParametersHasBeenSet
bool ParametersHasBeenSet() const
Definition: ModifyDBClusterParameterGroupRequest.h:111
Aws::RDS::Model::ModifyDBClusterParameterGroupRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::RDS::Model::ModifyDBClusterParameterGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::ModifyDBClusterParameterGroupRequest::AddParameters
ModifyDBClusterParameterGroupRequest & AddParameters(const Parameter &value)
Definition: ModifyDBClusterParameterGroupRequest.h:181
RDS_EXPORTS.h
Aws::RDS::Model::ModifyDBClusterParameterGroupRequest::SetDBClusterParameterGroupName
void SetDBClusterParameterGroupName(const Aws::String &value)
Definition: ModifyDBClusterParameterGroupRequest.h:57
Aws::RDS::Model::ModifyDBClusterParameterGroupRequest::GetDBClusterParameterGroupName
const Aws::String & GetDBClusterParameterGroupName() const
Definition: ModifyDBClusterParameterGroupRequest.h:47
Aws::RDS::Model::Parameter
Definition: Parameter.h:38
AWSString.h
Aws::RDS::Model::ModifyDBClusterParameterGroupRequest::WithDBClusterParameterGroupName
ModifyDBClusterParameterGroupRequest & WithDBClusterParameterGroupName(const Aws::String &value)
Definition: ModifyDBClusterParameterGroupRequest.h:72
Aws::RDS::Model::ModifyDBClusterParameterGroupRequest
Definition: ModifyDBClusterParameterGroupRequest.h:27
Aws::RDS::Model::ModifyDBClusterParameterGroupRequest::WithParameters
ModifyDBClusterParameterGroupRequest & WithParameters(const Aws::Vector< Parameter > &value)
Definition: ModifyDBClusterParameterGroupRequest.h:153
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::ModifyDBClusterParameterGroupRequest::SetDBClusterParameterGroupName
void SetDBClusterParameterGroupName(Aws::String &&value)
Definition: ModifyDBClusterParameterGroupRequest.h:62
RDSRequest.h
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::ModifyDBClusterParameterGroupRequest::WithParameters
ModifyDBClusterParameterGroupRequest & WithParameters(Aws::Vector< Parameter > &&value)
Definition: ModifyDBClusterParameterGroupRequest.h:167