AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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