AWS SDK for C++  1.9.103
AWS SDK for C++
DescribeLimitsResult.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 template<typename RESULT_TYPE>
12 class AmazonWebServiceResult;
13 
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19 } // namespace Json
20 } // namespace Utils
21 namespace Kinesis
22 {
23 namespace Model
24 {
26  {
27  public:
31 
32 
36  inline int GetShardLimit() const{ return m_shardLimit; }
37 
41  inline void SetShardLimit(int value) { m_shardLimit = value; }
42 
46  inline DescribeLimitsResult& WithShardLimit(int value) { SetShardLimit(value); return *this;}
47 
48 
52  inline int GetOpenShardCount() const{ return m_openShardCount; }
53 
57  inline void SetOpenShardCount(int value) { m_openShardCount = value; }
58 
62  inline DescribeLimitsResult& WithOpenShardCount(int value) { SetOpenShardCount(value); return *this;}
63 
64  private:
65 
66  int m_shardLimit;
67 
68  int m_openShardCount;
69  };
70 
71 } // namespace Model
72 } // namespace Kinesis
73 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Kinesis::Model::DescribeLimitsResult::WithShardLimit
DescribeLimitsResult & WithShardLimit(int value)
Definition: DescribeLimitsResult.h:46
Aws::Kinesis::Model::DescribeLimitsResult::operator=
DescribeLimitsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Kinesis::Model::DescribeLimitsResult
Definition: DescribeLimitsResult.h:26
Aws::Kinesis::Model::DescribeLimitsResult::DescribeLimitsResult
DescribeLimitsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KINESIS_API
#define AWS_KINESIS_API
Definition: Kinesis_EXPORTS.h:28
Aws::Kinesis::Model::DescribeLimitsResult::DescribeLimitsResult
DescribeLimitsResult()
Kinesis_EXPORTS.h
Aws::Kinesis::Model::DescribeLimitsResult::GetShardLimit
int GetShardLimit() const
Definition: DescribeLimitsResult.h:36
Aws
Definition: AccessManagementClient.h:15
Aws::Kinesis::Model::DescribeLimitsResult::SetOpenShardCount
void SetOpenShardCount(int value)
Definition: DescribeLimitsResult.h:57
Aws::Kinesis::Model::DescribeLimitsResult::SetShardLimit
void SetShardLimit(int value)
Definition: DescribeLimitsResult.h:41
Aws::Kinesis::Model::DescribeLimitsResult::GetOpenShardCount
int GetOpenShardCount() const
Definition: DescribeLimitsResult.h:52
Aws::Kinesis::Model::DescribeLimitsResult::WithOpenShardCount
DescribeLimitsResult & WithOpenShardCount(int value)
Definition: DescribeLimitsResult.h:62