AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ModifyClusterParameterGroupRequest.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
28 {
29 public:
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "ModifyClusterParameterGroup"; }
37
39
40 protected:
41 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42
43 public:
44
48 inline const Aws::String& GetParameterGroupName() const{ return m_parameterGroupName; }
49
53 inline bool ParameterGroupNameHasBeenSet() const { return m_parameterGroupNameHasBeenSet; }
54
58 inline void SetParameterGroupName(const Aws::String& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = value; }
59
63 inline void SetParameterGroupName(Aws::String&& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = std::move(value); }
64
68 inline void SetParameterGroupName(const char* value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName.assign(value); }
69
74
79
83 inline ModifyClusterParameterGroupRequest& WithParameterGroupName(const char* value) { SetParameterGroupName(value); return *this;}
84
85
94 inline const Aws::Vector<Parameter>& GetParameters() const{ return m_parameters; }
95
104 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
105
114 inline void SetParameters(const Aws::Vector<Parameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
115
124 inline void SetParameters(Aws::Vector<Parameter>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
125
135
145
154 inline ModifyClusterParameterGroupRequest& AddParameters(const Parameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
155
164 inline ModifyClusterParameterGroupRequest& 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 Aws::Vector<Parameter> m_parameters;
172 bool m_parametersHasBeenSet = false;
173 };
174
175} // namespace Model
176} // namespace Redshift
177} // namespace Aws
#define AWS_REDSHIFT_API
ModifyClusterParameterGroupRequest & WithParameters(Aws::Vector< Parameter > &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyClusterParameterGroupRequest & AddParameters(const Parameter &value)
ModifyClusterParameterGroupRequest & AddParameters(Parameter &&value)
ModifyClusterParameterGroupRequest & WithParameters(const Aws::Vector< Parameter > &value)
ModifyClusterParameterGroupRequest & WithParameterGroupName(Aws::String &&value)
ModifyClusterParameterGroupRequest & WithParameterGroupName(const char *value)
ModifyClusterParameterGroupRequest & WithParameterGroupName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector