AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BrokerEBSVolumeInfo.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kafka/model/ProvisionedThroughput.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Kafka
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_KAFKA_API BrokerEBSVolumeInfo() = default;
42 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
51 inline const Aws::String& GetKafkaBrokerNodeId() const { return m_kafkaBrokerNodeId; }
52 inline bool KafkaBrokerNodeIdHasBeenSet() const { return m_kafkaBrokerNodeIdHasBeenSet; }
53 template<typename KafkaBrokerNodeIdT = Aws::String>
54 void SetKafkaBrokerNodeId(KafkaBrokerNodeIdT&& value) { m_kafkaBrokerNodeIdHasBeenSet = true; m_kafkaBrokerNodeId = std::forward<KafkaBrokerNodeIdT>(value); }
55 template<typename KafkaBrokerNodeIdT = Aws::String>
56 BrokerEBSVolumeInfo& WithKafkaBrokerNodeId(KafkaBrokerNodeIdT&& value) { SetKafkaBrokerNodeId(std::forward<KafkaBrokerNodeIdT>(value)); return *this;}
58
60
65 inline const ProvisionedThroughput& GetProvisionedThroughput() const { return m_provisionedThroughput; }
66 inline bool ProvisionedThroughputHasBeenSet() const { return m_provisionedThroughputHasBeenSet; }
67 template<typename ProvisionedThroughputT = ProvisionedThroughput>
68 void SetProvisionedThroughput(ProvisionedThroughputT&& value) { m_provisionedThroughputHasBeenSet = true; m_provisionedThroughput = std::forward<ProvisionedThroughputT>(value); }
69 template<typename ProvisionedThroughputT = ProvisionedThroughput>
70 BrokerEBSVolumeInfo& WithProvisionedThroughput(ProvisionedThroughputT&& value) { SetProvisionedThroughput(std::forward<ProvisionedThroughputT>(value)); return *this;}
72
74
79 inline int GetVolumeSizeGB() const { return m_volumeSizeGB; }
80 inline bool VolumeSizeGBHasBeenSet() const { return m_volumeSizeGBHasBeenSet; }
81 inline void SetVolumeSizeGB(int value) { m_volumeSizeGBHasBeenSet = true; m_volumeSizeGB = value; }
82 inline BrokerEBSVolumeInfo& WithVolumeSizeGB(int value) { SetVolumeSizeGB(value); return *this;}
84 private:
85
86 Aws::String m_kafkaBrokerNodeId;
87 bool m_kafkaBrokerNodeIdHasBeenSet = false;
88
89 ProvisionedThroughput m_provisionedThroughput;
90 bool m_provisionedThroughputHasBeenSet = false;
91
92 int m_volumeSizeGB{0};
93 bool m_volumeSizeGBHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Kafka
98} // namespace Aws
AWS_KAFKA_API BrokerEBSVolumeInfo()=default
BrokerEBSVolumeInfo & WithProvisionedThroughput(ProvisionedThroughputT &&value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
BrokerEBSVolumeInfo & WithVolumeSizeGB(int value)
const ProvisionedThroughput & GetProvisionedThroughput() const
void SetKafkaBrokerNodeId(KafkaBrokerNodeIdT &&value)
void SetProvisionedThroughput(ProvisionedThroughputT &&value)
BrokerEBSVolumeInfo & WithKafkaBrokerNodeId(KafkaBrokerNodeIdT &&value)
const Aws::String & GetKafkaBrokerNodeId() const
AWS_KAFKA_API BrokerEBSVolumeInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API BrokerEBSVolumeInfo(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue