AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProvisionedThroughputDescription.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/core/utils/DateTime.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
34 {
35 public:
39 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Utils::DateTime& GetLastIncreaseDateTime() const{ return m_lastIncreaseDateTime; }
48 inline bool LastIncreaseDateTimeHasBeenSet() const { return m_lastIncreaseDateTimeHasBeenSet; }
49 inline void SetLastIncreaseDateTime(const Aws::Utils::DateTime& value) { m_lastIncreaseDateTimeHasBeenSet = true; m_lastIncreaseDateTime = value; }
50 inline void SetLastIncreaseDateTime(Aws::Utils::DateTime&& value) { m_lastIncreaseDateTimeHasBeenSet = true; m_lastIncreaseDateTime = std::move(value); }
54
56
60 inline const Aws::Utils::DateTime& GetLastDecreaseDateTime() const{ return m_lastDecreaseDateTime; }
61 inline bool LastDecreaseDateTimeHasBeenSet() const { return m_lastDecreaseDateTimeHasBeenSet; }
62 inline void SetLastDecreaseDateTime(const Aws::Utils::DateTime& value) { m_lastDecreaseDateTimeHasBeenSet = true; m_lastDecreaseDateTime = value; }
63 inline void SetLastDecreaseDateTime(Aws::Utils::DateTime&& value) { m_lastDecreaseDateTimeHasBeenSet = true; m_lastDecreaseDateTime = std::move(value); }
67
69
75 inline long long GetNumberOfDecreasesToday() const{ return m_numberOfDecreasesToday; }
76 inline bool NumberOfDecreasesTodayHasBeenSet() const { return m_numberOfDecreasesTodayHasBeenSet; }
77 inline void SetNumberOfDecreasesToday(long long value) { m_numberOfDecreasesTodayHasBeenSet = true; m_numberOfDecreasesToday = value; }
80
82
89 inline long long GetReadCapacityUnits() const{ return m_readCapacityUnits; }
90 inline bool ReadCapacityUnitsHasBeenSet() const { return m_readCapacityUnitsHasBeenSet; }
91 inline void SetReadCapacityUnits(long long value) { m_readCapacityUnitsHasBeenSet = true; m_readCapacityUnits = value; }
92 inline ProvisionedThroughputDescription& WithReadCapacityUnits(long long value) { SetReadCapacityUnits(value); return *this;}
94
96
100 inline long long GetWriteCapacityUnits() const{ return m_writeCapacityUnits; }
101 inline bool WriteCapacityUnitsHasBeenSet() const { return m_writeCapacityUnitsHasBeenSet; }
102 inline void SetWriteCapacityUnits(long long value) { m_writeCapacityUnitsHasBeenSet = true; m_writeCapacityUnits = value; }
103 inline ProvisionedThroughputDescription& WithWriteCapacityUnits(long long value) { SetWriteCapacityUnits(value); return *this;}
105 private:
106
107 Aws::Utils::DateTime m_lastIncreaseDateTime;
108 bool m_lastIncreaseDateTimeHasBeenSet = false;
109
110 Aws::Utils::DateTime m_lastDecreaseDateTime;
111 bool m_lastDecreaseDateTimeHasBeenSet = false;
112
113 long long m_numberOfDecreasesToday;
114 bool m_numberOfDecreasesTodayHasBeenSet = false;
115
116 long long m_readCapacityUnits;
117 bool m_readCapacityUnitsHasBeenSet = false;
118
119 long long m_writeCapacityUnits;
120 bool m_writeCapacityUnitsHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace DynamoDB
125} // namespace Aws
AWS_DYNAMODB_API ProvisionedThroughputDescription(Aws::Utils::Json::JsonView jsonValue)
ProvisionedThroughputDescription & WithReadCapacityUnits(long long value)
ProvisionedThroughputDescription & WithLastDecreaseDateTime(const Aws::Utils::DateTime &value)
ProvisionedThroughputDescription & WithNumberOfDecreasesToday(long long value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DYNAMODB_API ProvisionedThroughputDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
ProvisionedThroughputDescription & WithLastIncreaseDateTime(const Aws::Utils::DateTime &value)
ProvisionedThroughputDescription & WithWriteCapacityUnits(long long value)
ProvisionedThroughputDescription & WithLastDecreaseDateTime(Aws::Utils::DateTime &&value)
ProvisionedThroughputDescription & WithLastIncreaseDateTime(Aws::Utils::DateTime &&value)
Aws::Utils::Json::JsonValue JsonValue