AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
33
34
36
39 inline int GetShardLimit() const { return m_shardLimit; }
40 inline void SetShardLimit(int value) { m_shardLimitHasBeenSet = true; 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_openShardCountHasBeenSet = true; 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_onDemandStreamCountHasBeenSet = true; 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_onDemandStreamCountLimitHasBeenSet = true; m_onDemandStreamCountLimit = value; }
70
72
73 inline const Aws::String& GetRequestId() const { return m_requestId; }
74 template<typename RequestIdT = Aws::String>
75 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
76 template<typename RequestIdT = Aws::String>
77 DescribeLimitsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
79 private:
80
81 int m_shardLimit{0};
82 bool m_shardLimitHasBeenSet = false;
83
84 int m_openShardCount{0};
85 bool m_openShardCountHasBeenSet = false;
86
87 int m_onDemandStreamCount{0};
88 bool m_onDemandStreamCountHasBeenSet = false;
89
90 int m_onDemandStreamCountLimit{0};
91 bool m_onDemandStreamCountLimitHasBeenSet = false;
92
93 Aws::String m_requestId;
94 bool m_requestIdHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace Kinesis
99} // namespace Aws
DescribeLimitsResult & WithOnDemandStreamCount(int value)
DescribeLimitsResult & WithShardLimit(int value)
DescribeLimitsResult & WithRequestId(RequestIdT &&value)
DescribeLimitsResult & WithOpenShardCount(int value)
DescribeLimitsResult & WithOnDemandStreamCountLimit(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)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue