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

Indicates the number of data streams with the on-demand capacity mode.

*/ inline int GetOnDemandStreamCount() const{ return m_onDemandStreamCount; } /** *

Indicates the number of data streams with the on-demand capacity mode.

*/ inline void SetOnDemandStreamCount(int value) { m_onDemandStreamCount = value; } /** *

Indicates the number of data streams with the on-demand capacity mode.

*/ inline DescribeLimitsResult& WithOnDemandStreamCount(int value) { SetOnDemandStreamCount(value); return *this;} /** *

The maximum number of data streams with the on-demand capacity mode.

*/ inline int GetOnDemandStreamCountLimit() const{ return m_onDemandStreamCountLimit; } /** *

The maximum number of data streams with the on-demand capacity mode.

*/ inline void SetOnDemandStreamCountLimit(int value) { m_onDemandStreamCountLimit = value; } /** *

The maximum number of data streams with the on-demand capacity mode.

*/ inline DescribeLimitsResult& WithOnDemandStreamCountLimit(int value) { SetOnDemandStreamCountLimit(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeLimitsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeLimitsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeLimitsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: int m_shardLimit; int m_openShardCount; int m_onDemandStreamCount; int m_onDemandStreamCountLimit; Aws::String m_requestId; }; } // namespace Model } // namespace Kinesis } // namespace Aws