AWS SDK for C++

AWS SDK for C++ Version 1.11.714

Loading...
Searching...
No Matches
DescribeClusterParameterGroupsRequest.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
12#include <utility>
13
14namespace Aws {
15namespace Redshift {
16namespace Model {
17
24 public:
25 AWS_REDSHIFT_API DescribeClusterParameterGroupsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeClusterParameterGroups"; }
32
33 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
37
38 public:
40
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 int GetMaxRecords() const { return m_maxRecords; }
69 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
70 inline void SetMaxRecords(int value) {
71 m_maxRecordsHasBeenSet = true;
72 m_maxRecords = value;
73 }
75 SetMaxRecords(value);
76 return *this;
77 }
79
81
89 inline const Aws::String& GetMarker() const { return m_marker; }
90 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
91 template <typename MarkerT = Aws::String>
92 void SetMarker(MarkerT&& value) {
93 m_markerHasBeenSet = true;
94 m_marker = std::forward<MarkerT>(value);
95 }
96 template <typename MarkerT = Aws::String>
98 SetMarker(std::forward<MarkerT>(value));
99 return *this;
100 }
102
104
112 inline const Aws::Vector<Aws::String>& GetTagKeys() const { return m_tagKeys; }
113 inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
114 template <typename TagKeysT = Aws::Vector<Aws::String>>
115 void SetTagKeys(TagKeysT&& value) {
116 m_tagKeysHasBeenSet = true;
117 m_tagKeys = std::forward<TagKeysT>(value);
118 }
119 template <typename TagKeysT = Aws::Vector<Aws::String>>
121 SetTagKeys(std::forward<TagKeysT>(value));
122 return *this;
123 }
124 template <typename TagKeysT = Aws::String>
126 m_tagKeysHasBeenSet = true;
127 m_tagKeys.emplace_back(std::forward<TagKeysT>(value));
128 return *this;
129 }
131
133
141 inline const Aws::Vector<Aws::String>& GetTagValues() const { return m_tagValues; }
142 inline bool TagValuesHasBeenSet() const { return m_tagValuesHasBeenSet; }
143 template <typename TagValuesT = Aws::Vector<Aws::String>>
144 void SetTagValues(TagValuesT&& value) {
145 m_tagValuesHasBeenSet = true;
146 m_tagValues = std::forward<TagValuesT>(value);
147 }
148 template <typename TagValuesT = Aws::Vector<Aws::String>>
150 SetTagValues(std::forward<TagValuesT>(value));
151 return *this;
152 }
153 template <typename TagValuesT = Aws::String>
155 m_tagValuesHasBeenSet = true;
156 m_tagValues.emplace_back(std::forward<TagValuesT>(value));
157 return *this;
158 }
160 private:
161 Aws::String m_parameterGroupName;
162
163 int m_maxRecords{0};
164
165 Aws::String m_marker;
166
167 Aws::Vector<Aws::String> m_tagKeys;
168
169 Aws::Vector<Aws::String> m_tagValues;
170 bool m_parameterGroupNameHasBeenSet = false;
171 bool m_maxRecordsHasBeenSet = false;
172 bool m_markerHasBeenSet = false;
173 bool m_tagKeysHasBeenSet = false;
174 bool m_tagValuesHasBeenSet = false;
175};
176
177} // namespace Model
178} // namespace Redshift
179} // namespace Aws
AWS_REDSHIFT_API Aws::String SerializePayload() const override
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeClusterParameterGroupsRequest & WithTagValues(TagValuesT &&value)
DescribeClusterParameterGroupsRequest & WithMarker(MarkerT &&value)
DescribeClusterParameterGroupsRequest & WithTagKeys(TagKeysT &&value)
DescribeClusterParameterGroupsRequest & WithParameterGroupName(ParameterGroupNameT &&value)
DescribeClusterParameterGroupsRequest & AddTagValues(TagValuesT &&value)
DescribeClusterParameterGroupsRequest & AddTagKeys(TagKeysT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector