AWS SDK for C++  1.9.106
AWS SDK for C++
UpdateBrokerStorageRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Kafka
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "UpdateBrokerStorage"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
43  inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
44 
51  inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
52 
59  inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; }
60 
67  inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); }
68 
75  inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); }
76 
83  inline UpdateBrokerStorageRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
84 
91  inline UpdateBrokerStorageRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
92 
99  inline UpdateBrokerStorageRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
100 
101 
108  inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; }
109 
116  inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
117 
124  inline void SetCurrentVersion(const Aws::String& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; }
125 
132  inline void SetCurrentVersion(Aws::String&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); }
133 
140  inline void SetCurrentVersion(const char* value) { m_currentVersionHasBeenSet = true; m_currentVersion.assign(value); }
141 
148  inline UpdateBrokerStorageRequest& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;}
149 
156  inline UpdateBrokerStorageRequest& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;}
157 
164  inline UpdateBrokerStorageRequest& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;}
165 
166 
173  inline const Aws::Vector<BrokerEBSVolumeInfo>& GetTargetBrokerEBSVolumeInfo() const{ return m_targetBrokerEBSVolumeInfo; }
174 
181  inline bool TargetBrokerEBSVolumeInfoHasBeenSet() const { return m_targetBrokerEBSVolumeInfoHasBeenSet; }
182 
189  inline void SetTargetBrokerEBSVolumeInfo(const Aws::Vector<BrokerEBSVolumeInfo>& value) { m_targetBrokerEBSVolumeInfoHasBeenSet = true; m_targetBrokerEBSVolumeInfo = value; }
190 
197  inline void SetTargetBrokerEBSVolumeInfo(Aws::Vector<BrokerEBSVolumeInfo>&& value) { m_targetBrokerEBSVolumeInfoHasBeenSet = true; m_targetBrokerEBSVolumeInfo = std::move(value); }
198 
205  inline UpdateBrokerStorageRequest& WithTargetBrokerEBSVolumeInfo(const Aws::Vector<BrokerEBSVolumeInfo>& value) { SetTargetBrokerEBSVolumeInfo(value); return *this;}
206 
213  inline UpdateBrokerStorageRequest& WithTargetBrokerEBSVolumeInfo(Aws::Vector<BrokerEBSVolumeInfo>&& value) { SetTargetBrokerEBSVolumeInfo(std::move(value)); return *this;}
214 
221  inline UpdateBrokerStorageRequest& AddTargetBrokerEBSVolumeInfo(const BrokerEBSVolumeInfo& value) { m_targetBrokerEBSVolumeInfoHasBeenSet = true; m_targetBrokerEBSVolumeInfo.push_back(value); return *this; }
222 
229  inline UpdateBrokerStorageRequest& AddTargetBrokerEBSVolumeInfo(BrokerEBSVolumeInfo&& value) { m_targetBrokerEBSVolumeInfoHasBeenSet = true; m_targetBrokerEBSVolumeInfo.push_back(std::move(value)); return *this; }
230 
231  private:
232 
233  Aws::String m_clusterArn;
234  bool m_clusterArnHasBeenSet;
235 
236  Aws::String m_currentVersion;
237  bool m_currentVersionHasBeenSet;
238 
239  Aws::Vector<BrokerEBSVolumeInfo> m_targetBrokerEBSVolumeInfo;
240  bool m_targetBrokerEBSVolumeInfoHasBeenSet;
241  };
242 
243 } // namespace Model
244 } // namespace Kafka
245 } // namespace Aws
KafkaRequest.h
Aws::Kafka::Model::UpdateBrokerStorageRequest::CurrentVersionHasBeenSet
bool CurrentVersionHasBeenSet() const
Definition: UpdateBrokerStorageRequest.h:116
Aws::Kafka::KafkaRequest
Definition: KafkaRequest.h:17
Aws::Kafka::Model::UpdateBrokerStorageRequest::SetClusterArn
void SetClusterArn(Aws::String &&value)
Definition: UpdateBrokerStorageRequest.h:67
Aws::Kafka::Model::UpdateBrokerStorageRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Kafka::Model::BrokerEBSVolumeInfo
Definition: BrokerEBSVolumeInfo.h:36
BrokerEBSVolumeInfo.h
Aws::Kafka::Model::UpdateBrokerStorageRequest::SetTargetBrokerEBSVolumeInfo
void SetTargetBrokerEBSVolumeInfo(const Aws::Vector< BrokerEBSVolumeInfo > &value)
Definition: UpdateBrokerStorageRequest.h:189
Aws::Kafka::Model::UpdateBrokerStorageRequest::WithClusterArn
UpdateBrokerStorageRequest & WithClusterArn(Aws::String &&value)
Definition: UpdateBrokerStorageRequest.h:91
Aws::Kafka::Model::UpdateBrokerStorageRequest::GetTargetBrokerEBSVolumeInfo
const Aws::Vector< BrokerEBSVolumeInfo > & GetTargetBrokerEBSVolumeInfo() const
Definition: UpdateBrokerStorageRequest.h:173
Aws::Kafka::Model::UpdateBrokerStorageRequest::SetCurrentVersion
void SetCurrentVersion(const char *value)
Definition: UpdateBrokerStorageRequest.h:140
Aws::Kafka::Model::UpdateBrokerStorageRequest
Definition: UpdateBrokerStorageRequest.h:24
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Kafka::Model::UpdateBrokerStorageRequest::AddTargetBrokerEBSVolumeInfo
UpdateBrokerStorageRequest & AddTargetBrokerEBSVolumeInfo(BrokerEBSVolumeInfo &&value)
Definition: UpdateBrokerStorageRequest.h:229
AWSVector.h
Aws::Kafka::Model::UpdateBrokerStorageRequest::SetClusterArn
void SetClusterArn(const Aws::String &value)
Definition: UpdateBrokerStorageRequest.h:59
Aws::Kafka::Model::UpdateBrokerStorageRequest::SetTargetBrokerEBSVolumeInfo
void SetTargetBrokerEBSVolumeInfo(Aws::Vector< BrokerEBSVolumeInfo > &&value)
Definition: UpdateBrokerStorageRequest.h:197
Aws::Kafka::Model::UpdateBrokerStorageRequest::WithTargetBrokerEBSVolumeInfo
UpdateBrokerStorageRequest & WithTargetBrokerEBSVolumeInfo(const Aws::Vector< BrokerEBSVolumeInfo > &value)
Definition: UpdateBrokerStorageRequest.h:205
Aws::Kafka::Model::UpdateBrokerStorageRequest::AddTargetBrokerEBSVolumeInfo
UpdateBrokerStorageRequest & AddTargetBrokerEBSVolumeInfo(const BrokerEBSVolumeInfo &value)
Definition: UpdateBrokerStorageRequest.h:221
AWSString.h
Aws::Kafka::Model::UpdateBrokerStorageRequest::WithCurrentVersion
UpdateBrokerStorageRequest & WithCurrentVersion(const Aws::String &value)
Definition: UpdateBrokerStorageRequest.h:148
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::UpdateBrokerStorageRequest::WithCurrentVersion
UpdateBrokerStorageRequest & WithCurrentVersion(const char *value)
Definition: UpdateBrokerStorageRequest.h:164
Aws::Kafka::Model::UpdateBrokerStorageRequest::WithClusterArn
UpdateBrokerStorageRequest & WithClusterArn(const char *value)
Definition: UpdateBrokerStorageRequest.h:99
Aws::Kafka::Model::UpdateBrokerStorageRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateBrokerStorageRequest.h:32
Aws::Kafka::Model::UpdateBrokerStorageRequest::TargetBrokerEBSVolumeInfoHasBeenSet
bool TargetBrokerEBSVolumeInfoHasBeenSet() const
Definition: UpdateBrokerStorageRequest.h:181
Aws::Kafka::Model::UpdateBrokerStorageRequest::UpdateBrokerStorageRequest
UpdateBrokerStorageRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::UpdateBrokerStorageRequest::SetCurrentVersion
void SetCurrentVersion(Aws::String &&value)
Definition: UpdateBrokerStorageRequest.h:132
Aws::Kafka::Model::UpdateBrokerStorageRequest::WithTargetBrokerEBSVolumeInfo
UpdateBrokerStorageRequest & WithTargetBrokerEBSVolumeInfo(Aws::Vector< BrokerEBSVolumeInfo > &&value)
Definition: UpdateBrokerStorageRequest.h:213
Aws::Kafka::Model::UpdateBrokerStorageRequest::WithClusterArn
UpdateBrokerStorageRequest & WithClusterArn(const Aws::String &value)
Definition: UpdateBrokerStorageRequest.h:83
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::UpdateBrokerStorageRequest::SetCurrentVersion
void SetCurrentVersion(const Aws::String &value)
Definition: UpdateBrokerStorageRequest.h:124
Aws::Kafka::Model::UpdateBrokerStorageRequest::GetCurrentVersion
const Aws::String & GetCurrentVersion() const
Definition: UpdateBrokerStorageRequest.h:108
Aws::Kafka::Model::UpdateBrokerStorageRequest::GetClusterArn
const Aws::String & GetClusterArn() const
Definition: UpdateBrokerStorageRequest.h:43
Aws::Kafka::Model::UpdateBrokerStorageRequest::SetClusterArn
void SetClusterArn(const char *value)
Definition: UpdateBrokerStorageRequest.h:75
Aws::Kafka::Model::UpdateBrokerStorageRequest::WithCurrentVersion
UpdateBrokerStorageRequest & WithCurrentVersion(Aws::String &&value)
Definition: UpdateBrokerStorageRequest.h:156
Aws::Kafka::Model::UpdateBrokerStorageRequest::ClusterArnHasBeenSet
bool ClusterArnHasBeenSet() const
Definition: UpdateBrokerStorageRequest.h:51