AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeUsageLimitsRequest.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/redshift/model/UsageLimitFeatureType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Redshift
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_REDSHIFT_API DescribeUsageLimitsRequest();
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_REDSHIFT_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38
39 public:
40
42
45 inline const Aws::String& GetUsageLimitId() const{ return m_usageLimitId; }
46 inline bool UsageLimitIdHasBeenSet() const { return m_usageLimitIdHasBeenSet; }
47 inline void SetUsageLimitId(const Aws::String& value) { m_usageLimitIdHasBeenSet = true; m_usageLimitId = value; }
48 inline void SetUsageLimitId(Aws::String&& value) { m_usageLimitIdHasBeenSet = true; m_usageLimitId = std::move(value); }
49 inline void SetUsageLimitId(const char* value) { m_usageLimitIdHasBeenSet = true; m_usageLimitId.assign(value); }
50 inline DescribeUsageLimitsRequest& WithUsageLimitId(const Aws::String& value) { SetUsageLimitId(value); return *this;}
51 inline DescribeUsageLimitsRequest& WithUsageLimitId(Aws::String&& value) { SetUsageLimitId(std::move(value)); return *this;}
52 inline DescribeUsageLimitsRequest& WithUsageLimitId(const char* value) { SetUsageLimitId(value); return *this;}
54
56
60 inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
61 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
62 inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
63 inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
64 inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
66 inline DescribeUsageLimitsRequest& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
67 inline DescribeUsageLimitsRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
69
71
74 inline const UsageLimitFeatureType& GetFeatureType() const{ return m_featureType; }
75 inline bool FeatureTypeHasBeenSet() const { return m_featureTypeHasBeenSet; }
76 inline void SetFeatureType(const UsageLimitFeatureType& value) { m_featureTypeHasBeenSet = true; m_featureType = value; }
77 inline void SetFeatureType(UsageLimitFeatureType&& value) { m_featureTypeHasBeenSet = true; m_featureType = std::move(value); }
79 inline DescribeUsageLimitsRequest& WithFeatureType(UsageLimitFeatureType&& value) { SetFeatureType(std::move(value)); return *this;}
81
83
91 inline int GetMaxRecords() const{ return m_maxRecords; }
92 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
93 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
94 inline DescribeUsageLimitsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
96
98
106 inline const Aws::String& GetMarker() const{ return m_marker; }
107 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
108 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
109 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
110 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
111 inline DescribeUsageLimitsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
112 inline DescribeUsageLimitsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
113 inline DescribeUsageLimitsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
115
117
125 inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
126 inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
127 inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
128 inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
129 inline DescribeUsageLimitsRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
130 inline DescribeUsageLimitsRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
131 inline DescribeUsageLimitsRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
132 inline DescribeUsageLimitsRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
133 inline DescribeUsageLimitsRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
135
137
145 inline const Aws::Vector<Aws::String>& GetTagValues() const{ return m_tagValues; }
146 inline bool TagValuesHasBeenSet() const { return m_tagValuesHasBeenSet; }
147 inline void SetTagValues(const Aws::Vector<Aws::String>& value) { m_tagValuesHasBeenSet = true; m_tagValues = value; }
148 inline void SetTagValues(Aws::Vector<Aws::String>&& value) { m_tagValuesHasBeenSet = true; m_tagValues = std::move(value); }
150 inline DescribeUsageLimitsRequest& WithTagValues(Aws::Vector<Aws::String>&& value) { SetTagValues(std::move(value)); return *this;}
151 inline DescribeUsageLimitsRequest& AddTagValues(const Aws::String& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
152 inline DescribeUsageLimitsRequest& AddTagValues(Aws::String&& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(std::move(value)); return *this; }
153 inline DescribeUsageLimitsRequest& AddTagValues(const char* value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
155 private:
156
157 Aws::String m_usageLimitId;
158 bool m_usageLimitIdHasBeenSet = false;
159
160 Aws::String m_clusterIdentifier;
161 bool m_clusterIdentifierHasBeenSet = false;
162
163 UsageLimitFeatureType m_featureType;
164 bool m_featureTypeHasBeenSet = false;
165
166 int m_maxRecords;
167 bool m_maxRecordsHasBeenSet = false;
168
169 Aws::String m_marker;
170 bool m_markerHasBeenSet = false;
171
172 Aws::Vector<Aws::String> m_tagKeys;
173 bool m_tagKeysHasBeenSet = false;
174
175 Aws::Vector<Aws::String> m_tagValues;
176 bool m_tagValuesHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace Redshift
181} // namespace Aws
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)
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