AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProvisionedThroughput.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DynamoDB
20{
21namespace Model
22{
23
36 {
37 public:
38 AWS_DYNAMODB_API ProvisionedThroughput();
41 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
54 inline long long GetReadCapacityUnits() const{ return m_readCapacityUnits; }
55 inline bool ReadCapacityUnitsHasBeenSet() const { return m_readCapacityUnitsHasBeenSet; }
56 inline void SetReadCapacityUnits(long long value) { m_readCapacityUnitsHasBeenSet = true; m_readCapacityUnits = value; }
57 inline ProvisionedThroughput& WithReadCapacityUnits(long long value) { SetReadCapacityUnits(value); return *this;}
59
61
69 inline long long GetWriteCapacityUnits() const{ return m_writeCapacityUnits; }
70 inline bool WriteCapacityUnitsHasBeenSet() const { return m_writeCapacityUnitsHasBeenSet; }
71 inline void SetWriteCapacityUnits(long long value) { m_writeCapacityUnitsHasBeenSet = true; m_writeCapacityUnits = value; }
72 inline ProvisionedThroughput& WithWriteCapacityUnits(long long value) { SetWriteCapacityUnits(value); return *this;}
74 private:
75
76 long long m_readCapacityUnits;
77 bool m_readCapacityUnitsHasBeenSet = false;
78
79 long long m_writeCapacityUnits;
80 bool m_writeCapacityUnitsHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace DynamoDB
85} // namespace Aws
AWS_DYNAMODB_API ProvisionedThroughput(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DYNAMODB_API ProvisionedThroughput & operator=(Aws::Utils::Json::JsonView jsonValue)
ProvisionedThroughput & WithReadCapacityUnits(long long value)
ProvisionedThroughput & WithWriteCapacityUnits(long long value)
Aws::Utils::Json::JsonValue JsonValue