AWS SDK for C++  1.9.103
AWS SDK for C++
ResetClusterParameterGroupRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Redshift
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 "ResetClusterParameterGroup"; }
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& 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 
72  inline ResetClusterParameterGroupRequest& WithParameterGroupName(const Aws::String& value) { SetParameterGroupName(value); return *this;}
73 
77  inline ResetClusterParameterGroupRequest& WithParameterGroupName(Aws::String&& value) { SetParameterGroupName(std::move(value)); return *this;}
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 
107  inline ResetClusterParameterGroupRequest& WithResetAllParameters(bool value) { SetResetAllParameters(value); return *this;}
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 
143  inline ResetClusterParameterGroupRequest& WithParameters(const Aws::Vector<Parameter>& value) { SetParameters(value); return *this;}
144 
150  inline ResetClusterParameterGroupRequest& WithParameters(Aws::Vector<Parameter>&& value) { SetParameters(std::move(value)); return *this;}
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;
170 
171  bool m_resetAllParameters;
172  bool m_resetAllParametersHasBeenSet;
173 
174  Aws::Vector<Parameter> m_parameters;
175  bool m_parametersHasBeenSet;
176  };
177 
178 } // namespace Model
179 } // namespace Redshift
180 } // namespace Aws
Aws::Redshift::Model::ResetClusterParameterGroupRequest::SetResetAllParameters
void SetResetAllParameters(bool value)
Definition: ResetClusterParameterGroupRequest.h:101
Parameter.h
Aws::Http::URI
Definition: URI.h:32
Aws::Redshift::Model::ResetClusterParameterGroupRequest
Definition: ResetClusterParameterGroupRequest.h:27
Aws::Redshift::Model::ResetClusterParameterGroupRequest::ParametersHasBeenSet
bool ParametersHasBeenSet() const
Definition: ResetClusterParameterGroupRequest.h:122
Aws::Redshift::Model::ResetClusterParameterGroupRequest::WithParameters
ResetClusterParameterGroupRequest & WithParameters(Aws::Vector< Parameter > &&value)
Definition: ResetClusterParameterGroupRequest.h:150
Aws::Redshift::Model::ResetClusterParameterGroupRequest::WithParameters
ResetClusterParameterGroupRequest & WithParameters(const Aws::Vector< Parameter > &value)
Definition: ResetClusterParameterGroupRequest.h:143
Aws::Redshift::Model::ResetClusterParameterGroupRequest::GetParameterGroupName
const Aws::String & GetParameterGroupName() const
Definition: ResetClusterParameterGroupRequest.h:47
Aws::Redshift::Model::ResetClusterParameterGroupRequest::SetParameters
void SetParameters(Aws::Vector< Parameter > &&value)
Definition: ResetClusterParameterGroupRequest.h:136
Aws::Redshift::Model::ResetClusterParameterGroupRequest::ParameterGroupNameHasBeenSet
bool ParameterGroupNameHasBeenSet() const
Definition: ResetClusterParameterGroupRequest.h:52
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
RedshiftRequest.h
Aws::Redshift::Model::ResetClusterParameterGroupRequest::SetParameterGroupName
void SetParameterGroupName(const Aws::String &value)
Definition: ResetClusterParameterGroupRequest.h:57
Aws::Redshift::Model::ResetClusterParameterGroupRequest::SetParameterGroupName
void SetParameterGroupName(Aws::String &&value)
Definition: ResetClusterParameterGroupRequest.h:62
Aws::Redshift::Model::ResetClusterParameterGroupRequest::GetResetAllParameters
bool GetResetAllParameters() const
Definition: ResetClusterParameterGroupRequest.h:89
AWSVector.h
Aws::Redshift::Model::ResetClusterParameterGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Redshift::Model::ResetClusterParameterGroupRequest::WithParameterGroupName
ResetClusterParameterGroupRequest & WithParameterGroupName(const Aws::String &value)
Definition: ResetClusterParameterGroupRequest.h:72
Aws::Redshift::Model::ResetClusterParameterGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ResetClusterParameterGroupRequest.h:35
Aws::Redshift::Model::ResetClusterParameterGroupRequest::WithParameterGroupName
ResetClusterParameterGroupRequest & WithParameterGroupName(Aws::String &&value)
Definition: ResetClusterParameterGroupRequest.h:77
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::ResetClusterParameterGroupRequest::ResetClusterParameterGroupRequest
ResetClusterParameterGroupRequest()
Aws::Redshift::RedshiftRequest
Definition: RedshiftRequest.h:17
Aws::Redshift::Model::ResetClusterParameterGroupRequest::WithParameterGroupName
ResetClusterParameterGroupRequest & WithParameterGroupName(const char *value)
Definition: ResetClusterParameterGroupRequest.h:82
AWSString.h
Aws::Redshift::Model::ResetClusterParameterGroupRequest::SetParameterGroupName
void SetParameterGroupName(const char *value)
Definition: ResetClusterParameterGroupRequest.h:67
Aws::Redshift::Model::ResetClusterParameterGroupRequest::AddParameters
ResetClusterParameterGroupRequest & AddParameters(const Parameter &value)
Definition: ResetClusterParameterGroupRequest.h:157
Aws::Redshift::Model::ResetClusterParameterGroupRequest::GetParameters
const Aws::Vector< Parameter > & GetParameters() const
Definition: ResetClusterParameterGroupRequest.h:115
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::ResetClusterParameterGroupRequest::WithResetAllParameters
ResetClusterParameterGroupRequest & WithResetAllParameters(bool value)
Definition: ResetClusterParameterGroupRequest.h:107
Redshift_EXPORTS.h
Aws::Redshift::Model::Parameter
Definition: Parameter.h:34
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::ResetClusterParameterGroupRequest::AddParameters
ResetClusterParameterGroupRequest & AddParameters(Parameter &&value)
Definition: ResetClusterParameterGroupRequest.h:164
Aws::Redshift::Model::ResetClusterParameterGroupRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Redshift::Model::ResetClusterParameterGroupRequest::ResetAllParametersHasBeenSet
bool ResetAllParametersHasBeenSet() const
Definition: ResetClusterParameterGroupRequest.h:95
Aws::Redshift::Model::ResetClusterParameterGroupRequest::SetParameters
void SetParameters(const Aws::Vector< Parameter > &value)
Definition: ResetClusterParameterGroupRequest.h:129