AWS SDK for C++

AWS SDK for C++ Version 1.11.890

Loading...
Searching...
No Matches
DescribeLimitsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kinesis/Kinesis_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Kinesis {
23namespace Model {
25 public:
26 AWS_KINESIS_API DescribeLimitsResult() = default;
29
31
34 inline int GetShardLimit() const { return m_shardLimit; }
35 inline void SetShardLimit(int value) {
36 m_shardLimitHasBeenSet = true;
37 m_shardLimit = value;
38 }
40 SetShardLimit(value);
41 return *this;
42 }
44
46
49 inline int GetOpenShardCount() const { return m_openShardCount; }
50 inline void SetOpenShardCount(int value) {
51 m_openShardCountHasBeenSet = true;
52 m_openShardCount = value;
53 }
55 SetOpenShardCount(value);
56 return *this;
57 }
59
61
64 inline int GetOnDemandStreamCount() const { return m_onDemandStreamCount; }
65 inline void SetOnDemandStreamCount(int value) {
66 m_onDemandStreamCountHasBeenSet = true;
67 m_onDemandStreamCount = value;
68 }
71 return *this;
72 }
74
76
79 inline int GetOnDemandStreamCountLimit() const { return m_onDemandStreamCountLimit; }
80 inline void SetOnDemandStreamCountLimit(int value) {
81 m_onDemandStreamCountLimitHasBeenSet = true;
82 m_onDemandStreamCountLimit = value;
83 }
86 return *this;
87 }
89
91
94 inline int GetChannelCount() const { return m_channelCount; }
95 inline void SetChannelCount(int value) {
96 m_channelCountHasBeenSet = true;
97 m_channelCount = value;
98 }
100 SetChannelCount(value);
101 return *this;
102 }
104
106
109 inline int GetChannelCountLimit() const { return m_channelCountLimit; }
110 inline void SetChannelCountLimit(int value) {
111 m_channelCountLimitHasBeenSet = true;
112 m_channelCountLimit = value;
113 }
116 return *this;
117 }
119
121
122 inline const Aws::String& GetRequestId() const { return m_requestId; }
123 template <typename RequestIdT = Aws::String>
124 void SetRequestId(RequestIdT&& value) {
125 m_requestIdHasBeenSet = true;
126 m_requestId = std::forward<RequestIdT>(value);
127 }
128 template <typename RequestIdT = Aws::String>
129 DescribeLimitsResult& WithRequestId(RequestIdT&& value) {
130 SetRequestId(std::forward<RequestIdT>(value));
131 return *this;
132 }
134 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
135
136 private:
137 int m_shardLimit{0};
138
139 int m_openShardCount{0};
140
141 int m_onDemandStreamCount{0};
142
143 int m_onDemandStreamCountLimit{0};
144
145 int m_channelCount{0};
146
147 int m_channelCountLimit{0};
148
149 Aws::String m_requestId;
150 Aws::Http::HttpResponseCode m_HttpResponseCode;
151 bool m_shardLimitHasBeenSet = false;
152 bool m_openShardCountHasBeenSet = false;
153 bool m_onDemandStreamCountHasBeenSet = false;
154 bool m_onDemandStreamCountLimitHasBeenSet = false;
155 bool m_channelCountHasBeenSet = false;
156 bool m_channelCountLimitHasBeenSet = false;
157 bool m_requestIdHasBeenSet = false;
158};
159
160} // namespace Model
161} // namespace Kinesis
162} // namespace Aws
DescribeLimitsResult & WithOnDemandStreamCount(int value)
DescribeLimitsResult & WithShardLimit(int value)
DescribeLimitsResult & WithRequestId(RequestIdT &&value)
DescribeLimitsResult & WithOpenShardCount(int value)
DescribeLimitsResult & WithOnDemandStreamCountLimit(int value)
DescribeLimitsResult & WithChannelCountLimit(int value)
AWS_KINESIS_API DescribeLimitsResult()=default
AWS_KINESIS_API DescribeLimitsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KINESIS_API DescribeLimitsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DescribeLimitsResult & WithChannelCount(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue