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

Represents the output of a DescribeLimits * operation.

See Also:

AWS * API Reference

*/ class DescribeLimitsResult { public: AWS_DYNAMODB_API DescribeLimitsResult(); AWS_DYNAMODB_API DescribeLimitsResult(const Aws::AmazonWebServiceResult& result); AWS_DYNAMODB_API 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;} 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: long long m_accountMaxReadCapacityUnits; long long m_accountMaxWriteCapacityUnits; long long m_tableMaxReadCapacityUnits; long long m_tableMaxWriteCapacityUnits; Aws::String m_requestId; }; } // namespace Model } // namespace DynamoDB } // namespace Aws