AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ModifyClusterParameterGroupRequest.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
26 public:
27 AWS_REDSHIFT_API ModifyClusterParameterGroupRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "ModifyClusterParameterGroup"; }
34
35 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
36
37 protected:
38 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
39
40 public:
42
45 inline const Aws::String& GetParameterGroupName() const { return m_parameterGroupName; }
46 inline bool ParameterGroupNameHasBeenSet() const { return m_parameterGroupNameHasBeenSet; }
47 template <typename ParameterGroupNameT = Aws::String>
48 void SetParameterGroupName(ParameterGroupNameT&& value) {
49 m_parameterGroupNameHasBeenSet = true;
50 m_parameterGroupName = std::forward<ParameterGroupNameT>(value);
51 }
52 template <typename ParameterGroupNameT = Aws::String>
54 SetParameterGroupName(std::forward<ParameterGroupNameT>(value));
55 return *this;
56 }
58
60
68 inline const Aws::Vector<Parameter>& GetParameters() const { return m_parameters; }
69 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
70 template <typename ParametersT = Aws::Vector<Parameter>>
71 void SetParameters(ParametersT&& value) {
72 m_parametersHasBeenSet = true;
73 m_parameters = std::forward<ParametersT>(value);
74 }
75 template <typename ParametersT = Aws::Vector<Parameter>>
77 SetParameters(std::forward<ParametersT>(value));
78 return *this;
79 }
80 template <typename ParametersT = Parameter>
82 m_parametersHasBeenSet = true;
83 m_parameters.emplace_back(std::forward<ParametersT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_parameterGroupName;
89
90 Aws::Vector<Parameter> m_parameters;
91 bool m_parameterGroupNameHasBeenSet = false;
92 bool m_parametersHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace Redshift
97} // namespace Aws
AWS_REDSHIFT_API Aws::String SerializePayload() const override
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyClusterParameterGroupRequest & WithParameterGroupName(ParameterGroupNameT &&value)
ModifyClusterParameterGroupRequest & AddParameters(ParametersT &&value)
ModifyClusterParameterGroupRequest & WithParameters(ParametersT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector