AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DescribeUsageLimitsRequest.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/UsageLimitFeatureType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Redshift {
17namespace Model {
18
22 public:
23 AWS_REDSHIFT_API DescribeUsageLimitsRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DescribeUsageLimits"; }
30
31 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
32
33 protected:
34 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
35
36 public:
38
41 inline const Aws::String& GetUsageLimitId() const { return m_usageLimitId; }
42 inline bool UsageLimitIdHasBeenSet() const { return m_usageLimitIdHasBeenSet; }
43 template <typename UsageLimitIdT = Aws::String>
44 void SetUsageLimitId(UsageLimitIdT&& value) {
45 m_usageLimitIdHasBeenSet = true;
46 m_usageLimitId = std::forward<UsageLimitIdT>(value);
47 }
48 template <typename UsageLimitIdT = Aws::String>
50 SetUsageLimitId(std::forward<UsageLimitIdT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
61 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
62 template <typename ClusterIdentifierT = Aws::String>
63 void SetClusterIdentifier(ClusterIdentifierT&& value) {
64 m_clusterIdentifierHasBeenSet = true;
65 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
66 }
67 template <typename ClusterIdentifierT = Aws::String>
69 SetClusterIdentifier(std::forward<ClusterIdentifierT>(value));
70 return *this;
71 }
73
75
78 inline UsageLimitFeatureType GetFeatureType() const { return m_featureType; }
79 inline bool FeatureTypeHasBeenSet() const { return m_featureTypeHasBeenSet; }
81 m_featureTypeHasBeenSet = true;
82 m_featureType = value;
83 }
85 SetFeatureType(value);
86 return *this;
87 }
89
91
99 inline int GetMaxRecords() const { return m_maxRecords; }
100 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
101 inline void SetMaxRecords(int value) {
102 m_maxRecordsHasBeenSet = true;
103 m_maxRecords = value;
104 }
106 SetMaxRecords(value);
107 return *this;
108 }
110
112
120 inline const Aws::String& GetMarker() const { return m_marker; }
121 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
122 template <typename MarkerT = Aws::String>
123 void SetMarker(MarkerT&& value) {
124 m_markerHasBeenSet = true;
125 m_marker = std::forward<MarkerT>(value);
126 }
127 template <typename MarkerT = Aws::String>
129 SetMarker(std::forward<MarkerT>(value));
130 return *this;
131 }
133
135
143 inline const Aws::Vector<Aws::String>& GetTagKeys() const { return m_tagKeys; }
144 inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
145 template <typename TagKeysT = Aws::Vector<Aws::String>>
146 void SetTagKeys(TagKeysT&& value) {
147 m_tagKeysHasBeenSet = true;
148 m_tagKeys = std::forward<TagKeysT>(value);
149 }
150 template <typename TagKeysT = Aws::Vector<Aws::String>>
152 SetTagKeys(std::forward<TagKeysT>(value));
153 return *this;
154 }
155 template <typename TagKeysT = Aws::String>
157 m_tagKeysHasBeenSet = true;
158 m_tagKeys.emplace_back(std::forward<TagKeysT>(value));
159 return *this;
160 }
162
164
172 inline const Aws::Vector<Aws::String>& GetTagValues() const { return m_tagValues; }
173 inline bool TagValuesHasBeenSet() const { return m_tagValuesHasBeenSet; }
174 template <typename TagValuesT = Aws::Vector<Aws::String>>
175 void SetTagValues(TagValuesT&& value) {
176 m_tagValuesHasBeenSet = true;
177 m_tagValues = std::forward<TagValuesT>(value);
178 }
179 template <typename TagValuesT = Aws::Vector<Aws::String>>
181 SetTagValues(std::forward<TagValuesT>(value));
182 return *this;
183 }
184 template <typename TagValuesT = Aws::String>
186 m_tagValuesHasBeenSet = true;
187 m_tagValues.emplace_back(std::forward<TagValuesT>(value));
188 return *this;
189 }
191 private:
192 Aws::String m_usageLimitId;
193
194 Aws::String m_clusterIdentifier;
195
197
198 int m_maxRecords{0};
199
200 Aws::String m_marker;
201
202 Aws::Vector<Aws::String> m_tagKeys;
203
204 Aws::Vector<Aws::String> m_tagValues;
205 bool m_usageLimitIdHasBeenSet = false;
206 bool m_clusterIdentifierHasBeenSet = false;
207 bool m_featureTypeHasBeenSet = false;
208 bool m_maxRecordsHasBeenSet = false;
209 bool m_markerHasBeenSet = false;
210 bool m_tagKeysHasBeenSet = false;
211 bool m_tagValuesHasBeenSet = false;
212};
213
214} // namespace Model
215} // namespace Redshift
216} // namespace Aws
DescribeUsageLimitsRequest & WithTagValues(TagValuesT &&value)
DescribeUsageLimitsRequest & WithMaxRecords(int value)
const Aws::Vector< Aws::String > & GetTagKeys() const
DescribeUsageLimitsRequest & AddTagValues(TagValuesT &&value)
AWS_REDSHIFT_API DescribeUsageLimitsRequest()=default
DescribeUsageLimitsRequest & WithClusterIdentifier(ClusterIdentifierT &&value)
const Aws::Vector< Aws::String > & GetTagValues() const
DescribeUsageLimitsRequest & WithMarker(MarkerT &&value)
DescribeUsageLimitsRequest & WithFeatureType(UsageLimitFeatureType value)
DescribeUsageLimitsRequest & WithUsageLimitId(UsageLimitIdT &&value)
DescribeUsageLimitsRequest & AddTagKeys(TagKeysT &&value)
DescribeUsageLimitsRequest & WithTagKeys(TagKeysT &&value)
virtual const char * GetServiceRequestName() const override
AWS_REDSHIFT_API Aws::String SerializePayload() const override
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector