AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
29 AWS_REDSHIFT_API ResetClusterParameterGroupRequest() = default;
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 template<typename ParameterGroupNameT = Aws::String>
51 void SetParameterGroupName(ParameterGroupNameT&& value) { m_parameterGroupNameHasBeenSet = true; m_parameterGroupName = std::forward<ParameterGroupNameT>(value); }
52 template<typename ParameterGroupNameT = Aws::String>
53 ResetClusterParameterGroupRequest& WithParameterGroupName(ParameterGroupNameT&& value) { SetParameterGroupName(std::forward<ParameterGroupNameT>(value)); return *this;}
55
57
61 inline bool GetResetAllParameters() const { return m_resetAllParameters; }
62 inline bool ResetAllParametersHasBeenSet() const { return m_resetAllParametersHasBeenSet; }
63 inline void SetResetAllParameters(bool value) { m_resetAllParametersHasBeenSet = true; m_resetAllParameters = value; }
66
68
73 inline const Aws::Vector<Parameter>& GetParameters() const { return m_parameters; }
74 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
75 template<typename ParametersT = Aws::Vector<Parameter>>
76 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
77 template<typename ParametersT = Aws::Vector<Parameter>>
78 ResetClusterParameterGroupRequest& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
79 template<typename ParametersT = Parameter>
80 ResetClusterParameterGroupRequest& AddParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters.emplace_back(std::forward<ParametersT>(value)); return *this; }
82 private:
83
84 Aws::String m_parameterGroupName;
85 bool m_parameterGroupNameHasBeenSet = false;
86
87 bool m_resetAllParameters{false};
88 bool m_resetAllParametersHasBeenSet = false;
89
90 Aws::Vector<Parameter> m_parameters;
91 bool m_parametersHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Redshift
96} // 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