AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsDynamoDbTableProvisionedThroughput.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SECURITYHUB_API AwsDynamoDbTableProvisionedThroughput() = default;
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
48 inline const Aws::String& GetLastDecreaseDateTime() const { return m_lastDecreaseDateTime; }
49 inline bool LastDecreaseDateTimeHasBeenSet() const { return m_lastDecreaseDateTimeHasBeenSet; }
50 template<typename LastDecreaseDateTimeT = Aws::String>
51 void SetLastDecreaseDateTime(LastDecreaseDateTimeT&& value) { m_lastDecreaseDateTimeHasBeenSet = true; m_lastDecreaseDateTime = std::forward<LastDecreaseDateTimeT>(value); }
52 template<typename LastDecreaseDateTimeT = Aws::String>
53 AwsDynamoDbTableProvisionedThroughput& WithLastDecreaseDateTime(LastDecreaseDateTimeT&& value) { SetLastDecreaseDateTime(std::forward<LastDecreaseDateTimeT>(value)); return *this;}
55
57
63 inline const Aws::String& GetLastIncreaseDateTime() const { return m_lastIncreaseDateTime; }
64 inline bool LastIncreaseDateTimeHasBeenSet() const { return m_lastIncreaseDateTimeHasBeenSet; }
65 template<typename LastIncreaseDateTimeT = Aws::String>
66 void SetLastIncreaseDateTime(LastIncreaseDateTimeT&& value) { m_lastIncreaseDateTimeHasBeenSet = true; m_lastIncreaseDateTime = std::forward<LastIncreaseDateTimeT>(value); }
67 template<typename LastIncreaseDateTimeT = Aws::String>
68 AwsDynamoDbTableProvisionedThroughput& WithLastIncreaseDateTime(LastIncreaseDateTimeT&& value) { SetLastIncreaseDateTime(std::forward<LastIncreaseDateTimeT>(value)); return *this;}
70
72
76 inline int GetNumberOfDecreasesToday() const { return m_numberOfDecreasesToday; }
77 inline bool NumberOfDecreasesTodayHasBeenSet() const { return m_numberOfDecreasesTodayHasBeenSet; }
78 inline void SetNumberOfDecreasesToday(int value) { m_numberOfDecreasesTodayHasBeenSet = true; m_numberOfDecreasesToday = value; }
81
83
87 inline int GetReadCapacityUnits() const { return m_readCapacityUnits; }
88 inline bool ReadCapacityUnitsHasBeenSet() const { return m_readCapacityUnitsHasBeenSet; }
89 inline void SetReadCapacityUnits(int value) { m_readCapacityUnitsHasBeenSet = true; m_readCapacityUnits = value; }
92
94
98 inline int GetWriteCapacityUnits() const { return m_writeCapacityUnits; }
99 inline bool WriteCapacityUnitsHasBeenSet() const { return m_writeCapacityUnitsHasBeenSet; }
100 inline void SetWriteCapacityUnits(int value) { m_writeCapacityUnitsHasBeenSet = true; m_writeCapacityUnits = value; }
103 private:
104
105 Aws::String m_lastDecreaseDateTime;
106 bool m_lastDecreaseDateTimeHasBeenSet = false;
107
108 Aws::String m_lastIncreaseDateTime;
109 bool m_lastIncreaseDateTimeHasBeenSet = false;
110
111 int m_numberOfDecreasesToday{0};
112 bool m_numberOfDecreasesTodayHasBeenSet = false;
113
114 int m_readCapacityUnits{0};
115 bool m_readCapacityUnitsHasBeenSet = false;
116
117 int m_writeCapacityUnits{0};
118 bool m_writeCapacityUnitsHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace SecurityHub
123} // namespace Aws
AwsDynamoDbTableProvisionedThroughput & WithLastIncreaseDateTime(LastIncreaseDateTimeT &&value)
AwsDynamoDbTableProvisionedThroughput & WithNumberOfDecreasesToday(int value)
AwsDynamoDbTableProvisionedThroughput & WithLastDecreaseDateTime(LastDecreaseDateTimeT &&value)
AWS_SECURITYHUB_API AwsDynamoDbTableProvisionedThroughput(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsDynamoDbTableProvisionedThroughput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue