AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CapacitySpecificationSummary.h
1
6#pragma once
7#include <aws/keyspaces/Keyspaces_EXPORTS.h>
8#include <aws/keyspaces/model/ThroughputMode.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Keyspaces
23{
24namespace Model
25{
26
39 {
40 public:
41 AWS_KEYSPACES_API CapacitySpecificationSummary();
44 AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
59 inline const ThroughputMode& GetThroughputMode() const{ return m_throughputMode; }
60 inline bool ThroughputModeHasBeenSet() const { return m_throughputModeHasBeenSet; }
61 inline void SetThroughputMode(const ThroughputMode& value) { m_throughputModeHasBeenSet = true; m_throughputMode = value; }
62 inline void SetThroughputMode(ThroughputMode&& value) { m_throughputModeHasBeenSet = true; m_throughputMode = std::move(value); }
64 inline CapacitySpecificationSummary& WithThroughputMode(ThroughputMode&& value) { SetThroughputMode(std::move(value)); return *this;}
66
68
72 inline long long GetReadCapacityUnits() const{ return m_readCapacityUnits; }
73 inline bool ReadCapacityUnitsHasBeenSet() const { return m_readCapacityUnitsHasBeenSet; }
74 inline void SetReadCapacityUnits(long long value) { m_readCapacityUnitsHasBeenSet = true; m_readCapacityUnits = value; }
75 inline CapacitySpecificationSummary& WithReadCapacityUnits(long long value) { SetReadCapacityUnits(value); return *this;}
77
79
83 inline long long GetWriteCapacityUnits() const{ return m_writeCapacityUnits; }
84 inline bool WriteCapacityUnitsHasBeenSet() const { return m_writeCapacityUnitsHasBeenSet; }
85 inline void SetWriteCapacityUnits(long long value) { m_writeCapacityUnitsHasBeenSet = true; m_writeCapacityUnits = value; }
86 inline CapacitySpecificationSummary& WithWriteCapacityUnits(long long value) { SetWriteCapacityUnits(value); return *this;}
88
90
94 inline const Aws::Utils::DateTime& GetLastUpdateToPayPerRequestTimestamp() const{ return m_lastUpdateToPayPerRequestTimestamp; }
95 inline bool LastUpdateToPayPerRequestTimestampHasBeenSet() const { return m_lastUpdateToPayPerRequestTimestampHasBeenSet; }
96 inline void SetLastUpdateToPayPerRequestTimestamp(const Aws::Utils::DateTime& value) { m_lastUpdateToPayPerRequestTimestampHasBeenSet = true; m_lastUpdateToPayPerRequestTimestamp = value; }
97 inline void SetLastUpdateToPayPerRequestTimestamp(Aws::Utils::DateTime&& value) { m_lastUpdateToPayPerRequestTimestampHasBeenSet = true; m_lastUpdateToPayPerRequestTimestamp = std::move(value); }
101 private:
102
103 ThroughputMode m_throughputMode;
104 bool m_throughputModeHasBeenSet = false;
105
106 long long m_readCapacityUnits;
107 bool m_readCapacityUnitsHasBeenSet = false;
108
109 long long m_writeCapacityUnits;
110 bool m_writeCapacityUnitsHasBeenSet = false;
111
112 Aws::Utils::DateTime m_lastUpdateToPayPerRequestTimestamp;
113 bool m_lastUpdateToPayPerRequestTimestampHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace Keyspaces
118} // namespace Aws
CapacitySpecificationSummary & WithThroughputMode(const ThroughputMode &value)
CapacitySpecificationSummary & WithThroughputMode(ThroughputMode &&value)
const Aws::Utils::DateTime & GetLastUpdateToPayPerRequestTimestamp() const
CapacitySpecificationSummary & WithWriteCapacityUnits(long long value)
CapacitySpecificationSummary & WithReadCapacityUnits(long long value)
void SetLastUpdateToPayPerRequestTimestamp(const Aws::Utils::DateTime &value)
CapacitySpecificationSummary & WithLastUpdateToPayPerRequestTimestamp(Aws::Utils::DateTime &&value)
AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastUpdateToPayPerRequestTimestamp(Aws::Utils::DateTime &&value)
AWS_KEYSPACES_API CapacitySpecificationSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_KEYSPACES_API CapacitySpecificationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
CapacitySpecificationSummary & WithLastUpdateToPayPerRequestTimestamp(const Aws::Utils::DateTime &value)
Aws::Utils::Json::JsonValue JsonValue