AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename UsageLimitIdT = Aws::String>
48 void SetUsageLimitId(UsageLimitIdT&& value) { m_usageLimitIdHasBeenSet = true; m_usageLimitId = std::forward<UsageLimitIdT>(value); }
49 template<typename UsageLimitIdT = Aws::String>
50 DescribeUsageLimitsRequest& WithUsageLimitId(UsageLimitIdT&& value) { SetUsageLimitId(std::forward<UsageLimitIdT>(value)); return *this;}
52
54
58 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
59 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
60 template<typename ClusterIdentifierT = Aws::String>
61 void SetClusterIdentifier(ClusterIdentifierT&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::forward<ClusterIdentifierT>(value); }
62 template<typename ClusterIdentifierT = Aws::String>
63 DescribeUsageLimitsRequest& WithClusterIdentifier(ClusterIdentifierT&& value) { SetClusterIdentifier(std::forward<ClusterIdentifierT>(value)); return *this;}
65
67
70 inline UsageLimitFeatureType GetFeatureType() const { return m_featureType; }
71 inline bool FeatureTypeHasBeenSet() const { return m_featureTypeHasBeenSet; }
72 inline void SetFeatureType(UsageLimitFeatureType value) { m_featureTypeHasBeenSet = true; m_featureType = value; }
75
77
85 inline int GetMaxRecords() const { return m_maxRecords; }
86 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
87 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
88 inline DescribeUsageLimitsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
90
92
100 inline const Aws::String& GetMarker() const { return m_marker; }
101 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
102 template<typename MarkerT = Aws::String>
103 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
104 template<typename MarkerT = Aws::String>
105 DescribeUsageLimitsRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
107
109
117 inline const Aws::Vector<Aws::String>& GetTagKeys() const { return m_tagKeys; }
118 inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
119 template<typename TagKeysT = Aws::Vector<Aws::String>>
120 void SetTagKeys(TagKeysT&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::forward<TagKeysT>(value); }
121 template<typename TagKeysT = Aws::Vector<Aws::String>>
122 DescribeUsageLimitsRequest& WithTagKeys(TagKeysT&& value) { SetTagKeys(std::forward<TagKeysT>(value)); return *this;}
123 template<typename TagKeysT = Aws::String>
124 DescribeUsageLimitsRequest& AddTagKeys(TagKeysT&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.emplace_back(std::forward<TagKeysT>(value)); return *this; }
126
128
136 inline const Aws::Vector<Aws::String>& GetTagValues() const { return m_tagValues; }
137 inline bool TagValuesHasBeenSet() const { return m_tagValuesHasBeenSet; }
138 template<typename TagValuesT = Aws::Vector<Aws::String>>
139 void SetTagValues(TagValuesT&& value) { m_tagValuesHasBeenSet = true; m_tagValues = std::forward<TagValuesT>(value); }
140 template<typename TagValuesT = Aws::Vector<Aws::String>>
141 DescribeUsageLimitsRequest& WithTagValues(TagValuesT&& value) { SetTagValues(std::forward<TagValuesT>(value)); return *this;}
142 template<typename TagValuesT = Aws::String>
143 DescribeUsageLimitsRequest& AddTagValues(TagValuesT&& value) { m_tagValuesHasBeenSet = true; m_tagValues.emplace_back(std::forward<TagValuesT>(value)); return *this; }
145 private:
146
147 Aws::String m_usageLimitId;
148 bool m_usageLimitIdHasBeenSet = false;
149
150 Aws::String m_clusterIdentifier;
151 bool m_clusterIdentifierHasBeenSet = false;
152
154 bool m_featureTypeHasBeenSet = false;
155
156 int m_maxRecords{0};
157 bool m_maxRecordsHasBeenSet = false;
158
159 Aws::String m_marker;
160 bool m_markerHasBeenSet = false;
161
162 Aws::Vector<Aws::String> m_tagKeys;
163 bool m_tagKeysHasBeenSet = false;
164
165 Aws::Vector<Aws::String> m_tagValues;
166 bool m_tagValuesHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace Redshift
171} // 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