/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Kinesis { namespace Model { class AWS_KINESIS_API DescribeLimitsResult { public: DescribeLimitsResult(); DescribeLimitsResult(const Aws::AmazonWebServiceResult& result); DescribeLimitsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The maximum number of shards.

*/ inline int GetShardLimit() const{ return m_shardLimit; } /** *

The maximum number of shards.

*/ inline void SetShardLimit(int value) { m_shardLimit = value; } /** *

The maximum number of shards.

*/ inline DescribeLimitsResult& WithShardLimit(int value) { SetShardLimit(value); return *this;} /** *

The number of open shards.

*/ inline int GetOpenShardCount() const{ return m_openShardCount; } /** *

The number of open shards.

*/ inline void SetOpenShardCount(int value) { m_openShardCount = value; } /** *

The number of open shards.

*/ inline DescribeLimitsResult& WithOpenShardCount(int value) { SetOpenShardCount(value); return *this;} private: int m_shardLimit; int m_openShardCount; }; } // namespace Model } // namespace Kinesis } // namespace Aws