AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TableWarmThroughputDescription.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/dynamodb/model/TableStatus.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DynamoDB
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_DYNAMODB_API TableWarmThroughputDescription() = default;
40 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline long long GetReadUnitsPerSecond() const { return m_readUnitsPerSecond; }
49 inline bool ReadUnitsPerSecondHasBeenSet() const { return m_readUnitsPerSecondHasBeenSet; }
50 inline void SetReadUnitsPerSecond(long long value) { m_readUnitsPerSecondHasBeenSet = true; m_readUnitsPerSecond = value; }
51 inline TableWarmThroughputDescription& WithReadUnitsPerSecond(long long value) { SetReadUnitsPerSecond(value); return *this;}
53
55
59 inline long long GetWriteUnitsPerSecond() const { return m_writeUnitsPerSecond; }
60 inline bool WriteUnitsPerSecondHasBeenSet() const { return m_writeUnitsPerSecondHasBeenSet; }
61 inline void SetWriteUnitsPerSecond(long long value) { m_writeUnitsPerSecondHasBeenSet = true; m_writeUnitsPerSecond = value; }
62 inline TableWarmThroughputDescription& WithWriteUnitsPerSecond(long long value) { SetWriteUnitsPerSecond(value); return *this;}
64
66
69 inline TableStatus GetStatus() const { return m_status; }
70 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
71 inline void SetStatus(TableStatus value) { m_statusHasBeenSet = true; m_status = value; }
72 inline TableWarmThroughputDescription& WithStatus(TableStatus value) { SetStatus(value); return *this;}
74 private:
75
76 long long m_readUnitsPerSecond{0};
77 bool m_readUnitsPerSecondHasBeenSet = false;
78
79 long long m_writeUnitsPerSecond{0};
80 bool m_writeUnitsPerSecondHasBeenSet = false;
81
83 bool m_statusHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace DynamoDB
88} // namespace Aws
TableWarmThroughputDescription & WithStatus(TableStatus value)
TableWarmThroughputDescription & WithReadUnitsPerSecond(long long value)
AWS_DYNAMODB_API TableWarmThroughputDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API TableWarmThroughputDescription()=default
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
TableWarmThroughputDescription & WithWriteUnitsPerSecond(long long value)
AWS_DYNAMODB_API TableWarmThroughputDescription(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue