AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Capacity.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DynamoDB
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_DYNAMODB_API Capacity();
34 AWS_DYNAMODB_API Capacity(Aws::Utils::Json::JsonView jsonValue);
35 AWS_DYNAMODB_API Capacity& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline double GetReadCapacityUnits() const{ return m_readCapacityUnits; }
44 inline bool ReadCapacityUnitsHasBeenSet() const { return m_readCapacityUnitsHasBeenSet; }
45 inline void SetReadCapacityUnits(double value) { m_readCapacityUnitsHasBeenSet = true; m_readCapacityUnits = value; }
46 inline Capacity& WithReadCapacityUnits(double value) { SetReadCapacityUnits(value); return *this;}
48
50
53 inline double GetWriteCapacityUnits() const{ return m_writeCapacityUnits; }
54 inline bool WriteCapacityUnitsHasBeenSet() const { return m_writeCapacityUnitsHasBeenSet; }
55 inline void SetWriteCapacityUnits(double value) { m_writeCapacityUnitsHasBeenSet = true; m_writeCapacityUnits = value; }
56 inline Capacity& WithWriteCapacityUnits(double value) { SetWriteCapacityUnits(value); return *this;}
58
60
63 inline double GetCapacityUnits() const{ return m_capacityUnits; }
64 inline bool CapacityUnitsHasBeenSet() const { return m_capacityUnitsHasBeenSet; }
65 inline void SetCapacityUnits(double value) { m_capacityUnitsHasBeenSet = true; m_capacityUnits = value; }
66 inline Capacity& WithCapacityUnits(double value) { SetCapacityUnits(value); return *this;}
68 private:
69
70 double m_readCapacityUnits;
71 bool m_readCapacityUnitsHasBeenSet = false;
72
73 double m_writeCapacityUnits;
74 bool m_writeCapacityUnitsHasBeenSet = false;
75
76 double m_capacityUnits;
77 bool m_capacityUnitsHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace DynamoDB
82} // namespace Aws
AWS_DYNAMODB_API Capacity & operator=(Aws::Utils::Json::JsonView jsonValue)
Capacity & WithCapacityUnits(double value)
Definition Capacity.h:66
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DYNAMODB_API Capacity()
double GetWriteCapacityUnits() const
Definition Capacity.h:53
void SetReadCapacityUnits(double value)
Definition Capacity.h:45
void SetWriteCapacityUnits(double value)
Definition Capacity.h:55
bool CapacityUnitsHasBeenSet() const
Definition Capacity.h:64
bool ReadCapacityUnitsHasBeenSet() const
Definition Capacity.h:44
double GetReadCapacityUnits() const
Definition Capacity.h:43
double GetCapacityUnits() const
Definition Capacity.h:63
void SetCapacityUnits(double value)
Definition Capacity.h:65
bool WriteCapacityUnitsHasBeenSet() const
Definition Capacity.h:54
Capacity & WithReadCapacityUnits(double value)
Definition Capacity.h:46
AWS_DYNAMODB_API Capacity(Aws::Utils::Json::JsonView jsonValue)
Capacity & WithWriteCapacityUnits(double value)
Definition Capacity.h:56
Aws::Utils::Json::JsonValue JsonValue