AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GlobalSecondaryIndexWarmThroughputDescription.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/dynamodb/model/IndexStatus.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
33 {
34 public:
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; }
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; }
62
64
69 inline IndexStatus GetStatus() const { return m_status; }
70 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
71 inline void SetStatus(IndexStatus value) { m_statusHasBeenSet = true; m_status = value; }
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
GlobalSecondaryIndexWarmThroughputDescription & WithReadUnitsPerSecond(long long value)
AWS_DYNAMODB_API GlobalSecondaryIndexWarmThroughputDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
GlobalSecondaryIndexWarmThroughputDescription & WithStatus(IndexStatus value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
GlobalSecondaryIndexWarmThroughputDescription & WithWriteUnitsPerSecond(long long value)
AWS_DYNAMODB_API GlobalSecondaryIndexWarmThroughputDescription(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue