AWS SDK for C++  1.9.104
AWS SDK for C++
BrokerEBSVolumeInfo.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Kafka
22 {
23 namespace Model
24 {
25 
36  {
37  public:
42 
43 
49  inline const Aws::String& GetKafkaBrokerNodeId() const{ return m_kafkaBrokerNodeId; }
50 
56  inline bool KafkaBrokerNodeIdHasBeenSet() const { return m_kafkaBrokerNodeIdHasBeenSet; }
57 
63  inline void SetKafkaBrokerNodeId(const Aws::String& value) { m_kafkaBrokerNodeIdHasBeenSet = true; m_kafkaBrokerNodeId = value; }
64 
70  inline void SetKafkaBrokerNodeId(Aws::String&& value) { m_kafkaBrokerNodeIdHasBeenSet = true; m_kafkaBrokerNodeId = std::move(value); }
71 
77  inline void SetKafkaBrokerNodeId(const char* value) { m_kafkaBrokerNodeIdHasBeenSet = true; m_kafkaBrokerNodeId.assign(value); }
78 
84  inline BrokerEBSVolumeInfo& WithKafkaBrokerNodeId(const Aws::String& value) { SetKafkaBrokerNodeId(value); return *this;}
85 
91  inline BrokerEBSVolumeInfo& WithKafkaBrokerNodeId(Aws::String&& value) { SetKafkaBrokerNodeId(std::move(value)); return *this;}
92 
98  inline BrokerEBSVolumeInfo& WithKafkaBrokerNodeId(const char* value) { SetKafkaBrokerNodeId(value); return *this;}
99 
100 
106  inline int GetVolumeSizeGB() const{ return m_volumeSizeGB; }
107 
113  inline bool VolumeSizeGBHasBeenSet() const { return m_volumeSizeGBHasBeenSet; }
114 
120  inline void SetVolumeSizeGB(int value) { m_volumeSizeGBHasBeenSet = true; m_volumeSizeGB = value; }
121 
127  inline BrokerEBSVolumeInfo& WithVolumeSizeGB(int value) { SetVolumeSizeGB(value); return *this;}
128 
129  private:
130 
131  Aws::String m_kafkaBrokerNodeId;
132  bool m_kafkaBrokerNodeIdHasBeenSet;
133 
134  int m_volumeSizeGB;
135  bool m_volumeSizeGBHasBeenSet;
136  };
137 
138 } // namespace Model
139 } // namespace Kafka
140 } // namespace Aws
Aws::Kafka::Model::BrokerEBSVolumeInfo::SetVolumeSizeGB
void SetVolumeSizeGB(int value)
Definition: BrokerEBSVolumeInfo.h:120
Aws::Kafka::Model::BrokerEBSVolumeInfo
Definition: BrokerEBSVolumeInfo.h:36
Aws::Kafka::Model::BrokerEBSVolumeInfo::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Kafka::Model::BrokerEBSVolumeInfo::SetKafkaBrokerNodeId
void SetKafkaBrokerNodeId(Aws::String &&value)
Definition: BrokerEBSVolumeInfo.h:70
Aws::Kafka::Model::BrokerEBSVolumeInfo::WithKafkaBrokerNodeId
BrokerEBSVolumeInfo & WithKafkaBrokerNodeId(const Aws::String &value)
Definition: BrokerEBSVolumeInfo.h:84
Aws::Kafka::Model::BrokerEBSVolumeInfo::GetKafkaBrokerNodeId
const Aws::String & GetKafkaBrokerNodeId() const
Definition: BrokerEBSVolumeInfo.h:49
Aws::Kafka::Model::BrokerEBSVolumeInfo::KafkaBrokerNodeIdHasBeenSet
bool KafkaBrokerNodeIdHasBeenSet() const
Definition: BrokerEBSVolumeInfo.h:56
Aws::Kafka::Model::BrokerEBSVolumeInfo::WithKafkaBrokerNodeId
BrokerEBSVolumeInfo & WithKafkaBrokerNodeId(const char *value)
Definition: BrokerEBSVolumeInfo.h:98
Aws::Kafka::Model::BrokerEBSVolumeInfo::VolumeSizeGBHasBeenSet
bool VolumeSizeGBHasBeenSet() const
Definition: BrokerEBSVolumeInfo.h:113
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::BrokerEBSVolumeInfo::operator=
BrokerEBSVolumeInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::BrokerEBSVolumeInfo::SetKafkaBrokerNodeId
void SetKafkaBrokerNodeId(const char *value)
Definition: BrokerEBSVolumeInfo.h:77
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Kafka::Model::BrokerEBSVolumeInfo::WithKafkaBrokerNodeId
BrokerEBSVolumeInfo & WithKafkaBrokerNodeId(Aws::String &&value)
Definition: BrokerEBSVolumeInfo.h:91
Kafka_EXPORTS.h
Aws::Kafka::Model::BrokerEBSVolumeInfo::BrokerEBSVolumeInfo
BrokerEBSVolumeInfo()
Aws::Kafka::Model::BrokerEBSVolumeInfo::SetKafkaBrokerNodeId
void SetKafkaBrokerNodeId(const Aws::String &value)
Definition: BrokerEBSVolumeInfo.h:63
Aws::Kafka::Model::BrokerEBSVolumeInfo::BrokerEBSVolumeInfo
BrokerEBSVolumeInfo(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::BrokerEBSVolumeInfo::GetVolumeSizeGB
int GetVolumeSizeGB() const
Definition: BrokerEBSVolumeInfo.h:106
Aws::Kafka::Model::BrokerEBSVolumeInfo::WithVolumeSizeGB
BrokerEBSVolumeInfo & WithVolumeSizeGB(int value)
Definition: BrokerEBSVolumeInfo.h:127