AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
OnDemandThroughputOverride.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
27 public:
28 AWS_DYNAMODB_API OnDemandThroughputOverride() = default;
31 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
32
34
37 inline long long GetMaxReadRequestUnits() const { return m_maxReadRequestUnits; }
38 inline bool MaxReadRequestUnitsHasBeenSet() const { return m_maxReadRequestUnitsHasBeenSet; }
39 inline void SetMaxReadRequestUnits(long long value) {
40 m_maxReadRequestUnitsHasBeenSet = true;
41 m_maxReadRequestUnits = value;
42 }
45 return *this;
46 }
48 private:
49 long long m_maxReadRequestUnits{0};
50 bool m_maxReadRequestUnitsHasBeenSet = false;
51};
52
53} // namespace Model
54} // namespace DynamoDB
55} // namespace Aws
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DYNAMODB_API OnDemandThroughputOverride & operator=(Aws::Utils::Json::JsonView jsonValue)
OnDemandThroughputOverride & WithMaxReadRequestUnits(long long value)
AWS_DYNAMODB_API OnDemandThroughputOverride()=default
AWS_DYNAMODB_API OnDemandThroughputOverride(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue