AWS SDK for C++  1.9.104
AWS SDK for C++
UpdateClusterKafkaVersionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Kafka
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UpdateClusterKafkaVersion"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
42  inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
43 
50  inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
51 
58  inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; }
59 
66  inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); }
67 
74  inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); }
75 
82  inline UpdateClusterKafkaVersionRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
83 
90  inline UpdateClusterKafkaVersionRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
91 
98  inline UpdateClusterKafkaVersionRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
99 
100 
107  inline const ConfigurationInfo& GetConfigurationInfo() const{ return m_configurationInfo; }
108 
115  inline bool ConfigurationInfoHasBeenSet() const { return m_configurationInfoHasBeenSet; }
116 
123  inline void SetConfigurationInfo(const ConfigurationInfo& value) { m_configurationInfoHasBeenSet = true; m_configurationInfo = value; }
124 
131  inline void SetConfigurationInfo(ConfigurationInfo&& value) { m_configurationInfoHasBeenSet = true; m_configurationInfo = std::move(value); }
132 
139  inline UpdateClusterKafkaVersionRequest& WithConfigurationInfo(const ConfigurationInfo& value) { SetConfigurationInfo(value); return *this;}
140 
147  inline UpdateClusterKafkaVersionRequest& WithConfigurationInfo(ConfigurationInfo&& value) { SetConfigurationInfo(std::move(value)); return *this;}
148 
149 
155  inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; }
156 
162  inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
163 
169  inline void SetCurrentVersion(const Aws::String& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; }
170 
176  inline void SetCurrentVersion(Aws::String&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); }
177 
183  inline void SetCurrentVersion(const char* value) { m_currentVersionHasBeenSet = true; m_currentVersion.assign(value); }
184 
190  inline UpdateClusterKafkaVersionRequest& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;}
191 
197  inline UpdateClusterKafkaVersionRequest& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;}
198 
204  inline UpdateClusterKafkaVersionRequest& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;}
205 
206 
212  inline const Aws::String& GetTargetKafkaVersion() const{ return m_targetKafkaVersion; }
213 
219  inline bool TargetKafkaVersionHasBeenSet() const { return m_targetKafkaVersionHasBeenSet; }
220 
226  inline void SetTargetKafkaVersion(const Aws::String& value) { m_targetKafkaVersionHasBeenSet = true; m_targetKafkaVersion = value; }
227 
233  inline void SetTargetKafkaVersion(Aws::String&& value) { m_targetKafkaVersionHasBeenSet = true; m_targetKafkaVersion = std::move(value); }
234 
240  inline void SetTargetKafkaVersion(const char* value) { m_targetKafkaVersionHasBeenSet = true; m_targetKafkaVersion.assign(value); }
241 
247  inline UpdateClusterKafkaVersionRequest& WithTargetKafkaVersion(const Aws::String& value) { SetTargetKafkaVersion(value); return *this;}
248 
254  inline UpdateClusterKafkaVersionRequest& WithTargetKafkaVersion(Aws::String&& value) { SetTargetKafkaVersion(std::move(value)); return *this;}
255 
261  inline UpdateClusterKafkaVersionRequest& WithTargetKafkaVersion(const char* value) { SetTargetKafkaVersion(value); return *this;}
262 
263  private:
264 
265  Aws::String m_clusterArn;
266  bool m_clusterArnHasBeenSet;
267 
268  ConfigurationInfo m_configurationInfo;
269  bool m_configurationInfoHasBeenSet;
270 
271  Aws::String m_currentVersion;
272  bool m_currentVersionHasBeenSet;
273 
274  Aws::String m_targetKafkaVersion;
275  bool m_targetKafkaVersionHasBeenSet;
276  };
277 
278 } // namespace Model
279 } // namespace Kafka
280 } // namespace Aws
KafkaRequest.h
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest::WithTargetKafkaVersion
UpdateClusterKafkaVersionRequest & WithTargetKafkaVersion(Aws::String &&value)
Definition: UpdateClusterKafkaVersionRequest.h:254
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Kafka::KafkaRequest
Definition: KafkaRequest.h:17
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest::ConfigurationInfoHasBeenSet
bool ConfigurationInfoHasBeenSet() const
Definition: UpdateClusterKafkaVersionRequest.h:115
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest::WithCurrentVersion
UpdateClusterKafkaVersionRequest & WithCurrentVersion(const char *value)
Definition: UpdateClusterKafkaVersionRequest.h:204
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest::SetCurrentVersion
void SetCurrentVersion(Aws::String &&value)
Definition: UpdateClusterKafkaVersionRequest.h:176
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest::SetCurrentVersion
void SetCurrentVersion(const Aws::String &value)
Definition: UpdateClusterKafkaVersionRequest.h:169
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateClusterKafkaVersionRequest.h:31
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest::GetClusterArn
const Aws::String & GetClusterArn() const
Definition: UpdateClusterKafkaVersionRequest.h:42
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest::SetConfigurationInfo
void SetConfigurationInfo(ConfigurationInfo &&value)
Definition: UpdateClusterKafkaVersionRequest.h:131
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest::CurrentVersionHasBeenSet
bool CurrentVersionHasBeenSet() const
Definition: UpdateClusterKafkaVersionRequest.h:162
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest::UpdateClusterKafkaVersionRequest
UpdateClusterKafkaVersionRequest()
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest::WithConfigurationInfo
UpdateClusterKafkaVersionRequest & WithConfigurationInfo(ConfigurationInfo &&value)
Definition: UpdateClusterKafkaVersionRequest.h:147
Aws::Kafka::Model::ConfigurationInfo
Definition: ConfigurationInfo.h:35
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest::SetTargetKafkaVersion
void SetTargetKafkaVersion(Aws::String &&value)
Definition: UpdateClusterKafkaVersionRequest.h:233
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest::WithTargetKafkaVersion
UpdateClusterKafkaVersionRequest & WithTargetKafkaVersion(const Aws::String &value)
Definition: UpdateClusterKafkaVersionRequest.h:247
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest::GetTargetKafkaVersion
const Aws::String & GetTargetKafkaVersion() const
Definition: UpdateClusterKafkaVersionRequest.h:212
ConfigurationInfo.h
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest::WithClusterArn
UpdateClusterKafkaVersionRequest & WithClusterArn(Aws::String &&value)
Definition: UpdateClusterKafkaVersionRequest.h:90
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest::SetTargetKafkaVersion
void SetTargetKafkaVersion(const Aws::String &value)
Definition: UpdateClusterKafkaVersionRequest.h:226
AWSString.h
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest::SetClusterArn
void SetClusterArn(const Aws::String &value)
Definition: UpdateClusterKafkaVersionRequest.h:58
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest::GetConfigurationInfo
const ConfigurationInfo & GetConfigurationInfo() const
Definition: UpdateClusterKafkaVersionRequest.h:107
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest::WithConfigurationInfo
UpdateClusterKafkaVersionRequest & WithConfigurationInfo(const ConfigurationInfo &value)
Definition: UpdateClusterKafkaVersionRequest.h:139
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest::WithCurrentVersion
UpdateClusterKafkaVersionRequest & WithCurrentVersion(const Aws::String &value)
Definition: UpdateClusterKafkaVersionRequest.h:190
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest::SetCurrentVersion
void SetCurrentVersion(const char *value)
Definition: UpdateClusterKafkaVersionRequest.h:183
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest::SetClusterArn
void SetClusterArn(const char *value)
Definition: UpdateClusterKafkaVersionRequest.h:74
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest::ClusterArnHasBeenSet
bool ClusterArnHasBeenSet() const
Definition: UpdateClusterKafkaVersionRequest.h:50
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest::WithTargetKafkaVersion
UpdateClusterKafkaVersionRequest & WithTargetKafkaVersion(const char *value)
Definition: UpdateClusterKafkaVersionRequest.h:261
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest::SetConfigurationInfo
void SetConfigurationInfo(const ConfigurationInfo &value)
Definition: UpdateClusterKafkaVersionRequest.h:123
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest::WithClusterArn
UpdateClusterKafkaVersionRequest & WithClusterArn(const char *value)
Definition: UpdateClusterKafkaVersionRequest.h:98
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest::SetClusterArn
void SetClusterArn(Aws::String &&value)
Definition: UpdateClusterKafkaVersionRequest.h:66
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest::WithClusterArn
UpdateClusterKafkaVersionRequest & WithClusterArn(const Aws::String &value)
Definition: UpdateClusterKafkaVersionRequest.h:82
Kafka_EXPORTS.h
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest
Definition: UpdateClusterKafkaVersionRequest.h:23
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest::TargetKafkaVersionHasBeenSet
bool TargetKafkaVersionHasBeenSet() const
Definition: UpdateClusterKafkaVersionRequest.h:219
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest::SetTargetKafkaVersion
void SetTargetKafkaVersion(const char *value)
Definition: UpdateClusterKafkaVersionRequest.h:240
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest::WithCurrentVersion
UpdateClusterKafkaVersionRequest & WithCurrentVersion(Aws::String &&value)
Definition: UpdateClusterKafkaVersionRequest.h:197
Aws::Kafka::Model::UpdateClusterKafkaVersionRequest::GetCurrentVersion
const Aws::String & GetCurrentVersion() const
Definition: UpdateClusterKafkaVersionRequest.h:155