7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
49 template<
typename LastIncreaseDateTimeT = Aws::Utils::DateTime>
50 void SetLastIncreaseDateTime(LastIncreaseDateTimeT&& value) { m_lastIncreaseDateTimeHasBeenSet =
true; m_lastIncreaseDateTime = std::forward<LastIncreaseDateTimeT>(value); }
51 template<
typename LastIncreaseDateTimeT = Aws::Utils::DateTime>
62 template<
typename LastDecreaseDateTimeT = Aws::Utils::DateTime>
63 void SetLastDecreaseDateTime(LastDecreaseDateTimeT&& value) { m_lastDecreaseDateTimeHasBeenSet =
true; m_lastDecreaseDateTime = std::forward<LastDecreaseDateTimeT>(value); }
64 template<
typename LastDecreaseDateTimeT = Aws::Utils::DateTime>
77 inline void SetNumberOfDecreasesToday(
long long value) { m_numberOfDecreasesTodayHasBeenSet =
true; m_numberOfDecreasesToday = value; }
91 inline void SetReadCapacityUnits(
long long value) { m_readCapacityUnitsHasBeenSet =
true; m_readCapacityUnits = value; }
102 inline void SetWriteCapacityUnits(
long long value) { m_writeCapacityUnitsHasBeenSet =
true; m_writeCapacityUnits = value; }
108 bool m_lastIncreaseDateTimeHasBeenSet =
false;
111 bool m_lastDecreaseDateTimeHasBeenSet =
false;
113 long long m_numberOfDecreasesToday{0};
114 bool m_numberOfDecreasesTodayHasBeenSet =
false;
116 long long m_readCapacityUnits{0};
117 bool m_readCapacityUnitsHasBeenSet =
false;
119 long long m_writeCapacityUnits{0};
120 bool m_writeCapacityUnitsHasBeenSet =
false;
AWS_DYNAMODB_API ProvisionedThroughputDescription(Aws::Utils::Json::JsonView jsonValue)
ProvisionedThroughputDescription & WithReadCapacityUnits(long long value)
const Aws::Utils::DateTime & GetLastIncreaseDateTime() const
const Aws::Utils::DateTime & GetLastDecreaseDateTime() const
AWS_DYNAMODB_API ProvisionedThroughputDescription()=default
void SetLastDecreaseDateTime(LastDecreaseDateTimeT &&value)
void SetReadCapacityUnits(long long value)
long long GetReadCapacityUnits() const
ProvisionedThroughputDescription & WithNumberOfDecreasesToday(long long value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
bool NumberOfDecreasesTodayHasBeenSet() const
void SetNumberOfDecreasesToday(long long value)
bool LastDecreaseDateTimeHasBeenSet() const
bool WriteCapacityUnitsHasBeenSet() const
bool ReadCapacityUnitsHasBeenSet() const
ProvisionedThroughputDescription & WithLastIncreaseDateTime(LastIncreaseDateTimeT &&value)
ProvisionedThroughputDescription & WithLastDecreaseDateTime(LastDecreaseDateTimeT &&value)
void SetLastIncreaseDateTime(LastIncreaseDateTimeT &&value)
AWS_DYNAMODB_API ProvisionedThroughputDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
long long GetNumberOfDecreasesToday() const
bool LastIncreaseDateTimeHasBeenSet() const
long long GetWriteCapacityUnits() const
ProvisionedThroughputDescription & WithWriteCapacityUnits(long long value)
void SetWriteCapacityUnits(long long value)
Aws::Utils::Json::JsonValue JsonValue