AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
WarmThroughput.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 WarmThroughput() = default;
36 AWS_DYNAMODB_API WarmThroughput(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline long long GetReadUnitsPerSecond() const { return m_readUnitsPerSecond; }
47 inline bool ReadUnitsPerSecondHasBeenSet() const { return m_readUnitsPerSecondHasBeenSet; }
48 inline void SetReadUnitsPerSecond(long long value) { m_readUnitsPerSecondHasBeenSet = true; m_readUnitsPerSecond = value; }
49 inline WarmThroughput& WithReadUnitsPerSecond(long long value) { SetReadUnitsPerSecond(value); return *this;}
51
53
57 inline long long GetWriteUnitsPerSecond() const { return m_writeUnitsPerSecond; }
58 inline bool WriteUnitsPerSecondHasBeenSet() const { return m_writeUnitsPerSecondHasBeenSet; }
59 inline void SetWriteUnitsPerSecond(long long value) { m_writeUnitsPerSecondHasBeenSet = true; m_writeUnitsPerSecond = value; }
60 inline WarmThroughput& WithWriteUnitsPerSecond(long long value) { SetWriteUnitsPerSecond(value); return *this;}
62 private:
63
64 long long m_readUnitsPerSecond{0};
65 bool m_readUnitsPerSecondHasBeenSet = false;
66
67 long long m_writeUnitsPerSecond{0};
68 bool m_writeUnitsPerSecondHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace DynamoDB
73} // 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