AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeLimitsResult.h
1
6#pragma once
7#include <aws/kinesis/Kinesis_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Kinesis
24{
25namespace Model
26{
28 {
29 public:
30 AWS_KINESIS_API DescribeLimitsResult();
33
34
36
39 inline int GetShardLimit() const{ return m_shardLimit; }
40 inline void SetShardLimit(int value) { m_shardLimit = value; }
41 inline DescribeLimitsResult& WithShardLimit(int value) { SetShardLimit(value); return *this;}
43
45
48 inline int GetOpenShardCount() const{ return m_openShardCount; }
49 inline void SetOpenShardCount(int value) { m_openShardCount = value; }
50 inline DescribeLimitsResult& WithOpenShardCount(int value) { SetOpenShardCount(value); return *this;}
52
54
57 inline int GetOnDemandStreamCount() const{ return m_onDemandStreamCount; }
58 inline void SetOnDemandStreamCount(int value) { m_onDemandStreamCount = value; }
59 inline DescribeLimitsResult& WithOnDemandStreamCount(int value) { SetOnDemandStreamCount(value); return *this;}
61
63
66 inline int GetOnDemandStreamCountLimit() const{ return m_onDemandStreamCountLimit; }
67 inline void SetOnDemandStreamCountLimit(int value) { m_onDemandStreamCountLimit = value; }
70
72
73 inline const Aws::String& GetRequestId() const{ return m_requestId; }
74 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
75 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
76 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
77 inline DescribeLimitsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
78 inline DescribeLimitsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
79 inline DescribeLimitsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
81 private:
82
83 int m_shardLimit;
84
85 int m_openShardCount;
86
87 int m_onDemandStreamCount;
88
89 int m_onDemandStreamCountLimit;
90
91 Aws::String m_requestId;
92 };
93
94} // namespace Model
95} // namespace Kinesis
96} // namespace Aws
DescribeLimitsResult & WithOnDemandStreamCount(int value)
DescribeLimitsResult & WithShardLimit(int value)
void SetRequestId(const Aws::String &value)
DescribeLimitsResult & WithRequestId(const char *value)
DescribeLimitsResult & WithOpenShardCount(int value)
DescribeLimitsResult & WithOnDemandStreamCountLimit(int value)
DescribeLimitsResult & WithRequestId(Aws::String &&value)
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)
DescribeLimitsResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue