AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ResetClusterParameterGroupRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/redshift/RedshiftRequest.h>
10#include <aws/redshift/Redshift_EXPORTS.h>
11#include <aws/redshift/model/Parameter.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Redshift {
17namespace Model {
18
25 public:
26 AWS_REDSHIFT_API ResetClusterParameterGroupRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "ResetClusterParameterGroup"; }
33
34 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
38
39 public:
41
44 inline const Aws::String& GetParameterGroupName() const { return m_parameterGroupName; }
45 inline bool ParameterGroupNameHasBeenSet() const { return m_parameterGroupNameHasBeenSet; }
46 template <typename ParameterGroupNameT = Aws::String>
47 void SetParameterGroupName(ParameterGroupNameT&& value) {
48 m_parameterGroupNameHasBeenSet = true;
49 m_parameterGroupName = std::forward<ParameterGroupNameT>(value);
50 }
51 template <typename ParameterGroupNameT = Aws::String>
53 SetParameterGroupName(std::forward<ParameterGroupNameT>(value));
54 return *this;
55 }
57
59
63 inline bool GetResetAllParameters() const { return m_resetAllParameters; }
64 inline bool ResetAllParametersHasBeenSet() const { return m_resetAllParametersHasBeenSet; }
65 inline void SetResetAllParameters(bool value) {
66 m_resetAllParametersHasBeenSet = true;
67 m_resetAllParameters = value;
68 }
71 return *this;
72 }
74
76
81 inline const Aws::Vector<Parameter>& GetParameters() const { return m_parameters; }
82 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
83 template <typename ParametersT = Aws::Vector<Parameter>>
84 void SetParameters(ParametersT&& value) {
85 m_parametersHasBeenSet = true;
86 m_parameters = std::forward<ParametersT>(value);
87 }
88 template <typename ParametersT = Aws::Vector<Parameter>>
90 SetParameters(std::forward<ParametersT>(value));
91 return *this;
92 }
93 template <typename ParametersT = Parameter>
95 m_parametersHasBeenSet = true;
96 m_parameters.emplace_back(std::forward<ParametersT>(value));
97 return *this;
98 }
100 private:
101 Aws::String m_parameterGroupName;
102
103 bool m_resetAllParameters{false};
104
105 Aws::Vector<Parameter> m_parameters;
106 bool m_parameterGroupNameHasBeenSet = false;
107 bool m_resetAllParametersHasBeenSet = false;
108 bool m_parametersHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace Redshift
113} // namespace Aws
ResetClusterParameterGroupRequest & WithResetAllParameters(bool value)
ResetClusterParameterGroupRequest & AddParameters(ParametersT &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
AWS_REDSHIFT_API ResetClusterParameterGroupRequest()=default
ResetClusterParameterGroupRequest & WithParameterGroupName(ParameterGroupNameT &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ResetClusterParameterGroupRequest & WithParameters(ParametersT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector