/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The read/write throughput capacity mode for a table. The options are: For more
* information, see Read/write
* capacity modes in the Amazon Keyspaces Developer Guide.
throughputMode:PAY_PER_REQUEST
and throughputMode:PROVISIONED
.See
* Also:
AWS
* API Reference
The read/write throughput capacity mode for a table. The options are:
* throughputMode:PAY_PER_REQUEST
and
throughputMode:PROVISIONED
- Provisioned capacity mode requires
* readCapacityUnits
and writeCapacityUnits
as input.
*
The default is
* throughput_mode:PAY_PER_REQUEST
.
For more information, see * Read/write * capacity modes in the Amazon Keyspaces Developer Guide.
*/ inline const ThroughputMode& GetThroughputMode() const{ return m_throughputMode; } /** *The read/write throughput capacity mode for a table. The options are:
* throughputMode:PAY_PER_REQUEST
and
throughputMode:PROVISIONED
- Provisioned capacity mode requires
* readCapacityUnits
and writeCapacityUnits
as input.
*
The default is
* throughput_mode:PAY_PER_REQUEST
.
For more information, see * Read/write * capacity modes in the Amazon Keyspaces Developer Guide.
*/ inline bool ThroughputModeHasBeenSet() const { return m_throughputModeHasBeenSet; } /** *The read/write throughput capacity mode for a table. The options are:
* throughputMode:PAY_PER_REQUEST
and
throughputMode:PROVISIONED
- Provisioned capacity mode requires
* readCapacityUnits
and writeCapacityUnits
as input.
*
The default is
* throughput_mode:PAY_PER_REQUEST
.
For more information, see * Read/write * capacity modes in the Amazon Keyspaces Developer Guide.
*/ inline void SetThroughputMode(const ThroughputMode& value) { m_throughputModeHasBeenSet = true; m_throughputMode = value; } /** *The read/write throughput capacity mode for a table. The options are:
* throughputMode:PAY_PER_REQUEST
and
throughputMode:PROVISIONED
- Provisioned capacity mode requires
* readCapacityUnits
and writeCapacityUnits
as input.
*
The default is
* throughput_mode:PAY_PER_REQUEST
.
For more information, see * Read/write * capacity modes in the Amazon Keyspaces Developer Guide.
*/ inline void SetThroughputMode(ThroughputMode&& value) { m_throughputModeHasBeenSet = true; m_throughputMode = std::move(value); } /** *The read/write throughput capacity mode for a table. The options are:
* throughputMode:PAY_PER_REQUEST
and
throughputMode:PROVISIONED
- Provisioned capacity mode requires
* readCapacityUnits
and writeCapacityUnits
as input.
*
The default is
* throughput_mode:PAY_PER_REQUEST
.
For more information, see * Read/write * capacity modes in the Amazon Keyspaces Developer Guide.
*/ inline CapacitySpecificationSummary& WithThroughputMode(const ThroughputMode& value) { SetThroughputMode(value); return *this;} /** *The read/write throughput capacity mode for a table. The options are:
* throughputMode:PAY_PER_REQUEST
and
throughputMode:PROVISIONED
- Provisioned capacity mode requires
* readCapacityUnits
and writeCapacityUnits
as input.
*
The default is
* throughput_mode:PAY_PER_REQUEST
.
For more information, see * Read/write * capacity modes in the Amazon Keyspaces Developer Guide.
*/ inline CapacitySpecificationSummary& WithThroughputMode(ThroughputMode&& value) { SetThroughputMode(std::move(value)); return *this;} /** *The throughput capacity specified for read
operations defined in
* read capacity units
(RCUs)
.
The throughput capacity specified for read
operations defined in
* read capacity units
(RCUs)
.
The throughput capacity specified for read
operations defined in
* read capacity units
(RCUs)
.
The throughput capacity specified for read
operations defined in
* read capacity units
(RCUs)
.
The throughput capacity specified for write
operations defined
* in write capacity units
(WCUs)
.
The throughput capacity specified for write
operations defined
* in write capacity units
(WCUs)
.
The throughput capacity specified for write
operations defined
* in write capacity units
(WCUs)
.
The throughput capacity specified for write
operations defined
* in write capacity units
(WCUs)
.
The timestamp of the last operation that changed the provisioned throughput * capacity of a table.
*/ inline const Aws::Utils::DateTime& GetLastUpdateToPayPerRequestTimestamp() const{ return m_lastUpdateToPayPerRequestTimestamp; } /** *The timestamp of the last operation that changed the provisioned throughput * capacity of a table.
*/ inline bool LastUpdateToPayPerRequestTimestampHasBeenSet() const { return m_lastUpdateToPayPerRequestTimestampHasBeenSet; } /** *The timestamp of the last operation that changed the provisioned throughput * capacity of a table.
*/ inline void SetLastUpdateToPayPerRequestTimestamp(const Aws::Utils::DateTime& value) { m_lastUpdateToPayPerRequestTimestampHasBeenSet = true; m_lastUpdateToPayPerRequestTimestamp = value; } /** *The timestamp of the last operation that changed the provisioned throughput * capacity of a table.
*/ inline void SetLastUpdateToPayPerRequestTimestamp(Aws::Utils::DateTime&& value) { m_lastUpdateToPayPerRequestTimestampHasBeenSet = true; m_lastUpdateToPayPerRequestTimestamp = std::move(value); } /** *The timestamp of the last operation that changed the provisioned throughput * capacity of a table.
*/ inline CapacitySpecificationSummary& WithLastUpdateToPayPerRequestTimestamp(const Aws::Utils::DateTime& value) { SetLastUpdateToPayPerRequestTimestamp(value); return *this;} /** *The timestamp of the last operation that changed the provisioned throughput * capacity of a table.
*/ inline CapacitySpecificationSummary& WithLastUpdateToPayPerRequestTimestamp(Aws::Utils::DateTime&& value) { SetLastUpdateToPayPerRequestTimestamp(std::move(value)); return *this;} private: ThroughputMode m_throughputMode; bool m_throughputModeHasBeenSet = false; long long m_readCapacityUnits; bool m_readCapacityUnitsHasBeenSet = false; long long m_writeCapacityUnits; bool m_writeCapacityUnitsHasBeenSet = false; Aws::Utils::DateTime m_lastUpdateToPayPerRequestTimestamp; bool m_lastUpdateToPayPerRequestTimestampHasBeenSet = false; }; } // namespace Model } // namespace Keyspaces } // namespace Aws