AWS SDK for C++

AWS SDK for C++ Version 1.11.744

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DynamoDB {
20namespace Model {
21
31 public:
32 AWS_DYNAMODB_API TableWarmThroughputDescription() = default;
35 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline long long GetReadUnitsPerSecond() const { return m_readUnitsPerSecond; }
43 inline bool ReadUnitsPerSecondHasBeenSet() const { return m_readUnitsPerSecondHasBeenSet; }
44 inline void SetReadUnitsPerSecond(long long value) {
45 m_readUnitsPerSecondHasBeenSet = true;
46 m_readUnitsPerSecond = value;
47 }
50 return *this;
51 }
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) {
62 m_writeUnitsPerSecondHasBeenSet = true;
63 m_writeUnitsPerSecond = value;
64 }
67 return *this;
68 }
70
72
75 inline TableStatus GetStatus() const { return m_status; }
76 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
77 inline void SetStatus(TableStatus value) {
78 m_statusHasBeenSet = true;
79 m_status = value;
80 }
82 SetStatus(value);
83 return *this;
84 }
86 private:
87 long long m_readUnitsPerSecond{0};
88
89 long long m_writeUnitsPerSecond{0};
90
92 bool m_readUnitsPerSecondHasBeenSet = false;
93 bool m_writeUnitsPerSecondHasBeenSet = false;
94 bool m_statusHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace DynamoDB
99} // 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