/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace DynamoDB { namespace Model { /** *

Replica-specific provisioned throughput settings. If not specified, uses the * source table's provisioned throughput settings.

See Also:

AWS * API Reference

*/ class ProvisionedThroughputOverride { public: AWS_DYNAMODB_API ProvisionedThroughputOverride(); AWS_DYNAMODB_API ProvisionedThroughputOverride(Aws::Utils::Json::JsonView jsonValue); AWS_DYNAMODB_API ProvisionedThroughputOverride& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Replica-specific read capacity units. If not specified, uses the source * table's read capacity settings.

*/ inline long long GetReadCapacityUnits() const{ return m_readCapacityUnits; } /** *

Replica-specific read capacity units. If not specified, uses the source * table's read capacity settings.

*/ inline bool ReadCapacityUnitsHasBeenSet() const { return m_readCapacityUnitsHasBeenSet; } /** *

Replica-specific read capacity units. If not specified, uses the source * table's read capacity settings.

*/ inline void SetReadCapacityUnits(long long value) { m_readCapacityUnitsHasBeenSet = true; m_readCapacityUnits = value; } /** *

Replica-specific read capacity units. If not specified, uses the source * table's read capacity settings.

*/ inline ProvisionedThroughputOverride& WithReadCapacityUnits(long long value) { SetReadCapacityUnits(value); return *this;} private: long long m_readCapacityUnits; bool m_readCapacityUnitsHasBeenSet = false; }; } // namespace Model } // namespace DynamoDB } // namespace Aws