AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResetClusterParameterGroupRequest.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/redshift/model/Parameter.h>
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
37 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
38
39 protected:
40 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41
42 public:
43
45
48 inline const Aws::String& GetParameterGroupName() const{ return m_parameterGroupName; }
49 inline bool ParameterGroupNameHasBeenSet() const { return m_parameterGroupNameHasBeenSet; }
50 inline void SetParameterGroupName(const Aws::String& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = value; }
51 inline void SetParameterGroupName(Aws::String&& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = std::move(value); }
52 inline void SetParameterGroupName(const char* value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName.assign(value); }
55 inline ResetClusterParameterGroupRequest& WithParameterGroupName(const char* value) { SetParameterGroupName(value); return *this;}
57
59
63 inline bool GetResetAllParameters() const{ return m_resetAllParameters; }
64 inline bool ResetAllParametersHasBeenSet() const { return m_resetAllParametersHasBeenSet; }
65 inline void SetResetAllParameters(bool value) { m_resetAllParametersHasBeenSet = true; m_resetAllParameters = value; }
68
70
75 inline const Aws::Vector<Parameter>& GetParameters() const{ return m_parameters; }
76 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
77 inline void SetParameters(const Aws::Vector<Parameter>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
78 inline void SetParameters(Aws::Vector<Parameter>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
80 inline ResetClusterParameterGroupRequest& WithParameters(Aws::Vector<Parameter>&& value) { SetParameters(std::move(value)); return *this;}
81 inline ResetClusterParameterGroupRequest& AddParameters(const Parameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; }
82 inline ResetClusterParameterGroupRequest& AddParameters(Parameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; }
84 private:
85
86 Aws::String m_parameterGroupName;
87 bool m_parameterGroupNameHasBeenSet = false;
88
89 bool m_resetAllParameters;
90 bool m_resetAllParametersHasBeenSet = false;
91
92 Aws::Vector<Parameter> m_parameters;
93 bool m_parametersHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Redshift
98} // namespace Aws
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