AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribeUsageLimitsRequest.h
Go to the documentation of this file.
1
6#pragma once
12#include <utility>
13
14namespace Aws
15{
16namespace Redshift
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DescribeUsageLimits"; }
33
35
36 protected:
37 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38
39 public:
40
44 inline const Aws::String& GetUsageLimitId() const{ return m_usageLimitId; }
45
49 inline bool UsageLimitIdHasBeenSet() const { return m_usageLimitIdHasBeenSet; }
50
54 inline void SetUsageLimitId(const Aws::String& value) { m_usageLimitIdHasBeenSet = true; m_usageLimitId = value; }
55
59 inline void SetUsageLimitId(Aws::String&& value) { m_usageLimitIdHasBeenSet = true; m_usageLimitId = std::move(value); }
60
64 inline void SetUsageLimitId(const char* value) { m_usageLimitIdHasBeenSet = true; m_usageLimitId.assign(value); }
65
69 inline DescribeUsageLimitsRequest& WithUsageLimitId(const Aws::String& value) { SetUsageLimitId(value); return *this;}
70
74 inline DescribeUsageLimitsRequest& WithUsageLimitId(Aws::String&& value) { SetUsageLimitId(std::move(value)); return *this;}
75
79 inline DescribeUsageLimitsRequest& WithUsageLimitId(const char* value) { SetUsageLimitId(value); return *this;}
80
81
86 inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
87
92 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
93
98 inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
99
104 inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
105
110 inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
111
117
122 inline DescribeUsageLimitsRequest& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
123
128 inline DescribeUsageLimitsRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
129
130
134 inline const UsageLimitFeatureType& GetFeatureType() const{ return m_featureType; }
135
139 inline bool FeatureTypeHasBeenSet() const { return m_featureTypeHasBeenSet; }
140
144 inline void SetFeatureType(const UsageLimitFeatureType& value) { m_featureTypeHasBeenSet = true; m_featureType = value; }
145
149 inline void SetFeatureType(UsageLimitFeatureType&& value) { m_featureTypeHasBeenSet = true; m_featureType = std::move(value); }
150
155
159 inline DescribeUsageLimitsRequest& WithFeatureType(UsageLimitFeatureType&& value) { SetFeatureType(std::move(value)); return *this;}
160
161
170 inline int GetMaxRecords() const{ return m_maxRecords; }
171
180 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
181
190 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
191
200 inline DescribeUsageLimitsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
201
202
211 inline const Aws::String& GetMarker() const{ return m_marker; }
212
221 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
222
231 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
232
241 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
242
251 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
252
261 inline DescribeUsageLimitsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
262
271 inline DescribeUsageLimitsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
272
281 inline DescribeUsageLimitsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
282
283
292 inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
293
302 inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
303
312 inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
313
322 inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
323
332 inline DescribeUsageLimitsRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
333
342 inline DescribeUsageLimitsRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
343
352 inline DescribeUsageLimitsRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
353
362 inline DescribeUsageLimitsRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
363
372 inline DescribeUsageLimitsRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
373
374
383 inline const Aws::Vector<Aws::String>& GetTagValues() const{ return m_tagValues; }
384
393 inline bool TagValuesHasBeenSet() const { return m_tagValuesHasBeenSet; }
394
403 inline void SetTagValues(const Aws::Vector<Aws::String>& value) { m_tagValuesHasBeenSet = true; m_tagValues = value; }
404
413 inline void SetTagValues(Aws::Vector<Aws::String>&& value) { m_tagValuesHasBeenSet = true; m_tagValues = std::move(value); }
414
424
433 inline DescribeUsageLimitsRequest& WithTagValues(Aws::Vector<Aws::String>&& value) { SetTagValues(std::move(value)); return *this;}
434
443 inline DescribeUsageLimitsRequest& AddTagValues(const Aws::String& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
444
453 inline DescribeUsageLimitsRequest& AddTagValues(Aws::String&& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(std::move(value)); return *this; }
454
463 inline DescribeUsageLimitsRequest& AddTagValues(const char* value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
464
465 private:
466
467 Aws::String m_usageLimitId;
468 bool m_usageLimitIdHasBeenSet = false;
469
470 Aws::String m_clusterIdentifier;
471 bool m_clusterIdentifierHasBeenSet = false;
472
473 UsageLimitFeatureType m_featureType;
474 bool m_featureTypeHasBeenSet = false;
475
476 int m_maxRecords;
477 bool m_maxRecordsHasBeenSet = false;
478
479 Aws::String m_marker;
480 bool m_markerHasBeenSet = false;
481
482 Aws::Vector<Aws::String> m_tagKeys;
483 bool m_tagKeysHasBeenSet = false;
484
485 Aws::Vector<Aws::String> m_tagValues;
486 bool m_tagValuesHasBeenSet = false;
487 };
488
489} // namespace Model
490} // namespace Redshift
491} // namespace Aws
#define AWS_REDSHIFT_API
DescribeUsageLimitsRequest & AddTagValues(Aws::String &&value)
DescribeUsageLimitsRequest & WithUsageLimitId(Aws::String &&value)
void SetTagKeys(Aws::Vector< Aws::String > &&value)
void SetTagKeys(const Aws::Vector< Aws::String > &value)
DescribeUsageLimitsRequest & WithTagValues(Aws::Vector< Aws::String > &&value)
DescribeUsageLimitsRequest & WithMaxRecords(int value)
const Aws::Vector< Aws::String > & GetTagKeys() const
DescribeUsageLimitsRequest & AddTagKeys(Aws::String &&value)
DescribeUsageLimitsRequest & WithUsageLimitId(const char *value)
DescribeUsageLimitsRequest & WithClusterIdentifier(const Aws::String &value)
DescribeUsageLimitsRequest & AddTagValues(const char *value)
DescribeUsageLimitsRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
void SetFeatureType(const UsageLimitFeatureType &value)
DescribeUsageLimitsRequest & WithTagValues(const Aws::Vector< Aws::String > &value)
DescribeUsageLimitsRequest & WithClusterIdentifier(const char *value)
DescribeUsageLimitsRequest & WithMarker(const char *value)
DescribeUsageLimitsRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
DescribeUsageLimitsRequest & WithUsageLimitId(const Aws::String &value)
DescribeUsageLimitsRequest & WithClusterIdentifier(Aws::String &&value)
DescribeUsageLimitsRequest & WithFeatureType(const UsageLimitFeatureType &value)
const Aws::Vector< Aws::String > & GetTagValues() const
void SetTagValues(const Aws::Vector< Aws::String > &value)
void SetTagValues(Aws::Vector< Aws::String > &&value)
DescribeUsageLimitsRequest & WithMarker(const Aws::String &value)
DescribeUsageLimitsRequest & AddTagKeys(const char *value)
DescribeUsageLimitsRequest & WithMarker(Aws::String &&value)
DescribeUsageLimitsRequest & AddTagValues(const Aws::String &value)
const UsageLimitFeatureType & GetFeatureType() const
DescribeUsageLimitsRequest & AddTagKeys(const Aws::String &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
DescribeUsageLimitsRequest & WithFeatureType(UsageLimitFeatureType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector