AWS SDK for C++  1.9.158
AWS SDK for C++
DescribeUsageLimitsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Redshift
17 {
18 namespace 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 
34  Aws::String SerializePayload() const override;
35 
36  protected:
37  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 
116  inline DescribeUsageLimitsRequest& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;}
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 
154  inline DescribeUsageLimitsRequest& WithFeatureType(const UsageLimitFeatureType& value) { SetFeatureType(value); return *this;}
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 
423  inline DescribeUsageLimitsRequest& WithTagValues(const Aws::Vector<Aws::String>& value) { SetTagValues(value); return *this;}
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;
469 
470  Aws::String m_clusterIdentifier;
471  bool m_clusterIdentifierHasBeenSet;
472 
473  UsageLimitFeatureType m_featureType;
474  bool m_featureTypeHasBeenSet;
475 
476  int m_maxRecords;
477  bool m_maxRecordsHasBeenSet;
478 
479  Aws::String m_marker;
480  bool m_markerHasBeenSet;
481 
482  Aws::Vector<Aws::String> m_tagKeys;
483  bool m_tagKeysHasBeenSet;
484 
485  Aws::Vector<Aws::String> m_tagValues;
486  bool m_tagValuesHasBeenSet;
487  };
488 
489 } // namespace Model
490 } // namespace Redshift
491 } // namespace Aws
Aws::Redshift::Model::DescribeUsageLimitsRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeUsageLimitsRequest.h:190
Aws::Redshift::Model::DescribeUsageLimitsRequest::AddTagKeys
DescribeUsageLimitsRequest & AddTagKeys(const char *value)
Definition: DescribeUsageLimitsRequest.h:372
Aws::Http::URI
Definition: URI.h:32
Aws::Redshift::Model::DescribeUsageLimitsRequest::WithFeatureType
DescribeUsageLimitsRequest & WithFeatureType(const UsageLimitFeatureType &value)
Definition: DescribeUsageLimitsRequest.h:154
Aws::Redshift::Model::DescribeUsageLimitsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeUsageLimitsRequest.h:32
Aws::Redshift::Model::DescribeUsageLimitsRequest::SetTagValues
void SetTagValues(Aws::Vector< Aws::String > &&value)
Definition: DescribeUsageLimitsRequest.h:413
Aws::Redshift::Model::DescribeUsageLimitsRequest::WithClusterIdentifier
DescribeUsageLimitsRequest & WithClusterIdentifier(const char *value)
Definition: DescribeUsageLimitsRequest.h:128
Aws::Redshift::Model::DescribeUsageLimitsRequest::WithClusterIdentifier
DescribeUsageLimitsRequest & WithClusterIdentifier(const Aws::String &value)
Definition: DescribeUsageLimitsRequest.h:116
Aws::Redshift::Model::DescribeUsageLimitsRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeUsageLimitsRequest.h:170
Aws::Redshift::Model::DescribeUsageLimitsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeUsageLimitsRequest.h:241
Aws::Redshift::Model::DescribeUsageLimitsRequest::WithMarker
DescribeUsageLimitsRequest & WithMarker(Aws::String &&value)
Definition: DescribeUsageLimitsRequest.h:271
Aws::Redshift::Model::DescribeUsageLimitsRequest::SetTagValues
void SetTagValues(const Aws::Vector< Aws::String > &value)
Definition: DescribeUsageLimitsRequest.h:403
Aws::Redshift::Model::DescribeUsageLimitsRequest::SetUsageLimitId
void SetUsageLimitId(const char *value)
Definition: DescribeUsageLimitsRequest.h:64
Aws::Redshift::Model::DescribeUsageLimitsRequest::SetUsageLimitId
void SetUsageLimitId(Aws::String &&value)
Definition: DescribeUsageLimitsRequest.h:59
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Redshift::Model::DescribeUsageLimitsRequest::GetUsageLimitId
const Aws::String & GetUsageLimitId() const
Definition: DescribeUsageLimitsRequest.h:44
UsageLimitFeatureType.h
RedshiftRequest.h
Aws::Redshift::Model::DescribeUsageLimitsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeUsageLimitsRequest.h:221
Aws::Redshift::Model::DescribeUsageLimitsRequest::UsageLimitIdHasBeenSet
bool UsageLimitIdHasBeenSet() const
Definition: DescribeUsageLimitsRequest.h:49
Aws::Redshift::Model::DescribeUsageLimitsRequest::DescribeUsageLimitsRequest
DescribeUsageLimitsRequest()
Aws::Redshift::Model::DescribeUsageLimitsRequest::GetFeatureType
const UsageLimitFeatureType & GetFeatureType() const
Definition: DescribeUsageLimitsRequest.h:134
Aws::Redshift::Model::DescribeUsageLimitsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Redshift::Model::DescribeUsageLimitsRequest::AddTagKeys
DescribeUsageLimitsRequest & AddTagKeys(Aws::String &&value)
Definition: DescribeUsageLimitsRequest.h:362
AWSVector.h
Aws::Redshift::Model::DescribeUsageLimitsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Redshift::Model::DescribeUsageLimitsRequest::SetFeatureType
void SetFeatureType(const UsageLimitFeatureType &value)
Definition: DescribeUsageLimitsRequest.h:144
Aws::Redshift::Model::DescribeUsageLimitsRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeUsageLimitsRequest.h:180
Aws::Redshift::Model::DescribeUsageLimitsRequest::WithUsageLimitId
DescribeUsageLimitsRequest & WithUsageLimitId(const char *value)
Definition: DescribeUsageLimitsRequest.h:79
Aws::Redshift::Model::DescribeUsageLimitsRequest::SetClusterIdentifier
void SetClusterIdentifier(const char *value)
Definition: DescribeUsageLimitsRequest.h:110
Aws::Redshift::Model::DescribeUsageLimitsRequest::ClusterIdentifierHasBeenSet
bool ClusterIdentifierHasBeenSet() const
Definition: DescribeUsageLimitsRequest.h:92
Aws::Redshift::Model::DescribeUsageLimitsRequest::SetFeatureType
void SetFeatureType(UsageLimitFeatureType &&value)
Definition: DescribeUsageLimitsRequest.h:149
Aws::Redshift::Model::DescribeUsageLimitsRequest::SetClusterIdentifier
void SetClusterIdentifier(Aws::String &&value)
Definition: DescribeUsageLimitsRequest.h:104
Aws::Redshift::Model::DescribeUsageLimitsRequest::WithTagKeys
DescribeUsageLimitsRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
Definition: DescribeUsageLimitsRequest.h:342
Aws::Redshift::Model::DescribeUsageLimitsRequest::AddTagValues
DescribeUsageLimitsRequest & AddTagValues(Aws::String &&value)
Definition: DescribeUsageLimitsRequest.h:453
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DescribeUsageLimitsRequest::WithTagKeys
DescribeUsageLimitsRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
Definition: DescribeUsageLimitsRequest.h:332
Aws::Redshift::Model::DescribeUsageLimitsRequest::SetTagKeys
void SetTagKeys(Aws::Vector< Aws::String > &&value)
Definition: DescribeUsageLimitsRequest.h:322
Aws::Redshift::RedshiftRequest
Definition: RedshiftRequest.h:17
Aws::Redshift::Model::DescribeUsageLimitsRequest
Definition: DescribeUsageLimitsRequest.h:24
AWSString.h
Aws::Redshift::Model::DescribeUsageLimitsRequest::WithUsageLimitId
DescribeUsageLimitsRequest & WithUsageLimitId(Aws::String &&value)
Definition: DescribeUsageLimitsRequest.h:74
Aws::Redshift::Model::DescribeUsageLimitsRequest::AddTagValues
DescribeUsageLimitsRequest & AddTagValues(const Aws::String &value)
Definition: DescribeUsageLimitsRequest.h:443
Aws::Redshift::Model::DescribeUsageLimitsRequest::WithClusterIdentifier
DescribeUsageLimitsRequest & WithClusterIdentifier(Aws::String &&value)
Definition: DescribeUsageLimitsRequest.h:122
Aws::Redshift::Model::DescribeUsageLimitsRequest::WithMarker
DescribeUsageLimitsRequest & WithMarker(const Aws::String &value)
Definition: DescribeUsageLimitsRequest.h:261
Aws::Redshift::Model::DescribeUsageLimitsRequest::GetTagValues
const Aws::Vector< Aws::String > & GetTagValues() const
Definition: DescribeUsageLimitsRequest.h:383
Aws::Redshift::Model::DescribeUsageLimitsRequest::FeatureTypeHasBeenSet
bool FeatureTypeHasBeenSet() const
Definition: DescribeUsageLimitsRequest.h:139
Aws::Redshift::Model::DescribeUsageLimitsRequest::AddTagValues
DescribeUsageLimitsRequest & AddTagValues(const char *value)
Definition: DescribeUsageLimitsRequest.h:463
Aws::Redshift::Model::DescribeUsageLimitsRequest::WithMarker
DescribeUsageLimitsRequest & WithMarker(const char *value)
Definition: DescribeUsageLimitsRequest.h:281
Aws::Redshift::Model::DescribeUsageLimitsRequest::SetUsageLimitId
void SetUsageLimitId(const Aws::String &value)
Definition: DescribeUsageLimitsRequest.h:54
Aws::Redshift::Model::DescribeUsageLimitsRequest::SetClusterIdentifier
void SetClusterIdentifier(const Aws::String &value)
Definition: DescribeUsageLimitsRequest.h:98
Aws::Redshift::Model::DescribeUsageLimitsRequest::WithMaxRecords
DescribeUsageLimitsRequest & WithMaxRecords(int value)
Definition: DescribeUsageLimitsRequest.h:200
Aws::Redshift::Model::DescribeUsageLimitsRequest::WithTagValues
DescribeUsageLimitsRequest & WithTagValues(Aws::Vector< Aws::String > &&value)
Definition: DescribeUsageLimitsRequest.h:433
Aws::Redshift::Model::DescribeUsageLimitsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeUsageLimitsRequest.h:211
Aws::Redshift::Model::DescribeUsageLimitsRequest::TagKeysHasBeenSet
bool TagKeysHasBeenSet() const
Definition: DescribeUsageLimitsRequest.h:302
Aws::Redshift::Model::DescribeUsageLimitsRequest::GetClusterIdentifier
const Aws::String & GetClusterIdentifier() const
Definition: DescribeUsageLimitsRequest.h:86
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::DescribeUsageLimitsRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeUsageLimitsRequest.h:251
Aws::Redshift::Model::DescribeUsageLimitsRequest::WithUsageLimitId
DescribeUsageLimitsRequest & WithUsageLimitId(const Aws::String &value)
Definition: DescribeUsageLimitsRequest.h:69
Aws::Redshift::Model::DescribeUsageLimitsRequest::AddTagKeys
DescribeUsageLimitsRequest & AddTagKeys(const Aws::String &value)
Definition: DescribeUsageLimitsRequest.h:352
Redshift_EXPORTS.h
Aws::Redshift::Model::DescribeUsageLimitsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeUsageLimitsRequest.h:231
Aws::Redshift::Model::DescribeUsageLimitsRequest::SetTagKeys
void SetTagKeys(const Aws::Vector< Aws::String > &value)
Definition: DescribeUsageLimitsRequest.h:312
Aws::Redshift::Model::DescribeUsageLimitsRequest::GetTagKeys
const Aws::Vector< Aws::String > & GetTagKeys() const
Definition: DescribeUsageLimitsRequest.h:292
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::DescribeUsageLimitsRequest::WithFeatureType
DescribeUsageLimitsRequest & WithFeatureType(UsageLimitFeatureType &&value)
Definition: DescribeUsageLimitsRequest.h:159
Aws::Redshift::Model::DescribeUsageLimitsRequest::TagValuesHasBeenSet
bool TagValuesHasBeenSet() const
Definition: DescribeUsageLimitsRequest.h:393
Aws::Redshift::Model::DescribeUsageLimitsRequest::WithTagValues
DescribeUsageLimitsRequest & WithTagValues(const Aws::Vector< Aws::String > &value)
Definition: DescribeUsageLimitsRequest.h:423
Aws::Redshift::Model::UsageLimitFeatureType
UsageLimitFeatureType
Definition: UsageLimitFeatureType.h:17