AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
WarmThroughput.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace DynamoDB {
17namespace Model {
18
28 public:
29 AWS_DYNAMODB_API WarmThroughput() = default;
30 AWS_DYNAMODB_API WarmThroughput(Aws::Utils::Json::JsonView jsonValue);
32 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
39 inline long long GetReadUnitsPerSecond() const { return m_readUnitsPerSecond; }
40 inline bool ReadUnitsPerSecondHasBeenSet() const { return m_readUnitsPerSecondHasBeenSet; }
41 inline void SetReadUnitsPerSecond(long long value) {
42 m_readUnitsPerSecondHasBeenSet = true;
43 m_readUnitsPerSecond = value;
44 }
45 inline WarmThroughput& WithReadUnitsPerSecond(long long value) {
47 return *this;
48 }
50
52
56 inline long long GetWriteUnitsPerSecond() const { return m_writeUnitsPerSecond; }
57 inline bool WriteUnitsPerSecondHasBeenSet() const { return m_writeUnitsPerSecondHasBeenSet; }
58 inline void SetWriteUnitsPerSecond(long long value) {
59 m_writeUnitsPerSecondHasBeenSet = true;
60 m_writeUnitsPerSecond = value;
61 }
62 inline WarmThroughput& WithWriteUnitsPerSecond(long long value) {
64 return *this;
65 }
67 private:
68 long long m_readUnitsPerSecond{0};
69
70 long long m_writeUnitsPerSecond{0};
71 bool m_readUnitsPerSecondHasBeenSet = false;
72 bool m_writeUnitsPerSecondHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace DynamoDB
77} // namespace Aws
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetReadUnitsPerSecond(long long value)
WarmThroughput & WithReadUnitsPerSecond(long long value)
AWS_DYNAMODB_API WarmThroughput(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API WarmThroughput()=default
void SetWriteUnitsPerSecond(long long value)
WarmThroughput & WithWriteUnitsPerSecond(long long value)
AWS_DYNAMODB_API WarmThroughput & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue