/** * 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 DynamoDB { namespace Model { /** *

Represents the output of a DescribeLimits * operation.

See Also:

AWS * API Reference

*/ class AWS_DYNAMODB_API DescribeLimitsResult { public: DescribeLimitsResult(); DescribeLimitsResult(const Aws::AmazonWebServiceResult& result); DescribeLimitsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The maximum total read capacity units that your account allows you to * provision across all of your tables in this Region.

*/ inline long long GetAccountMaxReadCapacityUnits() const{ return m_accountMaxReadCapacityUnits; } /** *

The maximum total read capacity units that your account allows you to * provision across all of your tables in this Region.

*/ inline void SetAccountMaxReadCapacityUnits(long long value) { m_accountMaxReadCapacityUnits = value; } /** *

The maximum total read capacity units that your account allows you to * provision across all of your tables in this Region.

*/ inline DescribeLimitsResult& WithAccountMaxReadCapacityUnits(long long value) { SetAccountMaxReadCapacityUnits(value); return *this;} /** *

The maximum total write capacity units that your account allows you to * provision across all of your tables in this Region.

*/ inline long long GetAccountMaxWriteCapacityUnits() const{ return m_accountMaxWriteCapacityUnits; } /** *

The maximum total write capacity units that your account allows you to * provision across all of your tables in this Region.

*/ inline void SetAccountMaxWriteCapacityUnits(long long value) { m_accountMaxWriteCapacityUnits = value; } /** *

The maximum total write capacity units that your account allows you to * provision across all of your tables in this Region.

*/ inline DescribeLimitsResult& WithAccountMaxWriteCapacityUnits(long long value) { SetAccountMaxWriteCapacityUnits(value); return *this;} /** *

The maximum read capacity units that your account allows you to provision for * a new table that you are creating in this Region, including the read capacity * units provisioned for its global secondary indexes (GSIs).

*/ inline long long GetTableMaxReadCapacityUnits() const{ return m_tableMaxReadCapacityUnits; } /** *

The maximum read capacity units that your account allows you to provision for * a new table that you are creating in this Region, including the read capacity * units provisioned for its global secondary indexes (GSIs).

*/ inline void SetTableMaxReadCapacityUnits(long long value) { m_tableMaxReadCapacityUnits = value; } /** *

The maximum read capacity units that your account allows you to provision for * a new table that you are creating in this Region, including the read capacity * units provisioned for its global secondary indexes (GSIs).

*/ inline DescribeLimitsResult& WithTableMaxReadCapacityUnits(long long value) { SetTableMaxReadCapacityUnits(value); return *this;} /** *

The maximum write capacity units that your account allows you to provision * for a new table that you are creating in this Region, including the write * capacity units provisioned for its global secondary indexes (GSIs).

*/ inline long long GetTableMaxWriteCapacityUnits() const{ return m_tableMaxWriteCapacityUnits; } /** *

The maximum write capacity units that your account allows you to provision * for a new table that you are creating in this Region, including the write * capacity units provisioned for its global secondary indexes (GSIs).

*/ inline void SetTableMaxWriteCapacityUnits(long long value) { m_tableMaxWriteCapacityUnits = value; } /** *

The maximum write capacity units that your account allows you to provision * for a new table that you are creating in this Region, including the write * capacity units provisioned for its global secondary indexes (GSIs).

*/ inline DescribeLimitsResult& WithTableMaxWriteCapacityUnits(long long value) { SetTableMaxWriteCapacityUnits(value); return *this;} private: long long m_accountMaxReadCapacityUnits; long long m_accountMaxWriteCapacityUnits; long long m_tableMaxReadCapacityUnits; long long m_tableMaxWriteCapacityUnits; }; } // namespace Model } // namespace DynamoDB } // namespace Aws