AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DescribeClustersRequest.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 DescribeClustersRequest() = 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 "DescribeClusters"; }
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& GetClusterIdentifier() const { return m_clusterIdentifier; }
46 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
47 template <typename ClusterIdentifierT = Aws::String>
48 void SetClusterIdentifier(ClusterIdentifierT&& value) {
49 m_clusterIdentifierHasBeenSet = true;
50 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
51 }
52 template <typename ClusterIdentifierT = Aws::String>
53 DescribeClustersRequest& WithClusterIdentifier(ClusterIdentifierT&& value) {
54 SetClusterIdentifier(std::forward<ClusterIdentifierT>(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
91 inline const Aws::String& GetMarker() const { return m_marker; }
92 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
93 template <typename MarkerT = Aws::String>
94 void SetMarker(MarkerT&& value) {
95 m_markerHasBeenSet = true;
96 m_marker = std::forward<MarkerT>(value);
97 }
98 template <typename MarkerT = Aws::String>
100 SetMarker(std::forward<MarkerT>(value));
101 return *this;
102 }
104
106
114 inline const Aws::Vector<Aws::String>& GetTagKeys() const { return m_tagKeys; }
115 inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
116 template <typename TagKeysT = Aws::Vector<Aws::String>>
117 void SetTagKeys(TagKeysT&& value) {
118 m_tagKeysHasBeenSet = true;
119 m_tagKeys = std::forward<TagKeysT>(value);
120 }
121 template <typename TagKeysT = Aws::Vector<Aws::String>>
123 SetTagKeys(std::forward<TagKeysT>(value));
124 return *this;
125 }
126 template <typename TagKeysT = Aws::String>
128 m_tagKeysHasBeenSet = true;
129 m_tagKeys.emplace_back(std::forward<TagKeysT>(value));
130 return *this;
131 }
133
135
143 inline const Aws::Vector<Aws::String>& GetTagValues() const { return m_tagValues; }
144 inline bool TagValuesHasBeenSet() const { return m_tagValuesHasBeenSet; }
145 template <typename TagValuesT = Aws::Vector<Aws::String>>
146 void SetTagValues(TagValuesT&& value) {
147 m_tagValuesHasBeenSet = true;
148 m_tagValues = std::forward<TagValuesT>(value);
149 }
150 template <typename TagValuesT = Aws::Vector<Aws::String>>
152 SetTagValues(std::forward<TagValuesT>(value));
153 return *this;
154 }
155 template <typename TagValuesT = Aws::String>
157 m_tagValuesHasBeenSet = true;
158 m_tagValues.emplace_back(std::forward<TagValuesT>(value));
159 return *this;
160 }
162 private:
163 Aws::String m_clusterIdentifier;
164
165 int m_maxRecords{0};
166
167 Aws::String m_marker;
168
169 Aws::Vector<Aws::String> m_tagKeys;
170
171 Aws::Vector<Aws::String> m_tagValues;
172 bool m_clusterIdentifierHasBeenSet = false;
173 bool m_maxRecordsHasBeenSet = false;
174 bool m_markerHasBeenSet = false;
175 bool m_tagKeysHasBeenSet = false;
176 bool m_tagValuesHasBeenSet = false;
177};
178
179} // namespace Model
180} // namespace Redshift
181} // namespace Aws
const Aws::Vector< Aws::String > & GetTagKeys() const
void SetClusterIdentifier(ClusterIdentifierT &&value)
DescribeClustersRequest & WithClusterIdentifier(ClusterIdentifierT &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeClustersRequest & WithMaxRecords(int value)
AWS_REDSHIFT_API DescribeClustersRequest()=default
DescribeClustersRequest & WithTagKeys(TagKeysT &&value)
virtual const char * GetServiceRequestName() const override
DescribeClustersRequest & WithTagValues(TagValuesT &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::Vector< Aws::String > & GetTagValues() const
DescribeClustersRequest & AddTagValues(TagValuesT &&value)
DescribeClustersRequest & AddTagKeys(TagKeysT &&value)
DescribeClustersRequest & WithMarker(MarkerT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector