AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ProvisionedThroughput.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Kafka {
17namespace Model {
18
29 public:
30 AWS_KAFKA_API ProvisionedThroughput() = default;
33 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline bool GetEnabled() const { return m_enabled; }
42 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
43 inline void SetEnabled(bool value) {
44 m_enabledHasBeenSet = true;
45 m_enabled = value;
46 }
47 inline ProvisionedThroughput& WithEnabled(bool value) {
48 SetEnabled(value);
49 return *this;
50 }
52
54
60 inline int GetVolumeThroughput() const { return m_volumeThroughput; }
61 inline bool VolumeThroughputHasBeenSet() const { return m_volumeThroughputHasBeenSet; }
62 inline void SetVolumeThroughput(int value) {
63 m_volumeThroughputHasBeenSet = true;
64 m_volumeThroughput = value;
65 }
68 return *this;
69 }
71 private:
72 bool m_enabled{false};
73
74 int m_volumeThroughput{0};
75 bool m_enabledHasBeenSet = false;
76 bool m_volumeThroughputHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Kafka
81} // 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)
AWS_KAFKA_API ProvisionedThroughput()=default
ProvisionedThroughput & WithVolumeThroughput(int value)
Aws::Utils::Json::JsonValue JsonValue