AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UpdateRebalancingRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kafka/KafkaRequest.h>
9#include <aws/kafka/Kafka_EXPORTS.h>
10#include <aws/kafka/model/Rebalancing.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Kafka {
16namespace Model {
17
21 public:
22 AWS_KAFKA_API UpdateRebalancingRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateRebalancing"; }
29
30 AWS_KAFKA_API Aws::String SerializePayload() const override;
31
33
38 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
39 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
40 template <typename ClusterArnT = Aws::String>
41 void SetClusterArn(ClusterArnT&& value) {
42 m_clusterArnHasBeenSet = true;
43 m_clusterArn = std::forward<ClusterArnT>(value);
44 }
45 template <typename ClusterArnT = Aws::String>
47 SetClusterArn(std::forward<ClusterArnT>(value));
48 return *this;
49 }
51
53
58 inline const Aws::String& GetCurrentVersion() const { return m_currentVersion; }
59 inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
60 template <typename CurrentVersionT = Aws::String>
61 void SetCurrentVersion(CurrentVersionT&& value) {
62 m_currentVersionHasBeenSet = true;
63 m_currentVersion = std::forward<CurrentVersionT>(value);
64 }
65 template <typename CurrentVersionT = Aws::String>
66 UpdateRebalancingRequest& WithCurrentVersion(CurrentVersionT&& value) {
67 SetCurrentVersion(std::forward<CurrentVersionT>(value));
68 return *this;
69 }
71
73
80 inline const Rebalancing& GetRebalancing() const { return m_rebalancing; }
81 inline bool RebalancingHasBeenSet() const { return m_rebalancingHasBeenSet; }
82 template <typename RebalancingT = Rebalancing>
83 void SetRebalancing(RebalancingT&& value) {
84 m_rebalancingHasBeenSet = true;
85 m_rebalancing = std::forward<RebalancingT>(value);
86 }
87 template <typename RebalancingT = Rebalancing>
89 SetRebalancing(std::forward<RebalancingT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_clusterArn;
95
96 Aws::String m_currentVersion;
97
98 Rebalancing m_rebalancing;
99 bool m_clusterArnHasBeenSet = false;
100 bool m_currentVersionHasBeenSet = false;
101 bool m_rebalancingHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace Kafka
106} // namespace Aws
AWS_KAFKA_API UpdateRebalancingRequest()=default
UpdateRebalancingRequest & WithClusterArn(ClusterArnT &&value)
virtual const char * GetServiceRequestName() const override
UpdateRebalancingRequest & WithRebalancing(RebalancingT &&value)
UpdateRebalancingRequest & WithCurrentVersion(CurrentVersionT &&value)
AWS_KAFKA_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String