AWS SDK for C++

AWS SDK for C++ Version 1.11.816

Loading...
Searching...
No Matches
UpdateConnectivityRequest.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/ConnectivityInfo.h>
11#include <aws/kafka/model/ZookeeperAccess.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Kafka {
17namespace Model {
18
25 public:
26 AWS_KAFKA_API UpdateConnectivityRequest() = 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 "UpdateConnectivity"; }
33
34 AWS_KAFKA_API Aws::String SerializePayload() const override;
35
37
43 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
44 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
45 template <typename ClusterArnT = Aws::String>
46 void SetClusterArn(ClusterArnT&& value) {
47 m_clusterArnHasBeenSet = true;
48 m_clusterArn = std::forward<ClusterArnT>(value);
49 }
50 template <typename ClusterArnT = Aws::String>
52 SetClusterArn(std::forward<ClusterArnT>(value));
53 return *this;
54 }
56
58
63 inline const ConnectivityInfo& GetConnectivityInfo() const { return m_connectivityInfo; }
64 inline bool ConnectivityInfoHasBeenSet() const { return m_connectivityInfoHasBeenSet; }
65 template <typename ConnectivityInfoT = ConnectivityInfo>
66 void SetConnectivityInfo(ConnectivityInfoT&& value) {
67 m_connectivityInfoHasBeenSet = true;
68 m_connectivityInfo = std::forward<ConnectivityInfoT>(value);
69 }
70 template <typename ConnectivityInfoT = ConnectivityInfo>
71 UpdateConnectivityRequest& WithConnectivityInfo(ConnectivityInfoT&& value) {
72 SetConnectivityInfo(std::forward<ConnectivityInfoT>(value));
73 return *this;
74 }
76
78
86 inline const Aws::String& GetCurrentVersion() const { return m_currentVersion; }
87 inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
88 template <typename CurrentVersionT = Aws::String>
89 void SetCurrentVersion(CurrentVersionT&& value) {
90 m_currentVersionHasBeenSet = true;
91 m_currentVersion = std::forward<CurrentVersionT>(value);
92 }
93 template <typename CurrentVersionT = Aws::String>
95 SetCurrentVersion(std::forward<CurrentVersionT>(value));
96 return *this;
97 }
99
101
106 inline const ZookeeperAccess& GetZookeeperAccess() const { return m_zookeeperAccess; }
107 inline bool ZookeeperAccessHasBeenSet() const { return m_zookeeperAccessHasBeenSet; }
108 template <typename ZookeeperAccessT = ZookeeperAccess>
109 void SetZookeeperAccess(ZookeeperAccessT&& value) {
110 m_zookeeperAccessHasBeenSet = true;
111 m_zookeeperAccess = std::forward<ZookeeperAccessT>(value);
112 }
113 template <typename ZookeeperAccessT = ZookeeperAccess>
115 SetZookeeperAccess(std::forward<ZookeeperAccessT>(value));
116 return *this;
117 }
119 private:
120 Aws::String m_clusterArn;
121
122 ConnectivityInfo m_connectivityInfo;
123
124 Aws::String m_currentVersion;
125
126 ZookeeperAccess m_zookeeperAccess;
127 bool m_clusterArnHasBeenSet = false;
128 bool m_connectivityInfoHasBeenSet = false;
129 bool m_currentVersionHasBeenSet = false;
130 bool m_zookeeperAccessHasBeenSet = false;
131};
132
133} // namespace Model
134} // namespace Kafka
135} // namespace Aws
UpdateConnectivityRequest & WithCurrentVersion(CurrentVersionT &&value)
UpdateConnectivityRequest & WithConnectivityInfo(ConnectivityInfoT &&value)
UpdateConnectivityRequest & WithClusterArn(ClusterArnT &&value)
UpdateConnectivityRequest & WithZookeeperAccess(ZookeeperAccessT &&value)
virtual const char * GetServiceRequestName() const override
AWS_KAFKA_API UpdateConnectivityRequest()=default
AWS_KAFKA_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String