AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateBrokerStorageRequest.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/KafkaRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/kafka/model/BrokerEBSVolumeInfo.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Kafka
17{
18namespace 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_KAFKA_API Aws::String SerializePayload() const override;
35
36
38
44 inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
45 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
46 inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; }
47 inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); }
48 inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); }
49 inline UpdateBrokerStorageRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
50 inline UpdateBrokerStorageRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
51 inline UpdateBrokerStorageRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
53
55
61 inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; }
62 inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
63 inline void SetCurrentVersion(const Aws::String& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; }
64 inline void SetCurrentVersion(Aws::String&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); }
65 inline void SetCurrentVersion(const char* value) { m_currentVersionHasBeenSet = true; m_currentVersion.assign(value); }
66 inline UpdateBrokerStorageRequest& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;}
67 inline UpdateBrokerStorageRequest& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;}
68 inline UpdateBrokerStorageRequest& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;}
70
72
78 inline const Aws::Vector<BrokerEBSVolumeInfo>& GetTargetBrokerEBSVolumeInfo() const{ return m_targetBrokerEBSVolumeInfo; }
79 inline bool TargetBrokerEBSVolumeInfoHasBeenSet() const { return m_targetBrokerEBSVolumeInfoHasBeenSet; }
80 inline void SetTargetBrokerEBSVolumeInfo(const Aws::Vector<BrokerEBSVolumeInfo>& value) { m_targetBrokerEBSVolumeInfoHasBeenSet = true; m_targetBrokerEBSVolumeInfo = value; }
81 inline void SetTargetBrokerEBSVolumeInfo(Aws::Vector<BrokerEBSVolumeInfo>&& value) { m_targetBrokerEBSVolumeInfoHasBeenSet = true; m_targetBrokerEBSVolumeInfo = std::move(value); }
84 inline UpdateBrokerStorageRequest& AddTargetBrokerEBSVolumeInfo(const BrokerEBSVolumeInfo& value) { m_targetBrokerEBSVolumeInfoHasBeenSet = true; m_targetBrokerEBSVolumeInfo.push_back(value); return *this; }
85 inline UpdateBrokerStorageRequest& AddTargetBrokerEBSVolumeInfo(BrokerEBSVolumeInfo&& value) { m_targetBrokerEBSVolumeInfoHasBeenSet = true; m_targetBrokerEBSVolumeInfo.push_back(std::move(value)); return *this; }
87 private:
88
89 Aws::String m_clusterArn;
90 bool m_clusterArnHasBeenSet = false;
91
92 Aws::String m_currentVersion;
93 bool m_currentVersionHasBeenSet = false;
94
95 Aws::Vector<BrokerEBSVolumeInfo> m_targetBrokerEBSVolumeInfo;
96 bool m_targetBrokerEBSVolumeInfoHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace Kafka
101} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateBrokerStorageRequest & AddTargetBrokerEBSVolumeInfo(BrokerEBSVolumeInfo &&value)
void SetTargetBrokerEBSVolumeInfo(Aws::Vector< BrokerEBSVolumeInfo > &&value)
UpdateBrokerStorageRequest & WithCurrentVersion(const Aws::String &value)
AWS_KAFKA_API Aws::String SerializePayload() const override
UpdateBrokerStorageRequest & WithClusterArn(Aws::String &&value)
UpdateBrokerStorageRequest & WithTargetBrokerEBSVolumeInfo(const Aws::Vector< BrokerEBSVolumeInfo > &value)
UpdateBrokerStorageRequest & WithTargetBrokerEBSVolumeInfo(Aws::Vector< BrokerEBSVolumeInfo > &&value)
UpdateBrokerStorageRequest & WithClusterArn(const char *value)
const Aws::Vector< BrokerEBSVolumeInfo > & GetTargetBrokerEBSVolumeInfo() const
void SetTargetBrokerEBSVolumeInfo(const Aws::Vector< BrokerEBSVolumeInfo > &value)
UpdateBrokerStorageRequest & WithCurrentVersion(const char *value)
UpdateBrokerStorageRequest & AddTargetBrokerEBSVolumeInfo(const BrokerEBSVolumeInfo &value)
UpdateBrokerStorageRequest & WithCurrentVersion(Aws::String &&value)
UpdateBrokerStorageRequest & WithClusterArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector