This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/ProvisionedThroughputOverride.h

72 lines
2.1 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/dynamodb/DynamoDB_EXPORTS.h>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace DynamoDB
{
namespace Model
{
/**
* <p>Replica-specific provisioned throughput settings. If not specified, uses the
* source table's provisioned throughput settings.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ProvisionedThroughputOverride">AWS
* API Reference</a></p>
*/
class AWS_DYNAMODB_API ProvisionedThroughputOverride
{
public:
ProvisionedThroughputOverride();
ProvisionedThroughputOverride(Aws::Utils::Json::JsonView jsonValue);
ProvisionedThroughputOverride& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Replica-specific read capacity units. If not specified, uses the source
* table's read capacity settings.</p>
*/
inline long long GetReadCapacityUnits() const{ return m_readCapacityUnits; }
/**
* <p>Replica-specific read capacity units. If not specified, uses the source
* table's read capacity settings.</p>
*/
inline bool ReadCapacityUnitsHasBeenSet() const { return m_readCapacityUnitsHasBeenSet; }
/**
* <p>Replica-specific read capacity units. If not specified, uses the source
* table's read capacity settings.</p>
*/
inline void SetReadCapacityUnits(long long value) { m_readCapacityUnitsHasBeenSet = true; m_readCapacityUnits = value; }
/**
* <p>Replica-specific read capacity units. If not specified, uses the source
* table's read capacity settings.</p>
*/
inline ProvisionedThroughputOverride& WithReadCapacityUnits(long long value) { SetReadCapacityUnits(value); return *this;}
private:
long long m_readCapacityUnits;
bool m_readCapacityUnitsHasBeenSet;
};
} // namespace Model
} // namespace DynamoDB
} // namespace Aws