AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ResetClusterParameterGroupRequest.h
Go to the documentation of this file.
1
6#pragma once
12#include <utility>
13
14namespace Aws
15{
16namespace Redshift
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 "ResetClusterParameterGroup"; }
36
38
39 protected:
40 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41
42 public:
43
47 inline const Aws::String& GetParameterGroupName() const{ return m_parameterGroupName; }
48
52 inline bool ParameterGroupNameHasBeenSet() const { return m_parameterGroupNameHasBeenSet; }
53
57 inline void SetParameterGroupName(const Aws::String& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = value; }
58
62 inline void SetParameterGroupName(Aws::String&& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = std::move(value); }
63
67 inline void SetParameterGroupName(const char* value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName.assign(value); }
68
73
78
82 inline ResetClusterParameterGroupRequest& WithParameterGroupName(const char* value) { SetParameterGroupName(value); return *this;}
83
84
89 inline bool GetResetAllParameters() const{ return m_resetAllParameters; }
90
95 inline bool ResetAllParametersHasBeenSet() const { return m_resetAllParametersHasBeenSet; }
96
101 inline void SetResetAllParameters(bool value) { m_resetAllParametersHasBeenSet = true; m_resetAllParameters = value; }
102
108
109
115 inline const Aws::Vector<Parameter>& GetParameters() const{ return m_parameters; }
116
122 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
123
129 inline void SetParameters(const Aws::Vector<Parameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
130
136 inline void SetParameters(Aws::Vector<Parameter>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
137
144
151
157 inline ResetClusterParameterGroupRequest& AddParameters(const Parameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
158
164 inline ResetClusterParameterGroupRequest& AddParameters(Parameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; }
165
166 private:
167
168 Aws::String m_parameterGroupName;
169 bool m_parameterGroupNameHasBeenSet = false;
170
171 bool m_resetAllParameters;
172 bool m_resetAllParametersHasBeenSet = false;
173
174 Aws::Vector<Parameter> m_parameters;
175 bool m_parametersHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace Redshift
180} // namespace Aws
#define AWS_REDSHIFT_API
ResetClusterParameterGroupRequest & WithParameterGroupName(Aws::String &&value)
ResetClusterParameterGroupRequest & WithParameterGroupName(const char *value)
ResetClusterParameterGroupRequest & WithResetAllParameters(bool value)
ResetClusterParameterGroupRequest & AddParameters(Parameter &&value)
ResetClusterParameterGroupRequest & WithParameters(Aws::Vector< Parameter > &&value)
ResetClusterParameterGroupRequest & WithParameterGroupName(const Aws::String &value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
ResetClusterParameterGroupRequest & WithParameters(const Aws::Vector< Parameter > &value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ResetClusterParameterGroupRequest & AddParameters(const Parameter &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector