AWS SDK for C++  1.9.104
AWS SDK for C++
UpdateClusterConfigurationRequest.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 "UpdateClusterConfiguration"; }
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 UpdateClusterConfigurationRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
83 
90  inline UpdateClusterConfigurationRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
91 
98  inline UpdateClusterConfigurationRequest& 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 UpdateClusterConfigurationRequest& WithConfigurationInfo(const ConfigurationInfo& value) { SetConfigurationInfo(value); return *this;}
140 
147  inline UpdateClusterConfigurationRequest& WithConfigurationInfo(ConfigurationInfo&& value) { SetConfigurationInfo(std::move(value)); return *this;}
148 
149 
156  inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; }
157 
164  inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
165 
172  inline void SetCurrentVersion(const Aws::String& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; }
173 
180  inline void SetCurrentVersion(Aws::String&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); }
181 
188  inline void SetCurrentVersion(const char* value) { m_currentVersionHasBeenSet = true; m_currentVersion.assign(value); }
189 
196  inline UpdateClusterConfigurationRequest& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;}
197 
204  inline UpdateClusterConfigurationRequest& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;}
205 
212  inline UpdateClusterConfigurationRequest& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;}
213 
214  private:
215 
216  Aws::String m_clusterArn;
217  bool m_clusterArnHasBeenSet;
218 
219  ConfigurationInfo m_configurationInfo;
220  bool m_configurationInfoHasBeenSet;
221 
222  Aws::String m_currentVersion;
223  bool m_currentVersionHasBeenSet;
224  };
225 
226 } // namespace Model
227 } // namespace Kafka
228 } // namespace Aws
KafkaRequest.h
Aws::Kafka::KafkaRequest
Definition: KafkaRequest.h:17
Aws::Kafka::Model::UpdateClusterConfigurationRequest::WithConfigurationInfo
UpdateClusterConfigurationRequest & WithConfigurationInfo(ConfigurationInfo &&value)
Definition: UpdateClusterConfigurationRequest.h:147
Aws::Kafka::Model::UpdateClusterConfigurationRequest::WithConfigurationInfo
UpdateClusterConfigurationRequest & WithConfigurationInfo(const ConfigurationInfo &value)
Definition: UpdateClusterConfigurationRequest.h:139
Aws::Kafka::Model::UpdateClusterConfigurationRequest::SetClusterArn
void SetClusterArn(const Aws::String &value)
Definition: UpdateClusterConfigurationRequest.h:58
Aws::Kafka::Model::UpdateClusterConfigurationRequest::SetClusterArn
void SetClusterArn(Aws::String &&value)
Definition: UpdateClusterConfigurationRequest.h:66
Aws::Kafka::Model::UpdateClusterConfigurationRequest::WithClusterArn
UpdateClusterConfigurationRequest & WithClusterArn(Aws::String &&value)
Definition: UpdateClusterConfigurationRequest.h:90
Aws::Kafka::Model::UpdateClusterConfigurationRequest::WithClusterArn
UpdateClusterConfigurationRequest & WithClusterArn(const Aws::String &value)
Definition: UpdateClusterConfigurationRequest.h:82
Aws::Kafka::Model::UpdateClusterConfigurationRequest::WithCurrentVersion
UpdateClusterConfigurationRequest & WithCurrentVersion(const Aws::String &value)
Definition: UpdateClusterConfigurationRequest.h:196
Aws::Kafka::Model::UpdateClusterConfigurationRequest::GetClusterArn
const Aws::String & GetClusterArn() const
Definition: UpdateClusterConfigurationRequest.h:42
Aws::Kafka::Model::UpdateClusterConfigurationRequest::SetConfigurationInfo
void SetConfigurationInfo(const ConfigurationInfo &value)
Definition: UpdateClusterConfigurationRequest.h:123
Aws::Kafka::Model::UpdateClusterConfigurationRequest::SetCurrentVersion
void SetCurrentVersion(Aws::String &&value)
Definition: UpdateClusterConfigurationRequest.h:180
Aws::Kafka::Model::UpdateClusterConfigurationRequest::SetClusterArn
void SetClusterArn(const char *value)
Definition: UpdateClusterConfigurationRequest.h:74
Aws::Kafka::Model::ConfigurationInfo
Definition: ConfigurationInfo.h:35
Aws::Kafka::Model::UpdateClusterConfigurationRequest::SetConfigurationInfo
void SetConfigurationInfo(ConfigurationInfo &&value)
Definition: UpdateClusterConfigurationRequest.h:131
Aws::Kafka::Model::UpdateClusterConfigurationRequest::ClusterArnHasBeenSet
bool ClusterArnHasBeenSet() const
Definition: UpdateClusterConfigurationRequest.h:50
ConfigurationInfo.h
Aws::Kafka::Model::UpdateClusterConfigurationRequest::GetConfigurationInfo
const ConfigurationInfo & GetConfigurationInfo() const
Definition: UpdateClusterConfigurationRequest.h:107
Aws::Kafka::Model::UpdateClusterConfigurationRequest::SetCurrentVersion
void SetCurrentVersion(const char *value)
Definition: UpdateClusterConfigurationRequest.h:188
Aws::Kafka::Model::UpdateClusterConfigurationRequest::CurrentVersionHasBeenSet
bool CurrentVersionHasBeenSet() const
Definition: UpdateClusterConfigurationRequest.h:164
Aws::Kafka::Model::UpdateClusterConfigurationRequest::GetCurrentVersion
const Aws::String & GetCurrentVersion() const
Definition: UpdateClusterConfigurationRequest.h:156
Aws::Kafka::Model::UpdateClusterConfigurationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateClusterConfigurationRequest.h:31
AWSString.h
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::UpdateClusterConfigurationRequest::ConfigurationInfoHasBeenSet
bool ConfigurationInfoHasBeenSet() const
Definition: UpdateClusterConfigurationRequest.h:115
Aws::Kafka::Model::UpdateClusterConfigurationRequest::UpdateClusterConfigurationRequest
UpdateClusterConfigurationRequest()
Aws::Kafka::Model::UpdateClusterConfigurationRequest
Definition: UpdateClusterConfigurationRequest.h:23
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::UpdateClusterConfigurationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Kafka::Model::UpdateClusterConfigurationRequest::WithCurrentVersion
UpdateClusterConfigurationRequest & WithCurrentVersion(Aws::String &&value)
Definition: UpdateClusterConfigurationRequest.h:204
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::UpdateClusterConfigurationRequest::WithClusterArn
UpdateClusterConfigurationRequest & WithClusterArn(const char *value)
Definition: UpdateClusterConfigurationRequest.h:98
Aws::Kafka::Model::UpdateClusterConfigurationRequest::SetCurrentVersion
void SetCurrentVersion(const Aws::String &value)
Definition: UpdateClusterConfigurationRequest.h:172
Aws::Kafka::Model::UpdateClusterConfigurationRequest::WithCurrentVersion
UpdateClusterConfigurationRequest & WithCurrentVersion(const char *value)
Definition: UpdateClusterConfigurationRequest.h:212