7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dynamodb/model/Capacity.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
58 inline void SetTableName(
const char* value) { m_tableNameHasBeenSet =
true; m_tableName.assign(value); }
70 inline void SetCapacityUnits(
double value) { m_capacityUnitsHasBeenSet =
true; m_capacityUnits = value; }
80 inline void SetReadCapacityUnits(
double value) { m_readCapacityUnitsHasBeenSet =
true; m_readCapacityUnits = value; }
90 inline void SetWriteCapacityUnits(
double value) { m_writeCapacityUnitsHasBeenSet =
true; m_writeCapacityUnits = value; }
101 inline void SetTable(
Capacity&& value) { m_tableHasBeenSet =
true; m_table = std::move(value); }
146 bool m_tableNameHasBeenSet =
false;
148 double m_capacityUnits;
149 bool m_capacityUnitsHasBeenSet =
false;
151 double m_readCapacityUnits;
152 bool m_readCapacityUnitsHasBeenSet =
false;
154 double m_writeCapacityUnits;
155 bool m_writeCapacityUnitsHasBeenSet =
false;
158 bool m_tableHasBeenSet =
false;
161 bool m_localSecondaryIndexesHasBeenSet =
false;
164 bool m_globalSecondaryIndexesHasBeenSet =
false;
void SetCapacityUnits(double value)
bool LocalSecondaryIndexesHasBeenSet() const
ConsumedCapacity & AddLocalSecondaryIndexes(const char *key, Capacity &&value)
ConsumedCapacity & AddGlobalSecondaryIndexes(const char *key, Capacity &&value)
const Aws::String & GetTableName() const
void SetWriteCapacityUnits(double value)
void SetTable(const Capacity &value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTableName(const Aws::String &value)
ConsumedCapacity & AddGlobalSecondaryIndexes(const char *key, const Capacity &value)
ConsumedCapacity & WithTableName(Aws::String &&value)
void SetReadCapacityUnits(double value)
ConsumedCapacity & WithTable(const Capacity &value)
bool TableNameHasBeenSet() const
bool TableHasBeenSet() const
const Capacity & GetTable() const
ConsumedCapacity & WithGlobalSecondaryIndexes(const Aws::Map< Aws::String, Capacity > &value)
AWS_DYNAMODB_API ConsumedCapacity & operator=(Aws::Utils::Json::JsonView jsonValue)
bool WriteCapacityUnitsHasBeenSet() const
AWS_DYNAMODB_API ConsumedCapacity(Aws::Utils::Json::JsonView jsonValue)
void SetTableName(const char *value)
ConsumedCapacity & WithTableName(const Aws::String &value)
ConsumedCapacity & AddGlobalSecondaryIndexes(const Aws::String &key, Capacity &&value)
void SetLocalSecondaryIndexes(Aws::Map< Aws::String, Capacity > &&value)
ConsumedCapacity & AddLocalSecondaryIndexes(Aws::String &&key, const Capacity &value)
ConsumedCapacity & AddLocalSecondaryIndexes(const Aws::String &key, Capacity &&value)
void SetGlobalSecondaryIndexes(const Aws::Map< Aws::String, Capacity > &value)
ConsumedCapacity & AddGlobalSecondaryIndexes(const Aws::String &key, const Capacity &value)
ConsumedCapacity & WithReadCapacityUnits(double value)
ConsumedCapacity & WithTable(Capacity &&value)
ConsumedCapacity & WithCapacityUnits(double value)
ConsumedCapacity & WithGlobalSecondaryIndexes(Aws::Map< Aws::String, Capacity > &&value)
double GetCapacityUnits() const
ConsumedCapacity & AddLocalSecondaryIndexes(const char *key, const Capacity &value)
ConsumedCapacity & AddLocalSecondaryIndexes(Aws::String &&key, Capacity &&value)
void SetGlobalSecondaryIndexes(Aws::Map< Aws::String, Capacity > &&value)
ConsumedCapacity & AddGlobalSecondaryIndexes(Aws::String &&key, Capacity &&value)
bool CapacityUnitsHasBeenSet() const
void SetTable(Capacity &&value)
ConsumedCapacity & WithLocalSecondaryIndexes(Aws::Map< Aws::String, Capacity > &&value)
double GetReadCapacityUnits() const
ConsumedCapacity & AddGlobalSecondaryIndexes(Aws::String &&key, const Capacity &value)
double GetWriteCapacityUnits() const
const Aws::Map< Aws::String, Capacity > & GetGlobalSecondaryIndexes() const
ConsumedCapacity & AddLocalSecondaryIndexes(const Aws::String &key, const Capacity &value)
bool ReadCapacityUnitsHasBeenSet() const
ConsumedCapacity & WithTableName(const char *value)
void SetTableName(Aws::String &&value)
void SetLocalSecondaryIndexes(const Aws::Map< Aws::String, Capacity > &value)
ConsumedCapacity & WithWriteCapacityUnits(double value)
bool GlobalSecondaryIndexesHasBeenSet() const
const Aws::Map< Aws::String, Capacity > & GetLocalSecondaryIndexes() const
ConsumedCapacity & WithLocalSecondaryIndexes(const Aws::Map< Aws::String, Capacity > &value)
AWS_DYNAMODB_API ConsumedCapacity()
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue