AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetKafkaBrokerNodeId(const Aws::String& value) { m_kafkaBrokerNodeIdHasBeenSet = true; m_kafkaBrokerNodeId = value; }
54 inline void SetKafkaBrokerNodeId(Aws::String&& value) { m_kafkaBrokerNodeIdHasBeenSet = true; m_kafkaBrokerNodeId = std::move(value); }
55 inline void SetKafkaBrokerNodeId(const char* value) { m_kafkaBrokerNodeIdHasBeenSet = true; m_kafkaBrokerNodeId.assign(value); }
56 inline BrokerEBSVolumeInfo& WithKafkaBrokerNodeId(const Aws::String& value) { SetKafkaBrokerNodeId(value); return *this;}
57 inline BrokerEBSVolumeInfo& WithKafkaBrokerNodeId(Aws::String&& value) { SetKafkaBrokerNodeId(std::move(value)); return *this;}
58 inline BrokerEBSVolumeInfo& WithKafkaBrokerNodeId(const char* value) { SetKafkaBrokerNodeId(value); return *this;}
60
62
67 inline const ProvisionedThroughput& GetProvisionedThroughput() const{ return m_provisionedThroughput; }
68 inline bool ProvisionedThroughputHasBeenSet() const { return m_provisionedThroughputHasBeenSet; }
69 inline void SetProvisionedThroughput(const ProvisionedThroughput& value) { m_provisionedThroughputHasBeenSet = true; m_provisionedThroughput = value; }
70 inline void SetProvisionedThroughput(ProvisionedThroughput&& value) { m_provisionedThroughputHasBeenSet = true; m_provisionedThroughput = std::move(value); }
74
76
81 inline int GetVolumeSizeGB() const{ return m_volumeSizeGB; }
82 inline bool VolumeSizeGBHasBeenSet() const { return m_volumeSizeGBHasBeenSet; }
83 inline void SetVolumeSizeGB(int value) { m_volumeSizeGBHasBeenSet = true; m_volumeSizeGB = value; }
84 inline BrokerEBSVolumeInfo& WithVolumeSizeGB(int value) { SetVolumeSizeGB(value); return *this;}
86 private:
87
88 Aws::String m_kafkaBrokerNodeId;
89 bool m_kafkaBrokerNodeIdHasBeenSet = false;
90
91 ProvisionedThroughput m_provisionedThroughput;
92 bool m_provisionedThroughputHasBeenSet = false;
93
94 int m_volumeSizeGB;
95 bool m_volumeSizeGBHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace Kafka
100} // namespace Aws
void SetProvisionedThroughput(const ProvisionedThroughput &value)
BrokerEBSVolumeInfo & WithProvisionedThroughput(ProvisionedThroughput &&value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
BrokerEBSVolumeInfo & WithVolumeSizeGB(int value)
const ProvisionedThroughput & GetProvisionedThroughput() const
BrokerEBSVolumeInfo & WithKafkaBrokerNodeId(Aws::String &&value)
void SetProvisionedThroughput(ProvisionedThroughput &&value)
BrokerEBSVolumeInfo & WithKafkaBrokerNodeId(const Aws::String &value)
BrokerEBSVolumeInfo & WithKafkaBrokerNodeId(const char *value)
const Aws::String & GetKafkaBrokerNodeId() const
void SetKafkaBrokerNodeId(Aws::String &&value)
AWS_KAFKA_API BrokerEBSVolumeInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API BrokerEBSVolumeInfo(Aws::Utils::Json::JsonView jsonValue)
void SetKafkaBrokerNodeId(const Aws::String &value)
BrokerEBSVolumeInfo & WithProvisionedThroughput(const ProvisionedThroughput &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue