AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProvisionedCapacity.h
1
6#pragma once
7#include <aws/kafkaconnect/KafkaConnect_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 KafkaConnect
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_KAFKACONNECT_API ProvisionedCapacity();
34 AWS_KAFKACONNECT_API ProvisionedCapacity(Aws::Utils::Json::JsonView jsonValue);
36 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
44 inline int GetMcuCount() const{ return m_mcuCount; }
45 inline bool McuCountHasBeenSet() const { return m_mcuCountHasBeenSet; }
46 inline void SetMcuCount(int value) { m_mcuCountHasBeenSet = true; m_mcuCount = value; }
47 inline ProvisionedCapacity& WithMcuCount(int value) { SetMcuCount(value); return *this;}
49
51
54 inline int GetWorkerCount() const{ return m_workerCount; }
55 inline bool WorkerCountHasBeenSet() const { return m_workerCountHasBeenSet; }
56 inline void SetWorkerCount(int value) { m_workerCountHasBeenSet = true; m_workerCount = value; }
57 inline ProvisionedCapacity& WithWorkerCount(int value) { SetWorkerCount(value); return *this;}
59 private:
60
61 int m_mcuCount;
62 bool m_mcuCountHasBeenSet = false;
63
64 int m_workerCount;
65 bool m_workerCountHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace KafkaConnect
70} // namespace Aws
AWS_KAFKACONNECT_API ProvisionedCapacity & operator=(Aws::Utils::Json::JsonView jsonValue)
ProvisionedCapacity & WithMcuCount(int value)
AWS_KAFKACONNECT_API ProvisionedCapacity(Aws::Utils::Json::JsonView jsonValue)
ProvisionedCapacity & WithWorkerCount(int value)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue