AWS SDK for C++  1.9.106
AWS SDK for C++
BrokerSoftwareInfo.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 
35  {
36  public:
41 
42 
49  inline const Aws::String& GetConfigurationArn() const{ return m_configurationArn; }
50 
57  inline bool ConfigurationArnHasBeenSet() const { return m_configurationArnHasBeenSet; }
58 
65  inline void SetConfigurationArn(const Aws::String& value) { m_configurationArnHasBeenSet = true; m_configurationArn = value; }
66 
73  inline void SetConfigurationArn(Aws::String&& value) { m_configurationArnHasBeenSet = true; m_configurationArn = std::move(value); }
74 
81  inline void SetConfigurationArn(const char* value) { m_configurationArnHasBeenSet = true; m_configurationArn.assign(value); }
82 
89  inline BrokerSoftwareInfo& WithConfigurationArn(const Aws::String& value) { SetConfigurationArn(value); return *this;}
90 
97  inline BrokerSoftwareInfo& WithConfigurationArn(Aws::String&& value) { SetConfigurationArn(std::move(value)); return *this;}
98 
105  inline BrokerSoftwareInfo& WithConfigurationArn(const char* value) { SetConfigurationArn(value); return *this;}
106 
107 
114  inline long long GetConfigurationRevision() const{ return m_configurationRevision; }
115 
122  inline bool ConfigurationRevisionHasBeenSet() const { return m_configurationRevisionHasBeenSet; }
123 
130  inline void SetConfigurationRevision(long long value) { m_configurationRevisionHasBeenSet = true; m_configurationRevision = value; }
131 
138  inline BrokerSoftwareInfo& WithConfigurationRevision(long long value) { SetConfigurationRevision(value); return *this;}
139 
140 
146  inline const Aws::String& GetKafkaVersion() const{ return m_kafkaVersion; }
147 
153  inline bool KafkaVersionHasBeenSet() const { return m_kafkaVersionHasBeenSet; }
154 
160  inline void SetKafkaVersion(const Aws::String& value) { m_kafkaVersionHasBeenSet = true; m_kafkaVersion = value; }
161 
167  inline void SetKafkaVersion(Aws::String&& value) { m_kafkaVersionHasBeenSet = true; m_kafkaVersion = std::move(value); }
168 
174  inline void SetKafkaVersion(const char* value) { m_kafkaVersionHasBeenSet = true; m_kafkaVersion.assign(value); }
175 
181  inline BrokerSoftwareInfo& WithKafkaVersion(const Aws::String& value) { SetKafkaVersion(value); return *this;}
182 
188  inline BrokerSoftwareInfo& WithKafkaVersion(Aws::String&& value) { SetKafkaVersion(std::move(value)); return *this;}
189 
195  inline BrokerSoftwareInfo& WithKafkaVersion(const char* value) { SetKafkaVersion(value); return *this;}
196 
197  private:
198 
199  Aws::String m_configurationArn;
200  bool m_configurationArnHasBeenSet;
201 
202  long long m_configurationRevision;
203  bool m_configurationRevisionHasBeenSet;
204 
205  Aws::String m_kafkaVersion;
206  bool m_kafkaVersionHasBeenSet;
207  };
208 
209 } // namespace Model
210 } // namespace Kafka
211 } // namespace Aws
Aws::Kafka::Model::BrokerSoftwareInfo::WithKafkaVersion
BrokerSoftwareInfo & WithKafkaVersion(const char *value)
Definition: BrokerSoftwareInfo.h:195
Aws::Kafka::Model::BrokerSoftwareInfo::WithConfigurationArn
BrokerSoftwareInfo & WithConfigurationArn(const Aws::String &value)
Definition: BrokerSoftwareInfo.h:89
Aws::Kafka::Model::BrokerSoftwareInfo::GetConfigurationArn
const Aws::String & GetConfigurationArn() const
Definition: BrokerSoftwareInfo.h:49
Aws::Kafka::Model::BrokerSoftwareInfo::WithKafkaVersion
BrokerSoftwareInfo & WithKafkaVersion(const Aws::String &value)
Definition: BrokerSoftwareInfo.h:181
Aws::Kafka::Model::BrokerSoftwareInfo::BrokerSoftwareInfo
BrokerSoftwareInfo()
Aws::Kafka::Model::BrokerSoftwareInfo::SetKafkaVersion
void SetKafkaVersion(const Aws::String &value)
Definition: BrokerSoftwareInfo.h:160
Aws::Kafka::Model::BrokerSoftwareInfo::GetConfigurationRevision
long long GetConfigurationRevision() const
Definition: BrokerSoftwareInfo.h:114
Aws::Kafka::Model::BrokerSoftwareInfo::SetConfigurationArn
void SetConfigurationArn(Aws::String &&value)
Definition: BrokerSoftwareInfo.h:73
Aws::Kafka::Model::BrokerSoftwareInfo::GetKafkaVersion
const Aws::String & GetKafkaVersion() const
Definition: BrokerSoftwareInfo.h:146
Aws::Kafka::Model::BrokerSoftwareInfo::SetConfigurationArn
void SetConfigurationArn(const char *value)
Definition: BrokerSoftwareInfo.h:81
Aws::Kafka::Model::BrokerSoftwareInfo::KafkaVersionHasBeenSet
bool KafkaVersionHasBeenSet() const
Definition: BrokerSoftwareInfo.h:153
Aws::Kafka::Model::BrokerSoftwareInfo::WithConfigurationArn
BrokerSoftwareInfo & WithConfigurationArn(Aws::String &&value)
Definition: BrokerSoftwareInfo.h:97
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Kafka::Model::BrokerSoftwareInfo::SetKafkaVersion
void SetKafkaVersion(const char *value)
Definition: BrokerSoftwareInfo.h:174
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Kafka::Model::BrokerSoftwareInfo::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::BrokerSoftwareInfo::WithConfigurationArn
BrokerSoftwareInfo & WithConfigurationArn(const char *value)
Definition: BrokerSoftwareInfo.h:105
Aws::Kafka::Model::BrokerSoftwareInfo::ConfigurationArnHasBeenSet
bool ConfigurationArnHasBeenSet() const
Definition: BrokerSoftwareInfo.h:57
Aws::Kafka::Model::BrokerSoftwareInfo::SetConfigurationArn
void SetConfigurationArn(const Aws::String &value)
Definition: BrokerSoftwareInfo.h:65
Aws::Kafka::Model::BrokerSoftwareInfo
Definition: BrokerSoftwareInfo.h:35
Aws::Kafka::Model::BrokerSoftwareInfo::ConfigurationRevisionHasBeenSet
bool ConfigurationRevisionHasBeenSet() const
Definition: BrokerSoftwareInfo.h:122
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::BrokerSoftwareInfo::WithConfigurationRevision
BrokerSoftwareInfo & WithConfigurationRevision(long long value)
Definition: BrokerSoftwareInfo.h:138
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Kafka::Model::BrokerSoftwareInfo::SetConfigurationRevision
void SetConfigurationRevision(long long value)
Definition: BrokerSoftwareInfo.h:130
Kafka_EXPORTS.h
Aws::Kafka::Model::BrokerSoftwareInfo::BrokerSoftwareInfo
BrokerSoftwareInfo(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::BrokerSoftwareInfo::operator=
BrokerSoftwareInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::BrokerSoftwareInfo::WithKafkaVersion
BrokerSoftwareInfo & WithKafkaVersion(Aws::String &&value)
Definition: BrokerSoftwareInfo.h:188
Aws::Kafka::Model::BrokerSoftwareInfo::SetKafkaVersion
void SetKafkaVersion(Aws::String &&value)
Definition: BrokerSoftwareInfo.h:167