AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OnDemandThroughput.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
33 {
34 public:
35 AWS_DYNAMODB_API OnDemandThroughput();
38 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
49 inline long long GetMaxReadRequestUnits() const{ return m_maxReadRequestUnits; }
50 inline bool MaxReadRequestUnitsHasBeenSet() const { return m_maxReadRequestUnitsHasBeenSet; }
51 inline void SetMaxReadRequestUnits(long long value) { m_maxReadRequestUnitsHasBeenSet = true; m_maxReadRequestUnits = value; }
52 inline OnDemandThroughput& WithMaxReadRequestUnits(long long value) { SetMaxReadRequestUnits(value); return *this;}
54
56
63 inline long long GetMaxWriteRequestUnits() const{ return m_maxWriteRequestUnits; }
64 inline bool MaxWriteRequestUnitsHasBeenSet() const { return m_maxWriteRequestUnitsHasBeenSet; }
65 inline void SetMaxWriteRequestUnits(long long value) { m_maxWriteRequestUnitsHasBeenSet = true; m_maxWriteRequestUnits = value; }
66 inline OnDemandThroughput& WithMaxWriteRequestUnits(long long value) { SetMaxWriteRequestUnits(value); return *this;}
68 private:
69
70 long long m_maxReadRequestUnits;
71 bool m_maxReadRequestUnitsHasBeenSet = false;
72
73 long long m_maxWriteRequestUnits;
74 bool m_maxWriteRequestUnitsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace DynamoDB
79} // namespace Aws
AWS_DYNAMODB_API OnDemandThroughput(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API OnDemandThroughput & operator=(Aws::Utils::Json::JsonView jsonValue)
OnDemandThroughput & WithMaxWriteRequestUnits(long long value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
OnDemandThroughput & WithMaxReadRequestUnits(long long value)
Aws::Utils::Json::JsonValue JsonValue