AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateBrokerCountRequest.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 <utility>
11
12namespace Aws
13{
14namespace Kafka
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_KAFKA_API UpdateBrokerCountRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateBrokerCount"; }
31
32 AWS_KAFKA_API Aws::String SerializePayload() const override;
33
34
36
42 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
43 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
44 template<typename ClusterArnT = Aws::String>
45 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::forward<ClusterArnT>(value); }
46 template<typename ClusterArnT = Aws::String>
47 UpdateBrokerCountRequest& WithClusterArn(ClusterArnT&& value) { SetClusterArn(std::forward<ClusterArnT>(value)); return *this;}
49
51
57 inline const Aws::String& GetCurrentVersion() const { return m_currentVersion; }
58 inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
59 template<typename CurrentVersionT = Aws::String>
60 void SetCurrentVersion(CurrentVersionT&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::forward<CurrentVersionT>(value); }
61 template<typename CurrentVersionT = Aws::String>
62 UpdateBrokerCountRequest& WithCurrentVersion(CurrentVersionT&& value) { SetCurrentVersion(std::forward<CurrentVersionT>(value)); return *this;}
64
66
72 inline int GetTargetNumberOfBrokerNodes() const { return m_targetNumberOfBrokerNodes; }
73 inline bool TargetNumberOfBrokerNodesHasBeenSet() const { return m_targetNumberOfBrokerNodesHasBeenSet; }
74 inline void SetTargetNumberOfBrokerNodes(int value) { m_targetNumberOfBrokerNodesHasBeenSet = true; m_targetNumberOfBrokerNodes = value; }
77 private:
78
79 Aws::String m_clusterArn;
80 bool m_clusterArnHasBeenSet = false;
81
82 Aws::String m_currentVersion;
83 bool m_currentVersionHasBeenSet = false;
84
85 int m_targetNumberOfBrokerNodes{0};
86 bool m_targetNumberOfBrokerNodesHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Kafka
91} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateBrokerCountRequest & WithClusterArn(ClusterArnT &&value)
AWS_KAFKA_API Aws::String SerializePayload() const override
UpdateBrokerCountRequest & WithCurrentVersion(CurrentVersionT &&value)
UpdateBrokerCountRequest & WithTargetNumberOfBrokerNodes(int value)
AWS_KAFKA_API UpdateBrokerCountRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String