AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProvisionedThroughput.h
1
6#pragma once
7#include <aws/kafka/Kafka_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 Kafka
20{
21namespace Model
22{
23
34 {
35 public:
36 AWS_KAFKA_API ProvisionedThroughput();
39 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline bool GetEnabled() const{ return m_enabled; }
49 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
50 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
51 inline ProvisionedThroughput& WithEnabled(bool value) { SetEnabled(value); return *this;}
53
55
61 inline int GetVolumeThroughput() const{ return m_volumeThroughput; }
62 inline bool VolumeThroughputHasBeenSet() const { return m_volumeThroughputHasBeenSet; }
63 inline void SetVolumeThroughput(int value) { m_volumeThroughputHasBeenSet = true; m_volumeThroughput = value; }
64 inline ProvisionedThroughput& WithVolumeThroughput(int value) { SetVolumeThroughput(value); return *this;}
66 private:
67
68 bool m_enabled;
69 bool m_enabledHasBeenSet = false;
70
71 int m_volumeThroughput;
72 bool m_volumeThroughputHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Kafka
77} // namespace Aws
AWS_KAFKA_API ProvisionedThroughput(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API ProvisionedThroughput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
ProvisionedThroughput & WithEnabled(bool value)
ProvisionedThroughput & WithVolumeThroughput(int value)
Aws::Utils::Json::JsonValue JsonValue