AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResetDBParameterGroupRequest.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/rds/RDSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rds/model/Parameter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace RDS
17{
18namespace 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_RDS_API Aws::String SerializePayload() const override;
38
39 protected:
40 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41
42 public:
43
45
49 inline const Aws::String& GetDBParameterGroupName() const{ return m_dBParameterGroupName; }
50 inline bool DBParameterGroupNameHasBeenSet() const { return m_dBParameterGroupNameHasBeenSet; }
51 inline void SetDBParameterGroupName(const Aws::String& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = value; }
52 inline void SetDBParameterGroupName(Aws::String&& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = std::move(value); }
53 inline void SetDBParameterGroupName(const char* value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName.assign(value); }
56 inline ResetDBParameterGroupRequest& WithDBParameterGroupName(const char* value) { SetDBParameterGroupName(value); return *this;}
58
60
65 inline bool GetResetAllParameters() const{ return m_resetAllParameters; }
66 inline bool ResetAllParametersHasBeenSet() const { return m_resetAllParametersHasBeenSet; }
67 inline void SetResetAllParameters(bool value) { m_resetAllParametersHasBeenSet = true; m_resetAllParameters = value; }
70
72
89 inline const Aws::Vector<Parameter>& GetParameters() const{ return m_parameters; }
90 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
91 inline void SetParameters(const Aws::Vector<Parameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
92 inline void SetParameters(Aws::Vector<Parameter>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
94 inline ResetDBParameterGroupRequest& WithParameters(Aws::Vector<Parameter>&& value) { SetParameters(std::move(value)); return *this;}
95 inline ResetDBParameterGroupRequest& AddParameters(const Parameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
96 inline ResetDBParameterGroupRequest& AddParameters(Parameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; }
98 private:
99
100 Aws::String m_dBParameterGroupName;
101 bool m_dBParameterGroupNameHasBeenSet = false;
102
103 bool m_resetAllParameters;
104 bool m_resetAllParametersHasBeenSet = false;
105
106 Aws::Vector<Parameter> m_parameters;
107 bool m_parametersHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace RDS
112} // namespace Aws
ResetDBParameterGroupRequest & WithDBParameterGroupName(const char *value)
void SetParameters(Aws::Vector< Parameter > &&value)
ResetDBParameterGroupRequest & WithParameters(const Aws::Vector< Parameter > &value)
AWS_RDS_API Aws::String SerializePayload() const override
ResetDBParameterGroupRequest & WithParameters(Aws::Vector< Parameter > &&value)
const Aws::Vector< Parameter > & GetParameters() const
ResetDBParameterGroupRequest & WithDBParameterGroupName(const Aws::String &value)
ResetDBParameterGroupRequest & AddParameters(const Parameter &value)
virtual const char * GetServiceRequestName() const override
ResetDBParameterGroupRequest & AddParameters(Parameter &&value)
ResetDBParameterGroupRequest & WithDBParameterGroupName(Aws::String &&value)
void SetParameters(const Aws::Vector< Parameter > &value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ResetDBParameterGroupRequest & WithResetAllParameters(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector