AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
DescribeClusterSubnetGroupsRequest.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 DescribeClusterSubnetGroupsRequest() = 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 "DescribeClusterSubnetGroups"; }
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
43 inline const Aws::String& GetClusterSubnetGroupName() const { return m_clusterSubnetGroupName; }
44 inline bool ClusterSubnetGroupNameHasBeenSet() const { return m_clusterSubnetGroupNameHasBeenSet; }
45 template <typename ClusterSubnetGroupNameT = Aws::String>
46 void SetClusterSubnetGroupName(ClusterSubnetGroupNameT&& value) {
47 m_clusterSubnetGroupNameHasBeenSet = true;
48 m_clusterSubnetGroupName = std::forward<ClusterSubnetGroupNameT>(value);
49 }
50 template <typename ClusterSubnetGroupNameT = Aws::String>
52 SetClusterSubnetGroupName(std::forward<ClusterSubnetGroupNameT>(value));
53 return *this;
54 }
56
58
66 inline int GetMaxRecords() const { return m_maxRecords; }
67 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
68 inline void SetMaxRecords(int value) {
69 m_maxRecordsHasBeenSet = true;
70 m_maxRecords = value;
71 }
73 SetMaxRecords(value);
74 return *this;
75 }
77
79
87 inline const Aws::String& GetMarker() const { return m_marker; }
88 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
89 template <typename MarkerT = Aws::String>
90 void SetMarker(MarkerT&& value) {
91 m_markerHasBeenSet = true;
92 m_marker = std::forward<MarkerT>(value);
93 }
94 template <typename MarkerT = Aws::String>
96 SetMarker(std::forward<MarkerT>(value));
97 return *this;
98 }
100
102
110 inline const Aws::Vector<Aws::String>& GetTagKeys() const { return m_tagKeys; }
111 inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
112 template <typename TagKeysT = Aws::Vector<Aws::String>>
113 void SetTagKeys(TagKeysT&& value) {
114 m_tagKeysHasBeenSet = true;
115 m_tagKeys = std::forward<TagKeysT>(value);
116 }
117 template <typename TagKeysT = Aws::Vector<Aws::String>>
119 SetTagKeys(std::forward<TagKeysT>(value));
120 return *this;
121 }
122 template <typename TagKeysT = Aws::String>
124 m_tagKeysHasBeenSet = true;
125 m_tagKeys.emplace_back(std::forward<TagKeysT>(value));
126 return *this;
127 }
129
131
139 inline const Aws::Vector<Aws::String>& GetTagValues() const { return m_tagValues; }
140 inline bool TagValuesHasBeenSet() const { return m_tagValuesHasBeenSet; }
141 template <typename TagValuesT = Aws::Vector<Aws::String>>
142 void SetTagValues(TagValuesT&& value) {
143 m_tagValuesHasBeenSet = true;
144 m_tagValues = std::forward<TagValuesT>(value);
145 }
146 template <typename TagValuesT = Aws::Vector<Aws::String>>
148 SetTagValues(std::forward<TagValuesT>(value));
149 return *this;
150 }
151 template <typename TagValuesT = Aws::String>
153 m_tagValuesHasBeenSet = true;
154 m_tagValues.emplace_back(std::forward<TagValuesT>(value));
155 return *this;
156 }
158 private:
159 Aws::String m_clusterSubnetGroupName;
160
161 int m_maxRecords{0};
162
163 Aws::String m_marker;
164
165 Aws::Vector<Aws::String> m_tagKeys;
166
167 Aws::Vector<Aws::String> m_tagValues;
168 bool m_clusterSubnetGroupNameHasBeenSet = false;
169 bool m_maxRecordsHasBeenSet = false;
170 bool m_markerHasBeenSet = false;
171 bool m_tagKeysHasBeenSet = false;
172 bool m_tagValuesHasBeenSet = false;
173};
174
175} // namespace Model
176} // namespace Redshift
177} // namespace Aws
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeClusterSubnetGroupsRequest & AddTagValues(TagValuesT &&value)
DescribeClusterSubnetGroupsRequest & AddTagKeys(TagKeysT &&value)
DescribeClusterSubnetGroupsRequest & WithClusterSubnetGroupName(ClusterSubnetGroupNameT &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeClusterSubnetGroupsRequest & WithMarker(MarkerT &&value)
DescribeClusterSubnetGroupsRequest & WithTagKeys(TagKeysT &&value)
DescribeClusterSubnetGroupsRequest & WithTagValues(TagValuesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector