AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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
12#include <utility>
13
14namespace Aws {
15namespace Kafka {
16namespace Model {
17
24 public:
25 AWS_KAFKA_API UpdateConnectivityRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateConnectivity"; }
32
33 AWS_KAFKA_API Aws::String SerializePayload() const override;
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) {
46 m_clusterArnHasBeenSet = true;
47 m_clusterArn = std::forward<ClusterArnT>(value);
48 }
49 template <typename ClusterArnT = Aws::String>
51 SetClusterArn(std::forward<ClusterArnT>(value));
52 return *this;
53 }
55
57
62 inline const ConnectivityInfo& GetConnectivityInfo() const { return m_connectivityInfo; }
63 inline bool ConnectivityInfoHasBeenSet() const { return m_connectivityInfoHasBeenSet; }
64 template <typename ConnectivityInfoT = ConnectivityInfo>
65 void SetConnectivityInfo(ConnectivityInfoT&& value) {
66 m_connectivityInfoHasBeenSet = true;
67 m_connectivityInfo = std::forward<ConnectivityInfoT>(value);
68 }
69 template <typename ConnectivityInfoT = ConnectivityInfo>
70 UpdateConnectivityRequest& WithConnectivityInfo(ConnectivityInfoT&& value) {
71 SetConnectivityInfo(std::forward<ConnectivityInfoT>(value));
72 return *this;
73 }
75
77
85 inline const Aws::String& GetCurrentVersion() const { return m_currentVersion; }
86 inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
87 template <typename CurrentVersionT = Aws::String>
88 void SetCurrentVersion(CurrentVersionT&& value) {
89 m_currentVersionHasBeenSet = true;
90 m_currentVersion = std::forward<CurrentVersionT>(value);
91 }
92 template <typename CurrentVersionT = Aws::String>
94 SetCurrentVersion(std::forward<CurrentVersionT>(value));
95 return *this;
96 }
98 private:
99 Aws::String m_clusterArn;
100
101 ConnectivityInfo m_connectivityInfo;
102
103 Aws::String m_currentVersion;
104 bool m_clusterArnHasBeenSet = false;
105 bool m_connectivityInfoHasBeenSet = false;
106 bool m_currentVersionHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace Kafka
111} // namespace Aws
UpdateConnectivityRequest & WithCurrentVersion(CurrentVersionT &&value)
UpdateConnectivityRequest & WithConnectivityInfo(ConnectivityInfoT &&value)
UpdateConnectivityRequest & WithClusterArn(ClusterArnT &&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