AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateConnectivityRequest.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/kafka/model/ConnectivityInfo.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Kafka
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_KAFKA_API UpdateConnectivityRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateConnectivity"; }
35
36 AWS_KAFKA_API Aws::String SerializePayload() const override;
37
38
40
46 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
47 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
48 template<typename ClusterArnT = Aws::String>
49 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::forward<ClusterArnT>(value); }
50 template<typename ClusterArnT = Aws::String>
51 UpdateConnectivityRequest& WithClusterArn(ClusterArnT&& value) { SetClusterArn(std::forward<ClusterArnT>(value)); return *this;}
53
55
60 inline const ConnectivityInfo& GetConnectivityInfo() const { return m_connectivityInfo; }
61 inline bool ConnectivityInfoHasBeenSet() const { return m_connectivityInfoHasBeenSet; }
62 template<typename ConnectivityInfoT = ConnectivityInfo>
63 void SetConnectivityInfo(ConnectivityInfoT&& value) { m_connectivityInfoHasBeenSet = true; m_connectivityInfo = std::forward<ConnectivityInfoT>(value); }
64 template<typename ConnectivityInfoT = ConnectivityInfo>
65 UpdateConnectivityRequest& WithConnectivityInfo(ConnectivityInfoT&& value) { SetConnectivityInfo(std::forward<ConnectivityInfoT>(value)); return *this;}
67
69
77 inline const Aws::String& GetCurrentVersion() const { return m_currentVersion; }
78 inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
79 template<typename CurrentVersionT = Aws::String>
80 void SetCurrentVersion(CurrentVersionT&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::forward<CurrentVersionT>(value); }
81 template<typename CurrentVersionT = Aws::String>
82 UpdateConnectivityRequest& WithCurrentVersion(CurrentVersionT&& value) { SetCurrentVersion(std::forward<CurrentVersionT>(value)); return *this;}
84 private:
85
86 Aws::String m_clusterArn;
87 bool m_clusterArnHasBeenSet = false;
88
89 ConnectivityInfo m_connectivityInfo;
90 bool m_connectivityInfoHasBeenSet = false;
91
92 Aws::String m_currentVersion;
93 bool m_currentVersionHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Kafka
98} // 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