AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
26 AWS_KAFKA_API UpdateBrokerStorageRequest() = default;
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 template<typename ClusterArnT = Aws::String>
47 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::forward<ClusterArnT>(value); }
48 template<typename ClusterArnT = Aws::String>
49 UpdateBrokerStorageRequest& WithClusterArn(ClusterArnT&& value) { SetClusterArn(std::forward<ClusterArnT>(value)); return *this;}
51
53
59 inline const Aws::String& GetCurrentVersion() const { return m_currentVersion; }
60 inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
61 template<typename CurrentVersionT = Aws::String>
62 void SetCurrentVersion(CurrentVersionT&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::forward<CurrentVersionT>(value); }
63 template<typename CurrentVersionT = Aws::String>
64 UpdateBrokerStorageRequest& WithCurrentVersion(CurrentVersionT&& value) { SetCurrentVersion(std::forward<CurrentVersionT>(value)); return *this;}
66
68
74 inline const Aws::Vector<BrokerEBSVolumeInfo>& GetTargetBrokerEBSVolumeInfo() const { return m_targetBrokerEBSVolumeInfo; }
75 inline bool TargetBrokerEBSVolumeInfoHasBeenSet() const { return m_targetBrokerEBSVolumeInfoHasBeenSet; }
76 template<typename TargetBrokerEBSVolumeInfoT = Aws::Vector<BrokerEBSVolumeInfo>>
77 void SetTargetBrokerEBSVolumeInfo(TargetBrokerEBSVolumeInfoT&& value) { m_targetBrokerEBSVolumeInfoHasBeenSet = true; m_targetBrokerEBSVolumeInfo = std::forward<TargetBrokerEBSVolumeInfoT>(value); }
78 template<typename TargetBrokerEBSVolumeInfoT = Aws::Vector<BrokerEBSVolumeInfo>>
79 UpdateBrokerStorageRequest& WithTargetBrokerEBSVolumeInfo(TargetBrokerEBSVolumeInfoT&& value) { SetTargetBrokerEBSVolumeInfo(std::forward<TargetBrokerEBSVolumeInfoT>(value)); return *this;}
80 template<typename TargetBrokerEBSVolumeInfoT = BrokerEBSVolumeInfo>
81 UpdateBrokerStorageRequest& AddTargetBrokerEBSVolumeInfo(TargetBrokerEBSVolumeInfoT&& value) { m_targetBrokerEBSVolumeInfoHasBeenSet = true; m_targetBrokerEBSVolumeInfo.emplace_back(std::forward<TargetBrokerEBSVolumeInfoT>(value)); return *this; }
83 private:
84
85 Aws::String m_clusterArn;
86 bool m_clusterArnHasBeenSet = false;
87
88 Aws::String m_currentVersion;
89 bool m_currentVersionHasBeenSet = false;
90
91 Aws::Vector<BrokerEBSVolumeInfo> m_targetBrokerEBSVolumeInfo;
92 bool m_targetBrokerEBSVolumeInfoHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Kafka
97} // namespace Aws
void SetTargetBrokerEBSVolumeInfo(TargetBrokerEBSVolumeInfoT &&value)
virtual const char * GetServiceRequestName() const override
AWS_KAFKA_API UpdateBrokerStorageRequest()=default
AWS_KAFKA_API Aws::String SerializePayload() const override
UpdateBrokerStorageRequest & AddTargetBrokerEBSVolumeInfo(TargetBrokerEBSVolumeInfoT &&value)
UpdateBrokerStorageRequest & WithTargetBrokerEBSVolumeInfo(TargetBrokerEBSVolumeInfoT &&value)
const Aws::Vector< BrokerEBSVolumeInfo > & GetTargetBrokerEBSVolumeInfo() const
UpdateBrokerStorageRequest & WithClusterArn(ClusterArnT &&value)
UpdateBrokerStorageRequest & WithCurrentVersion(CurrentVersionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector