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

Replica-specific configuration for the provisioned throughput.

See * Also:

AWS * API Reference

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

The read capacity units for the replica.

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

The read capacity units for the replica.

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

The read capacity units for the replica.

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

The read capacity units for the replica.

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