AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CapacityLimits.h
1
6#pragma once
7#include <aws/opensearchserverless/OpenSearchServerless_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 OpenSearchServerless
20{
21namespace Model
22{
23
35 {
36 public:
37 AWS_OPENSEARCHSERVERLESS_API CapacityLimits();
38 AWS_OPENSEARCHSERVERLESS_API CapacityLimits(Aws::Utils::Json::JsonView jsonValue);
39 AWS_OPENSEARCHSERVERLESS_API CapacityLimits& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline int GetMaxIndexingCapacityInOCU() const{ return m_maxIndexingCapacityInOCU; }
48 inline bool MaxIndexingCapacityInOCUHasBeenSet() const { return m_maxIndexingCapacityInOCUHasBeenSet; }
49 inline void SetMaxIndexingCapacityInOCU(int value) { m_maxIndexingCapacityInOCUHasBeenSet = true; m_maxIndexingCapacityInOCU = value; }
52
54
57 inline int GetMaxSearchCapacityInOCU() const{ return m_maxSearchCapacityInOCU; }
58 inline bool MaxSearchCapacityInOCUHasBeenSet() const { return m_maxSearchCapacityInOCUHasBeenSet; }
59 inline void SetMaxSearchCapacityInOCU(int value) { m_maxSearchCapacityInOCUHasBeenSet = true; m_maxSearchCapacityInOCU = value; }
60 inline CapacityLimits& WithMaxSearchCapacityInOCU(int value) { SetMaxSearchCapacityInOCU(value); return *this;}
62 private:
63
64 int m_maxIndexingCapacityInOCU;
65 bool m_maxIndexingCapacityInOCUHasBeenSet = false;
66
67 int m_maxSearchCapacityInOCU;
68 bool m_maxSearchCapacityInOCUHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace OpenSearchServerless
73} // namespace Aws
AWS_OPENSEARCHSERVERLESS_API CapacityLimits & operator=(Aws::Utils::Json::JsonView jsonValue)
CapacityLimits & WithMaxSearchCapacityInOCU(int value)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVERLESS_API CapacityLimits(Aws::Utils::Json::JsonView jsonValue)
CapacityLimits & WithMaxIndexingCapacityInOCU(int value)
AWS_OPENSEARCHSERVERLESS_API CapacityLimits()
Aws::Utils::Json::JsonValue JsonValue